stm32f1xx_ll_adc.lst 596 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241
  1. ARM GAS /tmp/ccc82m4X.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "stm32f1xx_ll_adc.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.LL_ADC_CommonDeInit,"ax",%progbits
  19. 18 .align 1
  20. 19 .global LL_ADC_CommonDeInit
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 LL_ADC_CommonDeInit:
  25. 25 .LVL0:
  26. 26 .LFB156:
  27. 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c"
  28. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  29. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ******************************************************************************
  30. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @file stm32f1xx_ll_adc.c
  31. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @author MCD Application Team
  32. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief ADC LL module driver
  33. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ******************************************************************************
  34. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @attention
  35. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** *
  36. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Copyright (c) 2017 STMicroelectronics.
  37. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * All rights reserved.
  38. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** *
  39. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This software is licensed under terms that can be found in the LICENSE file
  40. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * in the root directory of this software component.
  41. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  42. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** *
  43. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ******************************************************************************
  44. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  45. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  46. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(USE_FULL_LL_DRIVER)
  47. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  48. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Includes ------------------------------------------------------------------*/
  49. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #include "stm32f1xx_ll_adc.h"
  50. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #include "stm32f1xx_ll_bus.h"
  51. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  52. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #ifdef USE_FULL_ASSERT
  53. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #include "stm32_assert.h"
  54. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  55. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define assert_param(expr) ((void)0U)
  56. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  57. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  58. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup STM32F1xx_LL_Driver
  59. ARM GAS /tmp/ccc82m4X.s page 2
  60. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{
  61. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  62. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  63. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (ADC1) || defined (ADC2) || defined (ADC3)
  64. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  65. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL ADC
  66. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{
  67. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  68. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  69. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private types -------------------------------------------------------------*/
  70. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private variables ---------------------------------------------------------*/
  71. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private constants ---------------------------------------------------------*/
  72. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private macros ------------------------------------------------------------*/
  73. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  74. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL_Private_Macros
  75. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{
  76. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  77. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  78. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */
  79. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* common to several ADC instances. */
  80. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */
  81. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance. */
  82. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_DATA_ALIGN(__DATA_ALIGN__) \
  83. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__DATA_ALIGN__) == LL_ADC_DATA_ALIGN_RIGHT) \
  84. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__DATA_ALIGN__) == LL_ADC_DATA_ALIGN_LEFT) \
  85. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  86. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  87. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_SCAN_SELECTION(__SCAN_SELECTION__) \
  88. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__SCAN_SELECTION__) == LL_ADC_SEQ_SCAN_DISABLE) \
  89. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__SCAN_SELECTION__) == LL_ADC_SEQ_SCAN_ENABLE) \
  90. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  91. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  92. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_SEQ_SCAN_MODE(__SEQ_SCAN_MODE__) \
  93. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__SCAN_MODE__) == LL_ADC_SEQ_SCAN_DISABLE) \
  94. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__SCAN_MODE__) == LL_ADC_SEQ_SCAN_ENABLE) \
  95. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  96. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  97. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */
  98. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group regular */
  99. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3)
  100. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_TRIG_SOURCE(__ADC_INSTANCE__, __REG_TRIG_SOURCE__) \
  101. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ((((__ADC_INSTANCE__) == ADC1) || ((__ADC_INSTANCE__) == ADC2)) \
  102. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ? ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \
  103. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \
  104. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \
  105. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \
  106. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \
  107. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \
  108. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \
  109. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \
  110. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO) \
  111. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \
  112. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** : \
  113. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \
  114. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \
  115. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_CH1) \
  116. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH3) \
  117. ARM GAS /tmp/ccc82m4X.s page 3
  118. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_CH1) \
  119. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3) \
  120. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM5_CH1) \
  121. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM5_CH3) \
  122. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \
  123. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  124. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  125. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (STM32F101xE) || defined (STM32F105xC) || defined (STM32F107xC)
  126. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_TRIG_SOURCE(__REG_TRIG_SOURCE__) \
  127. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \
  128. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \
  129. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \
  130. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \
  131. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \
  132. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \
  133. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \
  134. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \
  135. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO) \
  136. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  137. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  138. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_TRIG_SOURCE(__REG_TRIG_SOURCE__) \
  139. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \
  140. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \
  141. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \
  142. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \
  143. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \
  144. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \
  145. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \
  146. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \
  147. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  148. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  149. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  150. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_CONTINUOUS_MODE(__REG_CONTINUOUS_MODE__) \
  151. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_CONTINUOUS_MODE__) == LL_ADC_REG_CONV_SINGLE) \
  152. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_CONTINUOUS_MODE__) == LL_ADC_REG_CONV_CONTINUOUS) \
  153. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  154. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  155. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_DMA_TRANSFER(__REG_DMA_TRANSFER__) \
  156. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_NONE) \
  157. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_UNLIMITED) \
  158. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  159. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  160. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_SEQ_SCAN_LENGTH(__REG_SEQ_SCAN_LENGTH__) \
  161. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_DISABLE) \
  162. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS) \
  163. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS) \
  164. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS) \
  165. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS) \
  166. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS) \
  167. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS) \
  168. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS) \
  169. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS) \
  170. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS) \
  171. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS) \
  172. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS) \
  173. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS) \
  174. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS) \
  175. ARM GAS /tmp/ccc82m4X.s page 4
  176. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS) \
  177. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS) \
  178. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  179. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  180. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_SEQ_SCAN_DISCONT_MODE(__REG_SEQ_DISCONT_MODE__) \
  181. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_DISABLE) \
  182. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_1RANK) \
  183. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_2RANKS) \
  184. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_3RANKS) \
  185. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_4RANKS) \
  186. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_5RANKS) \
  187. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_6RANKS) \
  188. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_7RANKS) \
  189. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_8RANKS) \
  190. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  191. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  192. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */
  193. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group injected */
  194. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3)
  195. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_SOURCE(__ADC_INSTANCE__, __INJ_TRIG_SOURCE__) \
  196. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ((((__ADC_INSTANCE__) == ADC1) || ((__ADC_INSTANCE__) == ADC2)) \
  197. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ? ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \
  198. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \
  199. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \
  200. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \
  201. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \
  202. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \
  203. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \
  204. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \
  205. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4) \
  206. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \
  207. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** : \
  208. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \
  209. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \
  210. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \
  211. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_CH3) \
  212. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH2) \
  213. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3) \
  214. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM5_TRGO) \
  215. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM5_CH4) \
  216. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \
  217. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  218. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  219. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (STM32F101xE) || defined (STM32F105xC) || defined (STM32F107xC)
  220. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_SOURCE(__INJ_TRIG_SOURCE__) \
  221. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \
  222. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \
  223. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \
  224. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \
  225. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \
  226. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \
  227. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \
  228. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \
  229. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4) \
  230. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  231. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  232. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_SOURCE(__INJ_TRIG_SOURCE__) \
  233. ARM GAS /tmp/ccc82m4X.s page 5
  234. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \
  235. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \
  236. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \
  237. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \
  238. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \
  239. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \
  240. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \
  241. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \
  242. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  243. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  244. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  245. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_AUTO(__INJ_TRIG_AUTO__) \
  246. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_AUTO__) == LL_ADC_INJ_TRIG_INDEPENDENT) \
  247. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_AUTO__) == LL_ADC_INJ_TRIG_FROM_GRP_REGULAR) \
  248. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  249. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  250. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_SEQ_SCAN_LENGTH(__INJ_SEQ_SCAN_LENGTH__) \
  251. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_DISABLE) \
  252. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS) \
  253. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS) \
  254. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS) \
  255. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  256. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  257. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_SEQ_SCAN_DISCONT_MODE(__INJ_SEQ_DISCONT_MODE__) \
  258. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_SEQ_DISCONT_MODE__) == LL_ADC_INJ_SEQ_DISCONT_DISABLE) \
  259. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_DISCONT_MODE__) == LL_ADC_INJ_SEQ_DISCONT_1RANK) \
  260. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  261. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  262. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT)
  263. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */
  264. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* multimode. */
  265. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_MULTI_MODE(__MULTI_MODE__) \
  266. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__MULTI_MODE__) == LL_ADC_MULTI_INDEPENDENT) \
  267. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIMULT) \
  268. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTERL_FAST) \
  269. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTERL_SLOW) \
  270. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_INJ_SIMULT) \
  271. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_INJ_ALTERN) \
  272. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM) \
  273. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT) \
  274. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM) \
  275. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM) \
  276. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  277. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  278. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_MULTI_MASTER_SLAVE(__MULTI_MASTER_SLAVE__) \
  279. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_MASTER) \
  280. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_SLAVE) \
  281. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_MASTER_SLAVE) \
  282. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** )
  283. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  284. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif /* ADC_MULTIMODE_SUPPORT */
  285. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  286. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @}
  287. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  288. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  289. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  290. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private function prototypes -----------------------------------------------*/
  291. ARM GAS /tmp/ccc82m4X.s page 6
  292. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  293. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Exported functions --------------------------------------------------------*/
  294. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL_Exported_Functions
  295. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{
  296. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  297. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  298. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL_EF_Init
  299. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{
  300. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  301. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  302. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  303. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief De-initialize registers of all ADC instances belonging to
  304. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * the same ADC common instance to their default reset values.
  305. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCxy_COMMON ADC common instance
  306. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  307. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value:
  308. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC common registers are de-initialized
  309. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: not applicable
  310. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  311. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_CommonDeInit(ADC_Common_TypeDef *ADCxy_COMMON)
  312. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  313. 28 .loc 1 280 1 view -0
  314. 29 .cfi_startproc
  315. 30 @ args = 0, pretend = 0, frame = 0
  316. 31 @ frame_needed = 0, uses_anonymous_args = 0
  317. 32 @ link register save eliminated.
  318. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */
  319. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON));
  320. 33 .loc 1 282 3 view .LVU1
  321. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  322. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Force reset of ADC clock (core clock) */
  323. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_ADC1);
  324. 34 .loc 1 285 3 view .LVU2
  325. 35 .LBB28:
  326. 36 .LBI28:
  327. 37 .file 2 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h"
  328. 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  329. 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ******************************************************************************
  330. 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @file stm32f1xx_ll_bus.h
  331. 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @author MCD Application Team
  332. 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Header file of BUS LL module.
  333. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  334. 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** @verbatim
  335. 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ##### RCC Limitations #####
  336. 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ==============================================================================
  337. 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** [..]
  338. 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral
  339. 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write
  340. 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** from/to registers.
  341. 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (+) This delay depends on the peripheral mapping.
  342. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary
  343. 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  344. 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** [..]
  345. 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** Workarounds:
  346. 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
  347. 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function.
  348. 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  349. ARM GAS /tmp/ccc82m4X.s page 7
  350. 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** @endverbatim
  351. 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ******************************************************************************
  352. 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @attention
  353. 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  354. 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * Copyright (c) 2016 STMicroelectronics.
  355. 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * All rights reserved.
  356. 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  357. 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * This software is licensed under terms that can be found in the LICENSE file in
  358. 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * the root directory of this software component.
  359. 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  360. 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ******************************************************************************
  361. 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  362. 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  363. 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  364. 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #ifndef __STM32F1xx_LL_BUS_H
  365. 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define __STM32F1xx_LL_BUS_H
  366. 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  367. 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #ifdef __cplusplus
  368. 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** extern "C" {
  369. 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif
  370. 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  371. 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/
  372. 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #include "stm32f1xx.h"
  373. 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  374. 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @addtogroup STM32F1xx_LL_Driver
  375. 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  376. 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  377. 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  378. 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC)
  379. 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  380. 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL BUS
  381. 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  382. 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  383. 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  384. 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/
  385. 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/
  386. 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  387. 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/
  388. 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC_AHBRSTR_OTGFSRST) || defined(RCC_AHBRSTR_ETHMACRST)
  389. 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define RCC_AHBRSTR_SUPPORT
  390. 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /* RCC_AHBRSTR_OTGFSRST || RCC_AHBRSTR_ETHMACRST */
  391. 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  392. 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/
  393. 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  394. 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/
  395. 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/
  396. 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants
  397. 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  398. 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  399. 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  400. 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH
  401. 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  402. 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  403. 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU
  404. 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN
  405. 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN
  406. 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(DMA2)
  407. ARM GAS /tmp/ccc82m4X.s page 8
  408. 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN
  409. 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*DMA2*/
  410. 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ETH)
  411. 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMAC RCC_AHBENR_ETHMACEN
  412. 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACRX RCC_AHBENR_ETHMACRXEN
  413. 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACTX RCC_AHBENR_ETHMACTXEN
  414. 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ETH*/
  415. 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLITFEN
  416. 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(FSMC_Bank1)
  417. 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FSMC RCC_AHBENR_FSMCEN
  418. 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*FSMC_Bank1*/
  419. 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USB_OTG_FS)
  420. 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_OTGFS RCC_AHBENR_OTGFSEN
  421. 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USB_OTG_FS*/
  422. 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SDIO)
  423. 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SDIO RCC_AHBENR_SDIOEN
  424. 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SDIO*/
  425. 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBENR_SRAMEN
  426. 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  427. 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @}
  428. 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  429. 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  430. 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH
  431. 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  432. 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  433. 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU
  434. 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_BKP RCC_APB1ENR_BKPEN
  435. 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CAN1)
  436. 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN1 RCC_APB1ENR_CAN1EN
  437. 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CAN1*/
  438. 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CAN2)
  439. 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN2 RCC_APB1ENR_CAN2EN
  440. 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CAN2*/
  441. 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CEC)
  442. 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APB1ENR_CECEN
  443. 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CEC*/
  444. 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(DAC)
  445. 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APB1ENR_DACEN
  446. 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*DAC*/
  447. 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1ENR_I2C1EN
  448. 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(I2C2)
  449. 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1ENR_I2C2EN
  450. 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*I2C2*/
  451. 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APB1ENR_PWREN
  452. 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SPI2)
  453. 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1ENR_SPI2EN
  454. 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SPI2*/
  455. 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SPI3)
  456. 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APB1ENR_SPI3EN
  457. 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SPI3*/
  458. 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM12)
  459. 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM12 RCC_APB1ENR_TIM12EN
  460. 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM12*/
  461. 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM13)
  462. 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM13 RCC_APB1ENR_TIM13EN
  463. 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM13*/
  464. 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM14)
  465. ARM GAS /tmp/ccc82m4X.s page 9
  466. 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM14 RCC_APB1ENR_TIM14EN
  467. 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM14*/
  468. 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1ENR_TIM2EN
  469. 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1ENR_TIM3EN
  470. 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM4)
  471. 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APB1ENR_TIM4EN
  472. 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM4*/
  473. 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM5)
  474. 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM5 RCC_APB1ENR_TIM5EN
  475. 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM5*/
  476. 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM6)
  477. 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1ENR_TIM6EN
  478. 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM6*/
  479. 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM7)
  480. 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1ENR_TIM7EN
  481. 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM7*/
  482. 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(UART4)
  483. 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART4 RCC_APB1ENR_UART4EN
  484. 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*UART4*/
  485. 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(UART5)
  486. 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART5 RCC_APB1ENR_UART5EN
  487. 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*UART5*/
  488. 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1ENR_USART2EN
  489. 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USART3)
  490. 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APB1ENR_USART3EN
  491. 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USART3*/
  492. 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USB)
  493. 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APB1ENR_USBEN
  494. 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USB*/
  495. 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APB1ENR_WWDGEN
  496. 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  497. 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @}
  498. 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  499. 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  500. 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH
  501. 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  502. 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  503. 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU
  504. 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC1 RCC_APB2ENR_ADC1EN
  505. 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ADC2)
  506. 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC2 RCC_APB2ENR_ADC2EN
  507. 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ADC2*/
  508. 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ADC3)
  509. 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC3 RCC_APB2ENR_ADC3EN
  510. 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ADC3*/
  511. 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_AFIO RCC_APB2ENR_AFIOEN
  512. 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOA RCC_APB2ENR_IOPAEN
  513. 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOB RCC_APB2ENR_IOPBEN
  514. 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOC RCC_APB2ENR_IOPCEN
  515. 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOD RCC_APB2ENR_IOPDEN
  516. 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOE)
  517. 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOE RCC_APB2ENR_IOPEEN
  518. 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOE*/
  519. 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOF)
  520. 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOF RCC_APB2ENR_IOPFEN
  521. 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOF*/
  522. 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOG)
  523. ARM GAS /tmp/ccc82m4X.s page 10
  524. 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOG RCC_APB2ENR_IOPGEN
  525. 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOG*/
  526. 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN
  527. 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM10)
  528. 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM10 RCC_APB2ENR_TIM10EN
  529. 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM10*/
  530. 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM11)
  531. 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM11 RCC_APB2ENR_TIM11EN
  532. 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM11*/
  533. 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM15)
  534. 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APB2ENR_TIM15EN
  535. 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM15*/
  536. 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM16)
  537. 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APB2ENR_TIM16EN
  538. 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM16*/
  539. 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM17)
  540. 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APB2ENR_TIM17EN
  541. 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM17*/
  542. 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APB2ENR_TIM1EN
  543. 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM8)
  544. 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM8 RCC_APB2ENR_TIM8EN
  545. 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM8*/
  546. 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM9)
  547. 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM9 RCC_APB2ENR_TIM9EN
  548. 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM9*/
  549. 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN
  550. 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  551. 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @}
  552. 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  553. 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  554. 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  555. 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @}
  556. 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  557. 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  558. 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/
  559. 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  560. 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/
  561. 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions
  562. 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  563. 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  564. 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  565. 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1
  566. 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  567. 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  568. 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  569. 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  570. 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock.
  571. 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n
  572. 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n
  573. 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_EnableClock\n
  574. 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_EnableClock\n
  575. 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_EnableClock\n
  576. 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_EnableClock\n
  577. 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_EnableClock\n
  578. 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_EnableClock\n
  579. 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_EnableClock\n
  580. 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_EnableClock\n
  581. ARM GAS /tmp/ccc82m4X.s page 11
  582. 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_EnableClock
  583. 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  584. 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  585. 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  586. 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*)
  587. 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*)
  588. 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*)
  589. 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*)
  590. 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  591. 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*)
  592. 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*)
  593. 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*)
  594. 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  595. 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  596. 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  597. 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  598. 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  599. 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs)
  600. 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  601. 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg;
  602. 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs);
  603. 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  604. 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs);
  605. 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg;
  606. 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  607. 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  608. 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  609. 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not
  610. 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n
  611. 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n
  612. 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_IsEnabledClock\n
  613. 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_IsEnabledClock\n
  614. 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_IsEnabledClock\n
  615. 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_IsEnabledClock\n
  616. 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_IsEnabledClock\n
  617. 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_IsEnabledClock\n
  618. 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_IsEnabledClock\n
  619. 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_IsEnabledClock\n
  620. 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_IsEnabledClock
  621. 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  622. 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  623. 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  624. 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*)
  625. 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*)
  626. 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*)
  627. 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*)
  628. 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  629. 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*)
  630. 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*)
  631. 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*)
  632. 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  633. 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  634. 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  635. 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  636. 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  637. 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
  638. 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  639. ARM GAS /tmp/ccc82m4X.s page 12
  640. 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->AHBENR, Periphs) == Periphs);
  641. 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  642. 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  643. 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  644. 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock.
  645. 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n
  646. 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n
  647. 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_DisableClock\n
  648. 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_DisableClock\n
  649. 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_DisableClock\n
  650. 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_DisableClock\n
  651. 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_DisableClock\n
  652. 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_DisableClock\n
  653. 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_DisableClock\n
  654. 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_DisableClock\n
  655. 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_DisableClock
  656. 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  657. 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  658. 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  659. 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*)
  660. 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*)
  661. 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*)
  662. 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*)
  663. 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  664. 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*)
  665. 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*)
  666. 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*)
  667. 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  668. 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  669. 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  670. 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  671. 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  672. 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs)
  673. 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  674. 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs);
  675. 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  676. 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  677. 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC_AHBRSTR_SUPPORT)
  678. 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  679. 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force AHB1 peripherals reset.
  680. 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBRSTR ETHMACRST LL_AHB1_GRP1_ForceReset\n
  681. 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBRSTR OTGFSRST LL_AHB1_GRP1_ForceReset
  682. 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  683. 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
  684. 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*)
  685. 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*)
  686. 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  687. 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  688. 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  689. 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  690. 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs)
  691. 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  692. 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs);
  693. 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  694. 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  695. 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  696. 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release AHB1 peripherals reset.
  697. ARM GAS /tmp/ccc82m4X.s page 13
  698. 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBRSTR ETHMACRST LL_AHB1_GRP1_ReleaseReset\n
  699. 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBRSTR OTGFSRST LL_AHB1_GRP1_ReleaseReset
  700. 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  701. 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
  702. 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*)
  703. 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*)
  704. 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  705. 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  706. 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  707. 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  708. 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs)
  709. 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  710. 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs);
  711. 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  712. 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /* RCC_AHBRSTR_SUPPORT */
  713. 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  714. 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  715. 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @}
  716. 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  717. 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  718. 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1
  719. 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  720. 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  721. 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  722. 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  723. 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable APB1 peripherals clock.
  724. 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_EnableClock\n
  725. 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_EnableClock\n
  726. 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_EnableClock\n
  727. 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_EnableClock\n
  728. 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_EnableClock\n
  729. 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_EnableClock\n
  730. 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_EnableClock\n
  731. 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_EnableClock\n
  732. 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_EnableClock\n
  733. 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_EnableClock\n
  734. 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_EnableClock\n
  735. 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_EnableClock\n
  736. 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_EnableClock\n
  737. 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_EnableClock\n
  738. 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_EnableClock\n
  739. 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_EnableClock\n
  740. 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_EnableClock\n
  741. 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_EnableClock\n
  742. 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_EnableClock\n
  743. 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_EnableClock\n
  744. 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_EnableClock\n
  745. 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_EnableClock\n
  746. 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_EnableClock\n
  747. 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_EnableClock\n
  748. 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_EnableClock
  749. 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  750. 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP
  751. 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*)
  752. 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*)
  753. 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*)
  754. 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*)
  755. ARM GAS /tmp/ccc82m4X.s page 14
  756. 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  757. 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*)
  758. 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  759. 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*)
  760. 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*)
  761. 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*)
  762. 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*)
  763. 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*)
  764. 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2
  765. 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  766. 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*)
  767. 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*)
  768. 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*)
  769. 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*)
  770. 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*)
  771. 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*)
  772. 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  773. 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*)
  774. 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*)
  775. 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  776. 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  777. 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  778. 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  779. 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  780. 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
  781. 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  782. 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg;
  783. 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB1ENR, Periphs);
  784. 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  785. 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1ENR, Periphs);
  786. 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg;
  787. 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  788. 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  789. 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  790. 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not
  791. 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_IsEnabledClock\n
  792. 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_IsEnabledClock\n
  793. 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_IsEnabledClock\n
  794. 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_IsEnabledClock\n
  795. 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_IsEnabledClock\n
  796. 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_IsEnabledClock\n
  797. 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_IsEnabledClock\n
  798. 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_IsEnabledClock\n
  799. 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_IsEnabledClock\n
  800. 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_IsEnabledClock\n
  801. 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_IsEnabledClock\n
  802. 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_IsEnabledClock\n
  803. 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_IsEnabledClock\n
  804. 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_IsEnabledClock\n
  805. 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_IsEnabledClock\n
  806. 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_IsEnabledClock\n
  807. 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_IsEnabledClock\n
  808. 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_IsEnabledClock\n
  809. 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_IsEnabledClock\n
  810. 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_IsEnabledClock\n
  811. 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_IsEnabledClock\n
  812. 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_IsEnabledClock\n
  813. ARM GAS /tmp/ccc82m4X.s page 15
  814. 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_IsEnabledClock\n
  815. 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_IsEnabledClock\n
  816. 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_IsEnabledClock
  817. 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  818. 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP
  819. 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*)
  820. 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*)
  821. 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*)
  822. 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*)
  823. 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  824. 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*)
  825. 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  826. 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*)
  827. 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*)
  828. 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*)
  829. 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*)
  830. 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*)
  831. 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2
  832. 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  833. 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*)
  834. 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*)
  835. 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*)
  836. 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*)
  837. 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*)
  838. 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*)
  839. 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  840. 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*)
  841. 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*)
  842. 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  843. 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  844. 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  845. 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  846. 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  847. 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
  848. 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  849. 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->APB1ENR, Periphs) == Periphs);
  850. 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  851. 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  852. 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  853. 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable APB1 peripherals clock.
  854. 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_DisableClock\n
  855. 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_DisableClock\n
  856. 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_DisableClock\n
  857. 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_DisableClock\n
  858. 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_DisableClock\n
  859. 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_DisableClock\n
  860. 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_DisableClock\n
  861. 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_DisableClock\n
  862. 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_DisableClock\n
  863. 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_DisableClock\n
  864. 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_DisableClock\n
  865. 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_DisableClock\n
  866. 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_DisableClock\n
  867. 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_DisableClock\n
  868. 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_DisableClock\n
  869. 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_DisableClock\n
  870. 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_DisableClock\n
  871. ARM GAS /tmp/ccc82m4X.s page 16
  872. 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_DisableClock\n
  873. 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_DisableClock\n
  874. 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_DisableClock\n
  875. 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_DisableClock\n
  876. 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_DisableClock\n
  877. 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_DisableClock\n
  878. 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_DisableClock\n
  879. 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_DisableClock
  880. 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  881. 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP
  882. 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*)
  883. 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*)
  884. 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*)
  885. 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*)
  886. 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  887. 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*)
  888. 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  889. 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*)
  890. 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*)
  891. 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*)
  892. 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*)
  893. 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*)
  894. 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2
  895. 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  896. 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*)
  897. 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*)
  898. 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*)
  899. 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*)
  900. 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*)
  901. 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*)
  902. 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  903. 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*)
  904. 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*)
  905. 568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  906. 569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  907. 570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  908. 571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  909. 572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  910. 573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs)
  911. 574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  912. 575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB1ENR, Periphs);
  913. 576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  914. 577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  915. 578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  916. 579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force APB1 peripherals reset.
  917. 580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1RSTR BKPRST LL_APB1_GRP1_ForceReset\n
  918. 581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN1RST LL_APB1_GRP1_ForceReset\n
  919. 582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN2RST LL_APB1_GRP1_ForceReset\n
  920. 583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CECRST LL_APB1_GRP1_ForceReset\n
  921. 584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ForceReset\n
  922. 585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ForceReset\n
  923. 586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ForceReset\n
  924. 587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ForceReset\n
  925. 588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ForceReset\n
  926. 589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI3RST LL_APB1_GRP1_ForceReset\n
  927. 590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM12RST LL_APB1_GRP1_ForceReset\n
  928. 591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM13RST LL_APB1_GRP1_ForceReset\n
  929. ARM GAS /tmp/ccc82m4X.s page 17
  930. 592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM14RST LL_APB1_GRP1_ForceReset\n
  931. 593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM2RST LL_APB1_GRP1_ForceReset\n
  932. 594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ForceReset\n
  933. 595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM4RST LL_APB1_GRP1_ForceReset\n
  934. 596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM5RST LL_APB1_GRP1_ForceReset\n
  935. 597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ForceReset\n
  936. 598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ForceReset\n
  937. 599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART4RST LL_APB1_GRP1_ForceReset\n
  938. 600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART5RST LL_APB1_GRP1_ForceReset\n
  939. 601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ForceReset\n
  940. 602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART3RST LL_APB1_GRP1_ForceReset\n
  941. 603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ForceReset\n
  942. 604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ForceReset
  943. 605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  944. 606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL
  945. 607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP
  946. 608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*)
  947. 609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*)
  948. 610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*)
  949. 611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*)
  950. 612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  951. 613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*)
  952. 614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  953. 615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*)
  954. 616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*)
  955. 617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*)
  956. 618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*)
  957. 619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*)
  958. 620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2
  959. 621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  960. 622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*)
  961. 623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*)
  962. 624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*)
  963. 625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*)
  964. 626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*)
  965. 627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*)
  966. 628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  967. 629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*)
  968. 630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*)
  969. 631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  970. 632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  971. 633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  972. 634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  973. 635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  974. 636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs)
  975. 637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  976. 638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB1RSTR, Periphs);
  977. 639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  978. 640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  979. 641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  980. 642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release APB1 peripherals reset.
  981. 643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1RSTR BKPRST LL_APB1_GRP1_ReleaseReset\n
  982. 644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN1RST LL_APB1_GRP1_ReleaseReset\n
  983. 645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN2RST LL_APB1_GRP1_ReleaseReset\n
  984. 646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CECRST LL_APB1_GRP1_ReleaseReset\n
  985. 647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ReleaseReset\n
  986. 648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ReleaseReset\n
  987. ARM GAS /tmp/ccc82m4X.s page 18
  988. 649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ReleaseReset\n
  989. 650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ReleaseReset\n
  990. 651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ReleaseReset\n
  991. 652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI3RST LL_APB1_GRP1_ReleaseReset\n
  992. 653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM12RST LL_APB1_GRP1_ReleaseReset\n
  993. 654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM13RST LL_APB1_GRP1_ReleaseReset\n
  994. 655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM14RST LL_APB1_GRP1_ReleaseReset\n
  995. 656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset\n
  996. 657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ReleaseReset\n
  997. 658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM4RST LL_APB1_GRP1_ReleaseReset\n
  998. 659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM5RST LL_APB1_GRP1_ReleaseReset\n
  999. 660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ReleaseReset\n
  1000. 661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ReleaseReset\n
  1001. 662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART4RST LL_APB1_GRP1_ReleaseReset\n
  1002. 663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART5RST LL_APB1_GRP1_ReleaseReset\n
  1003. 664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ReleaseReset\n
  1004. 665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART3RST LL_APB1_GRP1_ReleaseReset\n
  1005. 666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ReleaseReset\n
  1006. 667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ReleaseReset
  1007. 668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  1008. 669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL
  1009. 670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP
  1010. 671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*)
  1011. 672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*)
  1012. 673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*)
  1013. 674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*)
  1014. 675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  1015. 676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*)
  1016. 677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  1017. 678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*)
  1018. 679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*)
  1019. 680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*)
  1020. 681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*)
  1021. 682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*)
  1022. 683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2
  1023. 684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  1024. 685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*)
  1025. 686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*)
  1026. 687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*)
  1027. 688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*)
  1028. 689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*)
  1029. 690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*)
  1030. 691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  1031. 692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*)
  1032. 693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*)
  1033. 694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  1034. 695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  1035. 696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  1036. 697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  1037. 698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1038. 699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs)
  1039. 700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  1040. 701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB1RSTR, Periphs);
  1041. 702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  1042. 703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1043. 704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  1044. 705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @}
  1045. ARM GAS /tmp/ccc82m4X.s page 19
  1046. 706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1047. 707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1048. 708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB2 APB2
  1049. 709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{
  1050. 710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1051. 711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1052. 712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  1053. 713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable APB2 peripherals clock.
  1054. 714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_EnableClock\n
  1055. 715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_EnableClock\n
  1056. 716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_EnableClock\n
  1057. 717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_EnableClock\n
  1058. 718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_EnableClock\n
  1059. 719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_EnableClock\n
  1060. 720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_EnableClock\n
  1061. 721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_EnableClock\n
  1062. 722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_EnableClock\n
  1063. 723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_EnableClock\n
  1064. 724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_EnableClock\n
  1065. 725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_EnableClock\n
  1066. 726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_EnableClock\n
  1067. 727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_EnableClock\n
  1068. 728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_EnableClock\n
  1069. 729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_EnableClock\n
  1070. 730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_EnableClock\n
  1071. 731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_EnableClock\n
  1072. 732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_EnableClock\n
  1073. 733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_EnableClock\n
  1074. 734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_EnableClock
  1075. 735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  1076. 736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1
  1077. 737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*)
  1078. 738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*)
  1079. 739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO
  1080. 740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA
  1081. 741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB
  1082. 742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC
  1083. 743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD
  1084. 744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*)
  1085. 745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*)
  1086. 746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*)
  1087. 747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1
  1088. 748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*)
  1089. 749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*)
  1090. 750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*)
  1091. 751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*)
  1092. 752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*)
  1093. 753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1
  1094. 754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*)
  1095. 755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*)
  1096. 756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1
  1097. 757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  1098. 758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  1099. 759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  1100. 760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1101. 761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_EnableClock(uint32_t Periphs)
  1102. 762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  1103. ARM GAS /tmp/ccc82m4X.s page 20
  1104. 763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg;
  1105. 764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB2ENR, Periphs);
  1106. 765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  1107. 766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB2ENR, Periphs);
  1108. 767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg;
  1109. 768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  1110. 769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1111. 770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  1112. 771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if APB2 peripheral clock is enabled or not
  1113. 772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_IsEnabledClock\n
  1114. 773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_IsEnabledClock\n
  1115. 774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_IsEnabledClock\n
  1116. 775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_IsEnabledClock\n
  1117. 776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_IsEnabledClock\n
  1118. 777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_IsEnabledClock\n
  1119. 778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_IsEnabledClock\n
  1120. 779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_IsEnabledClock\n
  1121. 780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_IsEnabledClock\n
  1122. 781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_IsEnabledClock\n
  1123. 782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_IsEnabledClock\n
  1124. 783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_IsEnabledClock\n
  1125. 784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_IsEnabledClock\n
  1126. 785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_IsEnabledClock\n
  1127. 786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_IsEnabledClock\n
  1128. 787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_IsEnabledClock\n
  1129. 788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_IsEnabledClock\n
  1130. 789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_IsEnabledClock\n
  1131. 790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_IsEnabledClock\n
  1132. 791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_IsEnabledClock\n
  1133. 792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_IsEnabledClock
  1134. 793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  1135. 794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1
  1136. 795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*)
  1137. 796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*)
  1138. 797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO
  1139. 798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA
  1140. 799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB
  1141. 800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC
  1142. 801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD
  1143. 802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*)
  1144. 803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*)
  1145. 804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*)
  1146. 805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1
  1147. 806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*)
  1148. 807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*)
  1149. 808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*)
  1150. 809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*)
  1151. 810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*)
  1152. 811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1
  1153. 812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*)
  1154. 813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*)
  1155. 814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1
  1156. 815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  1157. 816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  1158. 817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  1159. 818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1160. 819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock(uint32_t Periphs)
  1161. ARM GAS /tmp/ccc82m4X.s page 21
  1162. 820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  1163. 821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->APB2ENR, Periphs) == Periphs);
  1164. 822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  1165. 823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1166. 824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  1167. 825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable APB2 peripherals clock.
  1168. 826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_DisableClock\n
  1169. 827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_DisableClock\n
  1170. 828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_DisableClock\n
  1171. 829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_DisableClock\n
  1172. 830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_DisableClock\n
  1173. 831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_DisableClock\n
  1174. 832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_DisableClock\n
  1175. 833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_DisableClock\n
  1176. 834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_DisableClock\n
  1177. 835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_DisableClock\n
  1178. 836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_DisableClock\n
  1179. 837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_DisableClock\n
  1180. 838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_DisableClock\n
  1181. 839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_DisableClock\n
  1182. 840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_DisableClock\n
  1183. 841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_DisableClock\n
  1184. 842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_DisableClock\n
  1185. 843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_DisableClock\n
  1186. 844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_DisableClock\n
  1187. 845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_DisableClock\n
  1188. 846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_DisableClock
  1189. 847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  1190. 848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1
  1191. 849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*)
  1192. 850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*)
  1193. 851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO
  1194. 852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA
  1195. 853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB
  1196. 854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC
  1197. 855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD
  1198. 856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*)
  1199. 857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*)
  1200. 858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*)
  1201. 859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1
  1202. 860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*)
  1203. 861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*)
  1204. 862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*)
  1205. 863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*)
  1206. 864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*)
  1207. 865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1
  1208. 866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*)
  1209. 867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*)
  1210. 868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1
  1211. 869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  1212. 870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  1213. 871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  1214. 872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1215. 873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_DisableClock(uint32_t Periphs)
  1216. 874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  1217. 875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB2ENR, Periphs);
  1218. 876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  1219. ARM GAS /tmp/ccc82m4X.s page 22
  1220. 877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1221. 878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  1222. 879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force APB2 peripherals reset.
  1223. 880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2RSTR ADC1RST LL_APB2_GRP1_ForceReset\n
  1224. 881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC2RST LL_APB2_GRP1_ForceReset\n
  1225. 882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC3RST LL_APB2_GRP1_ForceReset\n
  1226. 883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR AFIORST LL_APB2_GRP1_ForceReset\n
  1227. 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPARST LL_APB2_GRP1_ForceReset\n
  1228. 885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPBRST LL_APB2_GRP1_ForceReset\n
  1229. 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPCRST LL_APB2_GRP1_ForceReset\n
  1230. 887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPDRST LL_APB2_GRP1_ForceReset\n
  1231. 888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPERST LL_APB2_GRP1_ForceReset\n
  1232. 889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPFRST LL_APB2_GRP1_ForceReset\n
  1233. 890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPGRST LL_APB2_GRP1_ForceReset\n
  1234. 891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ForceReset\n
  1235. 892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM10RST LL_APB2_GRP1_ForceReset\n
  1236. 893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM11RST LL_APB2_GRP1_ForceReset\n
  1237. 894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM15RST LL_APB2_GRP1_ForceReset\n
  1238. 895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM16RST LL_APB2_GRP1_ForceReset\n
  1239. 896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM17RST LL_APB2_GRP1_ForceReset\n
  1240. 897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM1RST LL_APB2_GRP1_ForceReset\n
  1241. 898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM8RST LL_APB2_GRP1_ForceReset\n
  1242. 899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM9RST LL_APB2_GRP1_ForceReset\n
  1243. 900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ForceReset
  1244. 901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  1245. 902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL
  1246. 903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1
  1247. 904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*)
  1248. 905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*)
  1249. 906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO
  1250. 907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA
  1251. 908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB
  1252. 909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC
  1253. 910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD
  1254. 911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*)
  1255. 912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*)
  1256. 913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*)
  1257. 914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1
  1258. 915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*)
  1259. 916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*)
  1260. 917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*)
  1261. 918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*)
  1262. 919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*)
  1263. 920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1
  1264. 921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*)
  1265. 922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*)
  1266. 923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1
  1267. 924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  1268. 925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  1269. 926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  1270. 927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1271. 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ForceReset(uint32_t Periphs)
  1272. 38 .loc 2 928 22 view .LVU3
  1273. 39 .LBB29:
  1274. 929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  1275. 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB2RSTR, Periphs);
  1276. 40 .loc 2 930 3 view .LVU4
  1277. ARM GAS /tmp/ccc82m4X.s page 23
  1278. 41 0000 054B ldr r3, .L2
  1279. 42 0002 DA68 ldr r2, [r3, #12]
  1280. 43 0004 42F40072 orr r2, r2, #512
  1281. 44 0008 DA60 str r2, [r3, #12]
  1282. 45 .LVL1:
  1283. 46 .loc 2 930 3 is_stmt 0 view .LVU5
  1284. 47 .LBE29:
  1285. 48 .LBE28:
  1286. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  1287. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Release reset of ADC clock (core clock) */
  1288. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_ADC1);
  1289. 49 .loc 1 288 3 is_stmt 1 view .LVU6
  1290. 50 .LBB30:
  1291. 51 .LBI30:
  1292. 931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** }
  1293. 932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h ****
  1294. 933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /**
  1295. 934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release APB2 peripherals reset.
  1296. 935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2RSTR ADC1RST LL_APB2_GRP1_ReleaseReset\n
  1297. 936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC2RST LL_APB2_GRP1_ReleaseReset\n
  1298. 937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC3RST LL_APB2_GRP1_ReleaseReset\n
  1299. 938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR AFIORST LL_APB2_GRP1_ReleaseReset\n
  1300. 939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPARST LL_APB2_GRP1_ReleaseReset\n
  1301. 940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPBRST LL_APB2_GRP1_ReleaseReset\n
  1302. 941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPCRST LL_APB2_GRP1_ReleaseReset\n
  1303. 942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPDRST LL_APB2_GRP1_ReleaseReset\n
  1304. 943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPERST LL_APB2_GRP1_ReleaseReset\n
  1305. 944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPFRST LL_APB2_GRP1_ReleaseReset\n
  1306. 945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPGRST LL_APB2_GRP1_ReleaseReset\n
  1307. 946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ReleaseReset\n
  1308. 947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM10RST LL_APB2_GRP1_ReleaseReset\n
  1309. 948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM11RST LL_APB2_GRP1_ReleaseReset\n
  1310. 949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM15RST LL_APB2_GRP1_ReleaseReset\n
  1311. 950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM16RST LL_APB2_GRP1_ReleaseReset\n
  1312. 951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM17RST LL_APB2_GRP1_ReleaseReset\n
  1313. 952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM1RST LL_APB2_GRP1_ReleaseReset\n
  1314. 953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM8RST LL_APB2_GRP1_ReleaseReset\n
  1315. 954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM9RST LL_APB2_GRP1_ReleaseReset\n
  1316. 955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ReleaseReset
  1317. 956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  1318. 957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL
  1319. 958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1
  1320. 959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*)
  1321. 960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*)
  1322. 961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO
  1323. 962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA
  1324. 963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB
  1325. 964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC
  1326. 965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD
  1327. 966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*)
  1328. 967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*)
  1329. 968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*)
  1330. 969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1
  1331. 970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*)
  1332. 971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*)
  1333. 972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*)
  1334. 973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*)
  1335. ARM GAS /tmp/ccc82m4X.s page 24
  1336. 974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*)
  1337. 975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1
  1338. 976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*)
  1339. 977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*)
  1340. 978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1
  1341. 979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** *
  1342. 980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices.
  1343. 981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None
  1344. 982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */
  1345. 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs)
  1346. 52 .loc 2 983 22 view .LVU7
  1347. 53 .LBB31:
  1348. 984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** {
  1349. 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB2RSTR, Periphs);
  1350. 54 .loc 2 985 3 view .LVU8
  1351. 55 000a DA68 ldr r2, [r3, #12]
  1352. 56 000c 22F40072 bic r2, r2, #512
  1353. 57 0010 DA60 str r2, [r3, #12]
  1354. 58 .LVL2:
  1355. 59 .loc 2 985 3 is_stmt 0 view .LVU9
  1356. 60 .LBE31:
  1357. 61 .LBE30:
  1358. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  1359. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return SUCCESS;
  1360. 62 .loc 1 290 3 is_stmt 1 view .LVU10
  1361. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  1362. 63 .loc 1 291 1 is_stmt 0 view .LVU11
  1363. 64 0012 0020 movs r0, #0
  1364. 65 .LVL3:
  1365. 66 .loc 1 291 1 view .LVU12
  1366. 67 0014 7047 bx lr
  1367. 68 .L3:
  1368. 69 0016 00BF .align 2
  1369. 70 .L2:
  1370. 71 0018 00100240 .word 1073876992
  1371. 72 .cfi_endproc
  1372. 73 .LFE156:
  1373. 75 .section .text.LL_ADC_CommonInit,"ax",%progbits
  1374. 76 .align 1
  1375. 77 .global LL_ADC_CommonInit
  1376. 78 .syntax unified
  1377. 79 .thumb
  1378. 80 .thumb_func
  1379. 82 LL_ADC_CommonInit:
  1380. 83 .LVL4:
  1381. 84 .LFB157:
  1382. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  1383. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  1384. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC common parameters
  1385. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (all ADC instances belonging to the same ADC common instance)
  1386. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and multimode (for devices with several ADC instances available).
  1387. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of ADC common parameters is conditioned to
  1388. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instances state:
  1389. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * All ADC instances belonging to the same ADC common instance
  1390. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * must be disabled.
  1391. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCxy_COMMON ADC common instance
  1392. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  1393. ARM GAS /tmp/ccc82m4X.s page 25
  1394. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_CommonInitStruct Pointer to a @ref LL_ADC_CommonInitTypeDef structure
  1395. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value:
  1396. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC common registers are initialized
  1397. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC common registers are not initialized
  1398. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  1399. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_CommonInit(ADC_Common_TypeDef *ADCxy_COMMON, LL_ADC_CommonInitTypeDef *ADC_Commo
  1400. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  1401. 85 .loc 1 309 1 is_stmt 1 view -0
  1402. 86 .cfi_startproc
  1403. 87 @ args = 0, pretend = 0, frame = 0
  1404. 88 @ frame_needed = 0, uses_anonymous_args = 0
  1405. 89 @ link register save eliminated.
  1406. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  1407. 90 .loc 1 310 3 view .LVU14
  1408. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  1409. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */
  1410. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON));
  1411. 91 .loc 1 313 3 view .LVU15
  1412. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT)
  1413. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_MULTI_MODE(ADC_CommonInitStruct->Multimode));
  1414. 92 .loc 1 315 3 view .LVU16
  1415. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif /* ADC_MULTIMODE_SUPPORT */
  1416. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  1417. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of functions */
  1418. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* "LL_ADC_SetCommonXXX()" and "LL_ADC_SetMultiXXX()"): */
  1419. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* On this STM32 series, setting of these features is conditioned to */
  1420. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC state: */
  1421. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* All ADC instances of the ADC common group must be disabled. */
  1422. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(ADCxy_COMMON) == 0U)
  1423. 93 .loc 1 323 3 view .LVU17
  1424. 94 .LBB32:
  1425. 95 .LBI32:
  1426. 96 .file 3 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h"
  1427. 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1428. 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ******************************************************************************
  1429. 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @file stm32f1xx_ll_adc.h
  1430. 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @author MCD Application Team
  1431. 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Header file of ADC LL module.
  1432. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ******************************************************************************
  1433. 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @attention
  1434. 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  1435. 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Copyright (c) 2017 STMicroelectronics.
  1436. 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * All rights reserved.
  1437. 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  1438. 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This software is licensed under terms that can be found in the LICENSE file
  1439. 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * in the root directory of this software component.
  1440. 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  1441. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  1442. 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ******************************************************************************
  1443. 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1444. 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1445. 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  1446. 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #ifndef __STM32F1xx_LL_ADC_H
  1447. 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __STM32F1xx_LL_ADC_H
  1448. 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1449. 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #ifdef __cplusplus
  1450. 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** extern "C" {
  1451. ARM GAS /tmp/ccc82m4X.s page 26
  1452. 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  1453. 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1454. 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Includes ------------------------------------------------------------------*/
  1455. 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #include "stm32f1xx.h"
  1456. 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1457. 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @addtogroup STM32F1xx_LL_Driver
  1458. 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1459. 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1460. 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1461. 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (ADC1) || defined (ADC2) || defined (ADC3)
  1462. 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1463. 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL ADC
  1464. 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1465. 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1466. 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1467. 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private types -------------------------------------------------------------*/
  1468. 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private variables ---------------------------------------------------------*/
  1469. 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1470. 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private constants ---------------------------------------------------------*/
  1471. 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Private_Constants ADC Private Constants
  1472. 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1473. 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1474. 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1475. 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC group regular sequencer: */
  1476. 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literal LL_ADC_REG_RANK_x the relevant bits for: */
  1477. 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - sequencer register offset */
  1478. 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - sequencer rank bits position into the selected register */
  1479. 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1480. 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC group regular sequencer configuration */
  1481. 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
  1482. 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR1_REGOFFSET 0x00000000U
  1483. 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR2_REGOFFSET 0x00000100U
  1484. 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR3_REGOFFSET 0x00000200U
  1485. 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR4_REGOFFSET 0x00000300U
  1486. 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1487. 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_SQRX_REGOFFSET_MASK (ADC_SQR1_REGOFFSET | ADC_SQR2_REGOFFSET | ADC_SQR3_REGO
  1488. 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_ID_SQRX_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0)
  1489. 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1490. 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Definition of ADC group regular sequencer bits information to be inserted */
  1491. 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* into ADC group regular sequencer ranks literals definition. */
  1492. 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_1_SQRX_BITOFFSET_POS ( 0U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ1)
  1493. 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_2_SQRX_BITOFFSET_POS ( 5U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ2)
  1494. 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_3_SQRX_BITOFFSET_POS (10U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ3)
  1495. 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_4_SQRX_BITOFFSET_POS (15U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ4)
  1496. 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_5_SQRX_BITOFFSET_POS (20U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ5)
  1497. 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_6_SQRX_BITOFFSET_POS (25U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ6)
  1498. 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_7_SQRX_BITOFFSET_POS ( 0U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ7)
  1499. 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_8_SQRX_BITOFFSET_POS ( 5U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ8)
  1500. 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_9_SQRX_BITOFFSET_POS (10U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ9)
  1501. 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_10_SQRX_BITOFFSET_POS (15U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ10)
  1502. 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_11_SQRX_BITOFFSET_POS (20U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ11)
  1503. 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_12_SQRX_BITOFFSET_POS (25U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ12)
  1504. 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_13_SQRX_BITOFFSET_POS ( 0U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ13)
  1505. 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_14_SQRX_BITOFFSET_POS ( 5U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ14)
  1506. 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_15_SQRX_BITOFFSET_POS (10U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ15)
  1507. 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_16_SQRX_BITOFFSET_POS (15U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ16)
  1508. 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1509. ARM GAS /tmp/ccc82m4X.s page 27
  1510. 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC group injected sequencer: */
  1511. 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literal LL_ADC_INJ_RANK_x the relevant bits for: */
  1512. 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - data register offset */
  1513. 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - offset register offset */
  1514. 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - sequencer rank bits position into the selected register */
  1515. 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1516. 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC group injected data register */
  1517. 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
  1518. 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR1_REGOFFSET 0x00000000U
  1519. 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR2_REGOFFSET 0x00000100U
  1520. 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR3_REGOFFSET 0x00000200U
  1521. 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR4_REGOFFSET 0x00000300U
  1522. 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1523. 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC group injected offset configuration */
  1524. 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
  1525. 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR1_REGOFFSET 0x00000000U
  1526. 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR2_REGOFFSET 0x00001000U
  1527. 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR3_REGOFFSET 0x00002000U
  1528. 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR4_REGOFFSET 0x00003000U
  1529. 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1530. 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_INJ_JDRX_REGOFFSET_MASK (ADC_JDR1_REGOFFSET | ADC_JDR2_REGOFFSET | ADC_JDR3_REGO
  1531. 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_INJ_JOFRX_REGOFFSET_MASK (ADC_JOFR1_REGOFFSET | ADC_JOFR2_REGOFFSET | ADC_JOFR3_R
  1532. 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_INJ_RANK_ID_JSQR_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0)
  1533. 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1534. 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC channel: */
  1535. 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literal LL_ADC_CHANNEL_x the relevant bits for: */
  1536. 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - channel identifier defined by number */
  1537. 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - channel differentiation between external channels (connected to */
  1538. 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* GPIO pins) and internal channels (connected to internal paths) */
  1539. 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - channel sampling time defined by SMPRx register offset */
  1540. 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* and SMPx bits positions into SMPRx register */
  1541. 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_MASK (ADC_CR1_AWDCH)
  1542. 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS ( 0U)/* Value equivalent to POSITION_VAL(ADC_CHANNEL_ID
  1543. 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_MASK (ADC_CHANNEL_ID_NUMBER_MASK | ADC_CHANNEL_ID_INTERNAL_CH
  1544. 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Equivalent mask of ADC_CHANNEL_NUMBER_MASK aligned on register LSB (bit 0) */
  1545. 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 0x0000001FU /* Equivalent to shift: (ADC_CHANNEL_NUMBER_
  1546. 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1547. 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Channel differentiation between external and internal channels */
  1548. 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH 0x80000000U /* Marker of internal channel */
  1549. 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH_2 0x40000000U /* Marker of internal channel for other AD
  1550. 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH_MASK (ADC_CHANNEL_ID_INTERNAL_CH | ADC_CHANNEL_ID_INTERNAL_CH
  1551. 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1552. 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC channel sampling time configuration */
  1553. 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
  1554. 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SMPR1_REGOFFSET 0x00000000U
  1555. 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SMPR2_REGOFFSET 0x02000000U
  1556. 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_SMPRX_REGOFFSET_MASK (ADC_SMPR1_REGOFFSET | ADC_SMPR2_REGOFFSET)
  1557. 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1558. 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_SMPx_BITOFFSET_MASK 0x01F00000U
  1559. 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_SMPx_BITOFFSET_POS (20U) /* Value equivalent to POSITION_VAL(ADC_
  1560. 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1561. 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Definition of channels ID number information to be inserted into */
  1562. 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* channels literals definition. */
  1563. 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_0_NUMBER 0x00000000U
  1564. 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_1_NUMBER (
  1565. 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_2_NUMBER ( A
  1566. 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_3_NUMBER ( A
  1567. ARM GAS /tmp/ccc82m4X.s page 28
  1568. 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_4_NUMBER ( ADC_CR1_AWDCH_2
  1569. 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_5_NUMBER ( ADC_CR1_AWDCH_2
  1570. 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_6_NUMBER ( ADC_CR1_AWDCH_2 | A
  1571. 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_7_NUMBER ( ADC_CR1_AWDCH_2 | A
  1572. 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_8_NUMBER ( ADC_CR1_AWDCH_3
  1573. 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_9_NUMBER ( ADC_CR1_AWDCH_3
  1574. 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_10_NUMBER ( ADC_CR1_AWDCH_3 | A
  1575. 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_11_NUMBER ( ADC_CR1_AWDCH_3 | A
  1576. 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_12_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2
  1577. 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_13_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2
  1578. 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_14_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2 | A
  1579. 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_15_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2 | A
  1580. 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_16_NUMBER (ADC_CR1_AWDCH_4
  1581. 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_17_NUMBER (ADC_CR1_AWDCH_4
  1582. 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1583. 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Definition of channels sampling time information to be inserted into */
  1584. 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* channels literals definition. */
  1585. 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_0_SMP (ADC_SMPR2_REGOFFSET | (( 0U) << ADC_CHANNEL_SMPx_BITOFF
  1586. 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_1_SMP (ADC_SMPR2_REGOFFSET | (( 3U) << ADC_CHANNEL_SMPx_BITOFF
  1587. 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_2_SMP (ADC_SMPR2_REGOFFSET | (( 6U) << ADC_CHANNEL_SMPx_BITOFF
  1588. 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_3_SMP (ADC_SMPR2_REGOFFSET | (( 9U) << ADC_CHANNEL_SMPx_BITOFF
  1589. 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_4_SMP (ADC_SMPR2_REGOFFSET | ((12U) << ADC_CHANNEL_SMPx_BITOFF
  1590. 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_5_SMP (ADC_SMPR2_REGOFFSET | ((15U) << ADC_CHANNEL_SMPx_BITOFF
  1591. 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_6_SMP (ADC_SMPR2_REGOFFSET | ((18U) << ADC_CHANNEL_SMPx_BITOFF
  1592. 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_7_SMP (ADC_SMPR2_REGOFFSET | ((21U) << ADC_CHANNEL_SMPx_BITOFF
  1593. 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_8_SMP (ADC_SMPR2_REGOFFSET | ((24U) << ADC_CHANNEL_SMPx_BITOFF
  1594. 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_9_SMP (ADC_SMPR2_REGOFFSET | ((27U) << ADC_CHANNEL_SMPx_BITOFF
  1595. 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_10_SMP (ADC_SMPR1_REGOFFSET | (( 0U) << ADC_CHANNEL_SMPx_BITOFF
  1596. 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_11_SMP (ADC_SMPR1_REGOFFSET | (( 3U) << ADC_CHANNEL_SMPx_BITOFF
  1597. 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_12_SMP (ADC_SMPR1_REGOFFSET | (( 6U) << ADC_CHANNEL_SMPx_BITOFF
  1598. 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_13_SMP (ADC_SMPR1_REGOFFSET | (( 9U) << ADC_CHANNEL_SMPx_BITOFF
  1599. 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_14_SMP (ADC_SMPR1_REGOFFSET | ((12U) << ADC_CHANNEL_SMPx_BITOFF
  1600. 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_15_SMP (ADC_SMPR1_REGOFFSET | ((15U) << ADC_CHANNEL_SMPx_BITOFF
  1601. 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_16_SMP (ADC_SMPR1_REGOFFSET | ((18U) << ADC_CHANNEL_SMPx_BITOFF
  1602. 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_17_SMP (ADC_SMPR1_REGOFFSET | ((21U) << ADC_CHANNEL_SMPx_BITOFF
  1603. 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1604. 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC analog watchdog: */
  1605. 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literals LL_ADC_AWD_CHANNELx_xxx the relevant bits for: */
  1606. 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (concatenation of multiple bits used in different analog watchdogs, */
  1607. 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (feature of several watchdogs not available on all STM32 families)). */
  1608. 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - analog watchdog 1: monitored channel defined by number, */
  1609. 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* selection of ADC group (ADC groups regular and-or injected). */
  1610. 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1611. 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC analog watchdog channel configuration */
  1612. 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CR1_REGOFFSET 0x00000000U
  1613. 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1614. 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CRX_REGOFFSET_MASK (ADC_AWD_CR1_REGOFFSET)
  1615. 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1616. 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CR1_CHANNEL_MASK (ADC_CR1_AWDCH | ADC_CR1_JAWDEN | ADC_CR1_AWDEN | ADC_CR
  1617. 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CR_ALL_CHANNEL_MASK (ADC_AWD_CR1_CHANNEL_MASK)
  1618. 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1619. 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC analog watchdog threshold configuration */
  1620. 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_TR1_HIGH_REGOFFSET 0x00000000U
  1621. 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_TR1_LOW_REGOFFSET 0x00000001U
  1622. 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_TRX_REGOFFSET_MASK (ADC_AWD_TR1_HIGH_REGOFFSET | ADC_AWD_TR1_LOW_REGOFFSET)
  1623. 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1624. 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC registers bits positions */
  1625. ARM GAS /tmp/ccc82m4X.s page 29
  1626. 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CR1_DUALMOD_BITOFFSET_POS (16U) /* Value equivalent to POSITION_VAL(ADC_CR1_DUALMO
  1627. 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1628. 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1629. 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1630. 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1631. 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1632. 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1633. 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private macros ------------------------------------------------------------*/
  1634. 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Private_Macros ADC Private Macros
  1635. 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1636. 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1637. 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1638. 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1639. 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Driver macro reserved for internal use: isolate bits with the
  1640. 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * selected mask and shift them to the register LSB
  1641. 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (shift mask on register position bit 0).
  1642. 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __BITS__ Bits in register 32 bits
  1643. 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __MASK__ Mask in register 32 bits
  1644. 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Bits in register 32 bits
  1645. 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1646. 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __ADC_MASK_SHIFT(__BITS__, __MASK__) \
  1647. 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__BITS__) & (__MASK__)) >> POSITION_VAL((__MASK__)))
  1648. 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1649. 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1650. 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Driver macro reserved for internal use: set a pointer to
  1651. 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a register from a register basis from which an offset
  1652. 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is applied.
  1653. 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG__ Register basis from which the offset is applied.
  1654. 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG_OFFFSET__ Offset to be applied (unit: number of registers).
  1655. 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Pointer to register address
  1656. 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1657. 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __ADC_PTR_REG_OFFSET(__REG__, __REG_OFFFSET__) \
  1658. 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__IO uint32_t *)((uint32_t) ((uint32_t)(&(__REG__)) + ((__REG_OFFFSET__) << 2U))))
  1659. 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1660. 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1661. 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1662. 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1663. 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1664. 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1665. 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported types ------------------------------------------------------------*/
  1666. 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(USE_FULL_LL_DRIVER)
  1667. 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_ES_INIT ADC Exported Init structure
  1668. 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1669. 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1670. 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1671. 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1672. 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC common parameters
  1673. 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and multimode
  1674. 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (all ADC instances belonging to the same ADC common instance).
  1675. 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_CommonInit()
  1676. 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instances state (all ADC instances
  1677. 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sharing the same ADC common instance):
  1678. 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * All ADC instances sharing the same ADC common instance must be
  1679. 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * disabled.
  1680. 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1681. 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct
  1682. 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  1683. ARM GAS /tmp/ccc82m4X.s page 30
  1684. 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t Multimode; /*!< Set ADC multimode configuration to operate in independ
  1685. 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_MULTI_
  1686. 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1687. 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1688. 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_CommonInitTypeDef;
  1689. 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1690. 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC instance.
  1691. 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC instance.
  1692. 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Affects both group regular and group injected (availability
  1693. 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of ADC group injected depends on STM32 families).
  1694. 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to corresponding unitary functions into
  1695. 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Instance .
  1696. 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_Init()
  1697. 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC state:
  1698. 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance must be disabled.
  1699. 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency
  1700. 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different
  1701. 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * features can be set under different ADC state conditions
  1702. 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going,
  1703. 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC enabled with conversion on going, ...)
  1704. 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function
  1705. 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and potentially with ADC in a different state than disabled,
  1706. 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * refer to description of each function for setting
  1707. 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conditioned to ADC state.
  1708. 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1709. 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct
  1710. 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  1711. 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t DataAlignment; /*!< Set ADC conversion data alignment.
  1712. 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_DATA_A
  1713. 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1714. 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1715. 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1716. 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencersScanMode; /*!< Set ADC scan selection.
  1717. 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_SCAN_S
  1718. 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1719. 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1720. 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1721. 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_InitTypeDef;
  1722. 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1723. 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1724. 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC group regular.
  1725. 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC group regular.
  1726. 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to corresponding unitary functions into
  1727. 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular
  1728. 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (functions with prefix "REG").
  1729. 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_REG_Init()
  1730. 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC state:
  1731. 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance must be disabled.
  1732. 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency
  1733. 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different
  1734. 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * features can be set under different ADC state conditions
  1735. 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going,
  1736. 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC enabled with conversion on going, ...)
  1737. 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function
  1738. 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and potentially with ADC in a different state than disabled,
  1739. 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * refer to description of each function for setting
  1740. 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conditioned to ADC state.
  1741. ARM GAS /tmp/ccc82m4X.s page 31
  1742. 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1743. 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct
  1744. 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  1745. 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t TriggerSource; /*!< Set ADC group regular conversion trigger source: inter
  1746. 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_TR
  1747. 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note On this STM32 series, external trigger is set wi
  1748. 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (only trigger polarity available on this STM32 s
  1749. 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1750. 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1751. 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1752. 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerLength; /*!< Set ADC group regular sequencer length.
  1753. 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_SE
  1754. 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter is discarded if scan mode is disa
  1755. 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1756. 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1757. 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1758. 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerDiscont; /*!< Set ADC group regular sequencer discontinuous mode: se
  1759. 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_SE
  1760. 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter has an effect only if group regul
  1761. 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (scan length of 2 ranks or more).
  1762. 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1763. 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1764. 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1765. 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t ContinuousMode; /*!< Set ADC continuous conversion mode on ADC group regula
  1766. 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_CO
  1767. 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** Note: It is not possible to enable both ADC group regu
  1768. 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1769. 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1770. 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1771. 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t DMATransfer; /*!< Set ADC group regular conversion data transfer: no tra
  1772. 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_DM
  1773. 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1774. 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1775. 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1776. 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_REG_InitTypeDef;
  1777. 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1778. 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1779. 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC group injected.
  1780. 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC group injected.
  1781. 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to corresponding unitary functions into
  1782. 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular
  1783. 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (functions with prefix "INJ").
  1784. 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_INJ_Init()
  1785. 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC state:
  1786. 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance must be disabled.
  1787. 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency
  1788. 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different
  1789. 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * features can be set under different ADC state conditions
  1790. 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going,
  1791. 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC enabled with conversion on going, ...)
  1792. 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function
  1793. 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and potentially with ADC in a different state than disabled,
  1794. 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * refer to description of each function for setting
  1795. 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conditioned to ADC state.
  1796. 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1797. 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct
  1798. 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  1799. ARM GAS /tmp/ccc82m4X.s page 32
  1800. 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t TriggerSource; /*!< Set ADC group injected conversion trigger source: inte
  1801. 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_TR
  1802. 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note On this STM32 series, external trigger is set wi
  1803. 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (only trigger polarity available on this STM32 s
  1804. 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1805. 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1806. 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1807. 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerLength; /*!< Set ADC group injected sequencer length.
  1808. 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_SE
  1809. 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter is discarded if scan mode is disa
  1810. 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1811. 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1812. 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1813. 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerDiscont; /*!< Set ADC group injected sequencer discontinuous mode: s
  1814. 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_SE
  1815. 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter has an effect only if group injec
  1816. 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (scan length of 2 ranks or more).
  1817. 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1818. 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1819. 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1820. 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t TrigAuto; /*!< Set ADC group injected conversion trigger: independent
  1821. 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_TR
  1822. 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** Note: This parameter must be set to set to independent
  1823. 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1824. 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary
  1825. 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1826. 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_INJ_InitTypeDef;
  1827. 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1828. 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1829. 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1830. 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1831. 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* USE_FULL_LL_DRIVER */
  1832. 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1833. 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported constants --------------------------------------------------------*/
  1834. 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Constants ADC Exported Constants
  1835. 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1836. 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1837. 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1838. 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_FLAG ADC flags
  1839. 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Flags defines which can be used with LL_ADC_ReadReg function
  1840. 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1841. 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1842. 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_STRT ADC_SR_STRT /*!< ADC flag ADC group regular conve
  1843. 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_EOS ADC_SR_EOC /*!< ADC flag ADC group regular end o
  1844. 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JSTRT ADC_SR_JSTRT /*!< ADC flag ADC group injected conv
  1845. 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS ADC_SR_JEOC /*!< ADC flag ADC group injected end
  1846. 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1 ADC_SR_AWD /*!< ADC flag ADC analog watchdog 1 *
  1847. 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT)
  1848. 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_EOS_MST ADC_SR_EOC /*!< ADC flag ADC multimode master gr
  1849. 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_EOS_SLV ADC_SR_EOC /*!< ADC flag ADC multimode slave gro
  1850. 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS_MST ADC_SR_JEOC /*!< ADC flag ADC multimode master gr
  1851. 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS_SLV ADC_SR_JEOC /*!< ADC flag ADC multimode slave gro
  1852. 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1_MST ADC_SR_AWD /*!< ADC flag ADC multimode master an
  1853. 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1_SLV ADC_SR_AWD /*!< ADC flag ADC multimode slave ana
  1854. 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  1855. 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1856. 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1857. ARM GAS /tmp/ccc82m4X.s page 33
  1858. 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1859. 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1860. 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_IT ADC interruptions for configuration (interruption enable or disable)
  1861. 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief IT defines which can be used with LL_ADC_ReadReg and LL_ADC_WriteReg functions
  1862. 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1863. 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1864. 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_IT_EOS ADC_CR1_EOCIE /*!< ADC interruption ADC group regul
  1865. 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_IT_JEOS ADC_CR1_JEOCIE /*!< ADC interruption ADC group injec
  1866. 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_IT_AWD1 ADC_CR1_AWDIE /*!< ADC interruption ADC analog watc
  1867. 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1868. 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1869. 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1870. 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1871. 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REGISTERS ADC registers compliant with specific purpose
  1872. 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1873. 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1874. 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* List of ADC registers intended to be used (most commonly) with */
  1875. 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* DMA transfer. */
  1876. 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Refer to function @ref LL_ADC_DMA_GetRegAddr(). */
  1877. 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DMA_REG_REGULAR_DATA 0x00000000U /* ADC group regular conversion data reg
  1878. 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT)
  1879. 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DMA_REG_REGULAR_DATA_MULTI 0x00000001U /* ADC group regular conversion data reg
  1880. 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  1881. 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1882. 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1883. 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1884. 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1885. 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_COMMON_PATH_INTERNAL ADC common - Measurement path to internal channels
  1886. 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1887. 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1888. 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: Other measurement paths to internal channels may be available */
  1889. 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (connections to other peripherals). */
  1890. 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* If they are not listed below, they do not require any specific */
  1891. 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* path enable. In this case, Access to measurement path is done */
  1892. 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* only by selecting the corresponding ADC internal channel. */
  1893. 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_NONE 0x00000000U /*!< ADC measurement paths all di
  1894. 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_VREFINT (ADC_CR2_TSVREFE) /*!< ADC measurement path to inte
  1895. 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_TEMPSENSOR (ADC_CR2_TSVREFE) /*!< ADC measurement path to inte
  1896. 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1897. 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1898. 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1899. 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1900. 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_RESOLUTION ADC instance - Resolution
  1901. 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1902. 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1903. 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_RESOLUTION_12B 0x00000000U /*!< ADC resolution
  1904. 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1905. 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1906. 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1907. 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1908. 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_DATA_ALIGN ADC instance - Data alignment
  1909. 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1910. 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1911. 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DATA_ALIGN_RIGHT 0x00000000U /*!< ADC conversion data alignmen
  1912. 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DATA_ALIGN_LEFT (ADC_CR2_ALIGN) /*!< ADC conversion data alignmen
  1913. 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1914. 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1915. ARM GAS /tmp/ccc82m4X.s page 34
  1916. 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1917. 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1918. 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_SCAN_SELECTION ADC instance - Scan selection
  1919. 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1920. 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1921. 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SEQ_SCAN_DISABLE 0x00000000U /*!< ADC conversion is performed in unita
  1922. 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SEQ_SCAN_ENABLE (ADC_CR1_SCAN) /*!< ADC conversions are performed in seq
  1923. 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1924. 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1925. 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1926. 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1927. 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_GROUPS ADC instance - Groups
  1928. 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1929. 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1930. 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_GROUP_REGULAR 0x00000001U /*!< ADC group regular (available on all S
  1931. 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_GROUP_INJECTED 0x00000002U /*!< ADC group injected (not available on
  1932. 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_GROUP_REGULAR_INJECTED 0x00000003U /*!< ADC both groups regular and injected
  1933. 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1934. 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1935. 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1936. 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1937. 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL ADC instance - Channel number
  1938. 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1939. 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1940. 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_0 (ADC_CHANNEL_0_NUMBER | ADC_CHANNEL_0_SMP) /*!< ADC ex
  1941. 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_1 (ADC_CHANNEL_1_NUMBER | ADC_CHANNEL_1_SMP) /*!< ADC ex
  1942. 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_2 (ADC_CHANNEL_2_NUMBER | ADC_CHANNEL_2_SMP) /*!< ADC ex
  1943. 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_3 (ADC_CHANNEL_3_NUMBER | ADC_CHANNEL_3_SMP) /*!< ADC ex
  1944. 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_4 (ADC_CHANNEL_4_NUMBER | ADC_CHANNEL_4_SMP) /*!< ADC ex
  1945. 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_5 (ADC_CHANNEL_5_NUMBER | ADC_CHANNEL_5_SMP) /*!< ADC ex
  1946. 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_6 (ADC_CHANNEL_6_NUMBER | ADC_CHANNEL_6_SMP) /*!< ADC ex
  1947. 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_7 (ADC_CHANNEL_7_NUMBER | ADC_CHANNEL_7_SMP) /*!< ADC ex
  1948. 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_8 (ADC_CHANNEL_8_NUMBER | ADC_CHANNEL_8_SMP) /*!< ADC ex
  1949. 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_9 (ADC_CHANNEL_9_NUMBER | ADC_CHANNEL_9_SMP) /*!< ADC ex
  1950. 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_10 (ADC_CHANNEL_10_NUMBER | ADC_CHANNEL_10_SMP) /*!< ADC ex
  1951. 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_11 (ADC_CHANNEL_11_NUMBER | ADC_CHANNEL_11_SMP) /*!< ADC ex
  1952. 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_12 (ADC_CHANNEL_12_NUMBER | ADC_CHANNEL_12_SMP) /*!< ADC ex
  1953. 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_13 (ADC_CHANNEL_13_NUMBER | ADC_CHANNEL_13_SMP) /*!< ADC ex
  1954. 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_14 (ADC_CHANNEL_14_NUMBER | ADC_CHANNEL_14_SMP) /*!< ADC ex
  1955. 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_15 (ADC_CHANNEL_15_NUMBER | ADC_CHANNEL_15_SMP) /*!< ADC ex
  1956. 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_16 (ADC_CHANNEL_16_NUMBER | ADC_CHANNEL_16_SMP) /*!< ADC ex
  1957. 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_17 (ADC_CHANNEL_17_NUMBER | ADC_CHANNEL_17_SMP) /*!< ADC ex
  1958. 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_VREFINT (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
  1959. 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_TEMPSENSOR (LL_ADC_CHANNEL_16 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
  1960. 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1961. 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1962. 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1963. 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1964. 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_TRIGGER_SOURCE ADC group regular - Trigger source
  1965. 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  1966. 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1967. 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group regular external triggers for ADC instances: ADC1, ADC2, ADC3 (for ADC instances ADCx
  1968. 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_SOFTWARE (ADC_CR2_EXTSEL_2 | ADC_CR2_EXTSEL_1 | ADC_CR2_EXTSEL_0)
  1969. 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH3 (ADC_CR2_EXTSEL_1)
  1970. 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group regular external triggers for ADC instances: ADC1, ADC2 (for ADC instances ADCx availa
  1971. 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH1 0x00000000U
  1972. 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH2 (ADC_CR2_EXTSEL_0)
  1973. ARM GAS /tmp/ccc82m4X.s page 35
  1974. 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM2_CH2 (ADC_CR2_EXTSEL_1 | ADC_CR2_EXTSEL_0)
  1975. 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM3_TRGO (ADC_CR2_EXTSEL_2)
  1976. 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM4_CH4 (ADC_CR2_EXTSEL_2 | ADC_CR2_EXTSEL_0)
  1977. 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (ADC_CR2_EXTSEL_2 | ADC_CR2_EXTSEL_1)
  1978. 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F101xE) || defined (STM32F103xE) || defined (STM32F103xG) || defined (STM32F105xC
  1979. 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: TIM8_TRGO is available on ADC1 and ADC2 only in high-density and */
  1980. 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* XL-density devices. */
  1981. 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: To use TIM8_TRGO on ADC1 or ADC2, a remap of trigger must be done */
  1982. 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* A remap of trigger must be done at top level (refer to */
  1983. 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* AFIO peripheral). */
  1984. 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_TRGO (LL_ADC_REG_TRIG_EXT_EXTI_LINE11)
  1985. 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* STM32F101xE || STM32F103xE || STM32F103xG || STM32F105xC || STM32F107xC */
  1986. 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F103xE) || defined (STM32F103xG)
  1987. 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group regular external triggers for ADC instances: ADC3 (for ADC instances ADCx available on
  1988. 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM3_CH1 (LL_ADC_REG_TRIG_EXT_TIM1_CH1)
  1989. 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM2_CH3 (LL_ADC_REG_TRIG_EXT_TIM1_CH2)
  1990. 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_CH1 (LL_ADC_REG_TRIG_EXT_TIM2_CH2)
  1991. 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3 (LL_ADC_REG_TRIG_EXT_TIM3_TRGO)
  1992. 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM5_CH1 (LL_ADC_REG_TRIG_EXT_TIM4_CH4)
  1993. 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM5_CH3 (LL_ADC_REG_TRIG_EXT_EXTI_LINE11)
  1994. 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  1995. 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  1996. 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  1997. 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  1998. 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  1999. 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_TRIGGER_EDGE ADC group regular - Trigger edge
  2000. 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2001. 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2002. 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_RISING ADC_CR2_EXTTRIG /*!< ADC group r
  2003. 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2004. 568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2005. 569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2006. 570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2007. 571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_CONTINUOUS_MODE ADC group regular - Continuous mode
  2008. 572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2009. 573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2010. 574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_CONV_SINGLE 0x00000000U /*!< ADC conversions are perform
  2011. 575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_CONV_CONTINUOUS (ADC_CR2_CONT) /*!< ADC conversions are perform
  2012. 576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2013. 577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2014. 578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2015. 579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2016. 580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_DMA_TRANSFER ADC group regular - DMA transfer of ADC conversion data
  2017. 581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2018. 582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2019. 583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_DMA_TRANSFER_NONE 0x00000000U /*!< ADC conversions are not tr
  2020. 584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_DMA_TRANSFER_UNLIMITED (ADC_CR2_DMA) /*!< ADC conversion
  2021. 585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2022. 586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2023. 587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2024. 588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2025. 589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_SCAN_LENGTH ADC group regular - Sequencer scan length
  2026. 590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2027. 591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2028. 592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_DISABLE 0x00000000U
  2029. 593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS ( ADC_SQR1_L
  2030. 594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS ( ADC_SQR1_L_1
  2031. ARM GAS /tmp/ccc82m4X.s page 36
  2032. 595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS ( ADC_SQR1_L_1 | ADC_SQR1_L
  2033. 596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS ( ADC_SQR1_L_2
  2034. 597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L
  2035. 598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L_1
  2036. 599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L_1 | ADC_SQR1_L
  2037. 600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS (ADC_SQR1_L_3
  2038. 601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS (ADC_SQR1_L_3 | ADC_SQR1_L
  2039. 602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_1
  2040. 603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_1 | ADC_SQR1_L
  2041. 604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2
  2042. 605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L
  2043. 606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L_1
  2044. 607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L_1 | ADC_SQR1_L
  2045. 608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2046. 609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2047. 610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2048. 611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2049. 612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_DISCONT_MODE ADC group regular - Sequencer discontinuous mode
  2050. 613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2051. 614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2052. 615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_DISABLE 0x00000000U
  2053. 616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_1RANK (
  2054. 617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_2RANKS ( ADC_CR1_DISCNUM
  2055. 618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_3RANKS ( ADC_CR1_DISCNUM_1
  2056. 619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_4RANKS ( ADC_CR1_DISCNUM_1 | ADC_CR1_DISCNUM
  2057. 620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_5RANKS (ADC_CR1_DISCNUM_2
  2058. 621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_6RANKS (ADC_CR1_DISCNUM_2 | ADC_CR1_DISCNUM
  2059. 622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_7RANKS (ADC_CR1_DISCNUM_2 | ADC_CR1_DISCNUM_1
  2060. 623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_8RANKS (ADC_CR1_DISCNUM_2 | ADC_CR1_DISCNUM_1 | ADC_CR1_DISCNUM
  2061. 624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2062. 625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2063. 626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2064. 627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2065. 628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_RANKS ADC group regular - Sequencer ranks
  2066. 629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2067. 630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2068. 631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_1 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_1_SQRX_BITOFFSET_POS)
  2069. 632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_2 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_2_SQRX_BITOFFSET_POS)
  2070. 633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_3 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_3_SQRX_BITOFFSET_POS)
  2071. 634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_4 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_4_SQRX_BITOFFSET_POS)
  2072. 635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_5 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_5_SQRX_BITOFFSET_POS)
  2073. 636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_6 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_6_SQRX_BITOFFSET_POS)
  2074. 637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_7 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_7_SQRX_BITOFFSET_POS)
  2075. 638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_8 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_8_SQRX_BITOFFSET_POS)
  2076. 639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_9 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_9_SQRX_BITOFFSET_POS)
  2077. 640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_10 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_10_SQRX_BITOFFSET_POS
  2078. 641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_11 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_11_SQRX_BITOFFSET_POS
  2079. 642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_12 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_12_SQRX_BITOFFSET_POS
  2080. 643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_13 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_13_SQRX_BITOFFSET_POS
  2081. 644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_14 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_14_SQRX_BITOFFSET_POS
  2082. 645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_15 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_15_SQRX_BITOFFSET_POS
  2083. 646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_16 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_16_SQRX_BITOFFSET_POS
  2084. 647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2085. 648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2086. 649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2087. 650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2088. 651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIGGER_SOURCE ADC group injected - Trigger source
  2089. ARM GAS /tmp/ccc82m4X.s page 37
  2090. 652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2091. 653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2092. 654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group injected external triggers for ADC instances: ADC1, ADC2, ADC3 (for ADC instances ADCx
  2093. 655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_SOFTWARE (ADC_CR2_JEXTSEL_2 | ADC_CR2_JEXTSEL_1 | ADC_CR2_JEXTSEL
  2094. 656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_TRGO 0x00000000U
  2095. 657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (ADC_CR2_JEXTSEL_0)
  2096. 658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group injected external triggers for ADC instances: ADC1, ADC2 (for ADC instances ADCx avail
  2097. 659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (ADC_CR2_JEXTSEL_1)
  2098. 660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (ADC_CR2_JEXTSEL_1 | ADC_CR2_JEXTSEL_0)
  2099. 661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (ADC_CR2_JEXTSEL_2)
  2100. 662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (ADC_CR2_JEXTSEL_2 | ADC_CR2_JEXTSEL_0)
  2101. 663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (ADC_CR2_JEXTSEL_2 | ADC_CR2_JEXTSEL_1)
  2102. 664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F101xE) || defined (STM32F103xE) || defined (STM32F103xG) || defined (STM32F105xC
  2103. 665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: TIM8_CH4 is available on ADC1 and ADC2 only in high-density and */
  2104. 666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* XL-density devices. */
  2105. 667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: To use TIM8_TRGO on ADC1 or ADC2, a remap of trigger must be done */
  2106. 668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* A remap of trigger must be done at top level (refer to */
  2107. 669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* AFIO peripheral). */
  2108. 670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (LL_ADC_INJ_TRIG_EXT_EXTI_LINE15)
  2109. 671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* STM32F101xE || STM32F103xE || STM32F103xG || STM32F105xC || STM32F107xC */
  2110. 672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F103xE) || defined (STM32F103xG)
  2111. 673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group injected external triggers for ADC instances: ADC3 (for ADC instances ADCx available o
  2112. 674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM4_CH3 (LL_ADC_INJ_TRIG_EXT_TIM2_TRGO)
  2113. 675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH2 (LL_ADC_INJ_TRIG_EXT_TIM2_CH1)
  2114. 676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3 (LL_ADC_INJ_TRIG_EXT_TIM3_CH4)
  2115. 677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM5_TRGO (LL_ADC_INJ_TRIG_EXT_TIM4_TRGO)
  2116. 678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM5_CH4 (LL_ADC_INJ_TRIG_EXT_EXTI_LINE15)
  2117. 679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  2118. 680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2119. 681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2120. 682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2121. 683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2122. 684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIGGER_EDGE ADC group injected - Trigger edge
  2123. 685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2124. 686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2125. 687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_RISING ADC_CR2_JEXTTRIG /*!< ADC group i
  2126. 688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2127. 689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2128. 690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2129. 691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2130. 692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIG_AUTO ADC group injected - Automatic trigger mode
  2131. 693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2132. 694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2133. 695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_INDEPENDENT 0x00000000U /*!< ADC group injected conversio
  2134. 696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_FROM_GRP_REGULAR (ADC_CR1_JAUTO) /*!< ADC group injected conversio
  2135. 697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2136. 698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2137. 699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2138. 700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2139. 701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2140. 702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_SCAN_LENGTH ADC group injected - Sequencer scan length
  2141. 703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2142. 704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2143. 705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_DISABLE 0x00000000U /*!< ADC group injected
  2144. 706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS ( ADC_JSQR_JL_0) /*!< ADC group injected
  2145. 707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS (ADC_JSQR_JL_1 ) /*!< ADC group injected
  2146. 708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS (ADC_JSQR_JL_1 | ADC_JSQR_JL_0) /*!< ADC group injected
  2147. ARM GAS /tmp/ccc82m4X.s page 38
  2148. 709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2149. 710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2150. 711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2151. 712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2152. 713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_DISCONT_MODE ADC group injected - Sequencer discontinuous mode
  2153. 714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2154. 715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2155. 716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_DISCONT_DISABLE 0x00000000U /*!< ADC group injected sequencer
  2156. 717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_DISCONT_1RANK (ADC_CR1_JDISCEN) /*!< ADC group injected sequencer
  2157. 718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2158. 719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2159. 720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2160. 721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2161. 722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_RANKS ADC group injected - Sequencer ranks
  2162. 723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2163. 724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2164. 725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_1 (ADC_JDR1_REGOFFSET | ADC_JOFR1_REGOFFSET | 0x00000001U)
  2165. 726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_2 (ADC_JDR2_REGOFFSET | ADC_JOFR2_REGOFFSET | 0x00000002U)
  2166. 727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_3 (ADC_JDR3_REGOFFSET | ADC_JOFR3_REGOFFSET | 0x00000003U)
  2167. 728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_4 (ADC_JDR4_REGOFFSET | ADC_JOFR4_REGOFFSET | 0x00000004U)
  2168. 729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2169. 730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2170. 731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2171. 732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2172. 733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL_SAMPLINGTIME Channel - Sampling time
  2173. 734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2174. 735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2175. 736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_1CYCLE_5 0x00000000U
  2176. 737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_7CYCLES_5 (ADC_SMPR2_SMP0_0)
  2177. 738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_13CYCLES_5 (ADC_SMPR2_SMP0_1)
  2178. 739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_28CYCLES_5 (ADC_SMPR2_SMP0_1 | ADC_SMPR2_SMP0_0)
  2179. 740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_41CYCLES_5 (ADC_SMPR2_SMP0_2)
  2180. 741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_55CYCLES_5 (ADC_SMPR2_SMP0_2 | ADC_SMPR2_SMP0_0)
  2181. 742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_71CYCLES_5 (ADC_SMPR2_SMP0_2 | ADC_SMPR2_SMP0_1)
  2182. 743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_239CYCLES_5 (ADC_SMPR2_SMP0_2 | ADC_SMPR2_SMP0_1 | ADC_SMPR2_SMP0_0)
  2183. 744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2184. 745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2185. 746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2186. 747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2187. 748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_NUMBER Analog watchdog - Analog watchdog number
  2188. 749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2189. 750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2190. 751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD1 (ADC_AWD_CR1_CHANNEL_MASK | ADC_AWD_CR1_REGOFFSET) /*!<
  2191. 752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2192. 753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2193. 754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2194. 755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2195. 756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_CHANNELS Analog watchdog - Monitored channels
  2196. 757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2197. 758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2198. 759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_DISABLE 0x00000000U
  2199. 760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_REG (
  2200. 761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_INJ ( ADC_CR1_JAW
  2201. 762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_REG_INJ ( ADC_CR1_JAW
  2202. 763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_REG ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK)
  2203. 764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_INJ ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2204. 765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_REG_INJ ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2205. ARM GAS /tmp/ccc82m4X.s page 39
  2206. 766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_REG ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK)
  2207. 767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_INJ ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2208. 768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_REG_INJ ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2209. 769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_REG ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK)
  2210. 770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_INJ ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2211. 771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_REG_INJ ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2212. 772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_REG ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK)
  2213. 773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_INJ ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2214. 774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_REG_INJ ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2215. 775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_REG ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK)
  2216. 776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_INJ ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2217. 777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_REG_INJ ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2218. 778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_REG ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK)
  2219. 779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_INJ ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2220. 780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_REG_INJ ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2221. 781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_REG ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK)
  2222. 782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_INJ ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2223. 783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_REG_INJ ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2224. 784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_REG ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK)
  2225. 785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_INJ ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2226. 786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_REG_INJ ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2227. 787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_REG ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK)
  2228. 788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_INJ ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2229. 789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_REG_INJ ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2230. 790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_REG ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK)
  2231. 791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_INJ ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2232. 792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_REG_INJ ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2233. 793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_REG ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK)
  2234. 794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_INJ ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2235. 795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_REG_INJ ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2236. 796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_REG ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK)
  2237. 797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_INJ ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2238. 798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_REG_INJ ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2239. 799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_REG ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK)
  2240. 800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_INJ ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2241. 801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_REG_INJ ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2242. 802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_REG ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK)
  2243. 803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_INJ ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2244. 804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_REG_INJ ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2245. 805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_REG ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK)
  2246. 806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_INJ ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2247. 807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_REG_INJ ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2248. 808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_REG ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK)
  2249. 809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_INJ ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2250. 810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_REG_INJ ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2251. 811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_REG ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK)
  2252. 812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_INJ ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2253. 813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_REG_INJ ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2254. 814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_REG ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK)
  2255. 815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_INJ ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2256. 816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_REG_INJ ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW
  2257. 817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_REG ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK)
  2258. 818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_INJ ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) | ADC
  2259. 819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_REG_INJ ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) | ADC
  2260. 820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_REG ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK)
  2261. 821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_INJ ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) | ADC
  2262. 822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) | ADC
  2263. ARM GAS /tmp/ccc82m4X.s page 40
  2264. 823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2265. 824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2266. 825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2267. 826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2268. 827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_THRESHOLDS Analog watchdog - Thresholds
  2269. 828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2270. 829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2271. 830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_THRESHOLD_HIGH (ADC_AWD_TR1_HIGH_REGOFFSET) /*!< ADC analog watchdog th
  2272. 831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_THRESHOLD_LOW (ADC_AWD_TR1_LOW_REGOFFSET) /*!< ADC analog watchdog th
  2273. 832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2274. 833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2275. 834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2276. 835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2277. 836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if !defined(ADC_MULTIMODE_SUPPORT)
  2278. 837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MODE Multimode - Mode
  2279. 838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2280. 839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2281. 840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_INDEPENDENT 0x00000000U
  2282. 841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2283. 842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2284. 843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2285. 844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  2286. 845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT)
  2287. 846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MODE Multimode - Mode
  2288. 847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2289. 848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2290. 849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_INDEPENDENT 0x00000000U
  2291. 850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIMULT ( ADC_CR1_DUALMOD_2 | ADC_CR1_DUAL
  2292. 851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTERL_FAST ( ADC_CR1_DUALMOD_2 | ADC_CR1_DUAL
  2293. 852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTERL_SLOW (ADC_CR1_DUALMOD_3
  2294. 853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_INJ_SIMULT ( ADC_CR1_DUALMOD_2
  2295. 854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_INJ_ALTERN (ADC_CR1_DUALMOD_3
  2296. 855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM (
  2297. 856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT ( ADC_CR1_DUAL
  2298. 857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM ( ADC_CR1_DUAL
  2299. 858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM ( ADC_CR1_DUALMOD_2
  2300. 859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2301. 860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2302. 861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2303. 862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2304. 863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2305. 864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MASTER_SLAVE Multimode - ADC master or slave
  2306. 865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2307. 866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2308. 867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_MASTER ( ADC_DR_DATA) /*!< In multimode, selec
  2309. 868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_SLAVE (ADC_DR_ADC2DATA ) /*!< In multimode, selec
  2310. 869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_MASTER_SLAVE (ADC_DR_ADC2DATA | ADC_DR_DATA) /*!< In multimode, selec
  2311. 870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2312. 871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2313. 872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2314. 873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2315. 874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* ADC_MULTIMODE_SUPPORT */
  2316. 875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2317. 876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2318. 877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_HW_DELAYS Definitions of ADC hardware constraints delays
  2319. 878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Only ADC IP HW delays are defined in ADC LL driver driver,
  2320. 879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * not timeout values.
  2321. ARM GAS /tmp/ccc82m4X.s page 41
  2322. 880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * For details on delays values, refer to descriptions in source code
  2323. 881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * above each literal definition.
  2324. 882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2325. 883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2326. 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2327. 885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: Only ADC IP HW delays are defined in ADC LL driver driver, */
  2328. 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* not timeout values. */
  2329. 887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Timeout values for ADC operations are dependent to device clock */
  2330. 888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* configuration (system clock versus ADC clock), */
  2331. 889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* and therefore must be defined in user application. */
  2332. 890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Indications for estimation of ADC timeout delays, for this */
  2333. 891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* STM32 series: */
  2334. 892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - ADC enable time: maximum delay is 1us */
  2335. 893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (refer to device datasheet, parameter "tSTAB") */
  2336. 894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - ADC conversion time: duration depending on ADC clock and ADC */
  2337. 895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* configuration. */
  2338. 896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (refer to device reference manual, section "Timing") */
  2339. 897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2340. 898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Delay for temperature sensor stabilization time. */
  2341. 899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Literal set to maximum value (refer to device datasheet, */
  2342. 900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* parameter "tSTART"). */
  2343. 901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Unit: us */
  2344. 902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DELAY_TEMPSENSOR_STAB_US (10U) /*!< Delay for internal voltage reference stab
  2345. 903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2346. 904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Delay required between ADC disable and ADC calibration start. */
  2347. 905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, before starting a calibration, */
  2348. 906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC must be disabled. */
  2349. 907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* A minimum number of ADC clock cycles are required */
  2350. 908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* between ADC disable state and calibration start. */
  2351. 909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Refer to literal @ref LL_ADC_DELAY_ENABLE_CALIB_ADC_CYCLES. */
  2352. 910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Wait time can be computed in user application by waiting for the */
  2353. 911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* equivalent number of CPU cycles, by taking into account */
  2354. 912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ratio of CPU clock versus ADC clock prescalers. */
  2355. 913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Unit: ADC clock cycles. */
  2356. 914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DELAY_DISABLE_CALIB_ADC_CYCLES (2U) /*!< Delay required between ADC disable and AD
  2357. 915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2358. 916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Delay required between end of ADC Enable and the start of ADC calibration. */
  2359. 917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, a minimum number of ADC clock cycles */
  2360. 918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* are required between the end of ADC enable and the start of ADC */
  2361. 919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* calibration. */
  2362. 920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Wait time can be computed in user application by waiting for the */
  2363. 921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* equivalent number of CPU cycles, by taking into account */
  2364. 922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ratio of CPU clock versus ADC clock prescalers. */
  2365. 923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Unit: ADC clock cycles. */
  2366. 924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DELAY_ENABLE_CALIB_ADC_CYCLES (2U) /*!< Delay required between end of ADC enable a
  2367. 925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2368. 926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2369. 927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2370. 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2371. 929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2372. 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2373. 931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2374. 932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2375. 933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2376. 934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2377. 935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported macro ------------------------------------------------------------*/
  2378. 936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Macros ADC Exported Macros
  2379. ARM GAS /tmp/ccc82m4X.s page 42
  2380. 937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2381. 938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2382. 939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2383. 940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EM_WRITE_READ Common write and read registers Macros
  2384. 941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2385. 942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2386. 943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2387. 944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2388. 945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Write a value in ADC register
  2389. 946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __INSTANCE__ ADC Instance
  2390. 947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG__ Register to be written
  2391. 948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __VALUE__ Value to be written in the register
  2392. 949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  2393. 950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2394. 951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE
  2395. 952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2396. 953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2397. 954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Read a value in ADC register
  2398. 955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __INSTANCE__ ADC Instance
  2399. 956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG__ Register to be read
  2400. 957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Register value
  2401. 958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2402. 959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
  2403. 960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2404. 961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2405. 962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2406. 963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2407. 964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EM_HELPER_MACRO ADC helper macro
  2408. 965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  2409. 966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2410. 967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2411. 968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2412. 969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get ADC channel number in decimal format
  2413. 970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from literals LL_ADC_CHANNEL_x.
  2414. 971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Example:
  2415. 972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_CHANNEL_4)
  2416. 973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * will return decimal number "4".
  2417. 974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The input can be a value from functions where a channel
  2418. 975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number is returned, either defined with number
  2419. 976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or with bitfield (only one bit must be set).
  2420. 977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
  2421. 978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  2422. 979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  2423. 980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  2424. 981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  2425. 982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  2426. 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  2427. 984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  2428. 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  2429. 986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  2430. 987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  2431. 988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  2432. 989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  2433. 990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  2434. 991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  2435. 992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  2436. 993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  2437. ARM GAS /tmp/ccc82m4X.s page 43
  2438. 994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  2439. 995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  2440. 996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  2441. 997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  2442. 998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2443. 999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  2444. 1000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0 and Max_Data=18
  2445. 1001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2446. 1002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CHANNEL_TO_DECIMAL_NB(__CHANNEL__) \
  2447. 1003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
  2448. 1004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2449. 1005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2450. 1006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get ADC channel in literal format LL_ADC_CHANNEL_x
  2451. 1007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from number in decimal format.
  2452. 1008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Example:
  2453. 1009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_DECIMAL_NB_TO_CHANNEL(4)
  2454. 1010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * will return a data equivalent to "LL_ADC_CHANNEL_4".
  2455. 1011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __DECIMAL_NB__: Value between Min_Data=0 and Max_Data=18
  2456. 1012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  2457. 1013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  2458. 1014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  2459. 1015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  2460. 1016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  2461. 1017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  2462. 1018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  2463. 1019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  2464. 1020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  2465. 1021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  2466. 1022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  2467. 1023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  2468. 1024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  2469. 1025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  2470. 1026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  2471. 1027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  2472. 1028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  2473. 1029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  2474. 1030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  2475. 1031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  2476. 1032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  2477. 1033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2478. 1034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n
  2479. 1035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register,
  2480. 1036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done
  2481. 1037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
  2482. 1038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2483. 1039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__)
  2484. 1040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__DECIMAL_NB__) <= 9U)
  2485. 1041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? (
  2486. 1042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
  2487. 1043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC_SMPR2_REGOFFSET | (((uint32_t) (3U * (__DECIMAL_NB__))) << ADC_CHANNEL_SMPx_BITOFFSET_P
  2488. 1044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2489. 1045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** :
  2490. 1046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (
  2491. 1047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
  2492. 1048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC_SMPR1_REGOFFSET | (((uint32_t) (3U * ((__DECIMAL_NB__) - 10U))) << ADC_CHANNEL_SMPx_BIT
  2493. 1049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2494. 1050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2495. ARM GAS /tmp/ccc82m4X.s page 44
  2496. 1051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2497. 1052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2498. 1053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to determine whether the selected channel
  2499. 1054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * corresponds to literal definitions of driver.
  2500. 1055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The different literal definitions of ADC channels are:
  2501. 1056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - ADC internal channel:
  2502. 1057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_VREFINT, LL_ADC_CHANNEL_TEMPSENSOR, ...
  2503. 1058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - ADC external channel (channel connected to a GPIO pin):
  2504. 1059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...
  2505. 1060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The channel parameter must be a value defined from literal
  2506. 1061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT,
  2507. 1062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...),
  2508. 1063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...),
  2509. 1064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * must not be a value from functions where a channel number is
  2510. 1065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * returned from ADC registers,
  2511. 1066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * because internal and external channels share the same channel
  2512. 1067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number in ADC registers. The differentiation is made only with
  2513. 1068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * parameters definitions of driver.
  2514. 1069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
  2515. 1070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  2516. 1071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  2517. 1072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  2518. 1073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  2519. 1074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  2520. 1075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  2521. 1076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  2522. 1077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  2523. 1078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  2524. 1079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  2525. 1080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  2526. 1081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  2527. 1082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  2528. 1083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  2529. 1084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  2530. 1085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  2531. 1086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  2532. 1087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  2533. 1088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  2534. 1089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  2535. 1090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2536. 1091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  2537. 1092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if the channel corresponds to a parameter definition of a ADC external channe
  2538. 1093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if the channel corresponds to a parameter definition of a ADC internal channe
  2539. 1094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2540. 1095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL(__CHANNEL__) \
  2541. 1096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_INTERNAL_CH_MASK) != 0U)
  2542. 1097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2543. 1098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2544. 1099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to convert a channel defined from parameter
  2545. 1100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT,
  2546. 1101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...),
  2547. 1102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to its equivalent parameter definition of a ADC external channel
  2548. 1103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...).
  2549. 1104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The channel parameter can be, additionally to a value
  2550. 1105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined from parameter definition of a ADC internal channel
  2551. 1106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (LL_ADC_CHANNEL_VREFINT, LL_ADC_CHANNEL_TEMPSENSOR, ...),
  2552. 1107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a value defined from parameter definition of
  2553. ARM GAS /tmp/ccc82m4X.s page 45
  2554. 1108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...)
  2555. 1109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or a value from functions where a channel number is returned
  2556. 1110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from ADC registers.
  2557. 1111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
  2558. 1112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  2559. 1113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  2560. 1114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  2561. 1115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  2562. 1116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  2563. 1117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  2564. 1118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  2565. 1119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  2566. 1120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  2567. 1121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  2568. 1122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  2569. 1123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  2570. 1124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  2571. 1125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  2572. 1126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  2573. 1127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  2574. 1128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  2575. 1129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  2576. 1130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  2577. 1131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  2578. 1132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2579. 1133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  2580. 1134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  2581. 1135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  2582. 1136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  2583. 1137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  2584. 1138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  2585. 1139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  2586. 1140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  2587. 1141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  2588. 1142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  2589. 1143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  2590. 1144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  2591. 1145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  2592. 1146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  2593. 1147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  2594. 1148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  2595. 1149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  2596. 1150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  2597. 1151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  2598. 1152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  2599. 1153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2600. 1154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(__CHANNEL__) \
  2601. 1155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__CHANNEL__) & ~ADC_CHANNEL_ID_INTERNAL_CH_MASK)
  2602. 1156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2603. 1157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2604. 1158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to determine whether the internal channel
  2605. 1159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * selected is available on the ADC instance selected.
  2606. 1160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The channel parameter must be a value defined from parameter
  2607. 1161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT,
  2608. 1162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...),
  2609. 1163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * must not be a value defined from parameter definition of
  2610. 1164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...)
  2611. ARM GAS /tmp/ccc82m4X.s page 46
  2612. 1165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or a value from functions where a channel number is
  2613. 1166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * returned from ADC registers,
  2614. 1167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * because internal and external channels share the same channel
  2615. 1168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number in ADC registers. The differentiation is made only with
  2616. 1169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * parameters definitions of driver.
  2617. 1170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_INSTANCE__ ADC instance
  2618. 1171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
  2619. 1172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  2620. 1173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  2621. 1174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2622. 1175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  2623. 1176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if the internal channel selected is not available on the ADC instance selecte
  2624. 1177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if the internal channel selected is available on the ADC instance selected.
  2625. 1178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2626. 1179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL_AVAILABLE(__ADC_INSTANCE__, __CHANNEL__) \
  2627. 1180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__ADC_INSTANCE__) == ADC1) \
  2628. 1181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( \
  2629. 1182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_VREFINT) || \
  2630. 1183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_TEMPSENSOR) \
  2631. 1184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \
  2632. 1185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : \
  2633. 1186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (0U) \
  2634. 1187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2635. 1188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2636. 1189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2637. 1190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to define ADC analog watchdog parameter:
  2638. 1191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * define a single channel to monitor with analog watchdog
  2639. 1192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from sequencer channel and groups definition.
  2640. 1193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetAnalogWDMonitChannels().
  2641. 1194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example:
  2642. 1195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_SetAnalogWDMonitChannels(
  2643. 1196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC1, LL_ADC_AWD1,
  2644. 1197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_ANALOGWD_CHANNEL_GROUP(LL_ADC_CHANNEL4, LL_ADC_GROUP_REGULAR))
  2645. 1198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
  2646. 1199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  2647. 1200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  2648. 1201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  2649. 1202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  2650. 1203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  2651. 1204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  2652. 1205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  2653. 1206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  2654. 1207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  2655. 1208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  2656. 1209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  2657. 1210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  2658. 1211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  2659. 1212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  2660. 1213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  2661. 1214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  2662. 1215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  2663. 1216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  2664. 1217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  2665. 1218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  2666. 1219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2667. 1220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n
  2668. 1221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register,
  2669. ARM GAS /tmp/ccc82m4X.s page 47
  2670. 1222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done
  2671. 1223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
  2672. 1224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __GROUP__ This parameter can be one of the following values:
  2673. 1225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_REGULAR
  2674. 1226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_INJECTED
  2675. 1227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_REGULAR_INJECTED
  2676. 1228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  2677. 1229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE
  2678. 1230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG
  2679. 1231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ
  2680. 1232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ
  2681. 1233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG
  2682. 1234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ
  2683. 1235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ
  2684. 1236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG
  2685. 1237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ
  2686. 1238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ
  2687. 1239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG
  2688. 1240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ
  2689. 1241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ
  2690. 1242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG
  2691. 1243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ
  2692. 1244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ
  2693. 1245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG
  2694. 1246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ
  2695. 1247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ
  2696. 1248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG
  2697. 1249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ
  2698. 1250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ
  2699. 1251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG
  2700. 1252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ
  2701. 1253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ
  2702. 1254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG
  2703. 1255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ
  2704. 1256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ
  2705. 1257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG
  2706. 1258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ
  2707. 1259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ
  2708. 1260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG
  2709. 1261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ
  2710. 1262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ
  2711. 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG
  2712. 1264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ
  2713. 1265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ
  2714. 1266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG
  2715. 1267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ
  2716. 1268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ
  2717. 1269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG
  2718. 1270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ
  2719. 1271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ
  2720. 1272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG
  2721. 1273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ
  2722. 1274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ
  2723. 1275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG
  2724. 1276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ
  2725. 1277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ
  2726. 1278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG
  2727. ARM GAS /tmp/ccc82m4X.s page 48
  2728. 1279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ
  2729. 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ
  2730. 1281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG
  2731. 1282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ
  2732. 1283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ
  2733. 1284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG
  2734. 1285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ
  2735. 1286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ
  2736. 1287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (1)
  2737. 1288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (1)
  2738. 1289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1)
  2739. 1290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (1)
  2740. 1291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (1)
  2741. 1292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1)
  2742. 1293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  2743. 1294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  2744. 1295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2745. 1296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_CHANNEL_GROUP(__CHANNEL__, __GROUP__)
  2746. 1297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__GROUP__) == LL_ADC_GROUP_REGULAR)
  2747. 1298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CR1_AWDEN | ADC_CR1_AWDSGL)
  2748. 1299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** :
  2749. 1300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__GROUP__) == LL_ADC_GROUP_INJECTED)
  2750. 1301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAWDEN | ADC_CR1_AWDSGL)
  2751. 1302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** :
  2752. 1303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAWDEN | ADC_CR1_AWDEN | ADC_CR1_AWDSGL)
  2753. 1304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2754. 1305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2755. 1306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2756. 1307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to set the value of ADC analog watchdog threshold high
  2757. 1308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or low in function of ADC resolution, when ADC resolution is
  2758. 1309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * different of 12 bits.
  2759. 1310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetAnalogWDThresholds().
  2760. 1311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example, with a ADC resolution of 8 bits, to set the value of
  2761. 1312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * analog watchdog threshold high (on 8 bits):
  2762. 1313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_SetAnalogWDThresholds
  2763. 1314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (< ADCx param >,
  2764. 1315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(LL_ADC_RESOLUTION_8B, <threshold_value_8
  2765. 1316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * );
  2766. 1317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
  2767. 1318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
  2768. 1319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __AWD_THRESHOLD__ Value between Min_Data=0x000 and Max_Data=0xFFF
  2769. 1320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
  2770. 1321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2771. 1322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC is fixed to resolution 12 bits. */
  2772. 1323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This macro has been kept anyway for compatibility with other */
  2773. 1324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* STM32 families featuring different ADC resolutions. */
  2774. 1325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD__) \
  2775. 1326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__AWD_THRESHOLD__) << (0U))
  2776. 1327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2777. 1328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2778. 1329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get the value of ADC analog watchdog threshold high
  2779. 1330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or low in function of ADC resolution, when ADC resolution is
  2780. 1331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * different of 12 bits.
  2781. 1332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_GetAnalogWDThresholds().
  2782. 1333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example, with a ADC resolution of 8 bits, to get the value of
  2783. 1334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * analog watchdog threshold high (on 8 bits):
  2784. 1335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * < threshold_value_6_bits > = __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION
  2785. ARM GAS /tmp/ccc82m4X.s page 49
  2786. 1336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (LL_ADC_RESOLUTION_8B,
  2787. 1337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_GetAnalogWDThresholds(<ADCx param>, LL_ADC_AWD_THRESHOLD_HIGH)
  2788. 1338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * );
  2789. 1339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
  2790. 1340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
  2791. 1341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __AWD_THRESHOLD_12_BITS__ Value between Min_Data=0x000 and Max_Data=0xFFF
  2792. 1342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
  2793. 1343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2794. 1344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC is fixed to resolution 12 bits. */
  2795. 1345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This macro has been kept anyway for compatibility with other */
  2796. 1346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* STM32 families featuring different ADC resolutions. */
  2797. 1347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD_12_BITS__) \
  2798. 1348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (__AWD_THRESHOLD_12_BITS__)
  2799. 1349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2800. 1350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT)
  2801. 1351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2802. 1352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get the ADC multimode conversion data of ADC master
  2803. 1353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or ADC slave from raw value with both ADC conversion data concatenated.
  2804. 1354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This macro is intended to be used when multimode transfer by DMA
  2805. 1355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is enabled.
  2806. 1356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * In this case the transferred data need to processed with this macro
  2807. 1357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to separate the conversion data of ADC master and ADC slave.
  2808. 1358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_MULTI_MASTER_SLAVE__ This parameter can be one of the following values:
  2809. 1359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_MASTER
  2810. 1360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_SLAVE
  2811. 1361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_MULTI_CONV_DATA__ Value between Min_Data=0x000 and Max_Data=0xFFF
  2812. 1362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
  2813. 1363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2814. 1364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(__ADC_MULTI_MASTER_SLAVE__, __ADC_MULTI_CONV_DATA__)
  2815. 1365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__ADC_MULTI_CONV_DATA__) >> POSITION_VAL((__ADC_MULTI_MASTER_SLAVE__))) & ADC_DR_DATA)
  2816. 1366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  2817. 1367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2818. 1368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2819. 1369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to select the ADC common instance
  2820. 1370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to which is belonging the selected ADC instance.
  2821. 1371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC common register instance can be used for:
  2822. 1372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Set parameters common to several ADC instances
  2823. 1373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Multimode (for devices with several ADC instances)
  2824. 1374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to functions having argument "ADCxy_COMMON" as parameter.
  2825. 1375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, there is no common ADC instance.
  2826. 1376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * However, ADC instance ADC1 has a role of common ADC instance
  2827. 1377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * for ADC1 and ADC2:
  2828. 1378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this instance is used to manage internal channels
  2829. 1379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and multimode (these features are managed in ADC common
  2830. 1380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instances on some other STM32 devices).
  2831. 1381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance ADC3 (if available on the selected device)
  2832. 1382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * has no ADC common instance.
  2833. 1383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADCx__ ADC instance
  2834. 1384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC common register instance
  2835. 1385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2836. 1386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC1) && defined(ADC2) && defined(ADC3)
  2837. 1387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \
  2838. 1388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((((__ADCx__) == ADC1) || ((__ADCx__) == ADC2)) \
  2839. 1389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( \
  2840. 1390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC12_COMMON) \
  2841. 1391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \
  2842. 1392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : \
  2843. ARM GAS /tmp/ccc82m4X.s page 50
  2844. 1393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ( \
  2845. 1394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (0U) \
  2846. 1395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \
  2847. 1396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2848. 1397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #elif defined(ADC1) && defined(ADC2)
  2849. 1398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \
  2850. 1399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC12_COMMON)
  2851. 1400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #else
  2852. 1401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \
  2853. 1402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC1_COMMON)
  2854. 1403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  2855. 1404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2856. 1405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2857. 1406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to check if all ADC instances sharing the same
  2858. 1407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC common instance are disabled.
  2859. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This check is required by functions with setting conditioned to
  2860. 1409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC state:
  2861. 1410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled.
  2862. 1411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to functions having argument "ADCxy_COMMON" as parameter.
  2863. 1412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On devices with only 1 ADC common instance, parameter of this macro
  2864. 1413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is useless and can be ignored (parameter kept for compatibility
  2865. 1414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with devices featuring several ADC common instances).
  2866. 1415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, there is no common ADC instance.
  2867. 1416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * However, ADC instance ADC1 has a role of common ADC instance
  2868. 1417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * for ADC1 and ADC2:
  2869. 1418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this instance is used to manage internal channels
  2870. 1419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and multimode (these features are managed in ADC common
  2871. 1420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instances on some other STM32 devices).
  2872. 1421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance ADC3 (if available on the selected device)
  2873. 1422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * has no ADC common instance.
  2874. 1423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADCXY_COMMON__ ADC common instance
  2875. 1424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  2876. 1425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if all ADC instances sharing the same ADC common instance
  2877. 1426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are disabled.
  2878. 1427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if at least one ADC instance sharing the same ADC common instance
  2879. 1428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is enabled.
  2880. 1429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2881. 1430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC1) && defined(ADC2) && defined(ADC3)
  2882. 1431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \
  2883. 1432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__ADCXY_COMMON__) == ADC12_COMMON) \
  2884. 1433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( \
  2885. 1434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC1) | \
  2886. 1435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC2) ) \
  2887. 1436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \
  2888. 1437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : \
  2889. 1438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ( \
  2890. 1439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC3) \
  2891. 1440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \
  2892. 1441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2893. 1442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #elif defined(ADC1) && defined(ADC2)
  2894. 1443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \
  2895. 1444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC1) | \
  2896. 1445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC2) )
  2897. 1446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #else
  2898. 1447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \
  2899. 1448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC1)
  2900. 1449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  2901. ARM GAS /tmp/ccc82m4X.s page 51
  2902. 1450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2903. 1451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2904. 1452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to define the ADC conversion data full-scale digital
  2905. 1453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * value corresponding to the selected ADC resolution.
  2906. 1454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC conversion data full-scale corresponds to voltage range
  2907. 1455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * determined by analog voltage references Vref+ and Vref-
  2908. 1456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (refer to reference manual).
  2909. 1457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
  2910. 1458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
  2911. 1459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC conversion data equivalent voltage value (unit: mVolt)
  2912. 1460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2913. 1461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__) \
  2914. 1462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (0xFFFU)
  2915. 1463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2916. 1464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2917. 1465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2918. 1466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to calculate the voltage (unit: mVolt)
  2919. 1467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * corresponding to a ADC conversion data (unit: digital value).
  2920. 1468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be known from
  2921. 1469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement.
  2922. 1470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV)
  2923. 1471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_DATA__ ADC conversion data (resolution 12 bits)
  2924. 1472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (unit: digital value).
  2925. 1473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
  2926. 1474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
  2927. 1475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC conversion data equivalent voltage value (unit: mVolt)
  2928. 1476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2929. 1477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CALC_DATA_TO_VOLTAGE(__VREFANALOG_VOLTAGE__,\
  2930. 1478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __ADC_DATA__,\
  2931. 1479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __ADC_RESOLUTION__) \
  2932. 1480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__ADC_DATA__) * (__VREFANALOG_VOLTAGE__) \
  2933. 1481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** / __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__) \
  2934. 1482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2935. 1483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2936. 1484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2937. 1485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2938. 1486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to calculate the temperature (unit: degree Celsius)
  2939. 1487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from ADC conversion data of internal temperature sensor.
  2940. 1488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Computation is using temperature sensor typical values
  2941. 1489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (refer to device datasheet).
  2942. 1490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Calculation formula:
  2943. 1491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Temperature = (TS_TYP_CALx_VOLT(uV) - TS_ADC_DATA * Conversion_uV)
  2944. 1492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * / Avg_Slope + CALx_TEMP
  2945. 1493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with TS_ADC_DATA = temperature sensor raw data measured by ADC
  2946. 1494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (unit: digital value)
  2947. 1495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Avg_Slope = temperature sensor slope
  2948. 1496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (unit: uV/Degree Celsius)
  2949. 1497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TS_TYP_CALx_VOLT = temperature sensor digital value at
  2950. 1498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature CALx_TEMP (unit: mV)
  2951. 1499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Caution: Calculation relevancy under reserve the temperature sensor
  2952. 1500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of the current device has characteristics in line with
  2953. 1501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * datasheet typical values.
  2954. 1502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If temperature sensor calibration values are available on
  2955. 1503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * on this device (presence of macro __LL_ADC_CALC_TEMPERATURE()),
  2956. 1504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature calculation will be more accurate using
  2957. 1505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CALC_TEMPERATURE().
  2958. 1506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note As calculation input, the analog reference voltage (Vref+) must be
  2959. ARM GAS /tmp/ccc82m4X.s page 52
  2960. 1507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined as it impacts the ADC LSB equivalent voltage.
  2961. 1508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be known from
  2962. 1509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement.
  2963. 1510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC measurement data must correspond to a resolution of 12bits
  2964. 1511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (full scale digital value 4095). If not the case, the data must be
  2965. 1512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * preliminarily rescaled to an equivalent resolution of 12 bits.
  2966. 1513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_TYP_AVGSLOPE__ Device datasheet data: Temperature sensor slope typical v
  2967. 1514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * On STM32F1, refer to device datasheet parameter "Avg_Slop
  2968. 1515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_TYP_CALX_V__ Device datasheet data: Temperature sensor voltage typical
  2969. 1516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * On STM32F1, refer to device datasheet parameter "V25".
  2970. 1517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_CALX_TEMP__ Device datasheet data: Temperature at which temperature s
  2971. 1518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog voltage reference (Vref+) voltage (unit: mV)
  2972. 1519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal temperature sensor (unit:
  2973. 1520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature sensor volta
  2974. 1521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This parameter can be one of the following values:
  2975. 1522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
  2976. 1523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Temperature (unit: degree Celsius)
  2977. 1524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2978. 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS(__TEMPSENSOR_TYP_AVGSLOPE__,\
  2979. 1526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __TEMPSENSOR_TYP_CALX_V__,\
  2980. 1527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __TEMPSENSOR_CALX_TEMP__,\
  2981. 1528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __VREFANALOG_VOLTAGE__,\
  2982. 1529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __TEMPSENSOR_ADC_DATA__,\
  2983. 1530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __ADC_RESOLUTION__) \
  2984. 1531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((( ( \
  2985. 1532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (int32_t)(((__TEMPSENSOR_TYP_CALX_V__)) \
  2986. 1533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1000) \
  2987. 1534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** - \
  2988. 1535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (int32_t)((((__TEMPSENSOR_ADC_DATA__) * (__VREFANALOG_VOLTAGE__)) \
  2989. 1536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** / __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__)) \
  2990. 1537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1000) \
  2991. 1538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \
  2992. 1539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) / (__TEMPSENSOR_TYP_AVGSLOPE__) \
  2993. 1540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) + (__TEMPSENSOR_CALX_TEMP__) \
  2994. 1541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** )
  2995. 1542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  2996. 1543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  2997. 1544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  2998. 1545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  2999. 1546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3000. 1547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3001. 1548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  3002. 1549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3003. 1550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3004. 1551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3005. 1552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported functions --------------------------------------------------------*/
  3006. 1553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Functions ADC Exported Functions
  3007. 1554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  3008. 1555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3009. 1556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3010. 1557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_DMA_Management ADC DMA management
  3011. 1558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  3012. 1559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3013. 1560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: LL ADC functions to set DMA transfer are located into sections of */
  3014. 1561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* configuration of ADC instance, groups and multimode (if available): */
  3015. 1562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* @ref LL_ADC_REG_SetDMATransfer(), ... */
  3016. 1563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3017. ARM GAS /tmp/ccc82m4X.s page 53
  3018. 1564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3019. 1565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Function to help to configure DMA transfer from ADC: retrieve the
  3020. 1566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC register address from ADC instance and a list of ADC registers
  3021. 1567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * intended to be used (most commonly) with DMA transfer.
  3022. 1568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These ADC registers are data registers:
  3023. 1569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when ADC conversion data is available in ADC data registers,
  3024. 1570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC generates a DMA transfer request.
  3025. 1571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This macro is intended to be used with LL DMA driver, refer to
  3026. 1572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_DMA_ConfigAddresses()".
  3027. 1573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example:
  3028. 1574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_DMA_ConfigAddresses(DMA1,
  3029. 1575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_DMA_CHANNEL_1,
  3030. 1576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_DMA_GetRegAddr(ADC1, LL_ADC_DMA_REG_REGULAR_DATA),
  3031. 1577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (uint32_t)&< array or variable >,
  3032. 1578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_DMA_DIRECTION_PERIPH_TO_MEMORY);
  3033. 1579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note For devices with several ADC: in multimode, some devices
  3034. 1580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use a different data register outside of ADC instance scope
  3035. 1581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (common data register). This macro manages this register difference,
  3036. 1582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * only ADC instance has to be set as parameter.
  3037. 1583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, only ADC instances ADC1 and ADC3 have DMA transfer
  3038. 1584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * capability, not ADC2 (ADC2 and ADC3 instances not available on
  3039. 1585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all devices).
  3040. 1586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, multimode can be used only with ADC1 and ADC2, not ADC3.
  3041. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Therefore, the corresponding parameter of data transfer
  3042. 1588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * for multimode can be used only with ADC1 and ADC2.
  3043. 1589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (ADC2 and ADC3 instances not available on all devices).
  3044. 1590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll DR DATA LL_ADC_DMA_GetRegAddr
  3045. 1591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3046. 1592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Register This parameter can be one of the following values:
  3047. 1593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA
  3048. 1594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA_MULTI (1)
  3049. 1595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3050. 1596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) Available on devices with several ADC instances.
  3051. 1597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC register address
  3052. 1598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3053. 1599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT)
  3054. 1600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr(ADC_TypeDef *ADCx, uint32_t Register)
  3055. 1601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3056. 1602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t data_reg_addr = 0U;
  3057. 1603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3058. 1604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** if (Register == LL_ADC_DMA_REG_REGULAR_DATA)
  3059. 1605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3060. 1606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Retrieve address of register DR */
  3061. 1607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** data_reg_addr = (uint32_t)&(ADCx->DR);
  3062. 1608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3063. 1609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** else /* (Register == LL_ADC_DMA_REG_REGULAR_DATA_MULTI) */
  3064. 1610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3065. 1611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Retrieve address of register of multimode data */
  3066. 1612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** data_reg_addr = (uint32_t)&(ADC12_COMMON->DR);
  3067. 1613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3068. 1614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3069. 1615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return data_reg_addr;
  3070. 1616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3071. 1617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #else
  3072. 1618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr(ADC_TypeDef *ADCx, uint32_t Register)
  3073. 1619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3074. 1620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Retrieve address of register DR */
  3075. ARM GAS /tmp/ccc82m4X.s page 54
  3076. 1621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)&(ADCx->DR);
  3077. 1622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3078. 1623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif
  3079. 1624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3080. 1625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3081. 1626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  3082. 1627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3083. 1628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3084. 1629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Common Configuration of ADC hierarchical scope: common to
  3085. 1630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  3086. 1631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3087. 1632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3088. 1633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3089. 1634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set parameter common to several ADC: measurement path to internal
  3090. 1635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * channels (VrefInt, temperature sensor, ...).
  3091. 1636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note One or several values can be selected.
  3092. 1637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT |
  3093. 1638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR)
  3094. 1639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Stabilization time of measurement path to internal channel:
  3095. 1640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * After enabling internal paths, before starting ADC conversion,
  3096. 1641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a delay is required for internal voltage reference and
  3097. 1642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature sensor stabilization time.
  3098. 1643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet.
  3099. 1644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_TEMPSENSOR_STAB_US.
  3100. 1645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC internal channel sampling time constraint:
  3101. 1646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * For ADC conversion of internal channels,
  3102. 1647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a sampling time minimum value is required.
  3103. 1648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet.
  3104. 1649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 TSVREFE LL_ADC_SetCommonPathInternalCh
  3105. 1650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
  3106. 1651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  3107. 1652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param PathInternal This parameter can be a combination of the following values:
  3108. 1653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE
  3109. 1654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT
  3110. 1655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR
  3111. 1656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3112. 1657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3113. 1658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Path
  3114. 1659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3115. 1660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CR2, (ADC_CR2_TSVREFE), PathInternal);
  3116. 1661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3117. 1662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3118. 1663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3119. 1664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get parameter common to several ADC: measurement path to internal
  3120. 1665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * channels (VrefInt, temperature sensor, ...).
  3121. 1666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note One or several values can be selected.
  3122. 1667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT |
  3123. 1668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR)
  3124. 1669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 TSVREFE LL_ADC_GetCommonPathInternalCh
  3125. 1670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
  3126. 1671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  3127. 1672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be a combination of the following values:
  3128. 1673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE
  3129. 1674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT
  3130. 1675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR
  3131. 1676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3132. 1677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON)
  3133. ARM GAS /tmp/ccc82m4X.s page 55
  3134. 1678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3135. 1679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CR2, ADC_CR2_TSVREFE));
  3136. 1680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3137. 1681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3138. 1682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3139. 1683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  3140. 1684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3141. 1685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3142. 1686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Instance Configuration of ADC hierarchical scope: ADC ins
  3143. 1687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  3144. 1688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3145. 1689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3146. 1690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3147. 1691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC conversion data alignment.
  3148. 1692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Refer to reference manual for alignments formats
  3149. 1693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * dependencies to ADC resolutions.
  3150. 1694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ALIGN LL_ADC_SetDataAlignment
  3151. 1695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3152. 1696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param DataAlignment This parameter can be one of the following values:
  3153. 1697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_RIGHT
  3154. 1698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_LEFT
  3155. 1699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3156. 1700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3157. 1701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetDataAlignment(ADC_TypeDef *ADCx, uint32_t DataAlignment)
  3158. 1702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3159. 1703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_ALIGN, DataAlignment);
  3160. 1704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3161. 1705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3162. 1706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3163. 1707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC conversion data alignment.
  3164. 1708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Refer to reference manual for alignments formats
  3165. 1709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * dependencies to ADC resolutions.
  3166. 1710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ALIGN LL_ADC_SetDataAlignment
  3167. 1711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3168. 1712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3169. 1713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_RIGHT
  3170. 1714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_LEFT
  3171. 1715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3172. 1716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetDataAlignment(ADC_TypeDef *ADCx)
  3173. 1717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3174. 1718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_ALIGN));
  3175. 1719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3176. 1720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3177. 1721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3178. 1722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC sequencers scan mode, for all ADC groups
  3179. 1723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (group regular, group injected).
  3180. 1724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note According to sequencers scan mode :
  3181. 1725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If disabled: ADC conversion is performed in unitary conversion
  3182. 1726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode (one channel converted, that defined in rank 1).
  3183. 1727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Configuration of sequencers of all ADC groups
  3184. 1728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (sequencer scan length, ...) is discarded: equivalent to
  3185. 1729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan length of 1 rank.
  3186. 1730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If enabled: ADC conversions are performed in sequence conversions
  3187. 1731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode, according to configuration of sequencers of
  3188. 1732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * each ADC group (sequencer scan length, ...).
  3189. 1733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_REG_SetSequencerLength()
  3190. 1734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and to function @ref LL_ADC_INJ_SetSequencerLength().
  3191. ARM GAS /tmp/ccc82m4X.s page 56
  3192. 1735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 SCAN LL_ADC_SetSequencersScanMode
  3193. 1736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3194. 1737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ScanMode This parameter can be one of the following values:
  3195. 1738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_DISABLE
  3196. 1739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_ENABLE
  3197. 1740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3198. 1741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3199. 1742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetSequencersScanMode(ADC_TypeDef *ADCx, uint32_t ScanMode)
  3200. 1743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3201. 1744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_SCAN, ScanMode);
  3202. 1745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3203. 1746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3204. 1747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3205. 1748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC sequencers scan mode, for all ADC groups
  3206. 1749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (group regular, group injected).
  3207. 1750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note According to sequencers scan mode :
  3208. 1751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If disabled: ADC conversion is performed in unitary conversion
  3209. 1752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode (one channel converted, that defined in rank 1).
  3210. 1753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Configuration of sequencers of all ADC groups
  3211. 1754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (sequencer scan length, ...) is discarded: equivalent to
  3212. 1755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan length of 1 rank.
  3213. 1756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If enabled: ADC conversions are performed in sequence conversions
  3214. 1757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode, according to configuration of sequencers of
  3215. 1758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * each ADC group (sequencer scan length, ...).
  3216. 1759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_REG_SetSequencerLength()
  3217. 1760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and to function @ref LL_ADC_INJ_SetSequencerLength().
  3218. 1761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 SCAN LL_ADC_GetSequencersScanMode
  3219. 1762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3220. 1763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3221. 1764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_DISABLE
  3222. 1765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_ENABLE
  3223. 1766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3224. 1767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetSequencersScanMode(ADC_TypeDef *ADCx)
  3225. 1768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3226. 1769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_SCAN));
  3227. 1770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3228. 1771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3229. 1772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3230. 1773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  3231. 1774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3232. 1775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3233. 1776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Group_Regular Configuration of ADC hierarchical scope: gr
  3234. 1777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  3235. 1778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3236. 1779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3237. 1780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3238. 1781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular conversion trigger source:
  3239. 1782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event,
  3240. 1783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line).
  3241. 1784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, external trigger is set with trigger polarity:
  3242. 1785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rising edge (only trigger polarity available on this STM32 series).
  3243. 1786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
  3244. 1787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device.
  3245. 1788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 EXTSEL LL_ADC_REG_SetTriggerSource
  3246. 1789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3247. 1790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values:
  3248. 1791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_SOFTWARE
  3249. ARM GAS /tmp/ccc82m4X.s page 57
  3250. 1792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3 (1)
  3251. 1793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1 (2)
  3252. 1794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2 (2)
  3253. 1795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2 (2)
  3254. 1796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO (2)
  3255. 1797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4 (2)
  3256. 1798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (2)
  3257. 1799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (2)(4)
  3258. 1800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3 (3)
  3259. 1801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH1 (3)
  3260. 1802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH3 (3)
  3261. 1803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_CH1 (3)
  3262. 1804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (3)
  3263. 1805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH1 (3)
  3264. 1806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH3 (3)
  3265. 1807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3266. 1808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins
  3267. 1809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance
  3268. 1810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx
  3269. 1811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema
  3270. 1812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3271. 1813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3272. 1814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource)
  3273. 1815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3274. 1816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC group regular external trigger edge */
  3275. 1817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* is used to perform a ADC conversion start. */
  3276. 1818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This function does not set external trigger edge. */
  3277. 1819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This feature is set using function */
  3278. 1820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* @ref LL_ADC_REG_StartConversionExtTrig(). */
  3279. 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_EXTSEL, (TriggerSource & ADC_CR2_EXTSEL));
  3280. 1822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3281. 1823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3282. 1824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3283. 1825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger source:
  3284. 1826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event,
  3285. 1827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line).
  3286. 1828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To determine whether group regular trigger source is
  3287. 1829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or external, without detail
  3288. 1830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of which peripheral is selected as external trigger,
  3289. 1831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (equivalent to
  3290. 1832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * "if(LL_ADC_REG_GetTriggerSource(ADC1) == LL_ADC_REG_TRIG_SOFTWARE)")
  3291. 1833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_REG_IsTriggerSourceSWStart.
  3292. 1834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
  3293. 1835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device.
  3294. 1836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 EXTSEL LL_ADC_REG_GetTriggerSource
  3295. 1837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3296. 1838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3297. 1839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_SOFTWARE
  3298. 1840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3 (1)
  3299. 1841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1 (2)
  3300. 1842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2 (2)
  3301. 1843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2 (2)
  3302. 1844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO (2)
  3303. 1845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4 (2)
  3304. 1846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (2)
  3305. 1847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (2)(4)
  3306. 1848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3 (3)
  3307. ARM GAS /tmp/ccc82m4X.s page 58
  3308. 1849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH1 (3)
  3309. 1850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH3 (3)
  3310. 1851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_CH1 (3)
  3311. 1852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (3)
  3312. 1853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH1 (3)
  3313. 1854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH3 (3)
  3314. 1855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3315. 1856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins
  3316. 1857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance
  3317. 1858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx
  3318. 1859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema
  3319. 1860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3320. 1861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetTriggerSource(ADC_TypeDef *ADCx)
  3321. 1862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3322. 1863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_EXTSEL));
  3323. 1864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3324. 1865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3325. 1866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3326. 1867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger source internal (SW start)
  3327. 1868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** or external.
  3328. 1869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of group regular trigger source set to external trigger,
  3329. 1870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to determine which peripheral is selected as external trigger,
  3330. 1871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_REG_GetTriggerSource().
  3331. 1872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 EXTSEL LL_ADC_REG_IsTriggerSourceSWStart
  3332. 1873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3333. 1874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if trigger source external trigger
  3334. 1875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if trigger source SW start.
  3335. 1876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3336. 1877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_IsTriggerSourceSWStart(ADC_TypeDef *ADCx)
  3337. 1878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3338. 1879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (READ_BIT(ADCx->CR2, ADC_CR2_EXTSEL) == (LL_ADC_REG_TRIG_SOFTWARE));
  3339. 1880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3340. 1881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3341. 1882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3342. 1883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3343. 1884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular sequencer length and scan direction.
  3344. 1885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC group regular sequencer features:
  3345. 1886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer fully configurable
  3346. 1887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerRanks()" available):
  3347. 1888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
  3348. 1889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are configurable.
  3349. 1890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function performs configuration of:
  3350. 1891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
  3351. 1892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
  3352. 1893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
  3353. 1894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using
  3354. 1895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerRanks()".
  3355. 1896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer not fully configurable
  3356. 1897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerChannels()" available):
  3357. 1898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
  3358. 1899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are defined by channel number.
  3359. 1900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function performs configuration of:
  3360. 1901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence is
  3361. 1902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined by number of channels set in the sequence,
  3362. 1903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rank of each channel is fixed by channel HW number.
  3363. 1904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...).
  3364. 1905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
  3365. ARM GAS /tmp/ccc82m4X.s page 59
  3366. 1906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from lowest channel number to
  3367. 1907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * highest channel number).
  3368. 1908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using
  3369. 1909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerChannels()".
  3370. 1910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group regular sequencer configuration
  3371. 1911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode.
  3372. 1912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of
  3373. 1913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured
  3374. 1914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1).
  3375. 1915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode().
  3376. 1916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
  3377. 1917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel.
  3378. 1918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR1 L LL_ADC_REG_SetSequencerLength
  3379. 1919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3380. 1920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values:
  3381. 1921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE
  3382. 1922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS
  3383. 1923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS
  3384. 1924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS
  3385. 1925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS
  3386. 1926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS
  3387. 1927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS
  3388. 1928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS
  3389. 1929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS
  3390. 1930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS
  3391. 1931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS
  3392. 1932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS
  3393. 1933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS
  3394. 1934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS
  3395. 1935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS
  3396. 1936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS
  3397. 1937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3398. 1938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3399. 1939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks)
  3400. 1940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3401. 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->SQR1, ADC_SQR1_L, SequencerNbRanks);
  3402. 1942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3403. 1943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3404. 1944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3405. 1945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular sequencer length and scan direction.
  3406. 1946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC group regular sequencer features:
  3407. 1947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer fully configurable
  3408. 1948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerRanks()" available):
  3409. 1949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
  3410. 1950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are configurable.
  3411. 1951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function retrieves:
  3412. 1952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
  3413. 1953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
  3414. 1954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
  3415. 1955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using
  3416. 1956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerRanks()".
  3417. 1957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer not fully configurable
  3418. 1958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerChannels()" available):
  3419. 1959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
  3420. 1960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are defined by channel number.
  3421. 1961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function retrieves:
  3422. 1962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence is
  3423. ARM GAS /tmp/ccc82m4X.s page 60
  3424. 1963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined by number of channels set in the sequence,
  3425. 1964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rank of each channel is fixed by channel HW number.
  3426. 1965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...).
  3427. 1966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
  3428. 1967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from lowest channel number to
  3429. 1968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * highest channel number).
  3430. 1969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using
  3431. 1970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerChannels()".
  3432. 1971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group regular sequencer configuration
  3433. 1972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode.
  3434. 1973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of
  3435. 1974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured
  3436. 1975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1).
  3437. 1976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode().
  3438. 1977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
  3439. 1978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel.
  3440. 1979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR1 L LL_ADC_REG_SetSequencerLength
  3441. 1980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3442. 1981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3443. 1982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE
  3444. 1983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS
  3445. 1984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS
  3446. 1985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS
  3447. 1986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS
  3448. 1987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS
  3449. 1988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS
  3450. 1989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS
  3451. 1990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS
  3452. 1991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS
  3453. 1992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS
  3454. 1993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS
  3455. 1994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS
  3456. 1995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS
  3457. 1996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS
  3458. 1997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS
  3459. 1998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3460. 1999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerLength(ADC_TypeDef *ADCx)
  3461. 2000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3462. 2001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->SQR1, ADC_SQR1_L));
  3463. 2002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3464. 2003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3465. 2004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3466. 2005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular sequencer discontinuous mode:
  3467. 2006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
  3468. 2007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks.
  3469. 2008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group regular
  3470. 2009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * continuous mode and sequencer discontinuous mode.
  3471. 2010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC auto-injected mode
  3472. 2011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and ADC group regular sequencer discontinuous mode.
  3473. 2012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_REG_SetSequencerDiscont\n
  3474. 2013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 DISCNUM LL_ADC_REG_SetSequencerDiscont
  3475. 2014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3476. 2015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SeqDiscont This parameter can be one of the following values:
  3477. 2016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE
  3478. 2017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK
  3479. 2018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS
  3480. 2019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS
  3481. ARM GAS /tmp/ccc82m4X.s page 61
  3482. 2020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS
  3483. 2021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS
  3484. 2022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS
  3485. 2023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS
  3486. 2024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS
  3487. 2025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3488. 2026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3489. 2027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont)
  3490. 2028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3491. 2029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_DISCEN | ADC_CR1_DISCNUM, SeqDiscont);
  3492. 2030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3493. 2031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3494. 2032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3495. 2033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular sequencer discontinuous mode:
  3496. 2034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
  3497. 2035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks.
  3498. 2036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont\n
  3499. 2037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 DISCNUM LL_ADC_REG_GetSequencerDiscont
  3500. 2038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3501. 2039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3502. 2040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE
  3503. 2041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK
  3504. 2042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS
  3505. 2043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS
  3506. 2044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS
  3507. 2045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS
  3508. 2046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS
  3509. 2047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS
  3510. 2048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS
  3511. 2049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3512. 2050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerDiscont(ADC_TypeDef *ADCx)
  3513. 2051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3514. 2052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_DISCEN | ADC_CR1_DISCNUM));
  3515. 2053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3516. 2054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3517. 2055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3518. 2056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular sequence: channel on the selected
  3519. 2057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan sequence rank.
  3520. 2058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This function performs configuration of:
  3521. 2059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Channels ordering into each rank of scan sequence:
  3522. 2060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * whatever channel can be placed into whatever rank.
  3523. 2061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, ADC group regular sequencer is
  3524. 2062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * fully configurable: sequencer length and each rank
  3525. 2063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * affectation to a channel are configurable.
  3526. 2064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to description of function @ref LL_ADC_REG_SetSequencerLength().
  3527. 2065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
  3528. 2066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability.
  3529. 2067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt,
  3530. 2068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be
  3531. 2069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * enabled separately.
  3532. 2070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh().
  3533. 2071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR3 SQ1 LL_ADC_REG_SetSequencerRanks\n
  3534. 2072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ2 LL_ADC_REG_SetSequencerRanks\n
  3535. 2073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ3 LL_ADC_REG_SetSequencerRanks\n
  3536. 2074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ4 LL_ADC_REG_SetSequencerRanks\n
  3537. 2075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ5 LL_ADC_REG_SetSequencerRanks\n
  3538. 2076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ6 LL_ADC_REG_SetSequencerRanks\n
  3539. ARM GAS /tmp/ccc82m4X.s page 62
  3540. 2077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ7 LL_ADC_REG_SetSequencerRanks\n
  3541. 2078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ8 LL_ADC_REG_SetSequencerRanks\n
  3542. 2079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ9 LL_ADC_REG_SetSequencerRanks\n
  3543. 2080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ10 LL_ADC_REG_SetSequencerRanks\n
  3544. 2081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ11 LL_ADC_REG_SetSequencerRanks\n
  3545. 2082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ12 LL_ADC_REG_SetSequencerRanks\n
  3546. 2083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ13 LL_ADC_REG_SetSequencerRanks\n
  3547. 2084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ14 LL_ADC_REG_SetSequencerRanks\n
  3548. 2085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ15 LL_ADC_REG_SetSequencerRanks\n
  3549. 2086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ16 LL_ADC_REG_SetSequencerRanks
  3550. 2087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3551. 2088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
  3552. 2089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_1
  3553. 2090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_2
  3554. 2091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_3
  3555. 2092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_4
  3556. 2093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_5
  3557. 2094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_6
  3558. 2095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_7
  3559. 2096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_8
  3560. 2097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_9
  3561. 2098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_10
  3562. 2099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_11
  3563. 2100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_12
  3564. 2101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_13
  3565. 2102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_14
  3566. 2103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_15
  3567. 2104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_16
  3568. 2105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
  3569. 2106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  3570. 2107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  3571. 2108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  3572. 2109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  3573. 2110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  3574. 2111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  3575. 2112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  3576. 2113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  3577. 2114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  3578. 2115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  3579. 2116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  3580. 2117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  3581. 2118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  3582. 2119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  3583. 2120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  3584. 2121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  3585. 2122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  3586. 2123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  3587. 2124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  3588. 2125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  3589. 2126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3590. 2127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  3591. 2128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3592. 2129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3593. 2130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe
  3594. 2131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3595. 2132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Set bits with content of parameter "Channel" with bits position */
  3596. 2133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* in register and register position depending on parameter "Rank". */
  3597. ARM GAS /tmp/ccc82m4X.s page 63
  3598. 2134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Parameters "Rank" and "Channel" are used with masks because containing */
  3599. 2135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* other bits reserved for other purpose. */
  3600. 2136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFF
  3601. 2137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3602. 2138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg,
  3603. 2139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK),
  3604. 2140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK));
  3605. 2141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3606. 2142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3607. 2143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3608. 2144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular sequence: channel on the selected
  3609. 2145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan sequence rank.
  3610. 2146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, ADC group regular sequencer is
  3611. 2147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * fully configurable: sequencer length and each rank
  3612. 2148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * affectation to a channel are configurable.
  3613. 2149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to description of function @ref LL_ADC_REG_SetSequencerLength().
  3614. 2150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
  3615. 2151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability.
  3616. 2152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Usage of the returned channel number:
  3617. 2153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
  3618. 2154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
  3619. 2155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
  3620. 2156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
  3621. 2157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
  3622. 2158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
  3623. 2159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * as parameter for another function.
  3624. 2160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To get the channel number in decimal format:
  3625. 2161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * process the returned value with the helper macro
  3626. 2162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
  3627. 2163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR3 SQ1 LL_ADC_REG_GetSequencerRanks\n
  3628. 2164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ2 LL_ADC_REG_GetSequencerRanks\n
  3629. 2165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ3 LL_ADC_REG_GetSequencerRanks\n
  3630. 2166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ4 LL_ADC_REG_GetSequencerRanks\n
  3631. 2167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ5 LL_ADC_REG_GetSequencerRanks\n
  3632. 2168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ6 LL_ADC_REG_GetSequencerRanks\n
  3633. 2169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ7 LL_ADC_REG_GetSequencerRanks\n
  3634. 2170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ8 LL_ADC_REG_GetSequencerRanks\n
  3635. 2171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ9 LL_ADC_REG_GetSequencerRanks\n
  3636. 2172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ10 LL_ADC_REG_GetSequencerRanks\n
  3637. 2173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ11 LL_ADC_REG_GetSequencerRanks\n
  3638. 2174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ12 LL_ADC_REG_GetSequencerRanks\n
  3639. 2175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ13 LL_ADC_REG_GetSequencerRanks\n
  3640. 2176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ14 LL_ADC_REG_GetSequencerRanks\n
  3641. 2177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ15 LL_ADC_REG_GetSequencerRanks\n
  3642. 2178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ16 LL_ADC_REG_GetSequencerRanks
  3643. 2179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3644. 2180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
  3645. 2181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_1
  3646. 2182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_2
  3647. 2183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_3
  3648. 2184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_4
  3649. 2185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_5
  3650. 2186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_6
  3651. 2187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_7
  3652. 2188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_8
  3653. 2189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_9
  3654. 2190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_10
  3655. ARM GAS /tmp/ccc82m4X.s page 64
  3656. 2191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_11
  3657. 2192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_12
  3658. 2193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_13
  3659. 2194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_14
  3660. 2195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_15
  3661. 2196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_16
  3662. 2197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3663. 2198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  3664. 2199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  3665. 2200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  3666. 2201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  3667. 2202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  3668. 2203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  3669. 2204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  3670. 2205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  3671. 2206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  3672. 2207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  3673. 2208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  3674. 2209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  3675. 2210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  3676. 2211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  3677. 2212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  3678. 2213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  3679. 2214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  3680. 2215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  3681. 2216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  3682. 2217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  3683. 2218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3684. 2219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n
  3685. 2220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register,
  3686. 2221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done
  3687. 2222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
  3688. 2223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3689. 2224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank)
  3690. 2225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3691. 2226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFF
  3692. 2227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3693. 2228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t) (READ_BIT(*preg,
  3694. 2229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK))
  3695. 2230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)
  3696. 2231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** );
  3697. 2232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3698. 2233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3699. 2234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3700. 2235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC continuous conversion mode on ADC group regular.
  3701. 2236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC continuous conversion mode:
  3702. 2237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - single mode: one conversion per trigger
  3703. 2238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - continuous mode: after the first trigger, following
  3704. 2239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conversions launched successively automatically.
  3705. 2240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group regular
  3706. 2241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * continuous mode and sequencer discontinuous mode.
  3707. 2242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 CONT LL_ADC_REG_SetContinuousMode
  3708. 2243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3709. 2244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Continuous This parameter can be one of the following values:
  3710. 2245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_SINGLE
  3711. 2246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_CONTINUOUS
  3712. 2247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3713. ARM GAS /tmp/ccc82m4X.s page 65
  3714. 2248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3715. 2249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous)
  3716. 2250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3717. 2251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_CONT, Continuous);
  3718. 2252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3719. 2253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3720. 2254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3721. 2255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC continuous conversion mode on ADC group regular.
  3722. 2256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC continuous conversion mode:
  3723. 2257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - single mode: one conversion per trigger
  3724. 2258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - continuous mode: after the first trigger, following
  3725. 2259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conversions launched successively automatically.
  3726. 2260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 CONT LL_ADC_REG_GetContinuousMode
  3727. 2261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3728. 2262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3729. 2263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_SINGLE
  3730. 2264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_CONTINUOUS
  3731. 2265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3732. 2266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetContinuousMode(ADC_TypeDef *ADCx)
  3733. 2267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3734. 2268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_CONT));
  3735. 2269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3736. 2270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3737. 2271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3738. 2272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular conversion data transfer: no transfer or
  3739. 2273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * transfer by DMA, and DMA requests mode.
  3740. 2274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If transfer by DMA selected, specifies the DMA requests
  3741. 2275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode:
  3742. 2276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped
  3743. 2277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when number of DMA data transfers (number of
  3744. 2278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions) is reached.
  3745. 2279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular.
  3746. 2280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited,
  3747. 2281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * whatever number of DMA data transfers (number of
  3748. 2282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions).
  3749. 2283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular.
  3750. 2284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to
  3751. 2285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode non-circular:
  3752. 2286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of
  3753. 2287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error
  3754. 2288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (overrun flag and interruption if enabled).
  3755. 2289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To configure DMA source address (peripheral address),
  3756. 2290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_DMA_GetRegAddr().
  3757. 2291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 DMA LL_ADC_REG_SetDMATransfer
  3758. 2292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3759. 2293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param DMATransfer This parameter can be one of the following values:
  3760. 2294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_NONE
  3761. 2295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_UNLIMITED
  3762. 2296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3763. 2297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3764. 2298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer)
  3765. 2299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3766. 2300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_DMA, DMATransfer);
  3767. 2301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3768. 2302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3769. 2303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3770. 2304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular conversion data transfer: no transfer or
  3771. ARM GAS /tmp/ccc82m4X.s page 66
  3772. 2305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * transfer by DMA, and DMA requests mode.
  3773. 2306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If transfer by DMA selected, specifies the DMA requests
  3774. 2307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode:
  3775. 2308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped
  3776. 2309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when number of DMA data transfers (number of
  3777. 2310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions) is reached.
  3778. 2311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular.
  3779. 2312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited,
  3780. 2313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * whatever number of DMA data transfers (number of
  3781. 2314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions).
  3782. 2315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular.
  3783. 2316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to
  3784. 2317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode non-circular:
  3785. 2318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of
  3786. 2319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error
  3787. 2320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (overrun flag and interruption if enabled).
  3788. 2321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To configure DMA source address (peripheral address),
  3789. 2322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_DMA_GetRegAddr().
  3790. 2323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 DMA LL_ADC_REG_GetDMATransfer
  3791. 2324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3792. 2325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3793. 2326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_NONE
  3794. 2327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_UNLIMITED
  3795. 2328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3796. 2329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer(ADC_TypeDef *ADCx)
  3797. 2330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3798. 2331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_DMA));
  3799. 2332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3800. 2333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3801. 2334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3802. 2335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  3803. 2336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3804. 2337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3805. 2338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Group_Injected Configuration of ADC hierarchical scope: g
  3806. 2339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  3807. 2340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3808. 2341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3809. 2342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3810. 2343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger source:
  3811. 2344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event,
  3812. 2345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line).
  3813. 2346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, external trigger is set with trigger polarity:
  3814. 2347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rising edge (only trigger polarity available on this STM32 series).
  3815. 2348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
  3816. 2349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device.
  3817. 2350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 JEXTSEL LL_ADC_INJ_SetTriggerSource
  3818. 2351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3819. 2352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values:
  3820. 2353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE
  3821. 2354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO (1)
  3822. 2355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (1)
  3823. 2356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (2)
  3824. 2357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (2)
  3825. 2358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (2)
  3826. 2359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (2)
  3827. 2360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (2)
  3828. 2361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (2)(4)
  3829. ARM GAS /tmp/ccc82m4X.s page 67
  3830. 2362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3 (3)
  3831. 2363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_CH3 (3)
  3832. 2364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH2 (3)
  3833. 2365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (3)
  3834. 2366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_TRGO (3)
  3835. 2367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_CH4 (3)
  3836. 2368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3837. 2369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins
  3838. 2370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance
  3839. 2371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx
  3840. 2372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema
  3841. 2373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3842. 2374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3843. 2375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource)
  3844. 2376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3845. 2377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC group injected external trigger edge */
  3846. 2378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* is used to perform a ADC conversion start. */
  3847. 2379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This function does not set external trigger edge. */
  3848. 2380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This feature is set using function */
  3849. 2381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* @ref LL_ADC_INJ_StartConversionExtTrig(). */
  3850. 2382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_JEXTSEL, (TriggerSource & ADC_CR2_JEXTSEL));
  3851. 2383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3852. 2384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3853. 2385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3854. 2386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger source:
  3855. 2387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event,
  3856. 2388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line).
  3857. 2389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To determine whether group injected trigger source is
  3858. 2390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or external, without detail
  3859. 2391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of which peripheral is selected as external trigger,
  3860. 2392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (equivalent to
  3861. 2393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * "if(LL_ADC_INJ_GetTriggerSource(ADC1) == LL_ADC_INJ_TRIG_SOFTWARE)")
  3862. 2394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_INJ_IsTriggerSourceSWStart.
  3863. 2395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
  3864. 2396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device.
  3865. 2397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 JEXTSEL LL_ADC_INJ_GetTriggerSource
  3866. 2398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3867. 2399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3868. 2400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE
  3869. 2401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO (1)
  3870. 2402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (1)
  3871. 2403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (2)
  3872. 2404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (2)
  3873. 2405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (2)
  3874. 2406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (2)
  3875. 2407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (2)
  3876. 2408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (2)(4)
  3877. 2409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3 (3)
  3878. 2410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_CH3 (3)
  3879. 2411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH2 (3)
  3880. 2412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (3)
  3881. 2413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_TRGO (3)
  3882. 2414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_CH4 (3)
  3883. 2415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  3884. 2416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins
  3885. 2417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance
  3886. 2418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx
  3887. ARM GAS /tmp/ccc82m4X.s page 68
  3888. 2419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema
  3889. 2420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3890. 2421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerSource(ADC_TypeDef *ADCx)
  3891. 2422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3892. 2423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_JEXTSEL));
  3893. 2424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3894. 2425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3895. 2426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3896. 2427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger source internal (SW start)
  3897. 2428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** or external
  3898. 2429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of group injected trigger source set to external trigger,
  3899. 2430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to determine which peripheral is selected as external trigger,
  3900. 2431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_INJ_GetTriggerSource.
  3901. 2432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 JEXTSEL LL_ADC_INJ_IsTriggerSourceSWStart
  3902. 2433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3903. 2434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if trigger source external trigger
  3904. 2435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if trigger source SW start.
  3905. 2436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3906. 2437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_IsTriggerSourceSWStart(ADC_TypeDef *ADCx)
  3907. 2438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3908. 2439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (READ_BIT(ADCx->CR2, ADC_CR2_JEXTSEL) == LL_ADC_INJ_TRIG_SOFTWARE);
  3909. 2440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3910. 2441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3911. 2442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3912. 2443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected sequencer length and scan direction.
  3913. 2444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This function performs configuration of:
  3914. 2445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
  3915. 2446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
  3916. 2447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
  3917. 2448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group injected sequencer configuration
  3918. 2449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode.
  3919. 2450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of
  3920. 2451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured
  3921. 2452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1).
  3922. 2453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode().
  3923. 2454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
  3924. 2455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel.
  3925. 2456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JL LL_ADC_INJ_SetSequencerLength
  3926. 2457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3927. 2458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values:
  3928. 2459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE
  3929. 2460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS
  3930. 2461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS
  3931. 2462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS
  3932. 2463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3933. 2464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3934. 2465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks)
  3935. 2466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3936. 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR, ADC_JSQR_JL, SequencerNbRanks);
  3937. 2468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3938. 2469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3939. 2470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3940. 2471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected sequencer length and scan direction.
  3941. 2472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This function retrieves:
  3942. 2473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
  3943. 2474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
  3944. 2475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
  3945. ARM GAS /tmp/ccc82m4X.s page 69
  3946. 2476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group injected sequencer configuration
  3947. 2477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode.
  3948. 2478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of
  3949. 2479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured
  3950. 2480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1).
  3951. 2481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode().
  3952. 2482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
  3953. 2483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel.
  3954. 2484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JL LL_ADC_INJ_GetSequencerLength
  3955. 2485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3956. 2486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3957. 2487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE
  3958. 2488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS
  3959. 2489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS
  3960. 2490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS
  3961. 2491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3962. 2492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength(ADC_TypeDef *ADCx)
  3963. 2493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3964. 2494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->JSQR, ADC_JSQR_JL));
  3965. 2495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3966. 2496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3967. 2497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3968. 2498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected sequencer discontinuous mode:
  3969. 2499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
  3970. 2500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks.
  3971. 2501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group injected
  3972. 2502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * auto-injected mode and sequencer discontinuous mode.
  3973. 2503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_INJ_SetSequencerDiscont
  3974. 2504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3975. 2505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SeqDiscont This parameter can be one of the following values:
  3976. 2506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE
  3977. 2507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK
  3978. 2508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  3979. 2509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3980. 2510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont)
  3981. 2511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3982. 2512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_JDISCEN, SeqDiscont);
  3983. 2513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3984. 2514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  3985. 2515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  3986. 2516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected sequencer discontinuous mode:
  3987. 2517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
  3988. 2518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks.
  3989. 2519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont
  3990. 2520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  3991. 2521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  3992. 2522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE
  3993. 2523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK
  3994. 2524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  3995. 2525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerDiscont(ADC_TypeDef *ADCx)
  3996. 2526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  3997. 2527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_JDISCEN));
  3998. 2528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  3999. 2529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4000. 2530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4001. 2531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected sequence: channel on the selected
  4002. 2532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence rank.
  4003. ARM GAS /tmp/ccc82m4X.s page 70
  4004. 2533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
  4005. 2534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability.
  4006. 2535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt,
  4007. 2536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be
  4008. 2537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * enabled separately.
  4009. 2538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh().
  4010. 2539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JSQ1 LL_ADC_INJ_SetSequencerRanks\n
  4011. 2540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_SetSequencerRanks\n
  4012. 2541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_SetSequencerRanks\n
  4013. 2542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_SetSequencerRanks
  4014. 2543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4015. 2544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
  4016. 2545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
  4017. 2546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
  4018. 2547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
  4019. 2548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
  4020. 2549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
  4021. 2550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  4022. 2551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  4023. 2552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  4024. 2553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  4025. 2554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  4026. 2555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  4027. 2556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  4028. 2557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  4029. 2558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  4030. 2559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  4031. 2560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  4032. 2561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  4033. 2562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  4034. 2563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  4035. 2564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  4036. 2565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  4037. 2566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  4038. 2567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  4039. 2568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  4040. 2569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  4041. 2570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  4042. 2571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  4043. 2572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4044. 2573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4045. 2574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe
  4046. 2575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4047. 2576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Set bits with content of parameter "Channel" with bits position */
  4048. 2577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* in register depending on parameter "Rank". */
  4049. 2578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Parameters "Rank" and "Channel" are used with masks because containing */
  4050. 2579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* other bits reserved for other purpose. */
  4051. 2580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t tmpreg1 = (READ_BIT(ADCx->JSQR, ADC_JSQR_JL) >> ADC_JSQR_JL_Pos) + 1U;
  4052. 2581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4053. 2582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR,
  4054. 2583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))),
  4055. 2584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))))
  4056. 2585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4057. 2586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4058. 2587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4059. 2588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected sequence: channel on the selected
  4060. 2589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence rank.
  4061. ARM GAS /tmp/ccc82m4X.s page 71
  4062. 2590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
  4063. 2591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability.
  4064. 2592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Usage of the returned channel number:
  4065. 2593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
  4066. 2594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
  4067. 2595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
  4068. 2596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
  4069. 2597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
  4070. 2598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
  4071. 2599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * as parameter for another function.
  4072. 2600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To get the channel number in decimal format:
  4073. 2601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * process the returned value with the helper macro
  4074. 2602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
  4075. 2603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JSQ1 LL_ADC_INJ_SetSequencerRanks\n
  4076. 2604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_SetSequencerRanks\n
  4077. 2605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_SetSequencerRanks\n
  4078. 2606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_SetSequencerRanks
  4079. 2607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4080. 2608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
  4081. 2609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
  4082. 2610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
  4083. 2611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
  4084. 2612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
  4085. 2613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  4086. 2614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  4087. 2615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  4088. 2616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  4089. 2617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  4090. 2618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  4091. 2619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  4092. 2620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  4093. 2621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  4094. 2622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  4095. 2623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  4096. 2624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  4097. 2625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  4098. 2626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  4099. 2627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  4100. 2628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  4101. 2629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  4102. 2630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  4103. 2631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  4104. 2632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  4105. 2633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  4106. 2634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  4107. 2635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n
  4108. 2636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register,
  4109. 2637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done
  4110. 2638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
  4111. 2639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4112. 2640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank)
  4113. 2641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4114. 2642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t tmpreg1 = (READ_BIT(ADCx->JSQR, ADC_JSQR_JL) >> ADC_JSQR_JL_Pos) + 1U;
  4115. 2643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4116. 2644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->JSQR,
  4117. 2645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1
  4118. 2646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** >> (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1)))
  4119. ARM GAS /tmp/ccc82m4X.s page 72
  4120. 2647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** );
  4121. 2648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4122. 2649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4123. 2650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4124. 2651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger:
  4125. 2652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * independent or from ADC group regular.
  4126. 2653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This mode can be used to extend number of data registers
  4127. 2654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * updated after one ADC conversion trigger and with data
  4128. 2655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * permanently kept (not erased by successive conversions of scan of
  4129. 2656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC sequencer ranks), up to 5 data registers:
  4130. 2657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1 data register on ADC group regular, 4 data registers
  4131. 2658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * on ADC group injected.
  4132. 2659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If ADC group injected injected trigger source is set to an
  4133. 2660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external trigger, this feature must be must be set to
  4134. 2661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * independent trigger.
  4135. 2662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC group injected automatic trigger is compliant only with
  4136. 2663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * group injected trigger source set to SW start, without any
  4137. 2664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * further action on ADC group injected conversion start or stop:
  4138. 2665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * in this case, ADC group injected is controlled only
  4139. 2666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from ADC group regular.
  4140. 2667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group injected
  4141. 2668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * auto-injected mode and sequencer discontinuous mode.
  4142. 2669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 JAUTO LL_ADC_INJ_SetTrigAuto
  4143. 2670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4144. 2671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param TrigAuto This parameter can be one of the following values:
  4145. 2672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT
  4146. 2673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR
  4147. 2674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4148. 2675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4149. 2676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTrigAuto(ADC_TypeDef *ADCx, uint32_t TrigAuto)
  4150. 2677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4151. 2678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_JAUTO, TrigAuto);
  4152. 2679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4153. 2680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4154. 2681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4155. 2682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger:
  4156. 2683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * independent or from ADC group regular.
  4157. 2684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 JAUTO LL_ADC_INJ_GetTrigAuto
  4158. 2685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4159. 2686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  4160. 2687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT
  4161. 2688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR
  4162. 2689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4163. 2690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto(ADC_TypeDef *ADCx)
  4164. 2691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4165. 2692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_JAUTO));
  4166. 2693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4167. 2694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4168. 2695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4169. 2696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected offset.
  4170. 2697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It sets:
  4171. 2698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - ADC group injected rank to which the offset programmed
  4172. 2699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * will be applied
  4173. 2700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Offset level (offset to be subtracted from the raw
  4174. 2701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * converted data).
  4175. 2702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Caution: Offset format is dependent to ADC resolution:
  4176. 2703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * offset has to be left-aligned on bit 11, the LSB (right bits)
  4177. ARM GAS /tmp/ccc82m4X.s page 73
  4178. 2704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are set to 0.
  4179. 2705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Offset cannot be enabled or disabled.
  4180. 2706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * To emulate offset disabled, set an offset value equal to 0.
  4181. 2707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JOFR1 JOFFSET1 LL_ADC_INJ_SetOffset\n
  4182. 2708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR2 JOFFSET2 LL_ADC_INJ_SetOffset\n
  4183. 2709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR3 JOFFSET3 LL_ADC_INJ_SetOffset\n
  4184. 2710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR4 JOFFSET4 LL_ADC_INJ_SetOffset
  4185. 2711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4186. 2712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
  4187. 2713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
  4188. 2714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
  4189. 2715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
  4190. 2716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
  4191. 2717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param OffsetLevel Value between Min_Data=0x000 and Max_Data=0xFFF
  4192. 2718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4193. 2719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4194. 2720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetOffset(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t OffsetLevel)
  4195. 2721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4196. 2722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JOFR1, __ADC_MASK_SHIFT(Rank, ADC_INJ_JOFRX_REGO
  4197. 2723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4198. 2724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg,
  4199. 2725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_JOFR1_JOFFSET1,
  4200. 2726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** OffsetLevel);
  4201. 2727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4202. 2728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4203. 2729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4204. 2730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected offset.
  4205. 2731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It gives offset level (offset to be subtracted from the raw converted data).
  4206. 2732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Caution: Offset format is dependent to ADC resolution:
  4207. 2733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * offset has to be left-aligned on bit 11, the LSB (right bits)
  4208. 2734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are set to 0.
  4209. 2735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JOFR1 JOFFSET1 LL_ADC_INJ_GetOffset\n
  4210. 2736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR2 JOFFSET2 LL_ADC_INJ_GetOffset\n
  4211. 2737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR3 JOFFSET3 LL_ADC_INJ_GetOffset\n
  4212. 2738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR4 JOFFSET4 LL_ADC_INJ_GetOffset
  4213. 2739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4214. 2740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
  4215. 2741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
  4216. 2742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
  4217. 2743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
  4218. 2744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
  4219. 2745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
  4220. 2746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4221. 2747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetOffset(ADC_TypeDef *ADCx, uint32_t Rank)
  4222. 2748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4223. 2749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JOFR1, __ADC_MASK_SHIFT(Rank, ADC_INJ_JOFRX_REGO
  4224. 2750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4225. 2751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg,
  4226. 2752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_JOFR1_JOFFSET1)
  4227. 2753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** );
  4228. 2754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4229. 2755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4230. 2756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4231. 2757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  4232. 2758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4233. 2759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4234. 2760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_Channels Configuration of ADC hierarchical scope: channels
  4235. ARM GAS /tmp/ccc82m4X.s page 74
  4236. 2761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  4237. 2762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4238. 2763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4239. 2764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4240. 2765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set sampling time of the selected ADC channel
  4241. 2766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Unit: ADC clock cycles.
  4242. 2767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this device, sampling time is on channel scope: independently
  4243. 2768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of channel mapped on ADC group regular or injected.
  4244. 2769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of internal channel (VrefInt, TempSensor, ...) to be
  4245. 2770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * converted:
  4246. 2771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sampling time constraints must be respected (sampling time can be
  4247. 2772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * adjusted in function of ADC clock frequency and sampling time
  4248. 2773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * setting).
  4249. 2774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for timings values (parameters TS_vrefint,
  4250. 2775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TS_temp, ...).
  4251. 2776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Conversion time is the addition of sampling time and processing time.
  4252. 2777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual for ADC processing time of
  4253. 2778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this STM32 series.
  4254. 2779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of ADC conversion of internal channel (VrefInt,
  4255. 2780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature sensor, ...), a sampling time minimum value
  4256. 2781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is required.
  4257. 2782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet.
  4258. 2783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SMPR1 SMP17 LL_ADC_SetChannelSamplingTime\n
  4259. 2784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP16 LL_ADC_SetChannelSamplingTime\n
  4260. 2785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP15 LL_ADC_SetChannelSamplingTime\n
  4261. 2786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP14 LL_ADC_SetChannelSamplingTime\n
  4262. 2787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP13 LL_ADC_SetChannelSamplingTime\n
  4263. 2788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP12 LL_ADC_SetChannelSamplingTime\n
  4264. 2789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP11 LL_ADC_SetChannelSamplingTime\n
  4265. 2790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP10 LL_ADC_SetChannelSamplingTime\n
  4266. 2791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP9 LL_ADC_SetChannelSamplingTime\n
  4267. 2792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP8 LL_ADC_SetChannelSamplingTime\n
  4268. 2793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP7 LL_ADC_SetChannelSamplingTime\n
  4269. 2794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP6 LL_ADC_SetChannelSamplingTime\n
  4270. 2795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP5 LL_ADC_SetChannelSamplingTime\n
  4271. 2796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP4 LL_ADC_SetChannelSamplingTime\n
  4272. 2797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP3 LL_ADC_SetChannelSamplingTime\n
  4273. 2798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP2 LL_ADC_SetChannelSamplingTime\n
  4274. 2799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP1 LL_ADC_SetChannelSamplingTime\n
  4275. 2800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP0 LL_ADC_SetChannelSamplingTime
  4276. 2801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4277. 2802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
  4278. 2803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  4279. 2804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  4280. 2805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  4281. 2806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  4282. 2807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  4283. 2808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  4284. 2809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  4285. 2810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  4286. 2811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  4287. 2812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  4288. 2813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  4289. 2814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  4290. 2815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  4291. 2816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  4292. 2817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  4293. ARM GAS /tmp/ccc82m4X.s page 75
  4294. 2818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  4295. 2819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  4296. 2820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  4297. 2821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  4298. 2822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  4299. 2823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  4300. 2824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  4301. 2825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SamplingTime This parameter can be one of the following values:
  4302. 2826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5
  4303. 2827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_7CYCLES_5
  4304. 2828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_13CYCLES_5
  4305. 2829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_28CYCLES_5
  4306. 2830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_41CYCLES_5
  4307. 2831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_55CYCLES_5
  4308. 2832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_71CYCLES_5
  4309. 2833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_239CYCLES_5
  4310. 2834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4311. 2835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4312. 2836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t Sa
  4313. 2837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4314. 2838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Set bits with content of parameter "SamplingTime" with bits position */
  4315. 2839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* in register and register position depending on parameter "Channel". */
  4316. 2840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Parameter "Channel" is used with masks because containing */
  4317. 2841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* other bits reserved for other purpose. */
  4318. 2842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SMPR1, __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMP
  4319. 2843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4320. 2844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg,
  4321. 2845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_SMPR2_SMP0 << __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET_MASK),
  4322. 2846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** SamplingTime << __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET_MASK));
  4323. 2847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4324. 2848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4325. 2849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4326. 2850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get sampling time of the selected ADC channel
  4327. 2851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Unit: ADC clock cycles.
  4328. 2852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this device, sampling time is on channel scope: independently
  4329. 2853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of channel mapped on ADC group regular or injected.
  4330. 2854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Conversion time is the addition of sampling time and processing time.
  4331. 2855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual for ADC processing time of
  4332. 2856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this STM32 series.
  4333. 2857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SMPR1 SMP17 LL_ADC_GetChannelSamplingTime\n
  4334. 2858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP16 LL_ADC_GetChannelSamplingTime\n
  4335. 2859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP15 LL_ADC_GetChannelSamplingTime\n
  4336. 2860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP14 LL_ADC_GetChannelSamplingTime\n
  4337. 2861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP13 LL_ADC_GetChannelSamplingTime\n
  4338. 2862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP12 LL_ADC_GetChannelSamplingTime\n
  4339. 2863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP11 LL_ADC_GetChannelSamplingTime\n
  4340. 2864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP10 LL_ADC_GetChannelSamplingTime\n
  4341. 2865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP9 LL_ADC_GetChannelSamplingTime\n
  4342. 2866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP8 LL_ADC_GetChannelSamplingTime\n
  4343. 2867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP7 LL_ADC_GetChannelSamplingTime\n
  4344. 2868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP6 LL_ADC_GetChannelSamplingTime\n
  4345. 2869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP5 LL_ADC_GetChannelSamplingTime\n
  4346. 2870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP4 LL_ADC_GetChannelSamplingTime\n
  4347. 2871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP3 LL_ADC_GetChannelSamplingTime\n
  4348. 2872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP2 LL_ADC_GetChannelSamplingTime\n
  4349. 2873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP1 LL_ADC_GetChannelSamplingTime\n
  4350. 2874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP0 LL_ADC_GetChannelSamplingTime
  4351. ARM GAS /tmp/ccc82m4X.s page 76
  4352. 2875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4353. 2876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
  4354. 2877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
  4355. 2878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
  4356. 2879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
  4357. 2880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
  4358. 2881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
  4359. 2882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
  4360. 2883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
  4361. 2884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
  4362. 2885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
  4363. 2886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
  4364. 2887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
  4365. 2888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
  4366. 2889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
  4367. 2890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
  4368. 2891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
  4369. 2892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
  4370. 2893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
  4371. 2894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
  4372. 2895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
  4373. 2896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
  4374. 2897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  4375. 2898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  4376. 2899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  4377. 2900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5
  4378. 2901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_7CYCLES_5
  4379. 2902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_13CYCLES_5
  4380. 2903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_28CYCLES_5
  4381. 2904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_41CYCLES_5
  4382. 2905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_55CYCLES_5
  4383. 2906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_71CYCLES_5
  4384. 2907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_239CYCLES_5
  4385. 2908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4386. 2909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel)
  4387. 2910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4388. 2911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SMPR1, __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMP
  4389. 2912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4390. 2913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg,
  4391. 2914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_SMPR2_SMP0 << __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET
  4392. 2915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** >> __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET_MASK)
  4393. 2916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** );
  4394. 2917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4395. 2918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4396. 2919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4397. 2920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  4398. 2921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4399. 2922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4400. 2923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_AnalogWatchdog Configuration of ADC transversal scope: an
  4401. 2924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  4402. 2925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4403. 2926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4404. 2927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4405. 2928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC analog watchdog monitored channels:
  4406. 2929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a single channel or all channels,
  4407. 2930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * on ADC groups regular and-or injected.
  4408. 2931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Once monitored channels are selected, analog watchdog
  4409. ARM GAS /tmp/ccc82m4X.s page 77
  4410. 2932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is enabled.
  4411. 2933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of need to define a single channel to monitor
  4412. 2934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with analog watchdog from sequencer channel definition,
  4413. 2935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use helper macro @ref __LL_ADC_ANALOGWD_CHANNEL_GROUP().
  4414. 2936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, there is only 1 kind of analog watchdog
  4415. 2937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instance:
  4416. 2938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - AWD standard (instance AWD1):
  4417. 2939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
  4418. 2940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
  4419. 2941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
  4420. 2942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC resolution configured).
  4421. 2943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 AWD1CH LL_ADC_SetAnalogWDMonitChannels\n
  4422. 2944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1SGL LL_ADC_SetAnalogWDMonitChannels\n
  4423. 2945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1EN LL_ADC_SetAnalogWDMonitChannels
  4424. 2946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4425. 2947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDChannelGroup This parameter can be one of the following values:
  4426. 2948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE
  4427. 2949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG
  4428. 2950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ
  4429. 2951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ
  4430. 2952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG
  4431. 2953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ
  4432. 2954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ
  4433. 2955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG
  4434. 2956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ
  4435. 2957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ
  4436. 2958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG
  4437. 2959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ
  4438. 2960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ
  4439. 2961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG
  4440. 2962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ
  4441. 2963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ
  4442. 2964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG
  4443. 2965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ
  4444. 2966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ
  4445. 2967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG
  4446. 2968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ
  4447. 2969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ
  4448. 2970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG
  4449. 2971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ
  4450. 2972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ
  4451. 2973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG
  4452. 2974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ
  4453. 2975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ
  4454. 2976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG
  4455. 2977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ
  4456. 2978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ
  4457. 2979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG
  4458. 2980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ
  4459. 2981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ
  4460. 2982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG
  4461. 2983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ
  4462. 2984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ
  4463. 2985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG
  4464. 2986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ
  4465. 2987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ
  4466. 2988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG
  4467. ARM GAS /tmp/ccc82m4X.s page 78
  4468. 2989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ
  4469. 2990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ
  4470. 2991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG
  4471. 2992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ
  4472. 2993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ
  4473. 2994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG
  4474. 2995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ
  4475. 2996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ
  4476. 2997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG
  4477. 2998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ
  4478. 2999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ
  4479. 3000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG
  4480. 3001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ
  4481. 3002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ
  4482. 3003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG
  4483. 3004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ
  4484. 3005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ
  4485. 3006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (1)
  4486. 3007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (1)
  4487. 3008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1)
  4488. 3009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (1)
  4489. 3010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (1)
  4490. 3011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1)
  4491. 3012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** *
  4492. 3013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.
  4493. 3014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4494. 3015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4495. 3016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDChannelGroup)
  4496. 3017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4497. 3018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1,
  4498. 3019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_AWDSGL | ADC_CR1_AWDCH),
  4499. 3020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** AWDChannelGroup);
  4500. 3021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4501. 3022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4502. 3023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4503. 3024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC analog watchdog monitored channel.
  4504. 3025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Usage of the returned channel number:
  4505. 3026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
  4506. 3027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
  4507. 3028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
  4508. 3029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
  4509. 3030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
  4510. 3031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
  4511. 3032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * as parameter for another function.
  4512. 3033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To get the channel number in decimal format:
  4513. 3034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * process the returned value with the helper macro
  4514. 3035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
  4515. 3036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Applicable only when the analog watchdog is set to monitor
  4516. 3037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * one channel.
  4517. 3038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, there is only 1 kind of analog watchdog
  4518. 3039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instance:
  4519. 3040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - AWD standard (instance AWD1):
  4520. 3041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
  4521. 3042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
  4522. 3043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
  4523. 3044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC resolution configured).
  4524. 3045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 AWD1CH LL_ADC_GetAnalogWDMonitChannels\n
  4525. ARM GAS /tmp/ccc82m4X.s page 79
  4526. 3046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1SGL LL_ADC_GetAnalogWDMonitChannels\n
  4527. 3047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1EN LL_ADC_GetAnalogWDMonitChannels
  4528. 3048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4529. 3049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  4530. 3050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE
  4531. 3051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG
  4532. 3052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ
  4533. 3053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ
  4534. 3054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG
  4535. 3055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ
  4536. 3056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ
  4537. 3057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG
  4538. 3058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ
  4539. 3059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ
  4540. 3060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG
  4541. 3061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ
  4542. 3062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ
  4543. 3063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG
  4544. 3064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ
  4545. 3065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ
  4546. 3066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG
  4547. 3067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ
  4548. 3068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ
  4549. 3069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG
  4550. 3070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ
  4551. 3071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ
  4552. 3072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG
  4553. 3073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ
  4554. 3074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ
  4555. 3075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG
  4556. 3076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ
  4557. 3077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ
  4558. 3078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG
  4559. 3079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ
  4560. 3080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ
  4561. 3081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG
  4562. 3082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ
  4563. 3083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ
  4564. 3084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG
  4565. 3085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ
  4566. 3086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ
  4567. 3087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG
  4568. 3088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ
  4569. 3089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ
  4570. 3090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG
  4571. 3091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ
  4572. 3092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ
  4573. 3093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG
  4574. 3094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ
  4575. 3095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ
  4576. 3096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG
  4577. 3097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ
  4578. 3098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ
  4579. 3099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG
  4580. 3100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ
  4581. 3101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ
  4582. 3102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG
  4583. ARM GAS /tmp/ccc82m4X.s page 80
  4584. 3103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ
  4585. 3104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ
  4586. 3105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG
  4587. 3106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ
  4588. 3107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ
  4589. 3108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4590. 3109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDMonitChannels(ADC_TypeDef *ADCx)
  4591. 3110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4592. 3111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, (ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_AWDSGL | ADC_CR1_
  4593. 3112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4594. 3113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4595. 3114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4596. 3115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC analog watchdog threshold value of threshold
  4597. 3116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * high or low.
  4598. 3117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, there is only 1 kind of analog watchdog
  4599. 3118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instance:
  4600. 3119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - AWD standard (instance AWD1):
  4601. 3120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
  4602. 3121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
  4603. 3122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
  4604. 3123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC resolution configured).
  4605. 3124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll HTR HT LL_ADC_SetAnalogWDThresholds\n
  4606. 3125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LTR LT LL_ADC_SetAnalogWDThresholds
  4607. 3126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4608. 3127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDThresholdsHighLow This parameter can be one of the following values:
  4609. 3128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH
  4610. 3129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_LOW
  4611. 3130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDThresholdValue: Value between Min_Data=0x000 and Max_Data=0xFFF
  4612. 3131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4613. 3132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4614. 3133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDThresholdsHighLow,
  4615. 3134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4616. 3135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->HTR, AWDThresholdsHighLow);
  4617. 3136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4618. 3137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg,
  4619. 3138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_HTR_HT,
  4620. 3139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** AWDThresholdValue);
  4621. 3140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4622. 3141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4623. 3142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4624. 3143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC analog watchdog threshold value of threshold high or
  4625. 3144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * threshold low.
  4626. 3145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of ADC resolution different of 12 bits,
  4627. 3146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * analog watchdog thresholds data require a specific shift.
  4628. 3147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Use helper macro @ref __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION().
  4629. 3148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll HTR HT LL_ADC_GetAnalogWDThresholds\n
  4630. 3149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LTR LT LL_ADC_GetAnalogWDThresholds
  4631. 3150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4632. 3151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDThresholdsHighLow This parameter can be one of the following values:
  4633. 3152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH
  4634. 3153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_LOW
  4635. 3154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
  4636. 3155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4637. 3156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDThresholdsHigh
  4638. 3157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4639. 3158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->HTR, AWDThresholdsHighLow);
  4640. 3159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4641. ARM GAS /tmp/ccc82m4X.s page 81
  4642. 3160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg, ADC_HTR_HT));
  4643. 3161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4644. 3162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4645. 3163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4646. 3164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  4647. 3165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4648. 3166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4649. 3167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Multimode Configuration of ADC hierarchical scope: multim
  4650. 3168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  4651. 3169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4652. 3170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4653. 3171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT)
  4654. 3172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4655. 3173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC multimode configuration to operate in independent mode
  4656. 3174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or multimode (for devices with several ADC instances).
  4657. 3175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If multimode configuration: the selected ADC instance is
  4658. 3176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * either master or slave depending on hardware.
  4659. 3177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual.
  4660. 3178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DUALMOD LL_ADC_SetMultimode
  4661. 3179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
  4662. 3180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  4663. 3181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Multimode This parameter can be one of the following values:
  4664. 3182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_INDEPENDENT
  4665. 3183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT
  4666. 3184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_FAST
  4667. 3185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_SLOW
  4668. 3186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT
  4669. 3187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN
  4670. 3188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM
  4671. 3189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT
  4672. 3190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM
  4673. 3191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM
  4674. 3192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4675. 3193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4676. 3194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetMultimode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Multimode)
  4677. 3195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4678. 3196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CR1, ADC_CR1_DUALMOD, Multimode);
  4679. 3197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4680. 3198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4681. 3199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4682. 3200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC multimode configuration to operate in independent mode
  4683. 3201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or multimode (for devices with several ADC instances).
  4684. 3202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If multimode configuration: the selected ADC instance is
  4685. 3203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * either master or slave depending on hardware.
  4686. 3204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual.
  4687. 3205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DUALMOD LL_ADC_GetMultimode
  4688. 3206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
  4689. 3207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
  4690. 3208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values:
  4691. 3209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_INDEPENDENT
  4692. 3210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT
  4693. 3211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_FAST
  4694. 3212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_SLOW
  4695. 3213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT
  4696. 3214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN
  4697. 3215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM
  4698. 3216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT
  4699. ARM GAS /tmp/ccc82m4X.s page 82
  4700. 3217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM
  4701. 3218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM
  4702. 3219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4703. 3220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetMultimode(ADC_Common_TypeDef *ADCxy_COMMON)
  4704. 3221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4705. 3222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CR1, ADC_CR1_DUALMOD));
  4706. 3223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4707. 3224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4708. 3225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* ADC_MULTIMODE_SUPPORT */
  4709. 3226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4710. 3227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4711. 3228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @}
  4712. 3229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4713. 3230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Operation_ADC_Instance Operation on ADC hierarchical scope: ADC instance
  4714. 3231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{
  4715. 3232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4716. 3233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4717. 3234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4718. 3235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Enable the selected ADC instance.
  4719. 3236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, after ADC enable, a delay for
  4720. 3237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC internal analog stabilization is required before performing a
  4721. 3238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion start.
  4722. 3239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet, parameter tSTAB.
  4723. 3240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ADON LL_ADC_Enable
  4724. 3241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4725. 3242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4726. 3243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4727. 3244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_Enable(ADC_TypeDef *ADCx)
  4728. 3245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4729. 3246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** SET_BIT(ADCx->CR2, ADC_CR2_ADON);
  4730. 3247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4731. 3248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4732. 3249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4733. 3250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Disable the selected ADC instance.
  4734. 3251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ADON LL_ADC_Disable
  4735. 3252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4736. 3253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None
  4737. 3254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4738. 3255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_Disable(ADC_TypeDef *ADCx)
  4739. 3256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4740. 3257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** CLEAR_BIT(ADCx->CR2, ADC_CR2_ADON);
  4741. 3258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4742. 3259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h ****
  4743. 3260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /**
  4744. 3261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get the selected ADC instance enable state.
  4745. 3262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ADON LL_ADC_IsEnabled
  4746. 3263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance
  4747. 3264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval 0: ADC is disabled, 1: ADC is enabled.
  4748. 3265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */
  4749. 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsEnabled(ADC_TypeDef *ADCx)
  4750. 97 .loc 3 3266 26 view .LVU18
  4751. 98 .LBB33:
  4752. 3267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4753. 3268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (READ_BIT(ADCx->CR2, ADC_CR2_ADON) == (ADC_CR2_ADON));
  4754. 99 .loc 3 3268 3 view .LVU19
  4755. 100 .loc 3 3268 11 is_stmt 0 view .LVU20
  4756. 101 0000 0C4B ldr r3, .L8
  4757. ARM GAS /tmp/ccc82m4X.s page 83
  4758. 102 0002 9A68 ldr r2, [r3, #8]
  4759. 103 .LVL5:
  4760. 104 .loc 3 3268 11 view .LVU21
  4761. 105 .LBE33:
  4762. 106 .LBE32:
  4763. 107 .LBB34:
  4764. 108 .LBI34:
  4765. 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4766. 109 .loc 3 3266 26 is_stmt 1 view .LVU22
  4767. 110 .LBB35:
  4768. 111 .loc 3 3268 3 view .LVU23
  4769. 112 .loc 3 3268 11 is_stmt 0 view .LVU24
  4770. 113 0004 03F58063 add r3, r3, #1024
  4771. 114 0008 9B68 ldr r3, [r3, #8]
  4772. 115 .LVL6:
  4773. 116 .loc 3 3268 11 view .LVU25
  4774. 117 .LBE35:
  4775. 118 .LBE34:
  4776. 119 .loc 1 323 5 view .LVU26
  4777. 120 000a 1343 orrs r3, r3, r2
  4778. 121 000c 13F0010F tst r3, #1
  4779. 122 0010 0ED1 bne .L7
  4780. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4781. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */
  4782. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - common to several ADC */
  4783. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (all ADC instances belonging to the same ADC common instance) */
  4784. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - multimode (if several ADC instances available on the */
  4785. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* selected device) */
  4786. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC multimode configuration */
  4787. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC multimode DMA transfer */
  4788. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC multimode: delay between 2 sampling phases */
  4789. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT)
  4790. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_CommonInitStruct->Multimode != LL_ADC_MULTI_INDEPENDENT)
  4791. 123 .loc 1 334 5 is_stmt 1 view .LVU27
  4792. 124 .loc 1 334 28 is_stmt 0 view .LVU28
  4793. 125 0012 0B68 ldr r3, [r1]
  4794. 126 .loc 1 334 7 view .LVU29
  4795. 127 0014 33B1 cbz r3, .L6
  4796. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4797. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCxy_COMMON->CR1,
  4798. 128 .loc 1 336 7 is_stmt 1 view .LVU30
  4799. 129 0016 4268 ldr r2, [r0, #4]
  4800. 130 0018 22F47022 bic r2, r2, #983040
  4801. 131 001c 1343 orrs r3, r3, r2
  4802. 132 001e 4360 str r3, [r0, #4]
  4803. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4804. 133 .loc 1 310 15 is_stmt 0 view .LVU31
  4805. 134 0020 0020 movs r0, #0
  4806. 135 .LVL7:
  4807. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4808. 136 .loc 1 310 15 view .LVU32
  4809. 137 0022 7047 bx lr
  4810. 138 .LVL8:
  4811. 139 .L6:
  4812. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DUALMOD,
  4813. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CommonInitStruct->Multimode
  4814. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  4815. ARM GAS /tmp/ccc82m4X.s page 84
  4816. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  4817. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  4818. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4819. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCxy_COMMON->CR1,
  4820. 140 .loc 1 343 7 is_stmt 1 view .LVU33
  4821. 141 0024 4368 ldr r3, [r0, #4]
  4822. 142 0026 23F47023 bic r3, r3, #983040
  4823. 143 002a 4360 str r3, [r0, #4]
  4824. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4825. 144 .loc 1 310 15 is_stmt 0 view .LVU34
  4826. 145 002c 0020 movs r0, #0
  4827. 146 .LVL9:
  4828. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4829. 147 .loc 1 310 15 view .LVU35
  4830. 148 002e 7047 bx lr
  4831. 149 .LVL10:
  4832. 150 .L7:
  4833. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DUALMOD,
  4834. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_MULTI_INDEPENDENT
  4835. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  4836. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  4837. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  4838. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  4839. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  4840. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4841. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: One or several ADC instances belonging to */
  4842. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* the same ADC common instance are not disabled. */
  4843. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR;
  4844. 151 .loc 1 354 12 view .LVU36
  4845. 152 0030 0120 movs r0, #1
  4846. 153 .LVL11:
  4847. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  4848. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4849. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status;
  4850. 154 .loc 1 357 3 is_stmt 1 view .LVU37
  4851. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  4852. 155 .loc 1 358 1 is_stmt 0 view .LVU38
  4853. 156 0032 7047 bx lr
  4854. 157 .L9:
  4855. 158 .align 2
  4856. 159 .L8:
  4857. 160 0034 00240140 .word 1073816576
  4858. 161 .cfi_endproc
  4859. 162 .LFE157:
  4860. 164 .section .text.LL_ADC_CommonStructInit,"ax",%progbits
  4861. 165 .align 1
  4862. 166 .global LL_ADC_CommonStructInit
  4863. 167 .syntax unified
  4864. 168 .thumb
  4865. 169 .thumb_func
  4866. 171 LL_ADC_CommonStructInit:
  4867. 172 .LVL12:
  4868. 173 .LFB158:
  4869. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4870. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  4871. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_CommonInitTypeDef field to default value.
  4872. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_CommonInitStruct Pointer to a @ref LL_ADC_CommonInitTypeDef structure
  4873. ARM GAS /tmp/ccc82m4X.s page 85
  4874. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values.
  4875. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None
  4876. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  4877. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_CommonStructInit(LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct)
  4878. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4879. 174 .loc 1 367 1 is_stmt 1 view -0
  4880. 175 .cfi_startproc
  4881. 176 @ args = 0, pretend = 0, frame = 0
  4882. 177 @ frame_needed = 0, uses_anonymous_args = 0
  4883. 178 @ link register save eliminated.
  4884. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_CommonInitStruct fields to default values */
  4885. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC common */
  4886. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (all ADC instances belonging to the same ADC common instance) */
  4887. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4888. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT)
  4889. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC multimode */
  4890. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CommonInitStruct->Multimode = LL_ADC_MULTI_INDEPENDENT;
  4891. 179 .loc 1 374 3 view .LVU40
  4892. 180 .loc 1 374 47 is_stmt 0 view .LVU41
  4893. 181 0000 0023 movs r3, #0
  4894. 182 0002 0360 str r3, [r0]
  4895. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif /* ADC_MULTIMODE_SUPPORT */
  4896. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  4897. 183 .loc 1 376 1 view .LVU42
  4898. 184 0004 7047 bx lr
  4899. 185 .cfi_endproc
  4900. 186 .LFE158:
  4901. 188 .section .text.LL_ADC_DeInit,"ax",%progbits
  4902. 189 .align 1
  4903. 190 .global LL_ADC_DeInit
  4904. 191 .syntax unified
  4905. 192 .thumb
  4906. 193 .thumb_func
  4907. 195 LL_ADC_DeInit:
  4908. 196 .LVL13:
  4909. 197 .LFB159:
  4910. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4911. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  4912. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief De-initialize registers of the selected ADC instance
  4913. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * to their default reset values.
  4914. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note To reset all ADC instances quickly (perform a hard reset),
  4915. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * use function @ref LL_ADC_CommonDeInit().
  4916. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance
  4917. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value:
  4918. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are de-initialized
  4919. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not de-initialized
  4920. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  4921. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx)
  4922. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4923. 198 .loc 1 389 1 is_stmt 1 view -0
  4924. 199 .cfi_startproc
  4925. 200 @ args = 0, pretend = 0, frame = 0
  4926. 201 @ frame_needed = 0, uses_anonymous_args = 0
  4927. 202 @ link register save eliminated.
  4928. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  4929. 203 .loc 1 390 3 view .LVU44
  4930. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4931. ARM GAS /tmp/ccc82m4X.s page 86
  4932. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */
  4933. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx));
  4934. 204 .loc 1 393 3 view .LVU45
  4935. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4936. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Disable ADC instance if not already disabled. */
  4937. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 1U)
  4938. 205 .loc 1 396 3 view .LVU46
  4939. 206 .LBB36:
  4940. 207 .LBI36:
  4941. 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4942. 208 .loc 3 3266 26 view .LVU47
  4943. 209 .LBB37:
  4944. 210 .loc 3 3268 3 view .LVU48
  4945. 211 .loc 3 3268 11 is_stmt 0 view .LVU49
  4946. 212 0000 8368 ldr r3, [r0, #8]
  4947. 213 .LVL14:
  4948. 214 .loc 3 3268 11 view .LVU50
  4949. 215 .LBE37:
  4950. 216 .LBE36:
  4951. 217 .loc 1 396 5 view .LVU51
  4952. 218 0002 13F0010F tst r3, #1
  4953. 219 0006 0BD0 beq .L12
  4954. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  4955. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC group regular trigger source to SW start to ensure to not */
  4956. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* have an external trigger event occurring during the conversion stop */
  4957. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC disable process. */
  4958. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_REG_SetTriggerSource(ADCx, LL_ADC_REG_TRIG_SOFTWARE);
  4959. 220 .loc 1 401 5 is_stmt 1 view .LVU52
  4960. 221 .LVL15:
  4961. 222 .LBB38:
  4962. 223 .LBI38:
  4963. 1814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4964. 224 .loc 3 1814 22 view .LVU53
  4965. 225 .LBB39:
  4966. 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4967. 226 .loc 3 1821 3 view .LVU54
  4968. 227 0008 8368 ldr r3, [r0, #8]
  4969. 228 000a 43F46023 orr r3, r3, #917504
  4970. 229 000e 8360 str r3, [r0, #8]
  4971. 230 .LVL16:
  4972. 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4973. 231 .loc 3 1821 3 is_stmt 0 view .LVU55
  4974. 232 .LBE39:
  4975. 233 .LBE38:
  4976. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4977. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC group injected trigger source to SW start to ensure to not */
  4978. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* have an external trigger event occurring during the conversion stop */
  4979. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC disable process. */
  4980. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_INJ_SetTriggerSource(ADCx, LL_ADC_INJ_TRIG_SOFTWARE);
  4981. 234 .loc 1 406 5 is_stmt 1 view .LVU56
  4982. 235 .LBB40:
  4983. 236 .LBI40:
  4984. 2375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  4985. 237 .loc 3 2375 22 view .LVU57
  4986. 238 .LBB41:
  4987. 2382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4988. 239 .loc 3 2382 3 view .LVU58
  4989. ARM GAS /tmp/ccc82m4X.s page 87
  4990. 240 0010 8368 ldr r3, [r0, #8]
  4991. 241 0012 43F4E043 orr r3, r3, #28672
  4992. 242 0016 8360 str r3, [r0, #8]
  4993. 243 .LVL17:
  4994. 2382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  4995. 244 .loc 3 2382 3 is_stmt 0 view .LVU59
  4996. 245 .LBE41:
  4997. 246 .LBE40:
  4998. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  4999. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Disable the ADC instance */
  5000. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_Disable(ADCx);
  5001. 247 .loc 1 409 5 is_stmt 1 view .LVU60
  5002. 248 .LBB42:
  5003. 249 .LBI42:
  5004. 3255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  5005. 250 .loc 3 3255 22 view .LVU61
  5006. 251 .LBB43:
  5007. 3257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5008. 252 .loc 3 3257 3 view .LVU62
  5009. 253 0018 8368 ldr r3, [r0, #8]
  5010. 254 001a 23F00103 bic r3, r3, #1
  5011. 255 001e 8360 str r3, [r0, #8]
  5012. 256 .LVL18:
  5013. 257 .L12:
  5014. 3257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5015. 258 .loc 3 3257 3 is_stmt 0 view .LVU63
  5016. 259 .LBE43:
  5017. 260 .LBE42:
  5018. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5019. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5020. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check whether ADC state is compliant with expected state */
  5021. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (hardware requirements of bits state to reset registers below) */
  5022. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(READ_BIT(ADCx->CR2, ADC_CR2_ADON) == 0U)
  5023. 261 .loc 1 414 3 is_stmt 1 view .LVU64
  5024. 262 .loc 1 414 6 is_stmt 0 view .LVU65
  5025. 263 0020 8368 ldr r3, [r0, #8]
  5026. 264 .loc 1 414 5 view .LVU66
  5027. 265 0022 13F0010F tst r3, #1
  5028. 266 0026 47D1 bne .L13
  5029. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5030. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ========== Reset ADC registers ========== */
  5031. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SR */
  5032. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SR,
  5033. 267 .loc 1 418 5 is_stmt 1 view .LVU67
  5034. 268 0028 0368 ldr r3, [r0]
  5035. 269 002a 23F01F03 bic r3, r3, #31
  5036. 270 002e 0360 str r3, [r0]
  5037. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( LL_ADC_FLAG_STRT
  5038. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_JSTRT
  5039. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_EOS
  5040. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_JEOS
  5041. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_AWD1 )
  5042. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5043. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5044. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register CR1 */
  5045. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (STM32F103x6) || defined (STM32F103xB) || defined (STM32F105xC) || defined (STM32F107
  5046. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5047. ARM GAS /tmp/ccc82m4X.s page 88
  5048. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->CR1,
  5049. 271 .loc 1 429 5 view .LVU68
  5050. 272 0030 4268 ldr r2, [r0, #4]
  5051. 273 0032 224B ldr r3, .L14
  5052. 274 0034 1340 ands r3, r3, r2
  5053. 275 0036 4360 str r3, [r0, #4]
  5054. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_DUALMOD
  5055. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_DISCNUM | ADC_CR1_JDISCEN | ADC_CR1_DISCEN
  5056. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JAUTO | ADC_CR1_AWDSGL | ADC_CR1_SCAN
  5057. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JEOCIE | ADC_CR1_AWDIE | ADC_CR1_EOCIE
  5058. 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_AWDCH )
  5059. 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5060. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  5061. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5062. 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->CR1,
  5063. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_DISCNUM
  5064. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JDISCEN | ADC_CR1_DISCEN | ADC_CR1_JAUTO
  5065. 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_AWDSGL | ADC_CR1_SCAN | ADC_CR1_JEOCIE
  5066. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_AWDIE | ADC_CR1_EOCIE | ADC_CR1_AWDCH )
  5067. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5068. 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  5069. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5070. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register CR2 */
  5071. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->CR2,
  5072. 276 .loc 1 447 5 view .LVU69
  5073. 277 0038 8268 ldr r2, [r0, #8]
  5074. 278 003a 214B ldr r3, .L14+4
  5075. 279 003c 1340 ands r3, r3, r2
  5076. 280 003e 8360 str r3, [r0, #8]
  5077. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_CR2_TSVREFE
  5078. 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_SWSTART | ADC_CR2_EXTTRIG | ADC_CR2_EXTSEL
  5079. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_JSWSTART | ADC_CR2_JEXTTRIG | ADC_CR2_JEXTSEL
  5080. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_ALIGN | ADC_CR2_DMA
  5081. 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_RSTCAL | ADC_CR2_CAL
  5082. 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_CONT | ADC_CR2_ADON )
  5083. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5084. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5085. 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SMPR1 */
  5086. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SMPR1,
  5087. 281 .loc 1 457 5 view .LVU70
  5088. 282 0040 C368 ldr r3, [r0, #12]
  5089. 283 0042 03F07F43 and r3, r3, #-16777216
  5090. 284 0046 C360 str r3, [r0, #12]
  5091. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SMPR1_SMP17 | ADC_SMPR1_SMP16
  5092. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR1_SMP15 | ADC_SMPR1_SMP14 | ADC_SMPR1_SMP13
  5093. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR1_SMP12 | ADC_SMPR1_SMP11 | ADC_SMPR1_SMP10)
  5094. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5095. 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5096. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SMPR2 */
  5097. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SMPR2,
  5098. 285 .loc 1 464 5 view .LVU71
  5099. 286 0048 0369 ldr r3, [r0, #16]
  5100. 287 004a 03F04043 and r3, r3, #-1073741824
  5101. 288 004e 0361 str r3, [r0, #16]
  5102. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SMPR2_SMP9
  5103. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR2_SMP8 | ADC_SMPR2_SMP7 | ADC_SMPR2_SMP6
  5104. 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR2_SMP5 | ADC_SMPR2_SMP4 | ADC_SMPR2_SMP3
  5105. ARM GAS /tmp/ccc82m4X.s page 89
  5106. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR2_SMP2 | ADC_SMPR2_SMP1 | ADC_SMPR2_SMP0)
  5107. 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5108. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5109. 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR1 */
  5110. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR1, ADC_JOFR1_JOFFSET1);
  5111. 289 .loc 1 472 5 view .LVU72
  5112. 290 0050 4369 ldr r3, [r0, #20]
  5113. 291 0052 23F47F63 bic r3, r3, #4080
  5114. 292 0056 23F00F03 bic r3, r3, #15
  5115. 293 005a 4361 str r3, [r0, #20]
  5116. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR2 */
  5117. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR2, ADC_JOFR2_JOFFSET2);
  5118. 294 .loc 1 474 5 view .LVU73
  5119. 295 005c 8369 ldr r3, [r0, #24]
  5120. 296 005e 23F47F63 bic r3, r3, #4080
  5121. 297 0062 23F00F03 bic r3, r3, #15
  5122. 298 0066 8361 str r3, [r0, #24]
  5123. 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR3 */
  5124. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR3, ADC_JOFR3_JOFFSET3);
  5125. 299 .loc 1 476 5 view .LVU74
  5126. 300 0068 C369 ldr r3, [r0, #28]
  5127. 301 006a 23F47F63 bic r3, r3, #4080
  5128. 302 006e 23F00F03 bic r3, r3, #15
  5129. 303 0072 C361 str r3, [r0, #28]
  5130. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR4 */
  5131. 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR4, ADC_JOFR4_JOFFSET4);
  5132. 304 .loc 1 478 5 view .LVU75
  5133. 305 0074 036A ldr r3, [r0, #32]
  5134. 306 0076 23F47F63 bic r3, r3, #4080
  5135. 307 007a 23F00F03 bic r3, r3, #15
  5136. 308 007e 0362 str r3, [r0, #32]
  5137. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5138. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register HTR */
  5139. 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** SET_BIT(ADCx->HTR, ADC_HTR_HT);
  5140. 309 .loc 1 481 5 view .LVU76
  5141. 310 0080 436A ldr r3, [r0, #36]
  5142. 311 0082 6FEA1333 mvn r3, r3, lsr #12
  5143. 312 0086 6FEA0333 mvn r3, r3, lsl #12
  5144. 313 008a 4362 str r3, [r0, #36]
  5145. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register LTR */
  5146. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->LTR, ADC_LTR_LT);
  5147. 314 .loc 1 483 5 view .LVU77
  5148. 315 008c 836A ldr r3, [r0, #40]
  5149. 316 008e 23F47F63 bic r3, r3, #4080
  5150. 317 0092 23F00F03 bic r3, r3, #15
  5151. 318 0096 8362 str r3, [r0, #40]
  5152. 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5153. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SQR1 */
  5154. 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SQR1,
  5155. 319 .loc 1 486 5 view .LVU78
  5156. 320 0098 C36A ldr r3, [r0, #44]
  5157. 321 009a 03F07F43 and r3, r3, #-16777216
  5158. 322 009e C362 str r3, [r0, #44]
  5159. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SQR1_L
  5160. 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR1_SQ16
  5161. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR1_SQ15 | ADC_SQR1_SQ14 | ADC_SQR1_SQ13)
  5162. 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5163. ARM GAS /tmp/ccc82m4X.s page 90
  5164. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5165. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SQR2 */
  5166. 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SQR2,
  5167. 323 .loc 1 493 5 view .LVU79
  5168. 324 00a0 036B ldr r3, [r0, #48]
  5169. 325 00a2 03F04043 and r3, r3, #-1073741824
  5170. 326 00a6 0363 str r3, [r0, #48]
  5171. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SQR2_SQ12 | ADC_SQR2_SQ11 | ADC_SQR2_SQ10
  5172. 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR2_SQ9 | ADC_SQR2_SQ8 | ADC_SQR2_SQ7)
  5173. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5174. 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5175. 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SQR3 */
  5176. 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SQR3,
  5177. 327 .loc 1 499 5 view .LVU80
  5178. 328 00a8 436B ldr r3, [r0, #52]
  5179. 329 00aa 03F04043 and r3, r3, #-1073741824
  5180. 330 00ae 4363 str r3, [r0, #52]
  5181. 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SQR3_SQ6 | ADC_SQR3_SQ5 | ADC_SQR3_SQ4
  5182. 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR3_SQ3 | ADC_SQR3_SQ2 | ADC_SQR3_SQ1)
  5183. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5184. 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5185. 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JSQR */
  5186. 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JSQR,
  5187. 331 .loc 1 505 5 view .LVU81
  5188. 332 00b0 836B ldr r3, [r0, #56]
  5189. 333 00b2 9B0D lsrs r3, r3, #22
  5190. 334 00b4 9B05 lsls r3, r3, #22
  5191. 335 00b6 8363 str r3, [r0, #56]
  5192. 336 .L13:
  5193. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_JSQR_JL
  5194. 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3
  5195. 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_JSQR_JSQ2 | ADC_JSQR_JSQ1 )
  5196. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5197. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5198. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register DR */
  5199. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* bits in access mode read only, no direct reset applicable */
  5200. 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5201. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset registers JDR1, JDR2, JDR3, JDR4 */
  5202. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* bits in access mode read only, no direct reset applicable */
  5203. 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5204. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5205. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5206. 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status;
  5207. 337 .loc 1 519 3 view .LVU82
  5208. 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5209. 338 .loc 1 520 1 is_stmt 0 view .LVU83
  5210. 339 00b8 0020 movs r0, #0
  5211. 340 .LVL19:
  5212. 341 .loc 1 520 1 view .LVU84
  5213. 342 00ba 7047 bx lr
  5214. 343 .L15:
  5215. 344 .align 2
  5216. 345 .L14:
  5217. 346 00bc 000030FF .word -13631488
  5218. 347 00c0 F00601FF .word -16709904
  5219. 348 .cfi_endproc
  5220. 349 .LFE159:
  5221. ARM GAS /tmp/ccc82m4X.s page 91
  5222. 351 .section .text.LL_ADC_Init,"ax",%progbits
  5223. 352 .align 1
  5224. 353 .global LL_ADC_Init
  5225. 354 .syntax unified
  5226. 355 .thumb
  5227. 356 .thumb_func
  5228. 358 LL_ADC_Init:
  5229. 359 .LVL20:
  5230. 360 .LFB160:
  5231. 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5232. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  5233. 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC instance.
  5234. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note These parameters have an impact on ADC scope: ADC instance.
  5235. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Affects both group regular and group injected (availability
  5236. 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * of ADC group injected depends on STM32 families).
  5237. 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to corresponding unitary functions into
  5238. 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @ref ADC_LL_EF_Configuration_ADC_Instance .
  5239. 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of these parameters by function @ref LL_ADC_Init()
  5240. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * is conditioned to ADC state:
  5241. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instance must be disabled.
  5242. 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This condition is applied to all ADC features, for efficiency
  5243. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and compatibility over all STM32 families. However, the different
  5244. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * features can be set under different ADC state conditions
  5245. 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (setting possible with ADC enabled without conversion on going,
  5246. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC enabled with conversion on going, ...)
  5247. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Each feature can be updated afterwards with a unitary function
  5248. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and potentially with ADC in a different state than disabled,
  5249. 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * refer to description of each function for setting
  5250. 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * conditioned to ADC state.
  5251. 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note After using this function, some other features must be configured
  5252. 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * using LL unitary functions.
  5253. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * The minimum configuration remaining to be done is:
  5254. 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC group regular or group injected sequencer:
  5255. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * map channel on the selected sequencer rank.
  5256. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function @ref LL_ADC_REG_SetSequencerRanks().
  5257. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC channel sampling time
  5258. 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function LL_ADC_SetChannelSamplingTime();
  5259. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance
  5260. 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure
  5261. 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value:
  5262. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are initialized
  5263. 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not initialized
  5264. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  5265. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_Init(ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct)
  5266. 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5267. 361 .loc 1 556 1 is_stmt 1 view -0
  5268. 362 .cfi_startproc
  5269. 363 @ args = 0, pretend = 0, frame = 0
  5270. 364 @ frame_needed = 0, uses_anonymous_args = 0
  5271. 365 @ link register save eliminated.
  5272. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  5273. 366 .loc 1 557 3 view .LVU86
  5274. 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5275. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */
  5276. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx));
  5277. 367 .loc 1 560 3 view .LVU87
  5278. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5279. ARM GAS /tmp/ccc82m4X.s page 92
  5280. 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_DATA_ALIGN(ADC_InitStruct->DataAlignment));
  5281. 368 .loc 1 562 3 view .LVU88
  5282. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_SCAN_SELECTION(ADC_InitStruct->SequencersScanMode));
  5283. 369 .loc 1 563 3 view .LVU89
  5284. 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5285. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */
  5286. 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance must be disabled. */
  5287. 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 0U)
  5288. 370 .loc 1 567 3 view .LVU90
  5289. 371 .LBB44:
  5290. 372 .LBI44:
  5291. 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  5292. 373 .loc 3 3266 26 view .LVU91
  5293. 374 .LBB45:
  5294. 375 .loc 3 3268 3 view .LVU92
  5295. 376 .loc 3 3268 11 is_stmt 0 view .LVU93
  5296. 377 0000 8368 ldr r3, [r0, #8]
  5297. 378 .LVL21:
  5298. 379 .loc 3 3268 11 view .LVU94
  5299. 380 .LBE45:
  5300. 381 .LBE44:
  5301. 382 .loc 1 567 5 view .LVU95
  5302. 383 0002 13F0010F tst r3, #1
  5303. 384 0006 0DD1 bne .L18
  5304. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5305. 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */
  5306. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - ADC instance */
  5307. 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC conversion data alignment */
  5308. 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1,
  5309. 385 .loc 1 572 5 is_stmt 1 view .LVU96
  5310. 386 0008 4368 ldr r3, [r0, #4]
  5311. 387 000a 23F48073 bic r3, r3, #256
  5312. 388 000e 4A68 ldr r2, [r1, #4]
  5313. 389 0010 1343 orrs r3, r3, r2
  5314. 390 0012 4360 str r3, [r0, #4]
  5315. 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_SCAN
  5316. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5317. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->SequencersScanMode
  5318. 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5319. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5320. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR2,
  5321. 391 .loc 1 578 5 view .LVU97
  5322. 392 0014 8368 ldr r3, [r0, #8]
  5323. 393 0016 23F40063 bic r3, r3, #2048
  5324. 394 001a 0A68 ldr r2, [r1]
  5325. 395 001c 1343 orrs r3, r3, r2
  5326. 396 001e 8360 str r3, [r0, #8]
  5327. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5328. 397 .loc 1 557 15 is_stmt 0 view .LVU98
  5329. 398 0020 0020 movs r0, #0
  5330. 399 .LVL22:
  5331. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5332. 400 .loc 1 557 15 view .LVU99
  5333. 401 0022 7047 bx lr
  5334. 402 .LVL23:
  5335. 403 .L18:
  5336. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR2_ALIGN
  5337. ARM GAS /tmp/ccc82m4X.s page 93
  5338. 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5339. 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->DataAlignment
  5340. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5341. 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5342. 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5343. 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  5344. 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5345. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: ADC instance is not disabled. */
  5346. 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR;
  5347. 404 .loc 1 588 12 view .LVU100
  5348. 405 0024 0120 movs r0, #1
  5349. 406 .LVL24:
  5350. 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5351. 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status;
  5352. 407 .loc 1 590 3 is_stmt 1 view .LVU101
  5353. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5354. 408 .loc 1 591 1 is_stmt 0 view .LVU102
  5355. 409 0026 7047 bx lr
  5356. 410 .cfi_endproc
  5357. 411 .LFE160:
  5358. 413 .section .text.LL_ADC_StructInit,"ax",%progbits
  5359. 414 .align 1
  5360. 415 .global LL_ADC_StructInit
  5361. 416 .syntax unified
  5362. 417 .thumb
  5363. 418 .thumb_func
  5364. 420 LL_ADC_StructInit:
  5365. 421 .LVL25:
  5366. 422 .LFB161:
  5367. 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5368. 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  5369. 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_InitTypeDef field to default value.
  5370. 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_InitStruct Pointer to a @ref LL_ADC_InitTypeDef structure
  5371. 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values.
  5372. 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None
  5373. 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  5374. 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_StructInit(LL_ADC_InitTypeDef *ADC_InitStruct)
  5375. 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5376. 423 .loc 1 600 1 is_stmt 1 view -0
  5377. 424 .cfi_startproc
  5378. 425 @ args = 0, pretend = 0, frame = 0
  5379. 426 @ frame_needed = 0, uses_anonymous_args = 0
  5380. 427 @ link register save eliminated.
  5381. 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_InitStruct fields to default values */
  5382. 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC instance */
  5383. 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->DataAlignment = LL_ADC_DATA_ALIGN_RIGHT;
  5384. 428 .loc 1 603 3 view .LVU104
  5385. 429 .loc 1 603 33 is_stmt 0 view .LVU105
  5386. 430 0000 0023 movs r3, #0
  5387. 431 0002 0360 str r3, [r0]
  5388. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5389. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Enable scan mode to have a generic behavior with ADC of other */
  5390. 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* STM32 families, without this setting available: */
  5391. 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group regular sequencer and ADC group injected sequencer depend */
  5392. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* only of their own configuration. */
  5393. 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->SequencersScanMode = LL_ADC_SEQ_SCAN_ENABLE;
  5394. 432 .loc 1 609 3 is_stmt 1 view .LVU106
  5395. ARM GAS /tmp/ccc82m4X.s page 94
  5396. 433 .loc 1 609 43 is_stmt 0 view .LVU107
  5397. 434 0004 4FF48073 mov r3, #256
  5398. 435 0008 4360 str r3, [r0, #4]
  5399. 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5400. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5401. 436 .loc 1 611 1 view .LVU108
  5402. 437 000a 7047 bx lr
  5403. 438 .cfi_endproc
  5404. 439 .LFE161:
  5405. 441 .section .text.LL_ADC_REG_Init,"ax",%progbits
  5406. 442 .align 1
  5407. 443 .global LL_ADC_REG_Init
  5408. 444 .syntax unified
  5409. 445 .thumb
  5410. 446 .thumb_func
  5411. 448 LL_ADC_REG_Init:
  5412. 449 .LVL26:
  5413. 450 .LFB162:
  5414. 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5415. 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  5416. 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC group regular.
  5417. 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note These parameters have an impact on ADC scope: ADC group regular.
  5418. 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to corresponding unitary functions into
  5419. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular
  5420. 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (functions with prefix "REG").
  5421. 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of these parameters by function @ref LL_ADC_Init()
  5422. 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * is conditioned to ADC state:
  5423. 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instance must be disabled.
  5424. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This condition is applied to all ADC features, for efficiency
  5425. 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and compatibility over all STM32 families. However, the different
  5426. 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * features can be set under different ADC state conditions
  5427. 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (setting possible with ADC enabled without conversion on going,
  5428. 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC enabled with conversion on going, ...)
  5429. 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Each feature can be updated afterwards with a unitary function
  5430. 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and potentially with ADC in a different state than disabled,
  5431. 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * refer to description of each function for setting
  5432. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * conditioned to ADC state.
  5433. 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note After using this function, other features must be configured
  5434. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * using LL unitary functions.
  5435. 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * The minimum configuration remaining to be done is:
  5436. 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC group regular or group injected sequencer:
  5437. 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * map channel on the selected sequencer rank.
  5438. 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function @ref LL_ADC_REG_SetSequencerRanks().
  5439. 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC channel sampling time
  5440. 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function LL_ADC_SetChannelSamplingTime();
  5441. 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance
  5442. 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_REG_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure
  5443. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value:
  5444. 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are initialized
  5445. 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not initialized
  5446. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  5447. 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_REG_Init(ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct)
  5448. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5449. 451 .loc 1 646 1 is_stmt 1 view -0
  5450. 452 .cfi_startproc
  5451. 453 @ args = 0, pretend = 0, frame = 0
  5452. 454 @ frame_needed = 0, uses_anonymous_args = 0
  5453. ARM GAS /tmp/ccc82m4X.s page 95
  5454. 455 @ link register save eliminated.
  5455. 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  5456. 456 .loc 1 647 3 view .LVU110
  5457. 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5458. 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */
  5459. 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx));
  5460. 457 .loc 1 650 3 view .LVU111
  5461. 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3)
  5462. 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_TRIG_SOURCE(ADCx, ADC_REG_InitStruct->TriggerSource));
  5463. 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  5464. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_TRIG_SOURCE(ADC_REG_InitStruct->TriggerSource));
  5465. 458 .loc 1 654 3 view .LVU112
  5466. 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  5467. 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_SEQ_SCAN_LENGTH(ADC_REG_InitStruct->SequencerLength));
  5468. 459 .loc 1 656 3 view .LVU113
  5469. 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE)
  5470. 460 .loc 1 657 3 view .LVU114
  5471. 461 .loc 1 657 24 is_stmt 0 view .LVU115
  5472. 462 0000 4B68 ldr r3, [r1, #4]
  5473. 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5474. 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_SEQ_SCAN_DISCONT_MODE(ADC_REG_InitStruct->SequencerDiscont));
  5475. 463 .loc 1 659 5 is_stmt 1 view .LVU116
  5476. 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5477. 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_CONTINUOUS_MODE(ADC_REG_InitStruct->ContinuousMode));
  5478. 464 .loc 1 661 3 view .LVU117
  5479. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_DMA_TRANSFER(ADC_REG_InitStruct->DMATransfer));
  5480. 465 .loc 1 662 3 view .LVU118
  5481. 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5482. 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group regular continuous mode and discontinuous mode */
  5483. 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* can not be enabled simultenaeously */
  5484. 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param((ADC_REG_InitStruct->ContinuousMode == LL_ADC_REG_CONV_SINGLE)
  5485. 466 .loc 1 666 3 view .LVU119
  5486. 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || (ADC_REG_InitStruct->SequencerDiscont == LL_ADC_REG_SEQ_DISCONT_DISABLE));
  5487. 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5488. 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */
  5489. 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance must be disabled. */
  5490. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 0U)
  5491. 467 .loc 1 671 3 view .LVU120
  5492. 468 .LVL27:
  5493. 469 .LBB46:
  5494. 470 .LBI46:
  5495. 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  5496. 471 .loc 3 3266 26 view .LVU121
  5497. 472 .LBB47:
  5498. 473 .loc 3 3268 3 view .LVU122
  5499. 474 .loc 3 3268 11 is_stmt 0 view .LVU123
  5500. 475 0002 8268 ldr r2, [r0, #8]
  5501. 476 .LVL28:
  5502. 477 .loc 3 3268 11 view .LVU124
  5503. 478 .LBE47:
  5504. 479 .LBE46:
  5505. 480 .loc 1 671 5 view .LVU125
  5506. 481 0004 12F0010F tst r2, #1
  5507. 482 0008 23D1 bne .L24
  5508. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  5509. 483 .loc 1 646 1 view .LVU126
  5510. 484 000a 10B4 push {r4}
  5511. ARM GAS /tmp/ccc82m4X.s page 96
  5512. 485 .LCFI0:
  5513. 486 .cfi_def_cfa_offset 4
  5514. 487 .cfi_offset 4, -4
  5515. 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5516. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */
  5517. 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - ADC group regular */
  5518. 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular trigger source */
  5519. 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular sequencer length */
  5520. 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular sequencer discontinuous mode */
  5521. 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular continuous mode */
  5522. 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular conversion data transfer: no transfer or */
  5523. 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* transfer by DMA, and DMA requests mode */
  5524. 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: On this STM32 series, ADC trigger edge is set when starting */
  5525. 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC conversion. */
  5526. 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Refer to function @ref LL_ADC_REG_StartConversionExtTrig(). */
  5527. 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE)
  5528. 488 .loc 1 684 5 is_stmt 1 view .LVU127
  5529. 489 .loc 1 684 7 is_stmt 0 view .LVU128
  5530. 490 000c DBB1 cbz r3, .L22
  5531. 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5532. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1,
  5533. 491 .loc 1 686 7 is_stmt 1 view .LVU129
  5534. 492 000e 4268 ldr r2, [r0, #4]
  5535. 493 0010 22F46842 bic r2, r2, #59392
  5536. 494 0014 8C68 ldr r4, [r1, #8]
  5537. 495 0016 2343 orrs r3, r3, r4
  5538. 496 0018 1343 orrs r3, r3, r2
  5539. 497 001a 4360 str r3, [r0, #4]
  5540. 498 .L23:
  5541. 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DISCEN
  5542. 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_DISCNUM
  5543. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5544. 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerLength
  5545. 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_REG_InitStruct->SequencerDiscont
  5546. 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5547. 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5548. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  5549. 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5550. 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1,
  5551. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DISCEN
  5552. 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_DISCNUM
  5553. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5554. 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerLength
  5555. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_REG_SEQ_DISCONT_DISABLE
  5556. 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5557. 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5558. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5559. 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR2,
  5560. 499 .loc 1 705 5 view .LVU130
  5561. 500 001c 8368 ldr r3, [r0, #8]
  5562. 501 001e 23F46023 bic r3, r3, #917504
  5563. 502 0022 23F48173 bic r3, r3, #258
  5564. 503 0026 0A68 ldr r2, [r1]
  5565. 504 0028 CC68 ldr r4, [r1, #12]
  5566. 505 002a 2243 orrs r2, r2, r4
  5567. 506 002c 0C69 ldr r4, [r1, #16]
  5568. 507 002e 2243 orrs r2, r2, r4
  5569. ARM GAS /tmp/ccc82m4X.s page 97
  5570. 508 0030 1343 orrs r3, r3, r2
  5571. 509 0032 8360 str r3, [r0, #8]
  5572. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR2_EXTSEL
  5573. 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_CONT
  5574. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_DMA
  5575. 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5576. 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->TriggerSource
  5577. 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_REG_InitStruct->ContinuousMode
  5578. 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_REG_InitStruct->DMATransfer
  5579. 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5580. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5581. 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC group regular sequencer length and scan direction */
  5582. 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */
  5583. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: If ADC instance feature scan mode is disabled */
  5584. 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (refer to ADC instance initialization structure */
  5585. 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* parameter @ref SequencersScanMode */
  5586. 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* or function @ref LL_ADC_SetSequencersScanMode() ), */
  5587. 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* this parameter is discarded. */
  5588. 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_REG_SetSequencerLength(ADCx, ADC_REG_InitStruct->SequencerLength);
  5589. 510 .loc 1 722 5 view .LVU131
  5590. 511 0034 4B68 ldr r3, [r1, #4]
  5591. 512 .LVL29:
  5592. 513 .LBB48:
  5593. 514 .LBI48:
  5594. 1939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  5595. 515 .loc 3 1939 22 view .LVU132
  5596. 516 .LBB49:
  5597. 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5598. 517 .loc 3 1941 3 view .LVU133
  5599. 518 0036 C26A ldr r2, [r0, #44]
  5600. 519 0038 22F47002 bic r2, r2, #15728640
  5601. 520 003c 1343 orrs r3, r3, r2
  5602. 521 .LVL30:
  5603. 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5604. 522 .loc 3 1941 3 is_stmt 0 view .LVU134
  5605. 523 003e C362 str r3, [r0, #44]
  5606. 524 .LVL31:
  5607. 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5608. 525 .loc 3 1941 3 view .LVU135
  5609. 526 .LBE49:
  5610. 527 .LBE48:
  5611. 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5612. 528 .loc 1 647 15 view .LVU136
  5613. 529 0040 0020 movs r0, #0
  5614. 530 .LVL32:
  5615. 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5616. 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  5617. 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5618. 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: ADC instance is not disabled. */
  5619. 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR;
  5620. 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5621. 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status;
  5622. 531 .loc 1 729 3 is_stmt 1 view .LVU137
  5623. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5624. 532 .loc 1 730 1 is_stmt 0 view .LVU138
  5625. 533 0042 10BC pop {r4}
  5626. 534 .LCFI1:
  5627. ARM GAS /tmp/ccc82m4X.s page 98
  5628. 535 .cfi_remember_state
  5629. 536 .cfi_restore 4
  5630. 537 .cfi_def_cfa_offset 0
  5631. 538 0044 7047 bx lr
  5632. 539 .LVL33:
  5633. 540 .L22:
  5634. 541 .LCFI2:
  5635. 542 .cfi_restore_state
  5636. 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DISCEN
  5637. 543 .loc 1 696 7 is_stmt 1 view .LVU139
  5638. 544 0046 4268 ldr r2, [r0, #4]
  5639. 545 0048 22F46842 bic r2, r2, #59392
  5640. 546 004c 1343 orrs r3, r3, r2
  5641. 547 004e 4360 str r3, [r0, #4]
  5642. 548 0050 E4E7 b .L23
  5643. 549 .L24:
  5644. 550 .LCFI3:
  5645. 551 .cfi_def_cfa_offset 0
  5646. 552 .cfi_restore 4
  5647. 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5648. 553 .loc 1 727 12 is_stmt 0 view .LVU140
  5649. 554 0052 0120 movs r0, #1
  5650. 555 .LVL34:
  5651. 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5652. 556 .loc 1 729 3 is_stmt 1 view .LVU141
  5653. 557 .loc 1 730 1 is_stmt 0 view .LVU142
  5654. 558 0054 7047 bx lr
  5655. 559 .cfi_endproc
  5656. 560 .LFE162:
  5657. 562 .section .text.LL_ADC_REG_StructInit,"ax",%progbits
  5658. 563 .align 1
  5659. 564 .global LL_ADC_REG_StructInit
  5660. 565 .syntax unified
  5661. 566 .thumb
  5662. 567 .thumb_func
  5663. 569 LL_ADC_REG_StructInit:
  5664. 570 .LVL35:
  5665. 571 .LFB163:
  5666. 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5667. 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  5668. 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_REG_InitTypeDef field to default value.
  5669. 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_REG_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure
  5670. 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values.
  5671. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None
  5672. 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  5673. 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_REG_StructInit(LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct)
  5674. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5675. 572 .loc 1 739 1 is_stmt 1 view -0
  5676. 573 .cfi_startproc
  5677. 574 @ args = 0, pretend = 0, frame = 0
  5678. 575 @ frame_needed = 0, uses_anonymous_args = 0
  5679. 576 @ link register save eliminated.
  5680. 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_REG_InitStruct fields to default values */
  5681. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC group regular */
  5682. 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: On this STM32 series, ADC trigger edge is set when starting */
  5683. 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC conversion. */
  5684. 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Refer to function @ref LL_ADC_REG_StartConversionExtTrig(). */
  5685. ARM GAS /tmp/ccc82m4X.s page 99
  5686. 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->TriggerSource = LL_ADC_REG_TRIG_SOFTWARE;
  5687. 577 .loc 1 745 3 view .LVU144
  5688. 578 .loc 1 745 40 is_stmt 0 view .LVU145
  5689. 579 0000 4FF46023 mov r3, #917504
  5690. 580 0004 0360 str r3, [r0]
  5691. 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerLength = LL_ADC_REG_SEQ_SCAN_DISABLE;
  5692. 581 .loc 1 746 3 is_stmt 1 view .LVU146
  5693. 582 .loc 1 746 40 is_stmt 0 view .LVU147
  5694. 583 0006 0023 movs r3, #0
  5695. 584 0008 4360 str r3, [r0, #4]
  5696. 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerDiscont = LL_ADC_REG_SEQ_DISCONT_DISABLE;
  5697. 585 .loc 1 747 3 is_stmt 1 view .LVU148
  5698. 586 .loc 1 747 40 is_stmt 0 view .LVU149
  5699. 587 000a 8360 str r3, [r0, #8]
  5700. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->ContinuousMode = LL_ADC_REG_CONV_SINGLE;
  5701. 588 .loc 1 748 3 is_stmt 1 view .LVU150
  5702. 589 .loc 1 748 40 is_stmt 0 view .LVU151
  5703. 590 000c C360 str r3, [r0, #12]
  5704. 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->DMATransfer = LL_ADC_REG_DMA_TRANSFER_NONE;
  5705. 591 .loc 1 749 3 is_stmt 1 view .LVU152
  5706. 592 .loc 1 749 40 is_stmt 0 view .LVU153
  5707. 593 000e 0361 str r3, [r0, #16]
  5708. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5709. 594 .loc 1 750 1 view .LVU154
  5710. 595 0010 7047 bx lr
  5711. 596 .cfi_endproc
  5712. 597 .LFE163:
  5713. 599 .section .text.LL_ADC_INJ_Init,"ax",%progbits
  5714. 600 .align 1
  5715. 601 .global LL_ADC_INJ_Init
  5716. 602 .syntax unified
  5717. 603 .thumb
  5718. 604 .thumb_func
  5719. 606 LL_ADC_INJ_Init:
  5720. 607 .LVL36:
  5721. 608 .LFB164:
  5722. 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5723. 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  5724. 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC group injected.
  5725. 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note These parameters have an impact on ADC scope: ADC group injected.
  5726. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to corresponding unitary functions into
  5727. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular
  5728. 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (functions with prefix "INJ").
  5729. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of these parameters by function @ref LL_ADC_Init()
  5730. 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * is conditioned to ADC state:
  5731. 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instance must be disabled.
  5732. 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This condition is applied to all ADC features, for efficiency
  5733. 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and compatibility over all STM32 families. However, the different
  5734. 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * features can be set under different ADC state conditions
  5735. 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (setting possible with ADC enabled without conversion on going,
  5736. 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC enabled with conversion on going, ...)
  5737. 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Each feature can be updated afterwards with a unitary function
  5738. 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and potentially with ADC in a different state than disabled,
  5739. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * refer to description of each function for setting
  5740. 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * conditioned to ADC state.
  5741. 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note After using this function, other features must be configured
  5742. 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * using LL unitary functions.
  5743. ARM GAS /tmp/ccc82m4X.s page 100
  5744. 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * The minimum configuration remaining to be done is:
  5745. 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC group injected sequencer:
  5746. 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * map channel on the selected sequencer rank.
  5747. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function @ref LL_ADC_INJ_SetSequencerRanks().
  5748. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC channel sampling time
  5749. 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function LL_ADC_SetChannelSamplingTime();
  5750. 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance
  5751. 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_INJ_InitStruct Pointer to a @ref LL_ADC_INJ_InitTypeDef structure
  5752. 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value:
  5753. 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are initialized
  5754. 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not initialized
  5755. 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  5756. 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_INJ_Init(ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct)
  5757. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5758. 609 .loc 1 785 1 is_stmt 1 view -0
  5759. 610 .cfi_startproc
  5760. 611 @ args = 0, pretend = 0, frame = 0
  5761. 612 @ frame_needed = 0, uses_anonymous_args = 0
  5762. 613 @ link register save eliminated.
  5763. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  5764. 614 .loc 1 786 3 view .LVU156
  5765. 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5766. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */
  5767. 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx));
  5768. 615 .loc 1 789 3 view .LVU157
  5769. 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3)
  5770. 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_TRIG_SOURCE(ADCx, ADC_INJ_InitStruct->TriggerSource));
  5771. 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else
  5772. 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_TRIG_SOURCE(ADC_INJ_InitStruct->TriggerSource));
  5773. 616 .loc 1 793 3 view .LVU158
  5774. 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif
  5775. 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_SEQ_SCAN_LENGTH(ADC_INJ_InitStruct->SequencerLength));
  5776. 617 .loc 1 795 3 view .LVU159
  5777. 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_INJ_SEQ_SCAN_DISABLE)
  5778. 618 .loc 1 796 3 view .LVU160
  5779. 619 .loc 1 796 24 is_stmt 0 view .LVU161
  5780. 620 0000 4A68 ldr r2, [r1, #4]
  5781. 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5782. 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_SEQ_SCAN_DISCONT_MODE(ADC_INJ_InitStruct->SequencerDiscont));
  5783. 621 .loc 1 798 5 is_stmt 1 view .LVU162
  5784. 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5785. 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_TRIG_AUTO(ADC_INJ_InitStruct->TrigAuto));
  5786. 622 .loc 1 800 3 view .LVU163
  5787. 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5788. 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */
  5789. 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance must be disabled. */
  5790. 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 0U)
  5791. 623 .loc 1 804 3 view .LVU164
  5792. 624 .LVL37:
  5793. 625 .LBB50:
  5794. 626 .LBI50:
  5795. 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  5796. 627 .loc 3 3266 26 view .LVU165
  5797. 628 .LBB51:
  5798. 629 .loc 3 3268 3 view .LVU166
  5799. 630 .loc 3 3268 11 is_stmt 0 view .LVU167
  5800. 631 0002 8368 ldr r3, [r0, #8]
  5801. ARM GAS /tmp/ccc82m4X.s page 101
  5802. 632 .LVL38:
  5803. 633 .loc 3 3268 11 view .LVU168
  5804. 634 .LBE51:
  5805. 635 .LBE50:
  5806. 636 .loc 1 804 5 view .LVU169
  5807. 637 0004 13F0010F tst r3, #1
  5808. 638 0008 1FD1 bne .L34
  5809. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS;
  5810. 639 .loc 1 785 1 view .LVU170
  5811. 640 000a 10B4 push {r4}
  5812. 641 .LCFI4:
  5813. 642 .cfi_def_cfa_offset 4
  5814. 643 .cfi_offset 4, -4
  5815. 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5816. 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */
  5817. 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - ADC group injected */
  5818. 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected trigger source */
  5819. 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected sequencer length */
  5820. 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected sequencer discontinuous mode */
  5821. 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected conversion trigger: independent or */
  5822. 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* from ADC group regular */
  5823. 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: On this STM32 series, ADC trigger edge is set when starting */
  5824. 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC conversion. */
  5825. 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Refer to function @ref LL_ADC_INJ_StartConversionExtTrig(). */
  5826. 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE)
  5827. 644 .loc 1 816 5 is_stmt 1 view .LVU171
  5828. 645 .loc 1 816 7 is_stmt 0 view .LVU172
  5829. 646 000c B2B1 cbz r2, .L32
  5830. 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5831. 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1,
  5832. 647 .loc 1 818 7 is_stmt 1 view .LVU173
  5833. 648 000e 4368 ldr r3, [r0, #4]
  5834. 649 0010 23F4A053 bic r3, r3, #5120
  5835. 650 0014 8A68 ldr r2, [r1, #8]
  5836. 651 0016 CC68 ldr r4, [r1, #12]
  5837. 652 0018 2243 orrs r2, r2, r4
  5838. 653 001a 1343 orrs r3, r3, r2
  5839. 654 001c 4360 str r3, [r0, #4]
  5840. 655 .L33:
  5841. 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_JDISCEN
  5842. 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JAUTO
  5843. 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5844. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->SequencerDiscont
  5845. 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_INJ_InitStruct->TrigAuto
  5846. 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5847. 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5848. 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  5849. 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5850. 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1,
  5851. 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_JDISCEN
  5852. 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JAUTO
  5853. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5854. 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_REG_SEQ_DISCONT_DISABLE
  5855. 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_INJ_InitStruct->TrigAuto
  5856. 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5857. 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5858. 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5859. ARM GAS /tmp/ccc82m4X.s page 102
  5860. 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR2,
  5861. 656 .loc 1 837 5 view .LVU174
  5862. 657 001e 8368 ldr r3, [r0, #8]
  5863. 658 0020 23F4E043 bic r3, r3, #28672
  5864. 659 0024 0A68 ldr r2, [r1]
  5865. 660 0026 1343 orrs r3, r3, r2
  5866. 661 0028 8360 str r3, [r0, #8]
  5867. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR2_JEXTSEL
  5868. 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ,
  5869. 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->TriggerSource
  5870. 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** );
  5871. 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5872. 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */
  5873. 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: If ADC instance feature scan mode is disabled */
  5874. 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (refer to ADC instance initialization structure */
  5875. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* parameter @ref SequencersScanMode */
  5876. 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* or function @ref LL_ADC_SetSequencersScanMode() ), */
  5877. 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* this parameter is discarded. */
  5878. 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_INJ_SetSequencerLength(ADCx, ADC_INJ_InitStruct->SequencerLength);
  5879. 662 .loc 1 849 5 view .LVU175
  5880. 663 002a 4B68 ldr r3, [r1, #4]
  5881. 664 .LVL39:
  5882. 665 .LBB52:
  5883. 666 .LBI52:
  5884. 2465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** {
  5885. 667 .loc 3 2465 22 view .LVU176
  5886. 668 .LBB53:
  5887. 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5888. 669 .loc 3 2467 3 view .LVU177
  5889. 670 002c 826B ldr r2, [r0, #56]
  5890. 671 002e 22F44012 bic r2, r2, #3145728
  5891. 672 0032 1343 orrs r3, r3, r2
  5892. 673 .LVL40:
  5893. 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5894. 674 .loc 3 2467 3 is_stmt 0 view .LVU178
  5895. 675 0034 8363 str r3, [r0, #56]
  5896. 676 .LVL41:
  5897. 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** }
  5898. 677 .loc 3 2467 3 view .LVU179
  5899. 678 .LBE53:
  5900. 679 .LBE52:
  5901. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5902. 680 .loc 1 786 15 view .LVU180
  5903. 681 0036 0020 movs r0, #0
  5904. 682 .LVL42:
  5905. 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5906. 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else
  5907. 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5908. 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: ADC instance is not disabled. */
  5909. 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR;
  5910. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5911. 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status;
  5912. 683 .loc 1 856 3 is_stmt 1 view .LVU181
  5913. 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5914. 684 .loc 1 857 1 is_stmt 0 view .LVU182
  5915. 685 0038 10BC pop {r4}
  5916. 686 .LCFI5:
  5917. ARM GAS /tmp/ccc82m4X.s page 103
  5918. 687 .cfi_remember_state
  5919. 688 .cfi_restore 4
  5920. 689 .cfi_def_cfa_offset 0
  5921. 690 003a 7047 bx lr
  5922. 691 .LVL43:
  5923. 692 .L32:
  5924. 693 .LCFI6:
  5925. 694 .cfi_restore_state
  5926. 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_JDISCEN
  5927. 695 .loc 1 828 7 is_stmt 1 view .LVU183
  5928. 696 003c 4368 ldr r3, [r0, #4]
  5929. 697 003e 23F4A053 bic r3, r3, #5120
  5930. 698 0042 CA68 ldr r2, [r1, #12]
  5931. 699 0044 1343 orrs r3, r3, r2
  5932. 700 0046 4360 str r3, [r0, #4]
  5933. 701 0048 E9E7 b .L33
  5934. 702 .L34:
  5935. 703 .LCFI7:
  5936. 704 .cfi_def_cfa_offset 0
  5937. 705 .cfi_restore 4
  5938. 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5939. 706 .loc 1 854 12 is_stmt 0 view .LVU184
  5940. 707 004a 0120 movs r0, #1
  5941. 708 .LVL44:
  5942. 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5943. 709 .loc 1 856 3 is_stmt 1 view .LVU185
  5944. 710 .loc 1 857 1 is_stmt 0 view .LVU186
  5945. 711 004c 7047 bx lr
  5946. 712 .cfi_endproc
  5947. 713 .LFE164:
  5948. 715 .section .text.LL_ADC_INJ_StructInit,"ax",%progbits
  5949. 716 .align 1
  5950. 717 .global LL_ADC_INJ_StructInit
  5951. 718 .syntax unified
  5952. 719 .thumb
  5953. 720 .thumb_func
  5954. 722 LL_ADC_INJ_StructInit:
  5955. 723 .LVL45:
  5956. 724 .LFB165:
  5957. 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c ****
  5958. 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /**
  5959. 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_INJ_InitTypeDef field to default value.
  5960. 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_INJ_InitStruct Pointer to a @ref LL_ADC_INJ_InitTypeDef structure
  5961. 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values.
  5962. 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None
  5963. 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */
  5964. 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_INJ_StructInit(LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct)
  5965. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** {
  5966. 725 .loc 1 866 1 is_stmt 1 view -0
  5967. 726 .cfi_startproc
  5968. 727 @ args = 0, pretend = 0, frame = 0
  5969. 728 @ frame_needed = 0, uses_anonymous_args = 0
  5970. 729 @ link register save eliminated.
  5971. 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_INJ_InitStruct fields to default values */
  5972. 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC group injected */
  5973. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->TriggerSource = LL_ADC_INJ_TRIG_SOFTWARE;
  5974. 730 .loc 1 869 3 view .LVU188
  5975. ARM GAS /tmp/ccc82m4X.s page 104
  5976. 731 .loc 1 869 40 is_stmt 0 view .LVU189
  5977. 732 0000 4FF4E043 mov r3, #28672
  5978. 733 0004 0360 str r3, [r0]
  5979. 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->SequencerLength = LL_ADC_INJ_SEQ_SCAN_DISABLE;
  5980. 734 .loc 1 870 3 is_stmt 1 view .LVU190
  5981. 735 .loc 1 870 40 is_stmt 0 view .LVU191
  5982. 736 0006 0023 movs r3, #0
  5983. 737 0008 4360 str r3, [r0, #4]
  5984. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->SequencerDiscont = LL_ADC_INJ_SEQ_DISCONT_DISABLE;
  5985. 738 .loc 1 871 3 is_stmt 1 view .LVU192
  5986. 739 .loc 1 871 40 is_stmt 0 view .LVU193
  5987. 740 000a 8360 str r3, [r0, #8]
  5988. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->TrigAuto = LL_ADC_INJ_TRIG_INDEPENDENT;
  5989. 741 .loc 1 872 3 is_stmt 1 view .LVU194
  5990. 742 .loc 1 872 40 is_stmt 0 view .LVU195
  5991. 743 000c C360 str r3, [r0, #12]
  5992. 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** }
  5993. 744 .loc 1 873 1 view .LVU196
  5994. 745 000e 7047 bx lr
  5995. 746 .cfi_endproc
  5996. 747 .LFE165:
  5997. 749 .text
  5998. 750 .Letext0:
  5999. 751 .file 4 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  6000. 752 .file 5 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  6001. 753 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  6002. 754 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
  6003. ARM GAS /tmp/ccc82m4X.s page 105
  6004. DEFINED SYMBOLS
  6005. *ABS*:0000000000000000 stm32f1xx_ll_adc.c
  6006. /tmp/ccc82m4X.s:18 .text.LL_ADC_CommonDeInit:0000000000000000 $t
  6007. /tmp/ccc82m4X.s:24 .text.LL_ADC_CommonDeInit:0000000000000000 LL_ADC_CommonDeInit
  6008. /tmp/ccc82m4X.s:71 .text.LL_ADC_CommonDeInit:0000000000000018 $d
  6009. /tmp/ccc82m4X.s:76 .text.LL_ADC_CommonInit:0000000000000000 $t
  6010. /tmp/ccc82m4X.s:82 .text.LL_ADC_CommonInit:0000000000000000 LL_ADC_CommonInit
  6011. /tmp/ccc82m4X.s:160 .text.LL_ADC_CommonInit:0000000000000034 $d
  6012. /tmp/ccc82m4X.s:165 .text.LL_ADC_CommonStructInit:0000000000000000 $t
  6013. /tmp/ccc82m4X.s:171 .text.LL_ADC_CommonStructInit:0000000000000000 LL_ADC_CommonStructInit
  6014. /tmp/ccc82m4X.s:189 .text.LL_ADC_DeInit:0000000000000000 $t
  6015. /tmp/ccc82m4X.s:195 .text.LL_ADC_DeInit:0000000000000000 LL_ADC_DeInit
  6016. /tmp/ccc82m4X.s:346 .text.LL_ADC_DeInit:00000000000000bc $d
  6017. /tmp/ccc82m4X.s:352 .text.LL_ADC_Init:0000000000000000 $t
  6018. /tmp/ccc82m4X.s:358 .text.LL_ADC_Init:0000000000000000 LL_ADC_Init
  6019. /tmp/ccc82m4X.s:414 .text.LL_ADC_StructInit:0000000000000000 $t
  6020. /tmp/ccc82m4X.s:420 .text.LL_ADC_StructInit:0000000000000000 LL_ADC_StructInit
  6021. /tmp/ccc82m4X.s:442 .text.LL_ADC_REG_Init:0000000000000000 $t
  6022. /tmp/ccc82m4X.s:448 .text.LL_ADC_REG_Init:0000000000000000 LL_ADC_REG_Init
  6023. /tmp/ccc82m4X.s:563 .text.LL_ADC_REG_StructInit:0000000000000000 $t
  6024. /tmp/ccc82m4X.s:569 .text.LL_ADC_REG_StructInit:0000000000000000 LL_ADC_REG_StructInit
  6025. /tmp/ccc82m4X.s:600 .text.LL_ADC_INJ_Init:0000000000000000 $t
  6026. /tmp/ccc82m4X.s:606 .text.LL_ADC_INJ_Init:0000000000000000 LL_ADC_INJ_Init
  6027. /tmp/ccc82m4X.s:716 .text.LL_ADC_INJ_StructInit:0000000000000000 $t
  6028. /tmp/ccc82m4X.s:722 .text.LL_ADC_INJ_StructInit:0000000000000000 LL_ADC_INJ_StructInit
  6029. NO UNDEFINED SYMBOLS