| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297 |
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 1
- 1 .cpu cortex-m0plus
- 2 .arch armv6s-m
- 3 .fpu softvfp
- 4 .eabi_attribute 20, 1
- 5 .eabi_attribute 21, 1
- 6 .eabi_attribute 23, 3
- 7 .eabi_attribute 24, 1
- 8 .eabi_attribute 25, 1
- 9 .eabi_attribute 26, 1
- 10 .eabi_attribute 30, 6
- 11 .eabi_attribute 34, 0
- 12 .eabi_attribute 18, 4
- 13 .file "sensor.c"
- 14 .text
- 15 .Ltext0:
- 16 .cfi_sections .debug_frame
- 17 .section .rodata.CHANNEL_OFFSET_TAB,"a"
- 18 .align 2
- 21 CHANNEL_OFFSET_TAB:
- 22 0000 081C3044 .ascii "\010\0340DXl\200"
- 22 586C80
- 23 .section .rodata.USART_PRESCALER_TAB,"a"
- 24 .align 2
- 27 USART_PRESCALER_TAB:
- 28 0000 01000000 .word 1
- 29 0004 02000000 .word 2
- 30 0008 04000000 .word 4
- 31 000c 06000000 .word 6
- 32 0010 08000000 .word 8
- 33 0014 0A000000 .word 10
- 34 0018 0C000000 .word 12
- 35 001c 10000000 .word 16
- 36 0020 20000000 .word 32
- 37 0024 40000000 .word 64
- 38 0028 80000000 .word 128
- 39 002c 00010000 .word 256
- 40 .section .text.LL_USART_Enable,"ax",%progbits
- 41 .align 1
- 42 .syntax unified
- 43 .code 16
- 44 .thumb_func
- 46 LL_USART_Enable:
- 47 .LFB440:
- 48 .file 1 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h"
- 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
- 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @file stm32g0xx_ll_usart.h
- 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @author MCD Application Team
- 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Header file of USART LL module.
- 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
- 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @attention
- 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
- 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Copyright (c) 2018 STMicroelectronics.
- 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * All rights reserved.
- 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
- 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This software is licensed under terms that can be found in the LICENSE file
- 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * in the root directory of this software component.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 2
- 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
- 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
- 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Define to prevent recursive inclusion -------------------------------------*/
- 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifndef STM32G0xx_LL_USART_H
- 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define STM32G0xx_LL_USART_H
- 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifdef __cplusplus
- 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** extern "C" {
- 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif
- 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Includes ------------------------------------------------------------------*/
- 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #include "stm32g0xx.h"
- 29:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @addtogroup STM32G0xx_LL_Driver
- 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USART1) || defined(USART2) || defined(USART3) || defined(USART4) || defined(USART5) ||
- 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL USART
- 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private types -------------------------------------------------------------*/
- 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private variables ---------------------------------------------------------*/
- 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Variables USART Private Variables
- 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 45:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Array used to get the USART prescaler division decimal values versus @ref USART_LL_EC_PRESCALER
- 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** static const uint32_t USART_PRESCALER_TAB[] =
- 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 1UL,
- 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 2UL,
- 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 4UL,
- 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 6UL,
- 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 8UL,
- 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 10UL,
- 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 12UL,
- 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 16UL,
- 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 32UL,
- 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 64UL,
- 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 128UL,
- 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 256UL
- 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** };
- 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private constants ---------------------------------------------------------*/
- 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Constants USART Private Constants
- 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 3
- 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private macros ------------------------------------------------------------*/
- 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
- 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Macros USART Private Macros
- 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
- 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported types ------------------------------------------------------------*/
- 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
- 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_ES_INIT USART Exported Init structures
- 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Init Structure definition
- 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
- 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t PrescalerValue; /*!< Specifies the Prescaler to compute the communication bau
- 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PRESCA
- 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetPrescaler().*/
- 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate; /*!< This field defines expected Usart communication baud rat
- 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetBaudRate().*/
- 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t DataWidth; /*!< Specifies the number of data bits transmitted or receive
- 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DATAWI
- 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetDataWidth().*/
- 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits; /*!< Specifies the number of stop bits transmitted.
- 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_STOPBI
- 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetStopBitsLength().*/
- 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t Parity; /*!< Specifies the parity mode.
- 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PARITY
- 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetParity().*/
- 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t TransferDirection; /*!< Specifies whether the Receive and/or Transmit mode is en
- 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DIRECT
- 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetTransferDirection().*/
- 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 4
- 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t HardwareFlowControl; /*!< Specifies whether the hardware flow control mode is enab
- 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_HWCONT
- 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetHWFlowCtrl().*/
- 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling; /*!< Specifies whether USART oversampling mode is 16 or 8.
- 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_OVERSA
- 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetOverSampling().*/
- 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_InitTypeDef;
- 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Clock Init Structure definition
- 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
- 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockOutput; /*!< Specifies whether the USART clock is enabled or disabled
- 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_CLOCK.
- 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** @ref LL_USART_EnableSCLKOutput() or @ref LL_USART_Disabl
- 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPolarity; /*!< Specifies the steady state of the serial clock.
- 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_POLARI
- 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPolarity().
- 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPhase; /*!< Specifies the clock transition on which the bit capture
- 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PHASE.
- 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPhase().
- 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t LastBitClockPulse; /*!< Specifies whether the clock pulse corresponding to the l
- 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data bit (MSB) has to be output on the SCLK pin in synch
- 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_LASTCL
- 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetLastClkPulseOutput().
- 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_ClockInitTypeDef;
- 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /* USE_FULL_LL_DRIVER */
- 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported constants --------------------------------------------------------*/
- 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Constants USART Exported Constants
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 5
- 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLEAR_FLAG Clear Flags Defines
- 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_WriteReg function
- 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_PECF USART_ICR_PECF /*!< Parity error cle
- 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_FECF USART_ICR_FECF /*!< Framing error cl
- 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_NECF USART_ICR_NECF /*!< Noise error dete
- 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_ORECF USART_ICR_ORECF /*!< Overrun error cl
- 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_IDLECF USART_ICR_IDLECF /*!< Idle line detect
- 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TXFECF USART_ICR_TXFECF /*!< TX FIFO Empty cl
- 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCCF USART_ICR_TCCF /*!< Transmission com
- 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCBGTCF USART_ICR_TCBGTCF /*!< Transmission com
- 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_LBDCF USART_ICR_LBDCF /*!< LIN break detect
- 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CTSCF USART_ICR_CTSCF /*!< CTS clear flag *
- 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_RTOCF USART_ICR_RTOCF /*!< Receiver timeout
- 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_EOBCF USART_ICR_EOBCF /*!< End of block cle
- 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_UDRCF USART_ICR_UDRCF /*!< SPI Slave Underr
- 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CMCF USART_ICR_CMCF /*!< Character match
- 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_WUCF USART_ICR_WUCF /*!< Wakeup from Stop
- 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_GET_FLAG Get Flags Defines
- 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_ReadReg function
- 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_PE USART_ISR_PE /*!< Parity error fla
- 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_FE USART_ISR_FE /*!< Framing error fl
- 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_NE USART_ISR_NE /*!< Noise detected f
- 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ORE USART_ISR_ORE /*!< Overrun error fl
- 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_IDLE USART_ISR_IDLE /*!< Idle line detect
- 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXNE_RXFNE USART_ISR_RXNE_RXFNE /*!< Read data regist
- 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TC USART_ISR_TC /*!< Transmission com
- 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXE_TXFNF USART_ISR_TXE_TXFNF /*!< Transmit data re
- 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_LBDF USART_ISR_LBDF /*!< LIN break detect
- 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTSIF USART_ISR_CTSIF /*!< CTS interrupt fl
- 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTS USART_ISR_CTS /*!< CTS flag */
- 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RTOF USART_ISR_RTOF /*!< Receiver timeout
- 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_EOBF USART_ISR_EOBF /*!< End of block fla
- 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_UDR USART_ISR_UDR /*!< SPI Slave underr
- 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRE USART_ISR_ABRE /*!< Auto baud rate e
- 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRF USART_ISR_ABRF /*!< Auto baud rate f
- 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_BUSY USART_ISR_BUSY /*!< Busy flag */
- 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CMF USART_ISR_CMF /*!< Character match
- 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_SBKF USART_ISR_SBKF /*!< Send break flag
- 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RWU USART_ISR_RWU /*!< Receiver wakeup
- 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_WUF USART_ISR_WUF /*!< Wakeup from Stop
- 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TEACK USART_ISR_TEACK /*!< Transmit enable
- 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_REACK USART_ISR_REACK /*!< Receive enable a
- 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFE USART_ISR_TXFE /*!< TX FIFO empty fl
- 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFF USART_ISR_RXFF /*!< RX FIFO full fla
- 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TCBGT USART_ISR_TCBGT /*!< Transmission com
- 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFT USART_ISR_RXFT /*!< RX FIFO threshol
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 6
- 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFT USART_ISR_TXFT /*!< TX FIFO threshol
- 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IT IT Defines
- 248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief IT defines which can be used with LL_USART_ReadReg and LL_USART_WriteReg functions
- 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_IDLEIE USART_CR1_IDLEIE /*!< IDLE interrupt e
- 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXNEIE_RXFNEIE USART_CR1_RXNEIE_RXFNEIE /*!< Read data regist
- 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TCIE USART_CR1_TCIE /*!< Transmission com
- 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXEIE_TXFNFIE USART_CR1_TXEIE_TXFNFIE /*!< Transmit data re
- 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_PEIE USART_CR1_PEIE /*!< Parity error */
- 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_CMIE USART_CR1_CMIE /*!< Character match
- 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RTOIE USART_CR1_RTOIE /*!< Receiver timeout
- 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_EOBIE USART_CR1_EOBIE /*!< End of Block int
- 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXFEIE USART_CR1_TXFEIE /*!< TX FIFO empty in
- 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXFFIE USART_CR1_RXFFIE /*!< RX FIFO full int
- 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR2_LBDIE USART_CR2_LBDIE /*!< LIN break detect
- 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_EIE USART_CR3_EIE /*!< Error interrupt
- 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_CTSIE USART_CR3_CTSIE /*!< CTS interrupt en
- 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_WUFIE USART_CR3_WUFIE /*!< Wakeup from Stop
- 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TXFTIE USART_CR3_TXFTIE /*!< TX FIFO threshol
- 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TCBGTIE USART_CR3_TCBGTIE /*!< Transmission com
- 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_RXFTIE USART_CR3_RXFTIE /*!< RX FIFO threshol
- 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_FIFOTHRESHOLD FIFO Threshold
- 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_8 0x00000000U /*!< FIFO reaches 1/8 of its depth */
- 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_4 0x00000001U /*!< FIFO reaches 1/4 of its depth */
- 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_2 0x00000002U /*!< FIFO reaches 1/2 of its depth */
- 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_3_4 0x00000003U /*!< FIFO reaches 3/4 of its depth */
- 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_7_8 0x00000004U /*!< FIFO reaches 7/8 of its depth */
- 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_8_8 0x00000005U /*!< FIFO becomes empty for TX and full
- 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DIRECTION Communication Direction
- 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_NONE 0x00000000U /*!< Transmitter
- 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_RX USART_CR1_RE /*!< Transmitter
- 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX USART_CR1_TE /*!< Transmitter
- 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< Transmitter
- 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PARITY Parity Control
- 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 7
- 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_NONE 0x00000000U /*!< Parity co
- 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_EVEN USART_CR1_PCE /*!< Parity co
- 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_ODD (USART_CR1_PCE | USART_CR1_PS) /*!< Parity co
- 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP Wakeup
- 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_IDLELINE 0x00000000U /*!< USART wake up from Mute
- 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ADDRESSMARK USART_CR1_WAKE /*!< USART wake up from Mute
- 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DATAWIDTH Datawidth
- 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_7B USART_CR1_M1 /*!< 7 bits word length : S
- 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_8B 0x00000000U /*!< 8 bits word length : S
- 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_9B USART_CR1_M0 /*!< 9 bits word length : S
- 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_OVERSAMPLING Oversampling
- 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_16 0x00000000U /*!< Oversampling by 16 */
- 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_8 USART_CR1_OVER8 /*!< Oversampling by 8 */
- 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
- 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLOCK Clock Signal
- 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_DISABLE 0x00000000U /*!< Clock signal not provid
- 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_ENABLE USART_CR2_CLKEN /*!< Clock signal provided *
- 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
- 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LASTCLKPULSE Last Clock Pulse
- 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_NO_OUTPUT 0x00000000U /*!< The clock pulse of the l
- 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_OUTPUT USART_CR2_LBCL /*!< The clock pulse of the l
- 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PHASE Clock Phase
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 8
- 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_1EDGE 0x00000000U /*!< The first clock transiti
- 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_2EDGE USART_CR2_CPHA /*!< The second clock transit
- 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_POLARITY Clock Polarity
- 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_LOW 0x00000000U /*!< Steady low value on SCLK
- 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_HIGH USART_CR2_CPOL /*!< Steady high value on SCL
- 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PRESCALER Clock Source Prescaler
- 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV1 0x00000000U
- 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV2 (USART_PRESC_PRESCALER_0)
- 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV4 (USART_PRESC_PRESCALER_1)
- 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV6 (USART_PRESC_PRESCALER_1 | USART_PRESC_PRESCALER_0)
- 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV8 (USART_PRESC_PRESCALER_2)
- 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV10 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_0)
- 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV12 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1)
- 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV16 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1
- 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV32 (USART_PRESC_PRESCALER_3)
- 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV64 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_0)
- 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV128 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1)
- 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV256 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1
- 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_STOPBITS Stop Bits
- 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_0_5 USART_CR2_STOP_0 /*!< 0.5
- 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_1 0x00000000U /*!< 1 s
- 397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_1_5 (USART_CR2_STOP_0 | USART_CR2_STOP_1) /*!< 1.5
- 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_2 USART_CR2_STOP_1 /*!< 2 s
- 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXRX TX RX Pins Swap
- 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_STANDARD 0x00000000U /*!< TX/RX pins are used as d
- 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_SWAPPED (USART_CR2_SWAP) /*!< TX and RX pins functions
- 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_RXPIN_LEVEL RX Pin Active Level Inversion
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 9
- 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_STANDARD 0x00000000U /*!< RX pin signal works usin
- 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_INVERTED (USART_CR2_RXINV) /*!< RX pin signal values are
- 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXPIN_LEVEL TX Pin Active Level Inversion
- 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_STANDARD 0x00000000U /*!< TX pin signal works usin
- 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_INVERTED (USART_CR2_TXINV) /*!< TX pin signal values are
- 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BINARY_LOGIC Binary Data Inversion
- 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_POSITIVE 0x00000000U /*!< Logical data from the da
- 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_NEGATIVE USART_CR2_DATAINV /*!< Logical data from the da
- 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BITORDER Bit Order
- 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_LSBFIRST 0x00000000U /*!< data is transmitted/rece
- 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_MSBFIRST USART_CR2_MSBFIRST /*!< data is transmitted/rece
- 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_AUTOBAUD_DETECT_ON Autobaud Detection
- 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_STARTBIT 0x00000000U /*!< Me
- 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE USART_CR2_ABRMODE_0 /*!< Fa
- 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME USART_CR2_ABRMODE_1 /*!< 0x
- 454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_55_FRAME (USART_CR2_ABRMODE_1 | USART_CR2_ABRMODE_0) /*!< 0x
- 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_ADDRESS_DETECT Address Length Detection
- 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_4B 0x00000000U /*!< 4-bit address detection
- 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_7B USART_CR2_ADDM7 /*!< 7-bit address detection
- 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_HWCONTROL Hardware Control
- 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 10
- 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_NONE 0x00000000U /*!< CTS and R
- 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_RTS USART_CR3_RTSE /*!< RTS outpu
- 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_CTS USART_CR3_CTSE /*!< CTS mode
- 474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_RTS_CTS (USART_CR3_RTSE | USART_CR3_CTSE) /*!< CTS and R
- 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP_ON Wakeup Activation
- 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_ADDRESS 0x00000000U /*!< Wake u
- 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_STARTBIT USART_CR3_WUS_1 /*!< Wake u
- 484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_RXNE (USART_CR3_WUS_0 | USART_CR3_WUS_1) /*!< Wake u
- 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IRDA_POWER IrDA Power
- 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_NORMAL 0x00000000U /*!< IrDA normal power mode *
- 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_LOW USART_CR3_IRLP /*!< IrDA low power mode */
- 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LINBREAK_DETECT LIN Break Detection Length
- 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_10B 0x00000000U /*!< 10-bit break detection m
- 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_11B USART_CR2_LBDL /*!< 11-bit break detection m
- 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DE_POLARITY Driver Enable Polarity
- 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_HIGH 0x00000000U /*!< DE signal is active high
- 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_LOW USART_CR3_DEP /*!< DE signal is active low
- 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DMA_REG_DATA DMA Register Data
- 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_TRANSMIT 0x00000000U /*!< Get address of data regis
- 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_RECEIVE 0x00000001U /*!< Get address of data regis
- 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 11
- 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported macro ------------------------------------------------------------*/
- 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Macros USART Exported Macros
- 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_WRITE_READ Common Write and read registers Macros
- 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write a value in USART register
- 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
- 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be written
- 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __VALUE__ Value to be written in the register
- 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VAL
- 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read a value in USART register
- 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
- 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be read
- 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Register value
- 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
- 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_Exported_Macros_Helper Exported_Macros_Helper
- 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
- 564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * expected Baud Rate in 8 bits sampling mode (32 bits value of USARTDIV is returned)
- 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
- 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
- 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
- 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_8 case
- 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING8(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
- 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))*2U)\
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 12
- 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
- 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
- 588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * expected Baud Rate in 16 bits sampling mode (32 bits value of USARTDIV is returned)
- 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
- 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
- 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
- 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_16 case
- 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING16(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
- 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))\
- 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
- 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported functions --------------------------------------------------------*/
- 619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Functions USART Exported Functions
- 621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration Configuration functions
- 625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Enable
- 630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Enable
- 631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Enable(USART_TypeDef *USARTx)
- 635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 49 .loc 1 635 1
- 50 .cfi_startproc
- 51 @ args = 0, pretend = 0, frame = 8
- 52 @ frame_needed = 1, uses_anonymous_args = 0
- 53 0000 80B5 push {r7, lr}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 13
- 54 .LCFI0:
- 55 .cfi_def_cfa_offset 8
- 56 .cfi_offset 7, -8
- 57 .cfi_offset 14, -4
- 58 0002 82B0 sub sp, sp, #8
- 59 .LCFI1:
- 60 .cfi_def_cfa_offset 16
- 61 0004 00AF add r7, sp, #0
- 62 .LCFI2:
- 63 .cfi_def_cfa_register 7
- 64 0006 7860 str r0, [r7, #4]
- 636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_UE);
- 65 .loc 1 636 3
- 66 0008 7B68 ldr r3, [r7, #4]
- 67 000a 1B68 ldr r3, [r3]
- 68 000c 0122 movs r2, #1
- 69 000e 1A43 orrs r2, r3
- 70 0010 7B68 ldr r3, [r7, #4]
- 71 0012 1A60 str r2, [r3]
- 637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 72 .loc 1 637 1
- 73 0014 C046 nop
- 74 0016 BD46 mov sp, r7
- 75 0018 02B0 add sp, sp, #8
- 76 @ sp needed
- 77 001a 80BD pop {r7, pc}
- 78 .cfi_endproc
- 79 .LFE440:
- 81 .section .text.LL_USART_Disable,"ax",%progbits
- 82 .align 1
- 83 .syntax unified
- 84 .code 16
- 85 .thumb_func
- 87 LL_USART_Disable:
- 88 .LFB441:
- 638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Disable (all USART prescalers and outputs are disabled)
- 641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When USART is disabled, USART prescalers and outputs are stopped immediately,
- 642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * and current operations are discarded. The configuration of the USART is kept, but all t
- 643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * flags, in the USARTx_ISR are set to their default values.
- 644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Disable
- 645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Disable(USART_TypeDef *USARTx)
- 649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 89 .loc 1 649 1
- 90 .cfi_startproc
- 91 @ args = 0, pretend = 0, frame = 8
- 92 @ frame_needed = 1, uses_anonymous_args = 0
- 93 0000 80B5 push {r7, lr}
- 94 .LCFI3:
- 95 .cfi_def_cfa_offset 8
- 96 .cfi_offset 7, -8
- 97 .cfi_offset 14, -4
- 98 0002 82B0 sub sp, sp, #8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 14
- 99 .LCFI4:
- 100 .cfi_def_cfa_offset 16
- 101 0004 00AF add r7, sp, #0
- 102 .LCFI5:
- 103 .cfi_def_cfa_register 7
- 104 0006 7860 str r0, [r7, #4]
- 650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_UE);
- 105 .loc 1 650 3
- 106 0008 7B68 ldr r3, [r7, #4]
- 107 000a 1B68 ldr r3, [r3]
- 108 000c 0122 movs r2, #1
- 109 000e 9343 bics r3, r2
- 110 0010 1A00 movs r2, r3
- 111 0012 7B68 ldr r3, [r7, #4]
- 112 0014 1A60 str r2, [r3]
- 651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 113 .loc 1 651 1
- 114 0016 C046 nop
- 115 0018 BD46 mov sp, r7
- 116 001a 02B0 add sp, sp, #8
- 117 @ sp needed
- 118 001c 80BD pop {r7, pc}
- 119 .cfi_endproc
- 120 .LFE441:
- 122 .section .text.LL_USART_IsActiveFlag_ORE,"ax",%progbits
- 123 .align 1
- 124 .syntax unified
- 125 .code 16
- 126 .thumb_func
- 128 LL_USART_IsActiveFlag_ORE:
- 129 .LFB579:
- 652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled
- 655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_IsEnabled
- 656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabled(const USART_TypeDef *USARTx)
- 660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL);
- 662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Enable
- 666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_EnableFIFO
- 669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableFIFO(USART_TypeDef *USARTx)
- 673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_FIFOEN);
- 675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 15
- 678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Disable
- 679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_DisableFIFO
- 682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableFIFO(USART_TypeDef *USARTx)
- 686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_FIFOEN);
- 688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if FIFO Mode is enabled
- 692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_IsEnabledFIFO
- 695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledFIFO(const USART_TypeDef *USARTx)
- 699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL);
- 701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX FIFO Threshold
- 705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_SetTXFIFOThreshold
- 708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
- 710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
- 719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos);
- 721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return TX FIFO Threshold Configuration
- 725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_GetTXFIFOThreshold
- 728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 16
- 735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXFIFOThreshold(const USART_TypeDef *USARTx)
- 738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos);
- 740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX FIFO Threshold
- 744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_SetRXFIFOThreshold
- 747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
- 749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
- 758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos);
- 760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return RX FIFO Threshold Configuration
- 764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_GetRXFIFOThreshold
- 767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXFIFOThreshold(const USART_TypeDef *USARTx)
- 777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos);
- 779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX and RX FIFOs Threshold
- 783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_ConfigFIFOsThreshold\n
- 786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 RXFTCFG LL_USART_ConfigFIFOsThreshold
- 787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TXThreshold This parameter can be one of the following values:
- 789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 17
- 792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param RXThreshold This parameter can be one of the following values:
- 796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigFIFOsThreshold(USART_TypeDef *USARTx, uint32_t TXThreshold, uin
- 805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG | USART_CR3_RXFTCFG, (TXThreshold << USART_CR3_T
- 807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (RXThreshold << USART_CR3_RXFTCFG_Pos));
- 808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART enabled in STOP Mode.
- 812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When this function is enabled, USART is able to wake up the MCU from Stop mode, provide
- 813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * USART clock selection is HSI or LSE in RCC.
- 814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_EnableInStopMode
- 817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableInStopMode(USART_TypeDef *USARTx)
- 821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_UESM);
- 823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART disabled in STOP Mode.
- 827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When this function is disabled, USART is not able to wake up the MCU from Stop mode
- 828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_DisableInStopMode
- 831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableInStopMode(USART_TypeDef *USARTx)
- 835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_UESM);
- 837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled in STOP Mode (able to wake up MCU from Stop mode or not)
- 841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_IsEnabledInStopMode
- 844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledInStopMode(const USART_TypeDef *USARTx)
- 848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 18
- 849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL);
- 850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Enable (Receiver is enabled and begins searching for a start bit)
- 854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_EnableDirectionRx
- 855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx)
- 859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE);
- 861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Disable
- 865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_DisableDirectionRx
- 866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx)
- 870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE);
- 872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Enable
- 876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_EnableDirectionTx
- 877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx)
- 881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TE);
- 883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Disable
- 887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_DisableDirectionTx
- 888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx)
- 892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TE);
- 894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure simultaneously enabled/disabled states
- 898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * of Transmitter and Receiver
- 899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_SetTransferDirection\n
- 900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_SetTransferDirection
- 901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TransferDirection This parameter can be one of the following values:
- 903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
- 904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
- 905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 19
- 906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
- 907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32_t TransferDirectio
- 910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection);
- 912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return enabled/disabled states of Transmitter and Receiver
- 916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_GetTransferDirection\n
- 917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_GetTransferDirection
- 918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
- 921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
- 922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
- 923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
- 924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferDirection(const USART_TypeDef *USARTx)
- 926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE));
- 928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Parity (enabled/disabled and parity mode if enabled).
- 932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This function selects if hardware parity control (generation and detection) is enabled
- 933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * When the parity control is enabled (Odd or Even), computed parity bit is inserted at th
- 934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (9th or 8th bit depending on data width) and parity is checked on the received data.
- 935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_SetParity\n
- 936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_SetParity
- 937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
- 939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
- 940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
- 941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
- 942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetParity(USART_TypeDef *USARTx, uint32_t Parity)
- 945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE, Parity);
- 947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Parity configuration (enabled/disabled and parity mode if enabled)
- 951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_GetParity\n
- 952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_GetParity
- 953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
- 956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
- 957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
- 958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetParity(const USART_TypeDef *USARTx)
- 960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE));
- 962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 20
- 963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Wake Up method from Mute mode.
- 966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_SetWakeUpMethod
- 967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Method This parameter can be one of the following values:
- 969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
- 970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
- 971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWakeUpMethod(USART_TypeDef *USARTx, uint32_t Method)
- 974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_WAKE, Method);
- 976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Receiver Wake Up method from Mute mode
- 980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_GetWakeUpMethod
- 981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
- 984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
- 985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(const USART_TypeDef *USARTx)
- 987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE));
- 989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Word length (i.e. nb of data bits, excluding start and stop bits)
- 993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_SetDataWidth\n
- 994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_SetDataWidth
- 995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
- 997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
- 998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
- 999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
- 1000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDataWidth(USART_TypeDef *USARTx, uint32_t DataWidth)
- 1003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_M, DataWidth);
- 1005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Word length (i.e. nb of data bits, excluding start and stop bits)
- 1009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_GetDataWidth\n
- 1010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_GetDataWidth
- 1011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
- 1014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
- 1015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
- 1016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDataWidth(const USART_TypeDef *USARTx)
- 1018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M));
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 21
- 1020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Allow switch between Mute Mode and Active mode
- 1024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_EnableMuteMode
- 1025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableMuteMode(USART_TypeDef *USARTx)
- 1029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_MME);
- 1031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Prevent Mute Mode use. Set Receiver in active mode permanently.
- 1035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_DisableMuteMode
- 1036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableMuteMode(USART_TypeDef *USARTx)
- 1040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_MME);
- 1042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if switch between Mute Mode and Active mode is allowed
- 1046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_IsEnabledMuteMode
- 1047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledMuteMode(const USART_TypeDef *USARTx)
- 1051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)) ? 1UL : 0UL);
- 1053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Oversampling to 8-bit or 16-bit mode
- 1057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_SetOverSampling
- 1058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
- 1060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetOverSampling(USART_TypeDef *USARTx, uint32_t OverSampling)
- 1065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_OVER8, OverSampling);
- 1067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Oversampling mode
- 1071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_GetOverSampling
- 1072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 22
- 1077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetOverSampling(const USART_TypeDef *USARTx)
- 1078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8));
- 1080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure if Clock pulse of the last data bit is output to the SCLK pin or not
- 1084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_SetLastClkPulseOutput
- 1087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LastBitClockPulse This parameter can be one of the following values:
- 1089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
- 1090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
- 1091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint32_t LastBitClockPul
- 1094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBCL, LastBitClockPulse);
- 1096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Clock pulse of the last data bit output configuration
- 1100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Last bit Clock pulse output to the SCLK pin or not)
- 1101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_GetLastClkPulseOutput
- 1104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
- 1107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
- 1108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(const USART_TypeDef *USARTx)
- 1110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL));
- 1112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select the phase of the clock output on the SCLK pin in synchronous mode
- 1116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_SetClockPhase
- 1119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPhase This parameter can be one of the following values:
- 1121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
- 1122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 1123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t ClockPhase)
- 1126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA, ClockPhase);
- 1128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return phase of the clock output on the SCLK pin in synchronous mode
- 1132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 23
- 1134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_GetClockPhase
- 1135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
- 1138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 1139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPhase(const USART_TypeDef *USARTx)
- 1141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA));
- 1143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select the polarity of the clock output on the SCLK pin in synchronous mode
- 1147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_SetClockPolarity
- 1150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPolarity This parameter can be one of the following values:
- 1152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
- 1153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
- 1154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t ClockPolarity)
- 1157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPOL, ClockPolarity);
- 1159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return polarity of the clock output on the SCLK pin in synchronous mode
- 1163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_GetClockPolarity
- 1166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
- 1169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
- 1170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPolarity(const USART_TypeDef *USARTx)
- 1172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL));
- 1174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock signal format (Phase Polarity and choice about output of last bit clock
- 1178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 1181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Phase configuration using @ref LL_USART_SetClockPhase() function
- 1182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Polarity configuration using @ref LL_USART_SetClockPolarity() function
- 1183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Output of Last bit Clock pulse configuration using @ref LL_USART_SetLastClkPulseOutpu
- 1184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_ConfigClock\n
- 1185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CPOL LL_USART_ConfigClock\n
- 1186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LBCL LL_USART_ConfigClock
- 1187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Phase This parameter can be one of the following values:
- 1189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
- 1190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 24
- 1191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
- 1192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
- 1193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
- 1194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LBCPOutput This parameter can be one of the following values:
- 1195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
- 1196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
- 1197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity,
- 1200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA | USART_CR2_CPOL | USART_CR2_LBCL, Phase | Polarity | LBCP
- 1202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock source prescaler for baudrate generator and oversampling
- 1206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 1207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 1208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_SetPrescaler
- 1209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
- 1211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
- 1226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->PRESC, USART_PRESC_PRESCALER, (uint16_t)PrescalerValue);
- 1228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the Clock source prescaler for baudrate generator and oversampling
- 1232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 1233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 1234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_GetPrescaler
- 1235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 25
- 1248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetPrescaler(const USART_TypeDef *USARTx)
- 1251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->PRESC, USART_PRESC_PRESCALER));
- 1253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Clock output on SCLK pin
- 1257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_EnableSCLKOutput
- 1260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSCLKOutput(USART_TypeDef *USARTx)
- 1264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
- 1266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Clock output on SCLK pin
- 1270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_DisableSCLKOutput
- 1273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx)
- 1277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN);
- 1279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Clock output on SCLK pin is enabled
- 1283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_IsEnabledSCLKOutput
- 1286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(const USART_TypeDef *USARTx)
- 1290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)) ? 1UL : 0UL);
- 1292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set the length of the stop bits
- 1296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_SetStopBitsLength
- 1297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
- 1299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
- 1300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
- 1301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
- 1302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
- 1303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 26
- 1305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetStopBitsLength(USART_TypeDef *USARTx, uint32_t StopBits)
- 1306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
- 1308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the length of the stop bits
- 1312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_GetStopBitsLength
- 1313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
- 1316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
- 1317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
- 1318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
- 1319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(const USART_TypeDef *USARTx)
- 1321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_STOP));
- 1323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Character frame format (Datawidth, Parity control, Stop Bits)
- 1327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 1328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Data Width configuration using @ref LL_USART_SetDataWidth() function
- 1329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Parity Control and mode configuration using @ref LL_USART_SetParity() function
- 1330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Stop bits configuration using @ref LL_USART_SetStopBitsLength() function
- 1331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_ConfigCharacter\n
- 1332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_ConfigCharacter\n
- 1333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M0 LL_USART_ConfigCharacter\n
- 1334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_ConfigCharacter\n
- 1335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigCharacter
- 1336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
- 1338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
- 1339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
- 1340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
- 1341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
- 1342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
- 1343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
- 1344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
- 1345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
- 1346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
- 1347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
- 1348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
- 1349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
- 1350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigCharacter(USART_TypeDef *USARTx, uint32_t DataWidth, uint32_t P
- 1353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits)
- 1354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE | USART_CR1_M, Parity | DataWidth);
- 1356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
- 1357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX/RX pins swapping setting.
- 1361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_SetTXRXSwap
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 27
- 1362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param SwapConfig This parameter can be one of the following values:
- 1364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
- 1365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
- 1366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXRXSwap(USART_TypeDef *USARTx, uint32_t SwapConfig)
- 1369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_SWAP, SwapConfig);
- 1371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX/RX pins swapping configuration.
- 1375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_GetTXRXSwap
- 1376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
- 1379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
- 1380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXRXSwap(const USART_TypeDef *USARTx)
- 1382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_SWAP));
- 1384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX pin active level logic
- 1388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_SetRXPinLevel
- 1389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
- 1391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
- 1392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
- 1393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
- 1396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_RXINV, PinInvMethod);
- 1398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve RX pin active level logic configuration
- 1402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_GetRXPinLevel
- 1403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
- 1406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
- 1407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXPinLevel(const USART_TypeDef *USARTx)
- 1409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_RXINV));
- 1411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX pin active level logic
- 1415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_SetTXPinLevel
- 1416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
- 1418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 28
- 1419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
- 1420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
- 1423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_TXINV, PinInvMethod);
- 1425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX pin active level logic configuration
- 1429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_GetTXPinLevel
- 1430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
- 1433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
- 1434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXPinLevel(const USART_TypeDef *USARTx)
- 1436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_TXINV));
- 1438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Binary data logic.
- 1442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Allow to define how Logical data from the data register are send/received :
- 1443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * either in positive/direct logic (1=H, 0=L) or in negative/inverse logic (1=L, 0=H)
- 1444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_SetBinaryDataLogic
- 1445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataLogic This parameter can be one of the following values:
- 1447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
- 1448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
- 1449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBinaryDataLogic(USART_TypeDef *USARTx, uint32_t DataLogic)
- 1452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_DATAINV, DataLogic);
- 1454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Binary data configuration
- 1458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_GetBinaryDataLogic
- 1459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
- 1462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
- 1463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBinaryDataLogic(const USART_TypeDef *USARTx)
- 1465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_DATAINV));
- 1467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure transfer bit order (either Less or Most Significant Bit First)
- 1471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note MSB First means data is transmitted/received with the MSB first, following the start bi
- 1472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LSB First means data is transmitted/received with data bit 0 first, following the start
- 1473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_SetTransferBitOrder
- 1474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BitOrder This parameter can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 29
- 1476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
- 1477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
- 1478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferBitOrder(USART_TypeDef *USARTx, uint32_t BitOrder)
- 1481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_MSBFIRST, BitOrder);
- 1483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return transfer bit order (either Less or Most Significant Bit First)
- 1487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note MSB First means data is transmitted/received with the MSB first, following the start bi
- 1488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LSB First means data is transmitted/received with data bit 0 first, following the start
- 1489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_GetTransferBitOrder
- 1490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
- 1493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
- 1494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferBitOrder(const USART_TypeDef *USARTx)
- 1496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_MSBFIRST));
- 1498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Auto Baud-Rate Detection
- 1502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 1503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_EnableAutoBaudRate
- 1505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableAutoBaudRate(USART_TypeDef *USARTx)
- 1509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_ABREN);
- 1511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Auto Baud-Rate Detection
- 1515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 1516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_DisableAutoBaudRate
- 1518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableAutoBaudRate(USART_TypeDef *USARTx)
- 1522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN);
- 1524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Auto Baud-Rate Detection mechanism is enabled
- 1528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 1529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_IsEnabledAutoBaud
- 1531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 30
- 1533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledAutoBaud(const USART_TypeDef *USARTx)
- 1535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_ABREN) == (USART_CR2_ABREN)) ? 1UL : 0UL);
- 1537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Auto Baud-Rate mode bits
- 1541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 1542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_SetAutoBaudRateMode
- 1544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoBaudRateMode This parameter can be one of the following values:
- 1546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
- 1547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
- 1548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
- 1549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
- 1550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetAutoBaudRateMode(USART_TypeDef *USARTx, uint32_t AutoBaudRateMode)
- 1553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ABRMODE, AutoBaudRateMode);
- 1555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Auto Baud-Rate mode
- 1559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 1560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_GetAutoBaudRateMode
- 1562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
- 1565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
- 1566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
- 1567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
- 1568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetAutoBaudRateMode(const USART_TypeDef *USARTx)
- 1570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ABRMODE));
- 1572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout
- 1576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_EnableRxTimeout
- 1577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRxTimeout(USART_TypeDef *USARTx)
- 1581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_RTOEN);
- 1583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout
- 1587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_DisableRxTimeout
- 1588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 31
- 1590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRxTimeout(USART_TypeDef *USARTx)
- 1592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN);
- 1594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Receiver Timeout feature is enabled
- 1598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_IsEnabledRxTimeout
- 1599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledRxTimeout(const USART_TypeDef *USARTx)
- 1603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_RTOEN) == (USART_CR2_RTOEN)) ? 1UL : 0UL);
- 1605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Address of the USART node.
- 1609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This is used in multiprocessor communication during Mute mode or Stop mode,
- 1610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with address mark detection.
- 1611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note 4bits address node is used when 4-bit Address Detection is selected in ADDM7.
- 1612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (b7-b4 should be set to 0)
- 1613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 8bits address node is used when 7-bit Address Detection is selected in ADDM7.
- 1614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (This is used in multiprocessor communication during Mute mode or Stop mode,
- 1615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with 7-bit address mark detection.
- 1616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * The MSB of the character sent by the transmitter should be equal to 1.
- 1617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * It may also be used for character detection during normal reception,
- 1618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Mute mode inactive (for example, end of block detection in ModBus protocol).
- 1619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In this case, the whole received character (8-bit) is compared to the ADD[7:0]
- 1620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * value and CMF flag is set on match)
- 1621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_ConfigNodeAddress\n
- 1622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 ADDM7 LL_USART_ConfigNodeAddress
- 1623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AddressLen This parameter can be one of the following values:
- 1625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
- 1626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
- 1627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param NodeAddress 4 or 7 bit Address of the USART node.
- 1628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigNodeAddress(USART_TypeDef *USARTx, uint32_t AddressLen, uint32_
- 1631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ADD | USART_CR2_ADDM7,
- 1633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (uint32_t)(AddressLen | (NodeAddress << USART_CR2_ADD_Pos)));
- 1634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return 8 bit Address of the USART node as set in ADD field of CR2.
- 1638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note If 4-bit Address Detection is selected in ADDM7,
- 1639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 4bits (b3-b0) of returned value are relevant (b31-b4 are not relevant)
- 1640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If 7-bit Address Detection is selected in ADDM7,
- 1641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 8bits (b7-b0) of returned value are relevant (b31-b8 are not relevant)
- 1642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_GetNodeAddress
- 1643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of the USART node (Value between Min_Data=0 and Max_Data=255)
- 1645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddress(const USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 32
- 1647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADD) >> USART_CR2_ADD_Pos);
- 1649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Length of Node Address used in Address Detection mode (7-bit or 4-bit)
- 1653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADDM7 LL_USART_GetNodeAddressLen
- 1654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
- 1657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
- 1658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddressLen(const USART_TypeDef *USARTx)
- 1660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADDM7));
- 1662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RTS HW Flow Control
- 1666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 1667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_EnableRTSHWFlowCtrl
- 1669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_RTSE);
- 1675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RTS HW Flow Control
- 1679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 1680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_DisableRTSHWFlowCtrl
- 1682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE);
- 1688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS HW Flow Control
- 1692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 1693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_EnableCTSHWFlowCtrl
- 1695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_CTSE);
- 1701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 33
- 1704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS HW Flow Control
- 1705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 1706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_DisableCTSHWFlowCtrl
- 1708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE);
- 1714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure HW Flow Control mode (both CTS and RTS)
- 1718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 1719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_SetHWFlowCtrl\n
- 1721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_SetHWFlowCtrl
- 1722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param HardwareFlowControl This parameter can be one of the following values:
- 1724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
- 1725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
- 1726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
- 1727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
- 1728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t HardwareFlowControl)
- 1731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl);
- 1733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return HW Flow Control configuration (both CTS and RTS)
- 1737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 1738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_GetHWFlowCtrl\n
- 1740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_GetHWFlowCtrl
- 1741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
- 1744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
- 1745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
- 1746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
- 1747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(const USART_TypeDef *USARTx)
- 1749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE));
- 1751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable One bit sampling method
- 1755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_EnableOneBitSamp
- 1756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOneBitSamp(USART_TypeDef *USARTx)
- 1760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 34
- 1761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_ONEBIT);
- 1762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable One bit sampling method
- 1766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_DisableOneBitSamp
- 1767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOneBitSamp(USART_TypeDef *USARTx)
- 1771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT);
- 1773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if One bit sampling method is enabled
- 1777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_IsEnabledOneBitSamp
- 1778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(const USART_TypeDef *USARTx)
- 1782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)) ? 1UL : 0UL);
- 1784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Overrun detection
- 1788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_EnableOverrunDetect
- 1789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOverrunDetect(USART_TypeDef *USARTx)
- 1793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_OVRDIS);
- 1795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Overrun detection
- 1799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_DisableOverrunDetect
- 1800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOverrunDetect(USART_TypeDef *USARTx)
- 1804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_OVRDIS);
- 1806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Overrun detection is enabled
- 1810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_IsEnabledOverrunDetect
- 1811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOverrunDetect(const USART_TypeDef *USARTx)
- 1815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS) ? 1UL : 0UL);
- 1817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 35
- 1818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
- 1821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 1822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 1823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_SetWKUPType
- 1824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Type This parameter can be one of the following values:
- 1826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
- 1827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
- 1828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
- 1829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWKUPType(USART_TypeDef *USARTx, uint32_t Type)
- 1832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_WUS, Type);
- 1834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
- 1838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 1839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 1840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_GetWKUPType
- 1841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
- 1844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
- 1845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
- 1846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWKUPType(const USART_TypeDef *USARTx)
- 1848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_WUS));
- 1850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure USART BRR register for achieving expected Baud Rate value.
- 1854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Compute and set USARTDIV value in BRR Register (full BRR content)
- 1855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * according to used Peripheral Clock, Oversampling mode, and expected Baud Rate values
- 1856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Peripheral clock and Baud rate values provided as function parameters should be valid
- 1857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Baud rate value != 0)
- 1858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In case of oversampling by 16 and 8, BRR content must be greater than or equal to 16d.
- 1859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_SetBaudRate
- 1860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
- 1862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
- 1863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 36
- 1875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
- 1876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BaudRate Baud Rate
- 1879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t Presc
- 1882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling,
- 1883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate)
- 1884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
- 1886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrtemp;
- 1887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (PrescalerValue > LL_USART_PRESCALER_DIV256)
- 1889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not overstep the size of USART_PRESCALER_TAB */
- 1891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (BaudRate == 0U)
- 1893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Can Not divide per 0 */
- 1895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
- 1897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)(__LL_USART_DIV_SAMPLING8(PeriphClk, (uint8_t)PrescalerValue, BaudRate));
- 1899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp = usartdiv & 0xFFF0U;
- 1900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp |= (uint16_t)((usartdiv & (uint16_t)0x000FU) >> 1U);
- 1901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = brrtemp;
- 1902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
- 1904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = (uint16_t)(__LL_USART_DIV_SAMPLING16(PeriphClk, (uint8_t)PrescalerValue, BaudRate
- 1906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return current Baud Rate value, according to USARTDIV present in BRR register
- 1911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (full BRR content), and to used Peripheral Clock and Oversampling mode values
- 1912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In case of non-initialized or invalid value stored in BRR register, value 0 will be ret
- 1913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In case of oversampling by 16 and 8, BRR content must be greater than or equal to 16d.
- 1914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_GetBaudRate
- 1915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
- 1917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
- 1918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
- 1931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 37
- 1932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Baud Rate
- 1934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBaudRate(const USART_TypeDef *USARTx, uint32_t PeriphClk, uint
- 1936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling)
- 1937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
- 1939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrresult = 0x0U;
- 1940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t periphclkpresc = (uint32_t)(PeriphClk / (USART_PRESCALER_TAB[(uint8_t)PrescalerValue]));
- 1941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = USARTx->BRR;
- 1943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv == 0U)
- 1945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not perform a division by 0 */
- 1947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
- 1949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)((usartdiv & 0xFFF0U) | ((usartdiv & 0x0007U) << 1U)) ;
- 1951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv != 0U)
- 1952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = (periphclkpresc * 2U) / usartdiv;
- 1954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
- 1957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if ((usartdiv & 0xFFFFU) != 0U)
- 1959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = periphclkpresc / usartdiv;
- 1961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (brrresult);
- 1964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Time Out Value (expressed in nb of bits duration)
- 1968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_SetRxTimeout
- 1969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Timeout Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
- 1971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRxTimeout(USART_TypeDef *USARTx, uint32_t Timeout)
- 1974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_RTO, Timeout);
- 1976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Receiver Time Out Value (expressed in nb of bits duration)
- 1980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_GetRxTimeout
- 1981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
- 1983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRxTimeout(const USART_TypeDef *USARTx)
- 1985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_RTO));
- 1987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 38
- 1989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Block Length value in reception
- 1991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_SetBlockLength
- 1992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BlockLength Value between Min_Data=0x00 and Max_Data=0xFF
- 1994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBlockLength(USART_TypeDef *USARTx, uint32_t BlockLength)
- 1997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_BLEN, BlockLength << USART_RTOR_BLEN_Pos);
- 1999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Block Length value in reception
- 2003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_GetBlockLength
- 2004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
- 2006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBlockLength(const USART_TypeDef *USARTx)
- 2008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_BLEN) >> USART_RTOR_BLEN_Pos);
- 2010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_IRDA Configuration functions related to Irda feature
- 2017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IrDA mode
- 2022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_EnableIrda
- 2025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIrda(USART_TypeDef *USARTx)
- 2029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
- 2031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IrDA mode
- 2035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_DisableIrda
- 2038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx)
- 2042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_IREN);
- 2044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 39
- 2046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if IrDA mode is enabled
- 2048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_IsEnabledIrda
- 2051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(const USART_TypeDef *USARTx)
- 2055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_IREN) == (USART_CR3_IREN)) ? 1UL : 0UL);
- 2057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure IrDA Power Mode (Normal or Low Power)
- 2061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_SetIrdaPowerMode
- 2064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PowerMode This parameter can be one of the following values:
- 2066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
- 2067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_LOW
- 2068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t PowerMode)
- 2071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_IRLP, PowerMode);
- 2073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve IrDA Power Mode configuration (Normal or Low Power)
- 2077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_GetIrdaPowerMode
- 2080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 2082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
- 2083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 2084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(const USART_TypeDef *USARTx)
- 2086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_IRLP));
- 2088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Irda prescaler value, used for dividing the USART clock source
- 2092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
- 2093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetIrdaPrescaler
- 2096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0x00 and Max_Data=0xFF
- 2098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
- 2101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 40
- 2103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Irda prescaler value, used for dividing the USART clock source
- 2107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
- 2108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetIrdaPrescaler
- 2111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Irda prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF)
- 2113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(const USART_TypeDef *USARTx)
- 2115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
- 2117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_Smartcard Configuration functions related to Smartcard feat
- 2124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard NACK transmission
- 2129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
- 2132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcardNACK(USART_TypeDef *USARTx)
- 2136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_NACK);
- 2138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard NACK transmission
- 2142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
- 2145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx)
- 2149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_NACK);
- 2151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard NACK transmission is enabled
- 2155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
- 2158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 41
- 2160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(const USART_TypeDef *USARTx)
- 2162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_NACK) == (USART_CR3_NACK)) ? 1UL : 0UL);
- 2164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard mode
- 2168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_EnableSmartcard
- 2171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcard(USART_TypeDef *USARTx)
- 2175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
- 2177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard mode
- 2181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_DisableSmartcard
- 2184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx)
- 2188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_SCEN);
- 2190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard mode is enabled
- 2194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
- 2197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(const USART_TypeDef *USARTx)
- 2201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_SCEN) == (USART_CR3_SCEN)) ? 1UL : 0UL);
- 2203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
- 2207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This bit-field specifies the number of retries in transmit and receive, in Smartcard mo
- 2210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In transmission mode, it specifies the number of automatic retransmission retries, befo
- 2211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * generating a transmission error (FE bit set).
- 2212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In reception mode, it specifies the number or erroneous reception trials, before genera
- 2213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * reception error (RXNE and PE bits set)
- 2214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_SetSmartcardAutoRetryCount
- 2215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoRetryCount Value between Min_Data=0 and Max_Data=7
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 42
- 2217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardAutoRetryCount(USART_TypeDef *USARTx, uint32_t AutoRetryC
- 2220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_SCARCNT, AutoRetryCount << USART_CR3_SCARCNT_Pos);
- 2222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
- 2226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_GetSmartcardAutoRetryCount
- 2229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Auto-Retry Count value (Value between Min_Data=0 and Max_Data=7)
- 2231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardAutoRetryCount(const USART_TypeDef *USARTx)
- 2233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_SCARCNT) >> USART_CR3_SCARCNT_Pos);
- 2235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard prescaler value, used for dividing the USART clock
- 2239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
- 2240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
- 2243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0 and Max_Data=31
- 2245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
- 2248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
- 2250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard prescaler value, used for dividing the USART clock
- 2254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
- 2255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
- 2258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard prescaler value (Value between Min_Data=0 and Max_Data=31)
- 2260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(const USART_TypeDef *USARTx)
- 2262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
- 2264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Guard time value, expressed in nb of baud clocks periods
- 2268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
- 2269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
- 2272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param GuardTime Value between Min_Data=0x00 and Max_Data=0xFF
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 43
- 2274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint32_t GuardTime)
- 2277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_GT, (uint16_t)(GuardTime << USART_GTPR_GT_Pos));
- 2279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Guard time value, expressed in nb of baud clocks periods
- 2283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
- 2284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_GetSmartcardGuardTime
- 2287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Guard time value (Value between Min_Data=0x00 and Max_Data=0xFF)
- 2289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(const USART_TypeDef *USARTx)
- 2291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_GT) >> USART_GTPR_GT_Pos);
- 2293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_HalfDuplex Configuration functions related to Half Duplex f
- 2300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Single Wire Half-Duplex mode
- 2305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
- 2306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_EnableHalfDuplex
- 2308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableHalfDuplex(USART_TypeDef *USARTx)
- 2312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
- 2314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Single Wire Half-Duplex mode
- 2318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
- 2319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_DisableHalfDuplex
- 2321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx)
- 2325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_HDSEL);
- 2327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Single Wire Half-Duplex mode is enabled
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 44
- 2331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
- 2332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_IsEnabledHalfDuplex
- 2334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(const USART_TypeDef *USARTx)
- 2338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)) ? 1UL : 0UL);
- 2340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_SPI_SLAVE Configuration functions related to SPI Slave feat
- 2347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Synchronous Slave mode
- 2351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 2352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_EnableSPISlave
- 2354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlave(USART_TypeDef *USARTx)
- 2358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_SLVEN);
- 2360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Synchronous Slave mode
- 2364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 2365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_DisableSPISlave
- 2367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlave(USART_TypeDef *USARTx)
- 2371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_SLVEN);
- 2373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Synchronous Slave mode is enabled
- 2377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 2378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_IsEnabledSPISlave
- 2380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave(const USART_TypeDef *USARTx)
- 2384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_SLVEN) == (USART_CR2_SLVEN)) ? 1UL : 0UL);
- 2386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 45
- 2388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Slave Selection using NSS input pin
- 2390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 2391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave Selection depends on NSS input pin
- 2393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (The slave is selected when NSS is low and deselected when NSS is high).
- 2394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_EnableSPISlaveSelect
- 2395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlaveSelect(USART_TypeDef *USARTx)
- 2399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
- 2401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Slave Selection using NSS input pin
- 2405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 2406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave will be always selected and NSS input pin will be ignored.
- 2408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_DisableSPISlaveSelect
- 2409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlaveSelect(USART_TypeDef *USARTx)
- 2413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
- 2415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Slave Selection depends on NSS input pin
- 2419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 2420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_IsEnabledSPISlaveSelect
- 2422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect(const USART_TypeDef *USARTx)
- 2426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_DIS_NSS) != (USART_CR2_DIS_NSS)) ? 1UL : 0UL);
- 2428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_LIN Configuration functions related to LIN feature
- 2435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set LIN Break Detection Length
- 2440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 2441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
- 2443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LINBDLength This parameter can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 46
- 2445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
- 2446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
- 2447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint32_t LINBDLength)
- 2450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBDL, LINBDLength);
- 2452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return LIN Break Detection Length
- 2456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 2457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
- 2459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 2461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
- 2462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
- 2463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(const USART_TypeDef *USARTx)
- 2465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBDL));
- 2467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN mode
- 2471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 2472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_EnableLIN
- 2474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableLIN(USART_TypeDef *USARTx)
- 2478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
- 2480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN mode
- 2484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 2485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_DisableLIN
- 2487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx)
- 2491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LINEN);
- 2493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if LIN mode is enabled
- 2497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 2498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
- 2500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 47
- 2502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(const USART_TypeDef *USARTx)
- 2504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LINEN) == (USART_CR2_LINEN)) ? 1UL : 0UL);
- 2506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_DE Configuration functions related to Driver Enable feature
- 2513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits)
- 2518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_SetDEDeassertionTime
- 2521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
- 2523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEDeassertionTime(USART_TypeDef *USARTx, uint32_t Time)
- 2526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos);
- 2528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEDT (Driver Enable De-Assertion Time)
- 2532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_GetDEDeassertionTime
- 2535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Time value expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31
- 2537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime(const USART_TypeDef *USARTx)
- 2539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEDT) >> USART_CR1_DEDT_Pos);
- 2541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).
- 2545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_SetDEAssertionTime
- 2548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
- 2550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEAssertionTime(USART_TypeDef *USARTx, uint32_t Time)
- 2553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
- 2555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEAT (Driver Enable Assertion Time)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 48
- 2559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_GetDEAssertionTime
- 2562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Time value expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31
- 2564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime(const USART_TypeDef *USARTx)
- 2566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEAT) >> USART_CR1_DEAT_Pos);
- 2568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Driver Enable (DE) Mode
- 2572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_EnableDEMode
- 2575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDEMode(USART_TypeDef *USARTx)
- 2579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DEM);
- 2581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Driver Enable (DE) Mode
- 2585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_DisableDEMode
- 2588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDEMode(USART_TypeDef *USARTx)
- 2592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DEM);
- 2594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Driver Enable (DE) Mode is enabled
- 2598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_IsEnabledDEMode
- 2601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode(const USART_TypeDef *USARTx)
- 2605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DEM) == (USART_CR3_DEM)) ? 1UL : 0UL);
- 2607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select Driver Enable Polarity
- 2611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_SetDESignalPolarity
- 2614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 49
- 2616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
- 2617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
- 2618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDESignalPolarity(USART_TypeDef *USARTx, uint32_t Polarity)
- 2621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_DEP, Polarity);
- 2623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Driver Enable Polarity
- 2627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
- 2628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_GetDESignalPolarity
- 2630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 2632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
- 2633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
- 2634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity(const USART_TypeDef *USARTx)
- 2636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_DEP));
- 2638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_AdvancedConfiguration Advanced Configurations services
- 2645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Asynchronous Mode (UART)
- 2650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In UART mode, the following bits must be kept cleared:
- 2651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
- 2653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Asynchronous Mode
- 2663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
- 2664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigAsyncMode\n
- 2666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigAsyncMode\n
- 2667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigAsyncMode\n
- 2668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigAsyncMode\n
- 2669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigAsyncMode
- 2670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 50
- 2673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigAsyncMode(USART_TypeDef *USARTx)
- 2674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Asynchronous mode, the following bits must be kept cleared:
- 2676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, CLKEN bits in the USART_CR2 register,
- 2677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
- 2678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 2680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
- 2681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Synchronous Mode
- 2685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Synchronous mode, the following bits must be kept cleared:
- 2686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the USART in Synchronous mode.
- 2691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 2692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 2693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
- 2699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Synchronous Mode
- 2700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, Clock Polarity, ...) should be set using
- 2701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSyncMode\n
- 2703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSyncMode\n
- 2704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSyncMode\n
- 2705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigSyncMode\n
- 2706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSyncMode
- 2707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSyncMode(USART_TypeDef *USARTx)
- 2711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Synchronous mode, the following bits must be kept cleared:
- 2713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
- 2714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
- 2715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
- 2717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
- 2718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Synchronous mode */
- 2719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
- 2720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in LIN Mode
- 2724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In LIN mode, the following bits must be kept cleared:
- 2725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
- 2726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also set the UART/USART in LIN mode.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 51
- 2730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 2731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
- 2735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set LINEN in CR2 using @ref LL_USART_EnableLIN() function
- 2739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to LIN Mode
- 2740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, LIN Break Detection Length, ...) should be set using
- 2741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_ConfigLINMode\n
- 2743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigLINMode\n
- 2744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LINEN LL_USART_ConfigLINMode\n
- 2745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigLINMode\n
- 2746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigLINMode\n
- 2747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigLINMode
- 2748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigLINMode(USART_TypeDef *USARTx)
- 2752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In LIN mode, the following bits must be kept cleared:
- 2754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - STOP and CLKEN bits in the USART_CR2 register,
- 2755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
- 2756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_CLKEN | USART_CR2_STOP));
- 2758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_SCEN | USART_CR3_HDSEL));
- 2759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Set the UART/USART in LIN mode */
- 2760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
- 2761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Half Duplex Mode
- 2765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Half Duplex mode, the following bits must be kept cleared:
- 2766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
- 2768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in Half Duplex mode.
- 2771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
- 2772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set HDSEL in CR3 using @ref LL_USART_EnableHalfDuplex() function
- 2779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Half Duplex Mode
- 2780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
- 2781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigHalfDuplexMode\n
- 2783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigHalfDuplexMode\n
- 2784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigHalfDuplexMode\n
- 2785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigHalfDuplexMode\n
- 2786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigHalfDuplexMode
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 52
- 2787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigHalfDuplexMode(USART_TypeDef *USARTx)
- 2791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Half Duplex mode, the following bits must be kept cleared:
- 2793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
- 2794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and IREN bits in the USART_CR3 register.
- 2795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 2797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN));
- 2798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Half Duplex mode */
- 2799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
- 2800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Smartcard Mode
- 2804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Smartcard mode, the following bits must be kept cleared:
- 2805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also configures Stop bits to 1.5 bits and
- 2809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * sets the USART in Smartcard mode (SCEN bit).
- 2810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Clock Output is also enabled (CLKEN).
- 2811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
- 2818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
- 2819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set SCEN in CR3 using @ref LL_USART_EnableSmartcard() function
- 2820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Smartcard Mode
- 2821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
- 2822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSmartcardMode\n
- 2824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigSmartcardMode\n
- 2825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSmartcardMode\n
- 2826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSmartcardMode\n
- 2827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSmartcardMode
- 2828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSmartcardMode(USART_TypeDef *USARTx)
- 2832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Smartcard mode, the following bits must be kept cleared:
- 2834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
- 2835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN and HDSEL bits in the USART_CR3 register.
- 2836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
- 2838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_HDSEL));
- 2839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Configure Stop bits to 1.5 bits */
- 2840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Synchronous mode is activated by default */
- 2841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, (USART_CR2_STOP_0 | USART_CR2_STOP_1 | USART_CR2_CLKEN));
- 2842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Smartcard mode */
- 2843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 53
- 2844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Irda Mode
- 2848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In IRDA mode, the following bits must be kept cleared:
- 2849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
- 2851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in IRDA mode (IREN bit).
- 2854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
- 2862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set IREN in CR3 using @ref LL_USART_EnableIrda() function
- 2863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Irda Mode
- 2864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Power mode, ...) should be set using
- 2865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigIrdaMode\n
- 2867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigIrdaMode\n
- 2868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigIrdaMode\n
- 2869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigIrdaMode\n
- 2870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigIrdaMode\n
- 2871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigIrdaMode
- 2872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigIrdaMode(USART_TypeDef *USARTx)
- 2876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In IRDA mode, the following bits must be kept cleared:
- 2878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, STOP and CLKEN bits in the USART_CR2 register,
- 2879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and HDSEL bits in the USART_CR3 register.
- 2880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP));
- 2882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL));
- 2883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in IRDA mode */
- 2884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
- 2885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Multi processor Mode
- 2889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (several USARTs connected in a network, one of the USARTs can be the master,
- 2890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * its TX output connected to the RX inputs of the other slaves USARTs).
- 2891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In MultiProcessor mode, the following bits must be kept cleared:
- 2892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
- 2894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 54
- 2901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Multi processor Mode
- 2904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Wake Up Method, Node address, ...) should be set using
- 2905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigMultiProcessMode\n
- 2907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigMultiProcessMode\n
- 2908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigMultiProcessMode\n
- 2909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigMultiProcessMode\n
- 2910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigMultiProcessMode
- 2911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigMultiProcessMode(USART_TypeDef *USARTx)
- 2915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Multi Processor mode, the following bits must be kept cleared:
- 2917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
- 2918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
- 2919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 2921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 2922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_FLAG_Management FLAG_Management
- 2929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Flag is set or not
- 2934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR PE LL_USART_IsActiveFlag_PE
- 2935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(const USART_TypeDef *USARTx)
- 2939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_PE) == (USART_ISR_PE)) ? 1UL : 0UL);
- 2941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Framing Error Flag is set or not
- 2945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR FE LL_USART_IsActiveFlag_FE
- 2946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(const USART_TypeDef *USARTx)
- 2950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_FE) == (USART_ISR_FE)) ? 1UL : 0UL);
- 2952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Noise error detected Flag is set or not
- 2956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR NE LL_USART_IsActiveFlag_NE
- 2957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 55
- 2958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(const USART_TypeDef *USARTx)
- 2961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_NE) == (USART_ISR_NE)) ? 1UL : 0UL);
- 2963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART OverRun Error Flag is set or not
- 2967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ORE LL_USART_IsActiveFlag_ORE
- 2968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(const USART_TypeDef *USARTx)
- 2972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 130 .loc 1 2972 1
- 131 .cfi_startproc
- 132 @ args = 0, pretend = 0, frame = 8
- 133 @ frame_needed = 1, uses_anonymous_args = 0
- 134 0000 80B5 push {r7, lr}
- 135 .LCFI6:
- 136 .cfi_def_cfa_offset 8
- 137 .cfi_offset 7, -8
- 138 .cfi_offset 14, -4
- 139 0002 82B0 sub sp, sp, #8
- 140 .LCFI7:
- 141 .cfi_def_cfa_offset 16
- 142 0004 00AF add r7, sp, #0
- 143 .LCFI8:
- 144 .cfi_def_cfa_register 7
- 145 0006 7860 str r0, [r7, #4]
- 2973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ORE) == (USART_ISR_ORE)) ? 1UL : 0UL);
- 146 .loc 1 2973 12
- 147 0008 7B68 ldr r3, [r7, #4]
- 148 000a DB69 ldr r3, [r3, #28]
- 149 000c 0822 movs r2, #8
- 150 000e 1340 ands r3, r2
- 151 .loc 1 2973 75
- 152 0010 082B cmp r3, #8
- 153 0012 01D1 bne .L4
- 154 .loc 1 2973 75 is_stmt 0 discriminator 1
- 155 0014 0123 movs r3, #1
- 156 0016 00E0 b .L6
- 157 .L4:
- 158 .loc 1 2973 75 discriminator 2
- 159 0018 0023 movs r3, #0
- 160 .L6:
- 2974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 161 .loc 1 2974 1 is_stmt 1 discriminator 5
- 162 001a 1800 movs r0, r3
- 163 001c BD46 mov sp, r7
- 164 001e 02B0 add sp, sp, #8
- 165 @ sp needed
- 166 0020 80BD pop {r7, pc}
- 167 .cfi_endproc
- 168 .LFE579:
- 170 .section .text.LL_USART_IsActiveFlag_RXNE_RXFNE,"ax",%progbits
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 56
- 171 .align 1
- 172 .syntax unified
- 173 .code 16
- 174 .thumb_func
- 176 LL_USART_IsActiveFlag_RXNE_RXFNE:
- 177 .LFB581:
- 2975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE line detected Flag is set or not
- 2978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR IDLE LL_USART_IsActiveFlag_IDLE
- 2979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(const USART_TypeDef *USARTx)
- 2983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_IDLE) == (USART_ISR_IDLE)) ? 1UL : 0UL);
- 2985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_RXNE LL_USART_IsActiveFlag_RXNE_RXFNE /* Redefinition for legacy pur
- 2988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Read Data Register or USART RX FIFO Not Empty Flag is set or not
- 2991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 2992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 2993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXNE_RXFNE LL_USART_IsActiveFlag_RXNE_RXFNE
- 2994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE_RXFNE(const USART_TypeDef *USARTx)
- 2998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 178 .loc 1 2998 1
- 179 .cfi_startproc
- 180 @ args = 0, pretend = 0, frame = 8
- 181 @ frame_needed = 1, uses_anonymous_args = 0
- 182 0000 80B5 push {r7, lr}
- 183 .LCFI9:
- 184 .cfi_def_cfa_offset 8
- 185 .cfi_offset 7, -8
- 186 .cfi_offset 14, -4
- 187 0002 82B0 sub sp, sp, #8
- 188 .LCFI10:
- 189 .cfi_def_cfa_offset 16
- 190 0004 00AF add r7, sp, #0
- 191 .LCFI11:
- 192 .cfi_def_cfa_register 7
- 193 0006 7860 str r0, [r7, #4]
- 2999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXNE_RXFNE) == (USART_ISR_RXNE_RXFNE)) ? 1UL : 0UL);
- 194 .loc 1 2999 12
- 195 0008 7B68 ldr r3, [r7, #4]
- 196 000a DB69 ldr r3, [r3, #28]
- 197 000c 2022 movs r2, #32
- 198 000e 1340 ands r3, r2
- 199 .loc 1 2999 89
- 200 0010 202B cmp r3, #32
- 201 0012 01D1 bne .L8
- 202 .loc 1 2999 89 is_stmt 0 discriminator 1
- 203 0014 0123 movs r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 57
- 204 0016 00E0 b .L10
- 205 .L8:
- 206 .loc 1 2999 89 discriminator 2
- 207 0018 0023 movs r3, #0
- 208 .L10:
- 3000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 209 .loc 1 3000 1 is_stmt 1 discriminator 5
- 210 001a 1800 movs r0, r3
- 211 001c BD46 mov sp, r7
- 212 001e 02B0 add sp, sp, #8
- 213 @ sp needed
- 214 0020 80BD pop {r7, pc}
- 215 .cfi_endproc
- 216 .LFE581:
- 218 .section .text.LL_USART_IsActiveFlag_TC,"ax",%progbits
- 219 .align 1
- 220 .syntax unified
- 221 .code 16
- 222 .thumb_func
- 224 LL_USART_IsActiveFlag_TC:
- 225 .LFB582:
- 3001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Flag is set or not
- 3004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TC LL_USART_IsActiveFlag_TC
- 3005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(const USART_TypeDef *USARTx)
- 3009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 226 .loc 1 3009 1
- 227 .cfi_startproc
- 228 @ args = 0, pretend = 0, frame = 8
- 229 @ frame_needed = 1, uses_anonymous_args = 0
- 230 0000 80B5 push {r7, lr}
- 231 .LCFI12:
- 232 .cfi_def_cfa_offset 8
- 233 .cfi_offset 7, -8
- 234 .cfi_offset 14, -4
- 235 0002 82B0 sub sp, sp, #8
- 236 .LCFI13:
- 237 .cfi_def_cfa_offset 16
- 238 0004 00AF add r7, sp, #0
- 239 .LCFI14:
- 240 .cfi_def_cfa_register 7
- 241 0006 7860 str r0, [r7, #4]
- 3010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TC) == (USART_ISR_TC)) ? 1UL : 0UL);
- 242 .loc 1 3010 12
- 243 0008 7B68 ldr r3, [r7, #4]
- 244 000a DB69 ldr r3, [r3, #28]
- 245 000c 4022 movs r2, #64
- 246 000e 1340 ands r3, r2
- 247 .loc 1 3010 73
- 248 0010 402B cmp r3, #64
- 249 0012 01D1 bne .L12
- 250 .loc 1 3010 73 is_stmt 0 discriminator 1
- 251 0014 0123 movs r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 58
- 252 0016 00E0 b .L14
- 253 .L12:
- 254 .loc 1 3010 73 discriminator 2
- 255 0018 0023 movs r3, #0
- 256 .L14:
- 3011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 257 .loc 1 3011 1 is_stmt 1 discriminator 5
- 258 001a 1800 movs r0, r3
- 259 001c BD46 mov sp, r7
- 260 001e 02B0 add sp, sp, #8
- 261 @ sp needed
- 262 0020 80BD pop {r7, pc}
- 263 .cfi_endproc
- 264 .LFE582:
- 266 .section .text.LL_USART_ClearFlag_ORE,"ax",%progbits
- 267 .align 1
- 268 .syntax unified
- 269 .code 16
- 270 .thumb_func
- 272 LL_USART_ClearFlag_ORE:
- 273 .LFB607:
- 3012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_TXE LL_USART_IsActiveFlag_TXE_TXFNF /* Redefinition for legacy purpo
- 3014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Data Register Empty or USART TX FIFO Not Full Flag is set o
- 3017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXE_TXFNF LL_USART_IsActiveFlag_TXE_TXFNF
- 3020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE_TXFNF(const USART_TypeDef *USARTx)
- 3024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXE_TXFNF) == (USART_ISR_TXE_TXFNF)) ? 1UL : 0UL);
- 3026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Flag is set or not
- 3030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 3031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR LBDF LL_USART_IsActiveFlag_LBD
- 3033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(const USART_TypeDef *USARTx)
- 3037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_LBDF) == (USART_ISR_LBDF)) ? 1UL : 0UL);
- 3039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS interrupt Flag is set or not
- 3043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 3044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTSIF LL_USART_IsActiveFlag_nCTS
- 3046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 59
- 3048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(const USART_TypeDef *USARTx)
- 3050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTSIF) == (USART_ISR_CTSIF)) ? 1UL : 0UL);
- 3052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Flag is set or not
- 3056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 3057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTS LL_USART_IsActiveFlag_CTS
- 3059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CTS(const USART_TypeDef *USARTx)
- 3063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTS) == (USART_ISR_CTS)) ? 1UL : 0UL);
- 3065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Time Out Flag is set or not
- 3069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RTOF LL_USART_IsActiveFlag_RTO
- 3070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RTO(const USART_TypeDef *USARTx)
- 3074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RTOF) == (USART_ISR_RTOF)) ? 1UL : 0UL);
- 3076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Flag is set or not
- 3080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR EOBF LL_USART_IsActiveFlag_EOB
- 3083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_EOB(const USART_TypeDef *USARTx)
- 3087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_EOBF) == (USART_ISR_EOBF)) ? 1UL : 0UL);
- 3089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the SPI Slave Underrun error flag is set or not
- 3093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 3094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 3095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR UDR LL_USART_IsActiveFlag_UDR
- 3096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_UDR(const USART_TypeDef *USARTx)
- 3100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_UDR) == (USART_ISR_UDR)) ? 1UL : 0UL);
- 3102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 60
- 3105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Error Flag is set or not
- 3106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 3107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 3108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRE LL_USART_IsActiveFlag_ABRE
- 3109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABRE(const USART_TypeDef *USARTx)
- 3113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRE) == (USART_ISR_ABRE)) ? 1UL : 0UL);
- 3115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Flag is set or not
- 3119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
- 3120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 3121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRF LL_USART_IsActiveFlag_ABR
- 3122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABR(const USART_TypeDef *USARTx)
- 3126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRF) == (USART_ISR_ABRF)) ? 1UL : 0UL);
- 3128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Busy Flag is set or not
- 3132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR BUSY LL_USART_IsActiveFlag_BUSY
- 3133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_BUSY(const USART_TypeDef *USARTx)
- 3137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_BUSY) == (USART_ISR_BUSY)) ? 1UL : 0UL);
- 3139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Flag is set or not
- 3143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CMF LL_USART_IsActiveFlag_CM
- 3144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CM(const USART_TypeDef *USARTx)
- 3148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CMF) == (USART_ISR_CMF)) ? 1UL : 0UL);
- 3150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Send Break Flag is set or not
- 3154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR SBKF LL_USART_IsActiveFlag_SBK
- 3155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(const USART_TypeDef *USARTx)
- 3159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_SBKF) == (USART_ISR_SBKF)) ? 1UL : 0UL);
- 3161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 61
- 3162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Wake Up from mute mode Flag is set or not
- 3165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RWU LL_USART_IsActiveFlag_RWU
- 3166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(const USART_TypeDef *USARTx)
- 3170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RWU) == (USART_ISR_RWU)) ? 1UL : 0UL);
- 3172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Wake Up from stop mode Flag is set or not
- 3176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 3177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR WUF LL_USART_IsActiveFlag_WKUP
- 3179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_WKUP(const USART_TypeDef *USARTx)
- 3183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_WUF) == (USART_ISR_WUF)) ? 1UL : 0UL);
- 3185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Enable Acknowledge Flag is set or not
- 3189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TEACK LL_USART_IsActiveFlag_TEACK
- 3190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TEACK(const USART_TypeDef *USARTx)
- 3194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TEACK) == (USART_ISR_TEACK)) ? 1UL : 0UL);
- 3196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Enable Acknowledge Flag is set or not
- 3200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR REACK LL_USART_IsActiveFlag_REACK
- 3201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_REACK(const USART_TypeDef *USARTx)
- 3205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_REACK) == (USART_ISR_REACK)) ? 1UL : 0UL);
- 3207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Flag is set or not
- 3211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFE LL_USART_IsActiveFlag_TXFE
- 3214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFE(const USART_TypeDef *USARTx)
- 3218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 62
- 3219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFE) == (USART_ISR_TXFE)) ? 1UL : 0UL);
- 3220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Flag is set or not
- 3224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFF LL_USART_IsActiveFlag_RXFF
- 3227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFF(const USART_TypeDef *USARTx)
- 3231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFF) == (USART_ISR_RXFF)) ? 1UL : 0UL);
- 3233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Flag is set or not
- 3237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TCBGT LL_USART_IsActiveFlag_TCBGT
- 3238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TCBGT(const USART_TypeDef *USARTx)
- 3242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TCBGT) == (USART_ISR_TCBGT)) ? 1UL : 0UL);
- 3244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Threshold Flag is set or not
- 3248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFT LL_USART_IsActiveFlag_TXFT
- 3251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFT(const USART_TypeDef *USARTx)
- 3255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFT) == (USART_ISR_TXFT)) ? 1UL : 0UL);
- 3257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Threshold Flag is set or not
- 3261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFT LL_USART_IsActiveFlag_RXFT
- 3264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFT(const USART_TypeDef *USARTx)
- 3268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFT) == (USART_ISR_RXFT)) ? 1UL : 0UL);
- 3270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Parity Error Flag
- 3274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR PECF LL_USART_ClearFlag_PE
- 3275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 63
- 3276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_PE(USART_TypeDef *USARTx)
- 3279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_PECF);
- 3281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Framing Error Flag
- 3285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR FECF LL_USART_ClearFlag_FE
- 3286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_FE(USART_TypeDef *USARTx)
- 3290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_FECF);
- 3292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Noise Error detected Flag
- 3296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR NECF LL_USART_ClearFlag_NE
- 3297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_NE(USART_TypeDef *USARTx)
- 3301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_NECF);
- 3303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear OverRun Error Flag
- 3307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR ORECF LL_USART_ClearFlag_ORE
- 3308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_ORE(USART_TypeDef *USARTx)
- 3312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 274 .loc 1 3312 1
- 275 .cfi_startproc
- 276 @ args = 0, pretend = 0, frame = 8
- 277 @ frame_needed = 1, uses_anonymous_args = 0
- 278 0000 80B5 push {r7, lr}
- 279 .LCFI15:
- 280 .cfi_def_cfa_offset 8
- 281 .cfi_offset 7, -8
- 282 .cfi_offset 14, -4
- 283 0002 82B0 sub sp, sp, #8
- 284 .LCFI16:
- 285 .cfi_def_cfa_offset 16
- 286 0004 00AF add r7, sp, #0
- 287 .LCFI17:
- 288 .cfi_def_cfa_register 7
- 289 0006 7860 str r0, [r7, #4]
- 3313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_ORECF);
- 290 .loc 1 3313 3
- 291 0008 7B68 ldr r3, [r7, #4]
- 292 000a 0822 movs r2, #8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 64
- 293 000c 1A62 str r2, [r3, #32]
- 3314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 294 .loc 1 3314 1
- 295 000e C046 nop
- 296 0010 BD46 mov sp, r7
- 297 0012 02B0 add sp, sp, #8
- 298 @ sp needed
- 299 0014 80BD pop {r7, pc}
- 300 .cfi_endproc
- 301 .LFE607:
- 303 .section .text.LL_USART_ClearFlag_TC,"ax",%progbits
- 304 .align 1
- 305 .syntax unified
- 306 .code 16
- 307 .thumb_func
- 309 LL_USART_ClearFlag_TC:
- 310 .LFB610:
- 3315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear IDLE line detected Flag
- 3318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR IDLECF LL_USART_ClearFlag_IDLE
- 3319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_IDLE(USART_TypeDef *USARTx)
- 3323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_IDLECF);
- 3325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear TX FIFO Empty Flag
- 3329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TXFECF LL_USART_ClearFlag_TXFE
- 3332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TXFE(USART_TypeDef *USARTx)
- 3336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TXFECF);
- 3338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Transmission Complete Flag
- 3342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCCF LL_USART_ClearFlag_TC
- 3343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TC(USART_TypeDef *USARTx)
- 3347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 311 .loc 1 3347 1
- 312 .cfi_startproc
- 313 @ args = 0, pretend = 0, frame = 8
- 314 @ frame_needed = 1, uses_anonymous_args = 0
- 315 0000 80B5 push {r7, lr}
- 316 .LCFI18:
- 317 .cfi_def_cfa_offset 8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 65
- 318 .cfi_offset 7, -8
- 319 .cfi_offset 14, -4
- 320 0002 82B0 sub sp, sp, #8
- 321 .LCFI19:
- 322 .cfi_def_cfa_offset 16
- 323 0004 00AF add r7, sp, #0
- 324 .LCFI20:
- 325 .cfi_def_cfa_register 7
- 326 0006 7860 str r0, [r7, #4]
- 3348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCCF);
- 327 .loc 1 3348 3
- 328 0008 7B68 ldr r3, [r7, #4]
- 329 000a 4022 movs r2, #64
- 330 000c 1A62 str r2, [r3, #32]
- 3349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 331 .loc 1 3349 1
- 332 000e C046 nop
- 333 0010 BD46 mov sp, r7
- 334 0012 02B0 add sp, sp, #8
- 335 @ sp needed
- 336 0014 80BD pop {r7, pc}
- 337 .cfi_endproc
- 338 .LFE610:
- 340 .section .text.LL_USART_EnableIT_RXNE_RXFNE,"ax",%progbits
- 341 .align 1
- 342 .syntax unified
- 343 .code 16
- 344 .thumb_func
- 346 LL_USART_EnableIT_RXNE_RXFNE:
- 347 .LFB620:
- 3350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Smartcard Transmission Complete Before Guard Time Flag
- 3353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCBGTCF LL_USART_ClearFlag_TCBGT
- 3354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TCBGT(USART_TypeDef *USARTx)
- 3358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCBGTCF);
- 3360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear LIN Break Detection Flag
- 3364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 3365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR LBDCF LL_USART_ClearFlag_LBD
- 3367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_LBD(USART_TypeDef *USARTx)
- 3371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_LBDCF);
- 3373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear CTS Interrupt Flag
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 66
- 3377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 3378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CTSCF LL_USART_ClearFlag_nCTS
- 3380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_nCTS(USART_TypeDef *USARTx)
- 3384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CTSCF);
- 3386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Receiver Time Out Flag
- 3390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR RTOCF LL_USART_ClearFlag_RTO
- 3391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_RTO(USART_TypeDef *USARTx)
- 3395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_RTOCF);
- 3397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear End Of Block Flag
- 3401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR EOBCF LL_USART_ClearFlag_EOB
- 3404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_EOB(USART_TypeDef *USARTx)
- 3408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_EOBCF);
- 3410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear SPI Slave Underrun Flag
- 3414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
- 3415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 3416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR UDRCF LL_USART_ClearFlag_UDR
- 3417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_UDR(USART_TypeDef *USARTx)
- 3421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_UDRCF);
- 3423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Character Match Flag
- 3427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CMCF LL_USART_ClearFlag_CM
- 3428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_CM(USART_TypeDef *USARTx)
- 3432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CMCF);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 67
- 3434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Wake Up from stop mode Flag
- 3438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 3439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR WUCF LL_USART_ClearFlag_WKUP
- 3441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_WKUP(USART_TypeDef *USARTx)
- 3445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_WUCF);
- 3447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 3451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_IT_Management IT_Management
- 3454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 3455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IDLE Interrupt
- 3459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_EnableIT_IDLE
- 3460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx)
- 3464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_IDLEIE);
- 3466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_RXNE LL_USART_EnableIT_RXNE_RXFNE /* Redefinition for legacy purpose */
- 3469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX Not Empty and RX FIFO Not Empty Interrupt
- 3472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_EnableIT_RXNE_RXFNE
- 3475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
- 3479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 348 .loc 1 3479 1
- 349 .cfi_startproc
- 350 @ args = 0, pretend = 0, frame = 24
- 351 @ frame_needed = 1, uses_anonymous_args = 0
- 352 0000 80B5 push {r7, lr}
- 353 .LCFI21:
- 354 .cfi_def_cfa_offset 8
- 355 .cfi_offset 7, -8
- 356 .cfi_offset 14, -4
- 357 0002 86B0 sub sp, sp, #24
- 358 .LCFI22:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 68
- 359 .cfi_def_cfa_offset 32
- 360 0004 00AF add r7, sp, #0
- 361 .LCFI23:
- 362 .cfi_def_cfa_register 7
- 363 0006 7860 str r0, [r7, #4]
- 364 .LBB30:
- 365 .LBB31:
- 366 .LBB32:
- 367 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.2.0
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 08. May 2019
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2019 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 69
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 70
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __COMPILER_BARRIER
- 117:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 119:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ######################### Startup and Lowlevel Init ######################## */
- 121:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PROGRAM_START
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Initializes data and bss sections
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details This default implementations initialized all data and additional bss
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** sections relying on .copy.table and .zero.table specified properly
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** in the used linker script.
- 129:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE __NO_RETURN void __cmsis_start(void)
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 133:Drivers/CMSIS/Include/cmsis_gcc.h **** extern void _start(void) __NO_RETURN;
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t const* src;
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** } __copy_table_t;
- 140:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
- 143:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
- 144:Drivers/CMSIS/Include/cmsis_gcc.h **** } __zero_table_t;
- 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 146:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_start__;
- 147:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_end__;
- 148:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_start__;
- 149:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_end__;
- 150:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 151:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable
- 152:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
- 153:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = pTable->src[i];
- 154:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 155:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 156:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 157:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable
- 158:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
- 159:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = 0u;
- 160:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 161:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 162:Drivers/CMSIS/Include/cmsis_gcc.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 71
- 163:Drivers/CMSIS/Include/cmsis_gcc.h **** _start();
- 164:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 165:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 166:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PROGRAM_START __cmsis_start
- 167:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 168:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 169:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INITIAL_SP
- 170:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INITIAL_SP __StackTop
- 171:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 172:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STACK_LIMIT
- 174:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STACK_LIMIT __StackLimit
- 175:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 176:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 177:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE
- 178:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE __Vectors
- 179:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 180:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 181:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE_ATTRIBUTE
- 182:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section(".vectors")))
- 183:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 184:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 185:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 186:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 187:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 188:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 189:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 190:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 191:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 192:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 193:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 194:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 195:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 196:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 197:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 198:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 199:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 200:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 201:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 202:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 204:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- 205:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 206:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 207:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 208:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 210:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 211:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 213:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 214:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
- 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
- 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
- 217:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 218:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
- 219:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 72
- 220:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 221:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 222:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
- 223:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 224:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 225:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 227:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
- 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
- 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
- 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
- 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
- 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 240:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 242:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 243:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
- 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
- 246:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 247:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 248:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
- 249:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 250:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
- 251:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 252:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 253:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 254:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 255:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 256:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
- 257:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
- 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 259:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 260:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
- 261:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
- 263:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 264:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 266:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 267:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 268:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
- 269:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
- 270:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
- 271:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 272:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
- 273:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 274:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 275:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 276:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 73
- 277:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 278:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 279:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 280:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 281:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 282:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
- 283:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
- 284:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
- 285:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 286:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
- 287:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 288:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 289:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 290:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
- 291:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 293:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 295:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 296:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
- 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
- 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
- 299:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 300:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
- 301:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 302:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 303:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 304:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
- 305:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 306:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 307:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 309:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 310:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
- 311:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
- 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 313:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 314:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
- 315:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 316:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 317:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 318:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
- 319:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 320:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 321:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 322:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 324:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 325:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
- 326:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
- 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 328:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 329:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
- 330:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 331:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 332:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 74
- 334:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 335:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 336:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 337:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 338:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 339:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
- 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
- 342:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 343:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 344:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
- 345:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 346:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
- 347:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
- 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
- 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 358:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
- 359:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 360:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 361:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 362:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 363:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 364:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
- 365:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
- 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 367:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 368:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
- 369:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 370:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 371:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
- 373:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 374:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 377:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 378:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
- 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
- 381:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 382:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 383:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
- 384:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 385:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 386:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 387:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
- 388:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 389:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 390:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 75
- 391:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 392:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 393:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
- 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
- 396:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 397:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 398:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
- 399:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 400:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
- 401:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 402:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 403:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 405:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 406:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
- 407:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
- 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 409:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 410:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
- 411:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
- 413:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 414:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 415:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 417:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 418:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 419:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
- 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
- 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
- 422:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 423:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
- 424:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 425:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 426:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 427:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
- 428:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 429:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 431:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 432:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 433:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
- 434:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
- 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
- 436:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 437:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
- 438:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
- 440:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 441:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 442:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 444:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 445:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
- 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
- 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 76
- 448:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 449:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
- 450:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 451:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 452:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
- 368 .loc 2 453 3
- 369 .syntax divided
- 370 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 371 0008 EFF31083 MRS r3, primask
- 372 @ 0 "" 2
- 373 .thumb
- 374 .syntax unified
- 375 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 376 .loc 2 454 9
- 377 000e BB68 ldr r3, [r7, #8]
- 378 .LBE32:
- 379 .LBE31:
- 3480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
- 380 .loc 1 3480 3
- 381 0010 7B61 str r3, [r7, #20]
- 382 0012 0123 movs r3, #1
- 383 0014 FB60 str r3, [r7, #12]
- 384 .LBB33:
- 385 .LBB34:
- 455:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 456:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 457:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 458:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 459:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 460:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
- 461:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
- 462:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 463:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 464:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
- 465:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 466:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 467:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 468:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
- 469:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 470:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 471:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 472:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 473:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 474:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 475:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
- 476:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
- 477:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 478:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 479:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
- 480:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
- 386 .loc 2 481 3
- 387 0016 FB68 ldr r3, [r7, #12]
- 388 .syntax divided
- 389 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 77
- 390 0018 83F31088 MSR primask, r3
- 391 @ 0 "" 2
- 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 392 .loc 2 482 1
- 393 .thumb
- 394 .syntax unified
- 395 001c C046 nop
- 396 .LBE34:
- 397 .LBE33:
- 398 .loc 1 3480 3
- 399 001e 7B68 ldr r3, [r7, #4]
- 400 0020 1B68 ldr r3, [r3]
- 401 0022 2022 movs r2, #32
- 402 0024 1A43 orrs r2, r3
- 403 0026 7B68 ldr r3, [r7, #4]
- 404 0028 1A60 str r2, [r3]
- 405 002a 7B69 ldr r3, [r7, #20]
- 406 002c 3B61 str r3, [r7, #16]
- 407 .LBB35:
- 408 .LBB36:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 409 .loc 2 481 3
- 410 002e 3B69 ldr r3, [r7, #16]
- 411 .syntax divided
- 412 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 413 0030 83F31088 MSR primask, r3
- 414 @ 0 "" 2
- 415 .loc 2 482 1
- 416 .thumb
- 417 .syntax unified
- 418 0034 C046 nop
- 419 .LBE36:
- 420 .LBE35:
- 421 .LBE30:
- 3481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 422 .loc 1 3481 1
- 423 0036 C046 nop
- 424 0038 BD46 mov sp, r7
- 425 003a 06B0 add sp, sp, #24
- 426 @ sp needed
- 427 003c 80BD pop {r7, pc}
- 428 .cfi_endproc
- 429 .LFE620:
- 431 .section .text.LL_USART_DisableIT_RXNE_RXFNE,"ax",%progbits
- 432 .align 1
- 433 .syntax unified
- 434 .code 16
- 435 .thumb_func
- 437 LL_USART_DisableIT_RXNE_RXFNE:
- 438 .LFB637:
- 3482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Transmission Complete Interrupt
- 3485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_EnableIT_TC
- 3486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 78
- 3489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx)
- 3490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TCIE);
- 3492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_TXE LL_USART_EnableIT_TXE_TXFNF /* Redefinition for legacy purpose */
- 3495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX Empty and TX FIFO Not Full Interrupt
- 3498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_EnableIT_TXE_TXFNF
- 3501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXE_TXFNF(USART_TypeDef *USARTx)
- 3505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
- 3507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Parity Error Interrupt
- 3511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_EnableIT_PE
- 3512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_PE(USART_TypeDef *USARTx)
- 3516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_PEIE);
- 3518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Character Match Interrupt
- 3522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_EnableIT_CM
- 3523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CM(USART_TypeDef *USARTx)
- 3527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_CMIE);
- 3529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout Interrupt
- 3533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_EnableIT_RTO
- 3534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RTO(USART_TypeDef *USARTx)
- 3538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RTOIE);
- 3540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable End Of Block Interrupt
- 3544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 79
- 3546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_EnableIT_EOB
- 3547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_EOB(USART_TypeDef *USARTx)
- 3551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_EOBIE);
- 3553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Empty Interrupt
- 3557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_EnableIT_TXFE
- 3560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFE(USART_TypeDef *USARTx)
- 3564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXFEIE);
- 3566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Full Interrupt
- 3570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_EnableIT_RXFF
- 3571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFF(USART_TypeDef *USARTx)
- 3575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXFFIE);
- 3577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN Break Detection Interrupt
- 3581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 3582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_EnableIT_LBD
- 3584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_LBD(USART_TypeDef *USARTx)
- 3588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LBDIE);
- 3590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Error Interrupt
- 3594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a fram
- 3595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_ISR register).
- 3596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
- 3597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_ISR register.
- 3598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_EnableIT_ERROR
- 3599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 80
- 3603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_EIE);
- 3605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS Interrupt
- 3609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 3610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_EnableIT_CTS
- 3612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx)
- 3616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_CTSIE);
- 3618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Wake Up from Stop Mode Interrupt
- 3622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 3623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_EnableIT_WKUP
- 3625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_WKUP(USART_TypeDef *USARTx)
- 3629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_WUFIE);
- 3631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Threshold Interrupt
- 3635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_EnableIT_TXFT
- 3638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFT(USART_TypeDef *USARTx)
- 3642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TXFTIE);
- 3644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard Transmission Complete Before Guard Time Interrupt
- 3648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_EnableIT_TCBGT
- 3651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TCBGT(USART_TypeDef *USARTx)
- 3655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
- 3657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 81
- 3660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Threshold Interrupt
- 3661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_EnableIT_RXFT
- 3664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFT(USART_TypeDef *USARTx)
- 3668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_RXFTIE);
- 3670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IDLE Interrupt
- 3674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_DisableIT_IDLE
- 3675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx)
- 3679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE);
- 3681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_RXNE LL_USART_DisableIT_RXNE_RXFNE /* Redefinition for legacy purpose *
- 3684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX Not Empty and RX FIFO Not Empty Interrupt
- 3687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_DisableIT_RXNE_RXFNE
- 3690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
- 3694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 439 .loc 1 3694 1
- 440 .cfi_startproc
- 441 @ args = 0, pretend = 0, frame = 24
- 442 @ frame_needed = 1, uses_anonymous_args = 0
- 443 0000 80B5 push {r7, lr}
- 444 .LCFI24:
- 445 .cfi_def_cfa_offset 8
- 446 .cfi_offset 7, -8
- 447 .cfi_offset 14, -4
- 448 0002 86B0 sub sp, sp, #24
- 449 .LCFI25:
- 450 .cfi_def_cfa_offset 32
- 451 0004 00AF add r7, sp, #0
- 452 .LCFI26:
- 453 .cfi_def_cfa_register 7
- 454 0006 7860 str r0, [r7, #4]
- 455 .LBB37:
- 456 .LBB38:
- 457 .LBB39:
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 458 .loc 2 453 3
- 459 .syntax divided
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 82
- 460 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 461 0008 EFF31083 MRS r3, primask
- 462 @ 0 "" 2
- 463 .thumb
- 464 .syntax unified
- 465 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 466 .loc 2 454 9
- 467 000e BB68 ldr r3, [r7, #8]
- 468 .LBE39:
- 469 .LBE38:
- 3695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
- 470 .loc 1 3695 3
- 471 0010 7B61 str r3, [r7, #20]
- 472 0012 0123 movs r3, #1
- 473 0014 FB60 str r3, [r7, #12]
- 474 .LBB40:
- 475 .LBB41:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 476 .loc 2 481 3
- 477 0016 FB68 ldr r3, [r7, #12]
- 478 .syntax divided
- 479 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 480 0018 83F31088 MSR primask, r3
- 481 @ 0 "" 2
- 482 .loc 2 482 1
- 483 .thumb
- 484 .syntax unified
- 485 001c C046 nop
- 486 .LBE41:
- 487 .LBE40:
- 488 .loc 1 3695 3
- 489 001e 7B68 ldr r3, [r7, #4]
- 490 0020 1B68 ldr r3, [r3]
- 491 0022 2022 movs r2, #32
- 492 0024 9343 bics r3, r2
- 493 0026 1A00 movs r2, r3
- 494 0028 7B68 ldr r3, [r7, #4]
- 495 002a 1A60 str r2, [r3]
- 496 002c 7B69 ldr r3, [r7, #20]
- 497 002e 3B61 str r3, [r7, #16]
- 498 .LBB42:
- 499 .LBB43:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 500 .loc 2 481 3
- 501 0030 3B69 ldr r3, [r7, #16]
- 502 .syntax divided
- 503 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 504 0032 83F31088 MSR primask, r3
- 505 @ 0 "" 2
- 506 .loc 2 482 1
- 507 .thumb
- 508 .syntax unified
- 509 0036 C046 nop
- 510 .LBE43:
- 511 .LBE42:
- 512 .LBE37:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 83
- 3696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 513 .loc 1 3696 1
- 514 0038 C046 nop
- 515 003a BD46 mov sp, r7
- 516 003c 06B0 add sp, sp, #24
- 517 @ sp needed
- 518 003e 80BD pop {r7, pc}
- 519 .cfi_endproc
- 520 .LFE637:
- 522 .section .text.LL_USART_DisableIT_TC,"ax",%progbits
- 523 .align 1
- 524 .syntax unified
- 525 .code 16
- 526 .thumb_func
- 528 LL_USART_DisableIT_TC:
- 529 .LFB638:
- 3697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Transmission Complete Interrupt
- 3700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_DisableIT_TC
- 3701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx)
- 3705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 530 .loc 1 3705 1
- 531 .cfi_startproc
- 532 @ args = 0, pretend = 0, frame = 24
- 533 @ frame_needed = 1, uses_anonymous_args = 0
- 534 0000 80B5 push {r7, lr}
- 535 .LCFI27:
- 536 .cfi_def_cfa_offset 8
- 537 .cfi_offset 7, -8
- 538 .cfi_offset 14, -4
- 539 0002 86B0 sub sp, sp, #24
- 540 .LCFI28:
- 541 .cfi_def_cfa_offset 32
- 542 0004 00AF add r7, sp, #0
- 543 .LCFI29:
- 544 .cfi_def_cfa_register 7
- 545 0006 7860 str r0, [r7, #4]
- 546 .LBB44:
- 547 .LBB45:
- 548 .LBB46:
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 549 .loc 2 453 3
- 550 .syntax divided
- 551 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 552 0008 EFF31083 MRS r3, primask
- 553 @ 0 "" 2
- 554 .thumb
- 555 .syntax unified
- 556 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 557 .loc 2 454 9
- 558 000e BB68 ldr r3, [r7, #8]
- 559 .LBE46:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 84
- 560 .LBE45:
- 3706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE);
- 561 .loc 1 3706 3
- 562 0010 7B61 str r3, [r7, #20]
- 563 0012 0123 movs r3, #1
- 564 0014 FB60 str r3, [r7, #12]
- 565 .LBB47:
- 566 .LBB48:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 567 .loc 2 481 3
- 568 0016 FB68 ldr r3, [r7, #12]
- 569 .syntax divided
- 570 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 571 0018 83F31088 MSR primask, r3
- 572 @ 0 "" 2
- 573 .loc 2 482 1
- 574 .thumb
- 575 .syntax unified
- 576 001c C046 nop
- 577 .LBE48:
- 578 .LBE47:
- 579 .loc 1 3706 3
- 580 001e 7B68 ldr r3, [r7, #4]
- 581 0020 1B68 ldr r3, [r3]
- 582 0022 4022 movs r2, #64
- 583 0024 9343 bics r3, r2
- 584 0026 1A00 movs r2, r3
- 585 0028 7B68 ldr r3, [r7, #4]
- 586 002a 1A60 str r2, [r3]
- 587 002c 7B69 ldr r3, [r7, #20]
- 588 002e 3B61 str r3, [r7, #16]
- 589 .LBB49:
- 590 .LBB50:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 591 .loc 2 481 3
- 592 0030 3B69 ldr r3, [r7, #16]
- 593 .syntax divided
- 594 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 595 0032 83F31088 MSR primask, r3
- 596 @ 0 "" 2
- 597 .loc 2 482 1
- 598 .thumb
- 599 .syntax unified
- 600 0036 C046 nop
- 601 .LBE50:
- 602 .LBE49:
- 603 .LBE44:
- 3707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 604 .loc 1 3707 1
- 605 0038 C046 nop
- 606 003a BD46 mov sp, r7
- 607 003c 06B0 add sp, sp, #24
- 608 @ sp needed
- 609 003e 80BD pop {r7, pc}
- 610 .cfi_endproc
- 611 .LFE638:
- 613 .section .text.LL_USART_DisableIT_ERROR,"ax",%progbits
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 85
- 614 .align 1
- 615 .syntax unified
- 616 .code 16
- 617 .thumb_func
- 619 LL_USART_DisableIT_ERROR:
- 620 .LFB647:
- 3708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_TXE LL_USART_DisableIT_TXE_TXFNF /* Redefinition for legacy purpose */
- 3710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX Empty and TX FIFO Not Full Interrupt
- 3713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_DisableIT_TXE_TXFNF
- 3716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXE_TXFNF(USART_TypeDef *USARTx)
- 3720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
- 3722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Parity Error Interrupt
- 3726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_DisableIT_PE
- 3727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_PE(USART_TypeDef *USARTx)
- 3731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE);
- 3733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Character Match Interrupt
- 3737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_DisableIT_CM
- 3738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CM(USART_TypeDef *USARTx)
- 3742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_CMIE);
- 3744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout Interrupt
- 3748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_DisableIT_RTO
- 3749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RTO(USART_TypeDef *USARTx)
- 3753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RTOIE);
- 3755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable End Of Block Interrupt
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 86
- 3759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_DisableIT_EOB
- 3762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_EOB(USART_TypeDef *USARTx)
- 3766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_EOBIE);
- 3768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Empty Interrupt
- 3772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_DisableIT_TXFE
- 3775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFE(USART_TypeDef *USARTx)
- 3779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXFEIE);
- 3781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Full Interrupt
- 3785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_DisableIT_RXFF
- 3788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFF(USART_TypeDef *USARTx)
- 3792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXFFIE);
- 3794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN Break Detection Interrupt
- 3798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 3799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_DisableIT_LBD
- 3801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_LBD(USART_TypeDef *USARTx)
- 3805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LBDIE);
- 3807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Error Interrupt
- 3811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a fram
- 3812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_ISR register).
- 3813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
- 3814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_ISR register.
- 3815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_DisableIT_ERROR
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 87
- 3816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx)
- 3820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 621 .loc 1 3820 1
- 622 .cfi_startproc
- 623 @ args = 0, pretend = 0, frame = 24
- 624 @ frame_needed = 1, uses_anonymous_args = 0
- 625 0000 80B5 push {r7, lr}
- 626 .LCFI30:
- 627 .cfi_def_cfa_offset 8
- 628 .cfi_offset 7, -8
- 629 .cfi_offset 14, -4
- 630 0002 86B0 sub sp, sp, #24
- 631 .LCFI31:
- 632 .cfi_def_cfa_offset 32
- 633 0004 00AF add r7, sp, #0
- 634 .LCFI32:
- 635 .cfi_def_cfa_register 7
- 636 0006 7860 str r0, [r7, #4]
- 637 .LBB51:
- 638 .LBB52:
- 639 .LBB53:
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 640 .loc 2 453 3
- 641 .syntax divided
- 642 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 643 0008 EFF31083 MRS r3, primask
- 644 @ 0 "" 2
- 645 .thumb
- 646 .syntax unified
- 647 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 648 .loc 2 454 9
- 649 000e BB68 ldr r3, [r7, #8]
- 650 .LBE53:
- 651 .LBE52:
- 3821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_EIE);
- 652 .loc 1 3821 3
- 653 0010 7B61 str r3, [r7, #20]
- 654 0012 0123 movs r3, #1
- 655 0014 FB60 str r3, [r7, #12]
- 656 .LBB54:
- 657 .LBB55:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 658 .loc 2 481 3
- 659 0016 FB68 ldr r3, [r7, #12]
- 660 .syntax divided
- 661 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 662 0018 83F31088 MSR primask, r3
- 663 @ 0 "" 2
- 664 .loc 2 482 1
- 665 .thumb
- 666 .syntax unified
- 667 001c C046 nop
- 668 .LBE55:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 88
- 669 .LBE54:
- 670 .loc 1 3821 3
- 671 001e 7B68 ldr r3, [r7, #4]
- 672 0020 9B68 ldr r3, [r3, #8]
- 673 0022 0122 movs r2, #1
- 674 0024 9343 bics r3, r2
- 675 0026 1A00 movs r2, r3
- 676 0028 7B68 ldr r3, [r7, #4]
- 677 002a 9A60 str r2, [r3, #8]
- 678 002c 7B69 ldr r3, [r7, #20]
- 679 002e 3B61 str r3, [r7, #16]
- 680 .LBB56:
- 681 .LBB57:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 682 .loc 2 481 3
- 683 0030 3B69 ldr r3, [r7, #16]
- 684 .syntax divided
- 685 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 686 0032 83F31088 MSR primask, r3
- 687 @ 0 "" 2
- 688 .loc 2 482 1
- 689 .thumb
- 690 .syntax unified
- 691 0036 C046 nop
- 692 .LBE57:
- 693 .LBE56:
- 694 .LBE51:
- 3822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 695 .loc 1 3822 1
- 696 0038 C046 nop
- 697 003a BD46 mov sp, r7
- 698 003c 06B0 add sp, sp, #24
- 699 @ sp needed
- 700 003e 80BD pop {r7, pc}
- 701 .cfi_endproc
- 702 .LFE647:
- 704 .section .text.LL_USART_IsEnabledIT_RXNE_RXFNE,"ax",%progbits
- 705 .align 1
- 706 .syntax unified
- 707 .code 16
- 708 .thumb_func
- 710 LL_USART_IsEnabledIT_RXNE_RXFNE:
- 711 .LFB654:
- 3823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS Interrupt
- 3826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 3827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_DisableIT_CTS
- 3829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx)
- 3833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE);
- 3835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 89
- 3837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Wake Up from Stop Mode Interrupt
- 3839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 3840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_DisableIT_WKUP
- 3842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_WKUP(USART_TypeDef *USARTx)
- 3846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_WUFIE);
- 3848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Threshold Interrupt
- 3852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_DisableIT_TXFT
- 3855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFT(USART_TypeDef *USARTx)
- 3859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TXFTIE);
- 3861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard Transmission Complete Before Guard Time Interrupt
- 3865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_DisableIT_TCBGT
- 3868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TCBGT(USART_TypeDef *USARTx)
- 3872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
- 3874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Threshold Interrupt
- 3878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_DisableIT_RXFT
- 3881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFT(USART_TypeDef *USARTx)
- 3885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_RXFTIE);
- 3887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE Interrupt source is enabled or disabled.
- 3891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_IsEnabledIT_IDLE
- 3892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 90
- 3894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(const USART_TypeDef *USARTx)
- 3896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)) ? 1UL : 0UL);
- 3898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_RXNE LL_USART_IsEnabledIT_RXNE_RXFNE /* Redefinition for legacy purpo
- 3901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX Not Empty and USART RX FIFO Not Empty Interrupt is enabled or dis
- 3904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_IsEnabledIT_RXNE_RXFNE
- 3907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE_RXFNE(const USART_TypeDef *USARTx)
- 3911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 712 .loc 1 3911 1
- 713 .cfi_startproc
- 714 @ args = 0, pretend = 0, frame = 8
- 715 @ frame_needed = 1, uses_anonymous_args = 0
- 716 0000 80B5 push {r7, lr}
- 717 .LCFI33:
- 718 .cfi_def_cfa_offset 8
- 719 .cfi_offset 7, -8
- 720 .cfi_offset 14, -4
- 721 0002 82B0 sub sp, sp, #8
- 722 .LCFI34:
- 723 .cfi_def_cfa_offset 16
- 724 0004 00AF add r7, sp, #0
- 725 .LCFI35:
- 726 .cfi_def_cfa_register 7
- 727 0006 7860 str r0, [r7, #4]
- 3912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE) == (USART_CR1_RXNEIE_RXFNEIE)) ? 1UL : 0
- 728 .loc 1 3912 12
- 729 0008 7B68 ldr r3, [r7, #4]
- 730 000a 1B68 ldr r3, [r3]
- 731 000c 2022 movs r2, #32
- 732 000e 1340 ands r3, r2
- 733 .loc 1 3912 97
- 734 0010 202B cmp r3, #32
- 735 0012 01D1 bne .L26
- 736 .loc 1 3912 97 is_stmt 0 discriminator 1
- 737 0014 0123 movs r3, #1
- 738 0016 00E0 b .L28
- 739 .L26:
- 740 .loc 1 3912 97 discriminator 2
- 741 0018 0023 movs r3, #0
- 742 .L28:
- 3913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 743 .loc 1 3913 1 is_stmt 1 discriminator 5
- 744 001a 1800 movs r0, r3
- 745 001c BD46 mov sp, r7
- 746 001e 02B0 add sp, sp, #8
- 747 @ sp needed
- 748 0020 80BD pop {r7, pc}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 91
- 749 .cfi_endproc
- 750 .LFE654:
- 752 .section .text.LL_USART_IsEnabledIT_TC,"ax",%progbits
- 753 .align 1
- 754 .syntax unified
- 755 .code 16
- 756 .thumb_func
- 758 LL_USART_IsEnabledIT_TC:
- 759 .LFB655:
- 3914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Interrupt is enabled or disabled.
- 3917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_IsEnabledIT_TC
- 3918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(const USART_TypeDef *USARTx)
- 3922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 760 .loc 1 3922 1
- 761 .cfi_startproc
- 762 @ args = 0, pretend = 0, frame = 8
- 763 @ frame_needed = 1, uses_anonymous_args = 0
- 764 0000 80B5 push {r7, lr}
- 765 .LCFI36:
- 766 .cfi_def_cfa_offset 8
- 767 .cfi_offset 7, -8
- 768 .cfi_offset 14, -4
- 769 0002 82B0 sub sp, sp, #8
- 770 .LCFI37:
- 771 .cfi_def_cfa_offset 16
- 772 0004 00AF add r7, sp, #0
- 773 .LCFI38:
- 774 .cfi_def_cfa_register 7
- 775 0006 7860 str r0, [r7, #4]
- 3923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)) ? 1UL : 0UL);
- 776 .loc 1 3923 12
- 777 0008 7B68 ldr r3, [r7, #4]
- 778 000a 1B68 ldr r3, [r3]
- 779 000c 4022 movs r2, #64
- 780 000e 1340 ands r3, r2
- 781 .loc 1 3923 77
- 782 0010 402B cmp r3, #64
- 783 0012 01D1 bne .L30
- 784 .loc 1 3923 77 is_stmt 0 discriminator 1
- 785 0014 0123 movs r3, #1
- 786 0016 00E0 b .L32
- 787 .L30:
- 788 .loc 1 3923 77 discriminator 2
- 789 0018 0023 movs r3, #0
- 790 .L32:
- 3924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 791 .loc 1 3924 1 is_stmt 1 discriminator 5
- 792 001a 1800 movs r0, r3
- 793 001c BD46 mov sp, r7
- 794 001e 02B0 add sp, sp, #8
- 795 @ sp needed
- 796 0020 80BD pop {r7, pc}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 92
- 797 .cfi_endproc
- 798 .LFE655:
- 800 .section .text.LL_USART_ReceiveData8,"ax",%progbits
- 801 .align 1
- 802 .syntax unified
- 803 .code 16
- 804 .thumb_func
- 806 LL_USART_ReceiveData8:
- 807 .LFB680:
- 3925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_TXE LL_USART_IsEnabledIT_TXE_TXFNF /* Redefinition for legacy purpose
- 3927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX Empty and USART TX FIFO Not Full Interrupt is enabled or disabled
- 3930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_IsEnabledIT_TXE_TXFNF
- 3933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE_TXFNF(const USART_TypeDef *USARTx)
- 3937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE) == (USART_CR1_TXEIE_TXFNFIE)) ? 1UL : 0UL
- 3939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Interrupt is enabled or disabled.
- 3943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_IsEnabledIT_PE
- 3944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(const USART_TypeDef *USARTx)
- 3948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)) ? 1UL : 0UL);
- 3950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Interrupt is enabled or disabled.
- 3954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_IsEnabledIT_CM
- 3955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CM(const USART_TypeDef *USARTx)
- 3959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_CMIE) == (USART_CR1_CMIE)) ? 1UL : 0UL);
- 3961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Timeout Interrupt is enabled or disabled.
- 3965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_IsEnabledIT_RTO
- 3966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RTO(const USART_TypeDef *USARTx)
- 3970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RTOIE) == (USART_CR1_RTOIE)) ? 1UL : 0UL);
- 3972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 93
- 3973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Interrupt is enabled or disabled.
- 3976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_IsEnabledIT_EOB
- 3979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_EOB(const USART_TypeDef *USARTx)
- 3983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_EOBIE) == (USART_CR1_EOBIE)) ? 1UL : 0UL);
- 3985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Interrupt is enabled or disabled
- 3989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 3990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_IsEnabledIT_TXFE
- 3992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFE(const USART_TypeDef *USARTx)
- 3996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXFEIE) == (USART_CR1_TXFEIE)) ? 1UL : 0UL);
- 3998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Interrupt is enabled or disabled
- 4002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 4003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 4004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_IsEnabledIT_RXFF
- 4005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFF(const USART_TypeDef *USARTx)
- 4009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXFFIE) == (USART_CR1_RXFFIE)) ? 1UL : 0UL);
- 4011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Interrupt is enabled or disabled.
- 4015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
- 4016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 4017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_IsEnabledIT_LBD
- 4018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(const USART_TypeDef *USARTx)
- 4022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LBDIE) == (USART_CR2_LBDIE)) ? 1UL : 0UL);
- 4024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Error Interrupt is enabled or disabled.
- 4028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_IsEnabledIT_ERROR
- 4029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 94
- 4030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(const USART_TypeDef *USARTx)
- 4033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)) ? 1UL : 0UL);
- 4035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Interrupt is enabled or disabled.
- 4039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
- 4040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 4041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_IsEnabledIT_CTS
- 4042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(const USART_TypeDef *USARTx)
- 4046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)) ? 1UL : 0UL);
- 4048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Wake Up from Stop Mode Interrupt is enabled or disabled.
- 4052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
- 4053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 4054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_IsEnabledIT_WKUP
- 4055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_WKUP(const USART_TypeDef *USARTx)
- 4059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_WUFIE) == (USART_CR3_WUFIE)) ? 1UL : 0UL);
- 4061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART TX FIFO Threshold Interrupt is enabled or disabled
- 4065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 4066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 4067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_IsEnabledIT_TXFT
- 4068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFT(const USART_TypeDef *USARTx)
- 4072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TXFTIE) == (USART_CR3_TXFTIE)) ? 1UL : 0UL);
- 4074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Interrupt is enabled or
- 4078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 4079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 4080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_IsEnabledIT_TCBGT
- 4081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TCBGT(const USART_TypeDef *USARTx)
- 4085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TCBGTIE) == (USART_CR3_TCBGTIE)) ? 1UL : 0UL);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 95
- 4087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART RX FIFO Threshold Interrupt is enabled or disabled
- 4091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
- 4092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 4093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_IsEnabledIT_RXFT
- 4094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFT(const USART_TypeDef *USARTx)
- 4098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_RXFTIE) == (USART_CR3_RXFTIE)) ? 1UL : 0UL);
- 4100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 4104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_DMA_Management DMA_Management
- 4107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 4108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for reception
- 4112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_EnableDMAReq_RX
- 4113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx)
- 4117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAR);
- 4119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for reception
- 4123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_DisableDMAReq_RX
- 4124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx)
- 4128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR);
- 4130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for reception
- 4134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_IsEnabledDMAReq_RX
- 4135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(const USART_TypeDef *USARTx)
- 4139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)) ? 1UL : 0UL);
- 4141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 96
- 4144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for transmission
- 4145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_EnableDMAReq_TX
- 4146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx)
- 4150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAT);
- 4152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for transmission
- 4156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_DisableDMAReq_TX
- 4157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx)
- 4161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT);
- 4163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for transmission
- 4167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_IsEnabledDMAReq_TX
- 4168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(const USART_TypeDef *USARTx)
- 4172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)) ? 1UL : 0UL);
- 4174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Disabling on Reception Error
- 4178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_EnableDMADeactOnRxErr
- 4179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr(USART_TypeDef *USARTx)
- 4183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DDRE);
- 4185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Disabling on Reception Error
- 4189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_DisableDMADeactOnRxErr
- 4190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr(USART_TypeDef *USARTx)
- 4194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DDRE);
- 4196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if DMA Disabling on Reception Error is disabled
- 4200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_IsEnabledDMADeactOnRxErr
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 97
- 4201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr(const USART_TypeDef *USARTx)
- 4205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DDRE) == (USART_CR3_DDRE)) ? 1UL : 0UL);
- 4207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get the data register address used for DMA transfer
- 4211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_DMA_GetRegAddr\n
- 4212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_DMA_GetRegAddr
- 4213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Direction This parameter can be one of the following values:
- 4215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_TRANSMIT
- 4216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_RECEIVE
- 4217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of data register
- 4218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr(const USART_TypeDef *USARTx, uint32_t Direction)
- 4220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t data_reg_addr;
- 4222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (Direction == LL_USART_DMA_REG_DATA_TRANSMIT)
- 4224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of TDR register */
- 4226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->TDR);
- 4227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
- 4229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of RDR register */
- 4231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->RDR);
- 4232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return data_reg_addr;
- 4235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 4239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Data_Management Data_Management
- 4242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 4243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 8 bits)
- 4247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData8
- 4248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
- 4250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint8_t LL_USART_ReceiveData8(const USART_TypeDef *USARTx)
- 4252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 808 .loc 1 4252 1
- 809 .cfi_startproc
- 810 @ args = 0, pretend = 0, frame = 8
- 811 @ frame_needed = 1, uses_anonymous_args = 0
- 812 0000 80B5 push {r7, lr}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 98
- 813 .LCFI39:
- 814 .cfi_def_cfa_offset 8
- 815 .cfi_offset 7, -8
- 816 .cfi_offset 14, -4
- 817 0002 82B0 sub sp, sp, #8
- 818 .LCFI40:
- 819 .cfi_def_cfa_offset 16
- 820 0004 00AF add r7, sp, #0
- 821 .LCFI41:
- 822 .cfi_def_cfa_register 7
- 823 0006 7860 str r0, [r7, #4]
- 4253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint8_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR) & 0xFFU);
- 824 .loc 1 4253 20
- 825 0008 7B68 ldr r3, [r7, #4]
- 826 000a 5B6A ldr r3, [r3, #36]
- 827 .loc 1 4253 10
- 828 000c DBB2 uxtb r3, r3
- 4254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 829 .loc 1 4254 1
- 830 000e 1800 movs r0, r3
- 831 0010 BD46 mov sp, r7
- 832 0012 02B0 add sp, sp, #8
- 833 @ sp needed
- 834 0014 80BD pop {r7, pc}
- 835 .cfi_endproc
- 836 .LFE680:
- 838 .section .text.LL_USART_TransmitData8,"ax",%progbits
- 839 .align 1
- 840 .syntax unified
- 841 .code 16
- 842 .thumb_func
- 844 LL_USART_TransmitData8:
- 845 .LFB682:
- 4255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 9 bits)
- 4258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData9
- 4259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x1FF
- 4261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint16_t LL_USART_ReceiveData9(const USART_TypeDef *USARTx)
- 4263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint16_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR));
- 4265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write in Transmitter Data Register (Transmit Data value, 8 bits)
- 4269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_TransmitData8
- 4270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Value between Min_Data=0x00 and Max_Data=0xFF
- 4272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_TransmitData8(USART_TypeDef *USARTx, uint8_t Value)
- 4275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 846 .loc 1 4275 1
- 847 .cfi_startproc
- 848 @ args = 0, pretend = 0, frame = 8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 99
- 849 @ frame_needed = 1, uses_anonymous_args = 0
- 850 0000 80B5 push {r7, lr}
- 851 .LCFI42:
- 852 .cfi_def_cfa_offset 8
- 853 .cfi_offset 7, -8
- 854 .cfi_offset 14, -4
- 855 0002 82B0 sub sp, sp, #8
- 856 .LCFI43:
- 857 .cfi_def_cfa_offset 16
- 858 0004 00AF add r7, sp, #0
- 859 .LCFI44:
- 860 .cfi_def_cfa_register 7
- 861 0006 7860 str r0, [r7, #4]
- 862 0008 0A00 movs r2, r1
- 863 000a FB1C adds r3, r7, #3
- 864 000c 1A70 strb r2, [r3]
- 4276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->TDR = Value;
- 865 .loc 1 4276 15
- 866 000e FB1C adds r3, r7, #3
- 867 0010 1A78 ldrb r2, [r3]
- 868 0012 7B68 ldr r3, [r7, #4]
- 869 0014 9A62 str r2, [r3, #40]
- 4277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 870 .loc 1 4277 1
- 871 0016 C046 nop
- 872 0018 BD46 mov sp, r7
- 873 001a 02B0 add sp, sp, #8
- 874 @ sp needed
- 875 001c 80BD pop {r7, pc}
- 876 .cfi_endproc
- 877 .LFE682:
- 879 .section .text.LL_APB1_GRP1_DisableClock,"ax",%progbits
- 880 .align 1
- 881 .syntax unified
- 882 .code 16
- 883 .thumb_func
- 885 LL_APB1_GRP1_DisableClock:
- 886 .LFB698:
- 887 .file 3 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h"
- 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
- 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @file stm32g0xx_ll_bus.h
- 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @author MCD Application Team
- 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Header file of BUS LL module.
- 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @verbatim
- 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ##### RCC Limitations #####
- 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ==============================================================================
- 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
- 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral
- 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write
- 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** from/to registers.
- 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping.
- 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary
- 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
- 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** Workarounds:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 100
- 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
- 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function.
- 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @endverbatim
- 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
- 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @attention
- 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
- 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * Copyright (c) 2018 STMicroelectronics.
- 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * All rights reserved.
- 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
- 29:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * This software is licensed under terms that can be found in the LICENSE file in
- 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * the root directory of this software component.
- 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
- 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/
- 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifndef STM32G0xx_LL_BUS_H
- 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define STM32G0xx_LL_BUS_H
- 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifdef __cplusplus
- 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** extern "C" {
- 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif
- 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/
- 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #include "stm32g0xx.h"
- 45:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @addtogroup STM32G0xx_LL_Driver
- 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RCC)
- 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL BUS
- 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/
- 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/
- 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/
- 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/
- 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/
- 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/
- 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants
- 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH
- 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN
- 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DMA2)
- 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 101
- 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DMA2 */
- 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLASHEN
- 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBSMENR_SRAMSMEN
- 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRC)
- 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN
- 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRC */
- 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(AES)
- 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRYP RCC_AHBENR_AESEN
- 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* AES */
- 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RNG)
- 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_RNG RCC_AHBENR_RNGEN
- 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* RNG */
- 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH
- 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM2)
- 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APBENR1_TIM2EN
- 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM2 */
- 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM3)
- 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APBENR1_TIM3EN
- 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM3 */
- 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM4)
- 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APBENR1_TIM4EN
- 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM4 */
- 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM6)
- 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APBENR1_TIM6EN
- 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM6 */
- 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM7)
- 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APBENR1_TIM7EN
- 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM7 */
- 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART2)
- 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART2 RCC_APBENR1_LPUART2EN
- 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART2 */
- 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART5)
- 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART5 RCC_APBENR1_USART5EN
- 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART5 */
- 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART6)
- 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART6 RCC_APBENR1_USART6EN
- 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART6 */
- 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_RTC RCC_APBENR1_RTCAPBEN
- 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APBENR1_WWDGEN
- 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(FDCAN1) || defined(FDCAN2)
- 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_FDCAN RCC_APBENR1_FDCANEN
- 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* FDCAN1 */
- 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USB_DRD_FS)
- 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APBENR1_USBEN
- 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USB_DRD_FS */
- 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APBENR1_SPI2EN
- 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(SPI3)
- 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APBENR1_SPI3EN
- 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* SPI3 */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 102
- 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRS)
- 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CRS RCC_APBENR1_CRSEN
- 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRS */
- 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APBENR1_USART2EN
- 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART3)
- 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APBENR1_USART3EN
- 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART3 */
- 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART4)
- 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART4 RCC_APBENR1_USART4EN
- 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART4 */
- 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART1)
- 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART1 RCC_APBENR1_LPUART1EN
- 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART1 */
- 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APBENR1_I2C1EN
- 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APBENR1_I2C2EN
- 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(I2C3)
- 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APBENR1_I2C3EN
- 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* I2C3 */
- 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CEC)
- 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APBENR1_CECEN
- 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CEC */
- 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD1)
- 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD1 RCC_APBENR1_UCPD1EN
- 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD1 */
- 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD2)
- 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD2 RCC_APBENR1_UCPD2EN
- 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD2 */
- 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DBGMCU RCC_APBENR1_DBGEN
- 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APBENR1_PWREN
- 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DAC1)
- 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APBENR1_DAC1EN
- 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DAC1 */
- 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM2)
- 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM2 RCC_APBENR1_LPTIM2EN
- 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM2 */
- 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM1)
- 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APBENR1_LPTIM1EN
- 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM1 */
- 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH
- 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APBENR2_SYSCFGEN
- 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APBENR2_TIM1EN
- 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APBENR2_SPI1EN
- 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APBENR2_USART1EN
- 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM14)
- 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM14 RCC_APBENR2_TIM14EN
- 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM14 */
- 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM15)
- 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APBENR2_TIM15EN
- 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM15 */
- 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM16)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 103
- 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APBENR2_TIM16EN
- 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM16 */
- 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM17)
- 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APBENR2_TIM17EN
- 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM17 */
- 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(ADC)
- 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC RCC_APBENR2_ADCEN
- 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* ADC */
- 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_IOP_GRP1_PERIPH IOP GRP1 PERIPH
- 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOA RCC_IOPENR_GPIOAEN
- 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOB RCC_IOPENR_GPIOBEN
- 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOC RCC_IOPENR_GPIOCEN
- 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOD RCC_IOPENR_GPIODEN
- 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOE)
- 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOE RCC_IOPENR_GPIOEEN
- 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOE */
- 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOF)
- 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOF RCC_IOPENR_GPIOFEN
- 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOF */
- 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/
- 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/
- 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions
- 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1
- 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock.
- 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n
- 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_EnableClock\n
- 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n
- 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_EnableClock\n
- 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_EnableClock
- 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 104
- 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs)
- 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
- 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs);
- 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
- 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs);
- 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
- 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not
- 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n
- 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_IsEnabledClock\n
- 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n
- 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_IsEnabledClock\n
- 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_IsEnabledClock
- 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
- 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
- 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->AHBENR, Periphs) == Periphs) ? 1UL : 0UL);
- 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock.
- 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n
- 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_DisableClock\n
- 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n
- 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_DisableClock\n
- 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_DisableClock
- 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs)
- 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs);
- 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Force AHB1 peripherals reset.
- 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ForceReset\n
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 105
- 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ForceReset\n
- 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ForceReset\n
- 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ForceReset\n
- 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ForceReset
- 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
- 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs)
- 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs);
- 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Release AHB1 peripherals reset.
- 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ReleaseReset\n
- 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ReleaseReset\n
- 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n
- 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ReleaseReset\n
- 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ReleaseReset
- 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
- 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs)
- 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs);
- 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripheral clocks in Sleep and Stop modes
- 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_EnableClockStopSleep
- 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
- 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 106
- 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClockStopSleep(uint32_t Periphs)
- 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
- 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBSMENR, Periphs);
- 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
- 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBSMENR, Periphs);
- 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
- 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripheral clocks in Sleep and Stop modes
- 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_DisableClockStopSleep
- 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
- 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClockStopSleep(uint32_t Periphs)
- 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBSMENR, Periphs);
- 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1
- 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock.
- 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_EnableClock\n
- 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_EnableClock\n
- 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_EnableClock\n
- 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_EnableClock\n
- 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_EnableClock\n
- 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_EnableClock\n
- 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_EnableClock\n
- 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_EnableClock\n
- 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_EnableClock\n
- 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_EnableClock\n
- 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_EnableClock\n
- 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_EnableClock\n
- 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_EnableClock\n
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 107
- 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_EnableClock\n
- 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_EnableClock\n
- 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_EnableClock\n
- 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_EnableClock\n
- 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_EnableClock\n
- 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_EnableClock\n
- 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_EnableClock\n
- 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_EnableClock\n
- 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_EnableClock\n
- 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_EnableClock\n
- 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_EnableClock\n
- 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_EnableClock\n
- 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_EnableClock\n
- 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_EnableClock\n
- 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_EnableClock\n
- 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_EnableClock
- 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
- 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
- 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
- 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
- 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
- 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
- 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
- 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
- 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
- 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
- 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
- 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
- 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
- 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
- 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
- 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
- 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
- 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
- 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
- 454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
- 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
- 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
- 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
- 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
- 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
- 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
- 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
- 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
- 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
- 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
- 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
- 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
- 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->APBENR1, Periphs);
- 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
- 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APBENR1, Periphs);
- 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
- 474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 108
- 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not
- 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_IsEnabledClock\n
- 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_IsEnabledClock\n
- 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_IsEnabledClock\n
- 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_IsEnabledClock\n
- 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_IsEnabledClock\n
- 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_IsEnabledClock\n
- 484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_IsEnabledClock\n
- 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_IsEnabledClock\n
- 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_IsEnabledClock\n
- 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_IsEnabledClock\n
- 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_IsEnabledClock\n
- 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_IsEnabledClock\n
- 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_IsEnabledClock\n
- 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_IsEnabledClock\n
- 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_IsEnabledClock\n
- 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_IsEnabledClock\n
- 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_IsEnabledClock\n
- 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_IsEnabledClock\n
- 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_IsEnabledClock\n
- 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_IsEnabledClock\n
- 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_IsEnabledClock\n
- 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_IsEnabledClock\n
- 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_IsEnabledClock\n
- 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_IsEnabledClock\n
- 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_IsEnabledClock\n
- 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_IsEnabledClock\n
- 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_IsEnabledClock\n
- 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_IsEnabledClock\n
- 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_IsEnabledClock
- 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
- 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
- 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
- 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
- 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
- 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
- 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
- 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
- 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
- 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
- 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
- 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
- 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
- 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
- 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
- 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
- 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
- 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
- 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
- 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
- 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
- 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
- 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
- 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 109
- 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
- 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
- 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
- 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
- 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
- 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
- 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
- 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
- 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->APBENR1, Periphs) == (Periphs)) ? 1UL : 0UL);
- 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock.
- 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_DisableClock\n
- 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_DisableClock\n
- 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_DisableClock\n
- 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_DisableClock\n
- 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_DisableClock\n
- 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_DisableClock\n
- 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_DisableClock\n
- 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_DisableClock\n
- 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_DisableClock\n
- 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_DisableClock\n
- 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_DisableClock\n
- 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_DisableClock\n
- 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_DisableClock\n
- 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_DisableClock\n
- 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_DisableClock\n
- 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_DisableClock\n
- 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_DisableClock\n
- 564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_DisableClock\n
- 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_DisableClock\n
- 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_DisableClock\n
- 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_DisableClock\n
- 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_DisableClock\n
- 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_DisableClock\n
- 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_DisableClock\n
- 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_DisableClock\n
- 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_DisableClock\n
- 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_DisableClock\n
- 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_DisableClock\n
- 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_DisableClock
- 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
- 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
- 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
- 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
- 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
- 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
- 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
- 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
- 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
- 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
- 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
- 588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 110
- 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
- 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
- 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
- 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
- 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
- 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
- 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
- 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
- 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
- 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
- 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
- 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
- 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
- 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
- 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
- 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
- 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
- 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
- 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs)
- 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 888 .loc 3 610 1
- 889 .cfi_startproc
- 890 @ args = 0, pretend = 0, frame = 8
- 891 @ frame_needed = 1, uses_anonymous_args = 0
- 892 0000 80B5 push {r7, lr}
- 893 .LCFI45:
- 894 .cfi_def_cfa_offset 8
- 895 .cfi_offset 7, -8
- 896 .cfi_offset 14, -4
- 897 0002 82B0 sub sp, sp, #8
- 898 .LCFI46:
- 899 .cfi_def_cfa_offset 16
- 900 0004 00AF add r7, sp, #0
- 901 .LCFI47:
- 902 .cfi_def_cfa_register 7
- 903 0006 7860 str r0, [r7, #4]
- 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->APBENR1, Periphs);
- 904 .loc 3 611 3
- 905 0008 054B ldr r3, .L37
- 906 000a DA6B ldr r2, [r3, #60]
- 907 000c 7B68 ldr r3, [r7, #4]
- 908 000e D943 mvns r1, r3
- 909 0010 034B ldr r3, .L37
- 910 0012 0A40 ands r2, r1
- 911 0014 DA63 str r2, [r3, #60]
- 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 912 .loc 3 612 1
- 913 0016 C046 nop
- 914 0018 BD46 mov sp, r7
- 915 001a 02B0 add sp, sp, #8
- 916 @ sp needed
- 917 001c 80BD pop {r7, pc}
- 918 .L38:
- 919 001e C046 .align 2
- 920 .L37:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 111
- 921 0020 00100240 .word 1073876992
- 922 .cfi_endproc
- 923 .LFE698:
- 925 .global sensor_ctx
- 926 .section .bss.sensor_ctx,"aw",%nobits
- 927 .align 2
- 930 sensor_ctx:
- 931 0000 00000000 .space 152
- 931 00000000
- 931 00000000
- 931 00000000
- 931 00000000
- 932 .global adc_buf
- 933 .section .bss.adc_buf,"aw",%nobits
- 934 .align 2
- 937 adc_buf:
- 938 0000 00000000 .space 200
- 938 00000000
- 938 00000000
- 938 00000000
- 938 00000000
- 939 .global sensor_data
- 940 .section .bss.sensor_data,"aw",%nobits
- 941 .align 2
- 944 sensor_data:
- 945 0000 00000000 .space 12
- 945 00000000
- 945 00000000
- 946 .section .text.sensor_set_bus_sta,"ax",%progbits
- 947 .align 1
- 948 .global sensor_set_bus_sta
- 949 .syntax unified
- 950 .code 16
- 951 .thumb_func
- 953 sensor_set_bus_sta:
- 954 .LFB942:
- 955 .file 4 "User/sensor.c"
- 1:User/sensor.c **** #include "stdint.h"
- 2:User/sensor.c **** #include "string.h"
- 3:User/sensor.c **** #include "main.h"
- 4:User/sensor.c **** #include "sensor.h"
- 5:User/sensor.c **** #include "usart.h"
- 6:User/sensor.c **** #include "stdio.h"
- 7:User/sensor.c **** #include "crc.h"
- 8:User/sensor.c **** #include "pm.h"
- 9:User/sensor.c **** #include "..\Core\Inc\adc.h"
- 10:User/sensor.c **** #include "dma.h"
- 11:User/sensor.c **** #include "rec.h"
- 12:User/sensor.c **** #include "app_rtc.h"
- 13:User/sensor.c **** #include "spi.h"
- 14:User/sensor.c ****
- 15:User/sensor.c **** #define ADC_BUF_SZ (50ul)
- 16:User/sensor.c ****
- 17:User/sensor.c **** typedef enum
- 18:User/sensor.c **** {
- 19:User/sensor.c **** BUS_STA_DISABLE = 0,
- 20:User/sensor.c **** BUS_STA_TX = 1,
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 112
- 21:User/sensor.c **** BUS_STA_RX = 2,
- 22:User/sensor.c **** } bus_sta_t;
- 23:User/sensor.c ****
- 24:User/sensor.c **** typedef enum
- 25:User/sensor.c **** {
- 26:User/sensor.c **** SENSOR_STA_IDLE = 0,
- 27:User/sensor.c **** SENSOR_STA_START,
- 28:User/sensor.c **** SENSOR_STA_WAIT_PWR,
- 29:User/sensor.c **** SENSOR_STA_TX,
- 30:User/sensor.c **** SENSOR_STA_WAIT_ACK,
- 31:User/sensor.c **** SENSOR_STA_STOP,
- 32:User/sensor.c **** } sensor_sta_t;
- 33:User/sensor.c ****
- 34:User/sensor.c **** struct
- 35:User/sensor.c **** {
- 36:User/sensor.c **** sensor_sta_t tsk_sta;
- 37:User/sensor.c **** uint32_t timestamp;
- 38:User/sensor.c **** uint32_t tsk_timer;
- 39:User/sensor.c **** int retry;
- 40:User/sensor.c **** int rx_len;
- 41:User/sensor.c **** uint32_t rx_timer;
- 42:User/sensor.c **** uint8_t rx_buf[128];
- 43:User/sensor.c **** } sensor_ctx;
- 44:User/sensor.c ****
- 45:User/sensor.c **** volatile uint16_t adc_buf[ADC_BUF_SZ][2];
- 46:User/sensor.c **** sensor_data_t sensor_data;
- 47:User/sensor.c ****
- 48:User/sensor.c **** void sensor_set_bus_sta(bus_sta_t sta)
- 49:User/sensor.c **** {
- 956 .loc 4 49 1
- 957 .cfi_startproc
- 958 @ args = 0, pretend = 0, frame = 8
- 959 @ frame_needed = 1, uses_anonymous_args = 0
- 960 0000 80B5 push {r7, lr}
- 961 .LCFI48:
- 962 .cfi_def_cfa_offset 8
- 963 .cfi_offset 7, -8
- 964 .cfi_offset 14, -4
- 965 0002 82B0 sub sp, sp, #8
- 966 .LCFI49:
- 967 .cfi_def_cfa_offset 16
- 968 0004 00AF add r7, sp, #0
- 969 .LCFI50:
- 970 .cfi_def_cfa_register 7
- 971 0006 0200 movs r2, r0
- 972 0008 FB1D adds r3, r7, #7
- 973 000a 1A70 strb r2, [r3]
- 50:User/sensor.c **** switch (sta)
- 974 .loc 4 50 2
- 975 000c FB1D adds r3, r7, #7
- 976 000e 1B78 ldrb r3, [r3]
- 977 0010 012B cmp r3, #1
- 978 0012 10D0 beq .L40
- 979 0014 022B cmp r3, #2
- 980 0016 1DD0 beq .L41
- 51:User/sensor.c **** {
- 52:User/sensor.c **** default:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 113
- 53:User/sensor.c **** case BUS_STA_DISABLE:
- 54:User/sensor.c **** HAL_GPIO_WritePin(RS485_DE_GPIO_Port, RS485_DE_Pin, GPIO_PIN_RESET);
- 981 .loc 4 54 3
- 982 0018 8023 movs r3, #128
- 983 001a DB00 lsls r3, r3, #3
- 984 001c 1748 ldr r0, .L43
- 985 001e 0022 movs r2, #0
- 986 0020 1900 movs r1, r3
- 987 0022 FFF7FEFF bl HAL_GPIO_WritePin
- 55:User/sensor.c **** HAL_GPIO_WritePin(RS485_RE_GPIO_Port, RS485_RE_Pin, GPIO_PIN_SET);
- 988 .loc 4 55 3
- 989 0026 8023 movs r3, #128
- 990 0028 1B01 lsls r3, r3, #4
- 991 002a 1448 ldr r0, .L43
- 992 002c 0122 movs r2, #1
- 993 002e 1900 movs r1, r3
- 994 0030 FFF7FEFF bl HAL_GPIO_WritePin
- 56:User/sensor.c **** break;
- 995 .loc 4 56 3
- 996 0034 1DE0 b .L42
- 997 .L40:
- 57:User/sensor.c **** case BUS_STA_TX:
- 58:User/sensor.c **** HAL_GPIO_WritePin(RS485_DE_GPIO_Port, RS485_DE_Pin, GPIO_PIN_SET);
- 998 .loc 4 58 3
- 999 0036 8023 movs r3, #128
- 1000 0038 DB00 lsls r3, r3, #3
- 1001 003a 1048 ldr r0, .L43
- 1002 003c 0122 movs r2, #1
- 1003 003e 1900 movs r1, r3
- 1004 0040 FFF7FEFF bl HAL_GPIO_WritePin
- 59:User/sensor.c **** HAL_GPIO_WritePin(RS485_RE_GPIO_Port, RS485_RE_Pin, GPIO_PIN_SET);
- 1005 .loc 4 59 3
- 1006 0044 8023 movs r3, #128
- 1007 0046 1B01 lsls r3, r3, #4
- 1008 0048 0C48 ldr r0, .L43
- 1009 004a 0122 movs r2, #1
- 1010 004c 1900 movs r1, r3
- 1011 004e FFF7FEFF bl HAL_GPIO_WritePin
- 60:User/sensor.c **** break;
- 1012 .loc 4 60 3
- 1013 0052 0EE0 b .L42
- 1014 .L41:
- 61:User/sensor.c **** case BUS_STA_RX:
- 62:User/sensor.c **** HAL_GPIO_WritePin(RS485_DE_GPIO_Port, RS485_DE_Pin, GPIO_PIN_RESET);
- 1015 .loc 4 62 3
- 1016 0054 8023 movs r3, #128
- 1017 0056 DB00 lsls r3, r3, #3
- 1018 0058 0848 ldr r0, .L43
- 1019 005a 0022 movs r2, #0
- 1020 005c 1900 movs r1, r3
- 1021 005e FFF7FEFF bl HAL_GPIO_WritePin
- 63:User/sensor.c **** HAL_GPIO_WritePin(RS485_RE_GPIO_Port, RS485_RE_Pin, GPIO_PIN_RESET);
- 1022 .loc 4 63 3
- 1023 0062 8023 movs r3, #128
- 1024 0064 1B01 lsls r3, r3, #4
- 1025 0066 0548 ldr r0, .L43
- 1026 0068 0022 movs r2, #0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 114
- 1027 006a 1900 movs r1, r3
- 1028 006c FFF7FEFF bl HAL_GPIO_WritePin
- 64:User/sensor.c **** break;
- 1029 .loc 4 64 3
- 1030 0070 C046 nop
- 1031 .L42:
- 65:User/sensor.c **** }
- 66:User/sensor.c **** }
- 1032 .loc 4 66 1
- 1033 0072 C046 nop
- 1034 0074 BD46 mov sp, r7
- 1035 0076 02B0 add sp, sp, #8
- 1036 @ sp needed
- 1037 0078 80BD pop {r7, pc}
- 1038 .L44:
- 1039 007a C046 .align 2
- 1040 .L43:
- 1041 007c 00040050 .word 1342178304
- 1042 .cfi_endproc
- 1043 .LFE942:
- 1045 .section .text.sensor_write,"ax",%progbits
- 1046 .align 1
- 1047 .syntax unified
- 1048 .code 16
- 1049 .thumb_func
- 1051 sensor_write:
- 1052 .LFB943:
- 67:User/sensor.c ****
- 68:User/sensor.c **** static void sensor_write(uint8_t *buf, int sz)
- 69:User/sensor.c **** {
- 1053 .loc 4 69 1
- 1054 .cfi_startproc
- 1055 @ args = 0, pretend = 0, frame = 16
- 1056 @ frame_needed = 1, uses_anonymous_args = 0
- 1057 0000 80B5 push {r7, lr}
- 1058 .LCFI51:
- 1059 .cfi_def_cfa_offset 8
- 1060 .cfi_offset 7, -8
- 1061 .cfi_offset 14, -4
- 1062 0002 84B0 sub sp, sp, #16
- 1063 .LCFI52:
- 1064 .cfi_def_cfa_offset 24
- 1065 0004 00AF add r7, sp, #0
- 1066 .LCFI53:
- 1067 .cfi_def_cfa_register 7
- 1068 0006 7860 str r0, [r7, #4]
- 1069 0008 3960 str r1, [r7]
- 70:User/sensor.c **** if (sz)
- 1070 .loc 4 70 5
- 1071 000a 3B68 ldr r3, [r7]
- 1072 000c 002B cmp r3, #0
- 1073 000e 19D0 beq .L50
- 1074 .LBB58:
- 71:User/sensor.c **** {
- 72:User/sensor.c **** for (int i = 0; i < sz; i++)
- 1075 .loc 4 72 12
- 1076 0010 0023 movs r3, #0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 115
- 1077 0012 FB60 str r3, [r7, #12]
- 1078 .loc 4 72 3
- 1079 0014 12E0 b .L47
- 1080 .L49:
- 73:User/sensor.c **** {
- 74:User/sensor.c **** LL_USART_TransmitData8(COM_RS485, buf[i]);
- 1081 .loc 4 74 41
- 1082 0016 FB68 ldr r3, [r7, #12]
- 1083 0018 7A68 ldr r2, [r7, #4]
- 1084 001a D318 adds r3, r2, r3
- 1085 .loc 4 74 4
- 1086 001c 1B78 ldrb r3, [r3]
- 1087 001e 0B4A ldr r2, .L51
- 1088 0020 1900 movs r1, r3
- 1089 0022 1000 movs r0, r2
- 1090 0024 FFF7FEFF bl LL_USART_TransmitData8
- 75:User/sensor.c **** while (!LL_USART_IsActiveFlag_TC(COM_RS485))
- 1091 .loc 4 75 10
- 1092 0028 C046 nop
- 1093 .L48:
- 1094 .loc 4 75 12 discriminator 1
- 1095 002a 084B ldr r3, .L51
- 1096 002c 1800 movs r0, r3
- 1097 002e FFF7FEFF bl LL_USART_IsActiveFlag_TC
- 1098 0032 031E subs r3, r0, #0
- 1099 .loc 4 75 10 discriminator 1
- 1100 0034 F9D0 beq .L48
- 72:User/sensor.c **** {
- 1101 .loc 4 72 28 discriminator 2
- 1102 0036 FB68 ldr r3, [r7, #12]
- 1103 0038 0133 adds r3, r3, #1
- 1104 003a FB60 str r3, [r7, #12]
- 1105 .L47:
- 72:User/sensor.c **** {
- 1106 .loc 4 72 3 discriminator 1
- 1107 003c FA68 ldr r2, [r7, #12]
- 1108 003e 3B68 ldr r3, [r7]
- 1109 0040 9A42 cmp r2, r3
- 1110 0042 E8DB blt .L49
- 1111 .L50:
- 1112 .LBE58:
- 76:User/sensor.c **** ;
- 77:User/sensor.c **** }
- 78:User/sensor.c **** }
- 79:User/sensor.c **** }
- 1113 .loc 4 79 1
- 1114 0044 C046 nop
- 1115 0046 BD46 mov sp, r7
- 1116 0048 04B0 add sp, sp, #16
- 1117 @ sp needed
- 1118 004a 80BD pop {r7, pc}
- 1119 .L52:
- 1120 .align 2
- 1121 .L51:
- 1122 004c 00480040 .word 1073760256
- 1123 .cfi_endproc
- 1124 .LFE943:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 116
- 1126 .section .rodata
- 1127 .align 2
- 1128 .LC0:
- 1129 0000 73656E73 .ascii "sensor\000"
- 1129 6F7200
- 1130 .section .text.sensor_init,"ax",%progbits
- 1131 .align 1
- 1132 .global sensor_init
- 1133 .syntax unified
- 1134 .code 16
- 1135 .thumb_func
- 1137 sensor_init:
- 1138 .LFB944:
- 80:User/sensor.c ****
- 81:User/sensor.c **** void sensor_init(uint32_t timestamp)
- 82:User/sensor.c **** {
- 1139 .loc 4 82 1
- 1140 .cfi_startproc
- 1141 @ args = 0, pretend = 0, frame = 8
- 1142 @ frame_needed = 1, uses_anonymous_args = 0
- 1143 0000 80B5 push {r7, lr}
- 1144 .LCFI54:
- 1145 .cfi_def_cfa_offset 8
- 1146 .cfi_offset 7, -8
- 1147 .cfi_offset 14, -4
- 1148 0002 82B0 sub sp, sp, #8
- 1149 .LCFI55:
- 1150 .cfi_def_cfa_offset 16
- 1151 0004 00AF add r7, sp, #0
- 1152 .LCFI56:
- 1153 .cfi_def_cfa_register 7
- 1154 0006 7860 str r0, [r7, #4]
- 83:User/sensor.c **** if (pm_get_lock("sensor") < 0)
- 1155 .loc 4 83 6
- 1156 0008 184B ldr r3, .L57
- 1157 000a 1800 movs r0, r3
- 1158 000c FFF7FEFF bl pm_get_lock
- 1159 0010 031E subs r3, r0, #0
- 1160 .loc 4 83 5
- 1161 0012 26DB blt .L56
- 84:User/sensor.c **** {
- 85:User/sensor.c **** return;
- 86:User/sensor.c **** }
- 87:User/sensor.c **** MX_SPI2_Init();
- 1162 .loc 4 87 2
- 1163 0014 FFF7FEFF bl MX_SPI2_Init
- 88:User/sensor.c **** MX_USART3_UART_Init();
- 1164 .loc 4 88 2
- 1165 0018 FFF7FEFF bl MX_USART3_UART_Init
- 89:User/sensor.c **** memset(&sensor_ctx, 0, sizeof(sensor_ctx));
- 1166 .loc 4 89 2
- 1167 001c 144B ldr r3, .L57+4
- 1168 001e 9822 movs r2, #152
- 1169 0020 0021 movs r1, #0
- 1170 0022 1800 movs r0, r3
- 1171 0024 FFF7FEFF bl memset
- 90:User/sensor.c **** memset(&sensor_data, 0, sizeof(sensor_data));
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 117
- 1172 .loc 4 90 2
- 1173 0028 124B ldr r3, .L57+8
- 1174 002a 0C22 movs r2, #12
- 1175 002c 0021 movs r1, #0
- 1176 002e 1800 movs r0, r3
- 1177 0030 FFF7FEFF bl memset
- 91:User/sensor.c **** LL_USART_Enable(COM_RS485);
- 1178 .loc 4 91 2
- 1179 0034 104B ldr r3, .L57+12
- 1180 0036 1800 movs r0, r3
- 1181 0038 FFF7FEFF bl LL_USART_Enable
- 92:User/sensor.c **** LL_USART_EnableIT_RXNE(COM_RS485);
- 1182 .loc 4 92 2
- 1183 003c 0E4B ldr r3, .L57+12
- 1184 003e 1800 movs r0, r3
- 1185 0040 FFF7FEFF bl LL_USART_EnableIT_RXNE_RXFNE
- 93:User/sensor.c **** MX_DMA_Init();
- 1186 .loc 4 93 2
- 1187 0044 FFF7FEFF bl MX_DMA_Init
- 94:User/sensor.c **** MX_ADC1_Init();
- 1188 .loc 4 94 2
- 1189 0048 FFF7FEFF bl MX_ADC1_Init
- 95:User/sensor.c **** HAL_ADCEx_Calibration_Start(&hadc1);
- 1190 .loc 4 95 2
- 1191 004c 0B4B ldr r3, .L57+16
- 1192 004e 1800 movs r0, r3
- 1193 0050 FFF7FEFF bl HAL_ADCEx_Calibration_Start
- 96:User/sensor.c ****
- 97:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_START;
- 1194 .loc 4 97 21
- 1195 0054 064B ldr r3, .L57+4
- 1196 0056 0122 movs r2, #1
- 1197 0058 1A70 strb r2, [r3]
- 98:User/sensor.c **** sensor_ctx.timestamp = timestamp;
- 1198 .loc 4 98 23
- 1199 005a 054B ldr r3, .L57+4
- 1200 005c 7A68 ldr r2, [r7, #4]
- 1201 005e 5A60 str r2, [r3, #4]
- 1202 0060 00E0 b .L53
- 1203 .L56:
- 85:User/sensor.c **** }
- 1204 .loc 4 85 3
- 1205 0062 C046 nop
- 1206 .L53:
- 99:User/sensor.c **** }
- 1207 .loc 4 99 1
- 1208 0064 BD46 mov sp, r7
- 1209 0066 02B0 add sp, sp, #8
- 1210 @ sp needed
- 1211 0068 80BD pop {r7, pc}
- 1212 .L58:
- 1213 006a C046 .align 2
- 1214 .L57:
- 1215 006c 00000000 .word .LC0
- 1216 0070 00000000 .word sensor_ctx
- 1217 0074 00000000 .word sensor_data
- 1218 0078 00480040 .word 1073760256
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 118
- 1219 007c 00000000 .word hadc1
- 1220 .cfi_endproc
- 1221 .LFE944:
- 1223 .section .text.sensor_deinit,"ax",%progbits
- 1224 .align 1
- 1225 .global sensor_deinit
- 1226 .syntax unified
- 1227 .code 16
- 1228 .thumb_func
- 1230 sensor_deinit:
- 1231 .LFB945:
- 100:User/sensor.c ****
- 101:User/sensor.c **** void sensor_deinit(void)
- 102:User/sensor.c **** {
- 1232 .loc 4 102 1
- 1233 .cfi_startproc
- 1234 @ args = 0, pretend = 0, frame = 0
- 1235 @ frame_needed = 1, uses_anonymous_args = 0
- 1236 0000 80B5 push {r7, lr}
- 1237 .LCFI57:
- 1238 .cfi_def_cfa_offset 8
- 1239 .cfi_offset 7, -8
- 1240 .cfi_offset 14, -4
- 1241 0002 00AF add r7, sp, #0
- 1242 .LCFI58:
- 1243 .cfi_def_cfa_register 7
- 103:User/sensor.c **** LL_USART_DisableIT_RXNE(COM_RS485);
- 1244 .loc 4 103 2
- 1245 0004 134B ldr r3, .L60
- 1246 0006 1800 movs r0, r3
- 1247 0008 FFF7FEFF bl LL_USART_DisableIT_RXNE_RXFNE
- 104:User/sensor.c **** LL_USART_Disable(COM_RS485);
- 1248 .loc 4 104 2
- 1249 000c 114B ldr r3, .L60
- 1250 000e 1800 movs r0, r3
- 1251 0010 FFF7FEFF bl LL_USART_Disable
- 105:User/sensor.c **** LL_USART_DeInit(COM_RS485);
- 1252 .loc 4 105 2
- 1253 0014 0F4B ldr r3, .L60
- 1254 0016 1800 movs r0, r3
- 1255 0018 FFF7FEFF bl LL_USART_DeInit
- 106:User/sensor.c **** LL_APB1_GRP1_DisableClock(LL_APB1_GRP1_PERIPH_USART3);
- 1256 .loc 4 106 2
- 1257 001c 8023 movs r3, #128
- 1258 001e DB02 lsls r3, r3, #11
- 1259 0020 1800 movs r0, r3
- 1260 0022 FFF7FEFF bl LL_APB1_GRP1_DisableClock
- 107:User/sensor.c ****
- 108:User/sensor.c **** extern DMA_HandleTypeDef hdma_adc1;
- 109:User/sensor.c **** HAL_ADC_Stop(&hadc1);
- 1261 .loc 4 109 2
- 1262 0026 0C4B ldr r3, .L60+4
- 1263 0028 1800 movs r0, r3
- 1264 002a FFF7FEFF bl HAL_ADC_Stop
- 110:User/sensor.c **** HAL_ADC_Stop_DMA(&hadc1);
- 1265 .loc 4 110 2
- 1266 002e 0A4B ldr r3, .L60+4
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 119
- 1267 0030 1800 movs r0, r3
- 1268 0032 FFF7FEFF bl HAL_ADC_Stop_DMA
- 111:User/sensor.c **** HAL_ADC_DeInit(&hadc1);
- 1269 .loc 4 111 2
- 1270 0036 084B ldr r3, .L60+4
- 1271 0038 1800 movs r0, r3
- 1272 003a FFF7FEFF bl HAL_ADC_DeInit
- 112:User/sensor.c **** HAL_DMA_DeInit(&hdma_adc1);
- 1273 .loc 4 112 2
- 1274 003e 074B ldr r3, .L60+8
- 1275 0040 1800 movs r0, r3
- 1276 0042 FFF7FEFF bl HAL_DMA_DeInit
- 113:User/sensor.c **** ADC_Disable(&hadc1);
- 1277 .loc 4 113 2
- 1278 0046 044B ldr r3, .L60+4
- 1279 0048 1800 movs r0, r3
- 1280 004a FFF7FEFF bl ADC_Disable
- 114:User/sensor.c **** }
- 1281 .loc 4 114 1
- 1282 004e C046 nop
- 1283 0050 BD46 mov sp, r7
- 1284 @ sp needed
- 1285 0052 80BD pop {r7, pc}
- 1286 .L61:
- 1287 .align 2
- 1288 .L60:
- 1289 0054 00480040 .word 1073760256
- 1290 0058 00000000 .word hadc1
- 1291 005c 00000000 .word hdma_adc1
- 1292 .cfi_endproc
- 1293 .LFE945:
- 1295 .section .rodata
- 1296 0007 00 .align 2
- 1297 .LC11:
- 1298 0008 01030000 .ascii "\001\003\000\000\000\007\004\010"
- 1298 00070408
- 1299 .section .text.sensor_task,"ax",%progbits
- 1300 .align 1
- 1301 .global sensor_task
- 1302 .syntax unified
- 1303 .code 16
- 1304 .thumb_func
- 1306 sensor_task:
- 1307 .LFB946:
- 115:User/sensor.c ****
- 116:User/sensor.c **** void sensor_task(void)
- 117:User/sensor.c **** {
- 1308 .loc 4 117 1
- 1309 .cfi_startproc
- 1310 @ args = 0, pretend = 0, frame = 40
- 1311 @ frame_needed = 1, uses_anonymous_args = 0
- 1312 0000 90B5 push {r4, r7, lr}
- 1313 .LCFI59:
- 1314 .cfi_def_cfa_offset 12
- 1315 .cfi_offset 4, -12
- 1316 .cfi_offset 7, -8
- 1317 .cfi_offset 14, -4
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 120
- 1318 0002 8BB0 sub sp, sp, #44
- 1319 .LCFI60:
- 1320 .cfi_def_cfa_offset 56
- 1321 0004 00AF add r7, sp, #0
- 1322 .LCFI61:
- 1323 .cfi_def_cfa_register 7
- 118:User/sensor.c **** switch (sensor_ctx.tsk_sta)
- 1324 .loc 4 118 20
- 1325 0006 884B ldr r3, .L84
- 1326 0008 1B78 ldrb r3, [r3]
- 1327 .loc 4 118 2
- 1328 000a 052B cmp r3, #5
- 1329 000c 00D9 bls .LCB999
- 1330 000e 01E1 b .L80 @long jump
- 1331 .LCB999:
- 1332 0010 9A00 lsls r2, r3, #2
- 1333 0012 864B ldr r3, .L84+4
- 1334 0014 D318 adds r3, r2, r3
- 1335 0016 1B68 ldr r3, [r3]
- 1336 0018 9F46 mov pc, r3
- 1337 .section .rodata.sensor_task,"a",%progbits
- 1338 .align 2
- 1339 .L65:
- 1340 0000 14020000 .word .L80
- 1341 0004 1A000000 .word .L69
- 1342 0008 54000000 .word .L68
- 1343 000c 72000000 .word .L67
- 1344 0010 AE000000 .word .L66
- 1345 0014 00020000 .word .L64
- 1346 .section .text.sensor_task
- 1347 .L69:
- 119:User/sensor.c **** {
- 120:User/sensor.c **** default:
- 121:User/sensor.c **** case SENSOR_STA_IDLE:
- 122:User/sensor.c **** break;
- 123:User/sensor.c **** case SENSOR_STA_START: // 传感器上电,等待一段时间后发送查询命令
- 124:User/sensor.c **** // 使能传感器电源
- 125:User/sensor.c **** HAL_GPIO_WritePin(PWR_RS485_GPIO_Port, PWR_RS485_Pin, GPIO_PIN_SET);
- 1348 .loc 4 125 3
- 1349 001a A023 movs r3, #160
- 1350 001c DB05 lsls r3, r3, #23
- 1351 001e 0122 movs r2, #1
- 1352 0020 0221 movs r1, #2
- 1353 0022 1800 movs r0, r3
- 1354 0024 FFF7FEFF bl HAL_GPIO_WritePin
- 126:User/sensor.c ****
- 127:User/sensor.c **** // 250930 增加ADC分压电阻电源控制
- 128:User/sensor.c **** HAL_GPIO_WritePin(PWR_ADC_GPIO_Port, PWR_ADC_Pin, GPIO_PIN_SET);
- 1355 .loc 4 128 3
- 1356 0028 A023 movs r3, #160
- 1357 002a DB05 lsls r3, r3, #23
- 1358 002c 0122 movs r2, #1
- 1359 002e 2021 movs r1, #32
- 1360 0030 1800 movs r0, r3
- 1361 0032 FFF7FEFF bl HAL_GPIO_WritePin
- 129:User/sensor.c ****
- 130:User/sensor.c **** HAL_ADC_Start_DMA(&hadc1, (uint32_t *)adc_buf, sizeof(adc_buf) / sizeof(uint16_t));
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 121
- 1362 .loc 4 130 3
- 1363 0036 7E49 ldr r1, .L84+8
- 1364 0038 7E4B ldr r3, .L84+12
- 1365 003a 6422 movs r2, #100
- 1366 003c 1800 movs r0, r3
- 1367 003e FFF7FEFF bl HAL_ADC_Start_DMA
- 131:User/sensor.c **** sensor_ctx.tsk_timer = HAL_GetTick();
- 1368 .loc 4 131 26
- 1369 0042 FFF7FEFF bl HAL_GetTick
- 1370 0046 0200 movs r2, r0
- 1371 .loc 4 131 24
- 1372 0048 774B ldr r3, .L84
- 1373 004a 9A60 str r2, [r3, #8]
- 132:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_WAIT_PWR;
- 1374 .loc 4 132 22
- 1375 004c 764B ldr r3, .L84
- 1376 004e 0222 movs r2, #2
- 1377 0050 1A70 strb r2, [r3]
- 133:User/sensor.c **** break;
- 1378 .loc 4 133 3
- 1379 0052 E4E0 b .L70
- 1380 .L68:
- 134:User/sensor.c **** case SENSOR_STA_WAIT_PWR: // 等待传感器上电完成
- 135:User/sensor.c **** if (HAL_GetTick() - sensor_ctx.tsk_timer > 1000)
- 1381 .loc 4 135 7
- 1382 0054 FFF7FEFF bl HAL_GetTick
- 1383 0058 0200 movs r2, r0
- 1384 .loc 4 135 33
- 1385 005a 734B ldr r3, .L84
- 1386 005c 9B68 ldr r3, [r3, #8]
- 1387 .loc 4 135 21
- 1388 005e D21A subs r2, r2, r3
- 1389 .loc 4 135 6
- 1390 0060 FA23 movs r3, #250
- 1391 0062 9B00 lsls r3, r3, #2
- 1392 0064 9A42 cmp r2, r3
- 1393 0066 00D8 bhi .LCB1047
- 1394 0068 D6E0 b .L81 @long jump
- 1395 .LCB1047:
- 136:User/sensor.c **** {
- 137:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_TX;
- 1396 .loc 4 137 23
- 1397 006a 6F4B ldr r3, .L84
- 1398 006c 0322 movs r2, #3
- 1399 006e 1A70 strb r2, [r3]
- 138:User/sensor.c **** }
- 139:User/sensor.c **** break;
- 1400 .loc 4 139 3
- 1401 0070 D2E0 b .L81
- 1402 .L67:
- 1403 .LBB59:
- 140:User/sensor.c **** case SENSOR_STA_TX:
- 141:User/sensor.c **** {
- 142:User/sensor.c **** const uint8_t read_cmd[] = {0x01, 0x03, 0x00, 0x00, 0x00, 0x07, 0x04, 0x08};
- 1404 .loc 4 142 17
- 1405 0072 1C24 movs r4, #28
- 1406 0074 3B19 adds r3, r7, r4
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 122
- 1407 0076 704A ldr r2, .L84+16
- 1408 0078 03CA ldmia r2!, {r0, r1}
- 1409 007a 03C3 stmia r3!, {r0, r1}
- 143:User/sensor.c ****
- 144:User/sensor.c **** sensor_set_bus_sta(BUS_STA_TX);
- 1410 .loc 4 144 3
- 1411 007c 0120 movs r0, #1
- 1412 007e FFF7FEFF bl sensor_set_bus_sta
- 145:User/sensor.c **** sensor_write((uint8_t *)read_cmd, sizeof(read_cmd));
- 1413 .loc 4 145 3
- 1414 0082 3B19 adds r3, r7, r4
- 1415 0084 0821 movs r1, #8
- 1416 0086 1800 movs r0, r3
- 1417 0088 FFF7FEFF bl sensor_write
- 146:User/sensor.c **** sensor_set_bus_sta(BUS_STA_RX);
- 1418 .loc 4 146 3
- 1419 008c 0220 movs r0, #2
- 1420 008e FFF7FEFF bl sensor_set_bus_sta
- 147:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_WAIT_ACK;
- 1421 .loc 4 147 22
- 1422 0092 654B ldr r3, .L84
- 1423 0094 0422 movs r2, #4
- 1424 0096 1A70 strb r2, [r3]
- 148:User/sensor.c **** sensor_ctx.tsk_timer = HAL_GetTick();
- 1425 .loc 4 148 26
- 1426 0098 FFF7FEFF bl HAL_GetTick
- 1427 009c 0200 movs r2, r0
- 1428 .loc 4 148 24
- 1429 009e 624B ldr r3, .L84
- 1430 00a0 9A60 str r2, [r3, #8]
- 149:User/sensor.c **** sensor_ctx.retry++;
- 1431 .loc 4 149 13
- 1432 00a2 614B ldr r3, .L84
- 1433 00a4 DB68 ldr r3, [r3, #12]
- 1434 .loc 4 149 19
- 1435 00a6 5A1C adds r2, r3, #1
- 1436 00a8 5F4B ldr r3, .L84
- 1437 00aa DA60 str r2, [r3, #12]
- 1438 .LBE59:
- 150:User/sensor.c **** }
- 151:User/sensor.c **** break;
- 1439 .loc 4 151 2
- 1440 00ac B7E0 b .L70
- 1441 .L66:
- 1442 .LBB60:
- 152:User/sensor.c **** case SENSOR_STA_WAIT_ACK: // 等待传感器应答
- 153:User/sensor.c **** {
- 154:User/sensor.c **** int need_retry = 0;
- 1443 .loc 4 154 7
- 1444 00ae 0023 movs r3, #0
- 1445 00b0 7B62 str r3, [r7, #36]
- 155:User/sensor.c ****
- 156:User/sensor.c **** if (sensor_ctx.rx_len >= 19)
- 1446 .loc 4 156 17
- 1447 00b2 5D4B ldr r3, .L84
- 1448 00b4 1B69 ldr r3, [r3, #16]
- 1449 .loc 4 156 6
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 123
- 1450 00b6 122B cmp r3, #18
- 1451 00b8 41DD ble .L72
- 157:User/sensor.c **** {
- 158:User/sensor.c **** if (CRC16(sensor_ctx.rx_buf, 19) == 0)
- 1452 .loc 4 158 8
- 1453 00ba 604B ldr r3, .L84+20
- 1454 00bc 1321 movs r1, #19
- 1455 00be 1800 movs r0, r3
- 1456 00c0 FFF7FEFF bl CRC16
- 1457 00c4 031E subs r3, r0, #0
- 1458 .loc 4 158 7
- 1459 00c6 37D1 bne .L73
- 159:User/sensor.c **** {
- 160:User/sensor.c **** sensor_data.temperature = ((uint16_t)sensor_ctx.rx_buf[7] << 8) + sensor_ctx.rx_buf[8];
- 1460 .loc 4 160 59
- 1461 00c8 574B ldr r3, .L84
- 1462 00ca DB7F ldrb r3, [r3, #31]
- 1463 00cc 9BB2 uxth r3, r3
- 1464 .loc 4 160 63
- 1465 00ce 1B02 lsls r3, r3, #8
- 1466 00d0 9AB2 uxth r2, r3
- 1467 .loc 4 160 88
- 1468 00d2 554B ldr r3, .L84
- 1469 00d4 2021 movs r1, #32
- 1470 00d6 5B5C ldrb r3, [r3, r1]
- 1471 00d8 9BB2 uxth r3, r3
- 1472 .loc 4 160 69
- 1473 00da D318 adds r3, r2, r3
- 1474 00dc 9BB2 uxth r3, r3
- 1475 00de 1AB2 sxth r2, r3
- 1476 .loc 4 160 29
- 1477 00e0 574B ldr r3, .L84+24
- 1478 00e2 1A80 strh r2, [r3]
- 161:User/sensor.c **** sensor_data.humidity = (uint16_t)(sensor_ctx.rx_buf[9] << 8) + sensor_ctx.rx_buf[10];
- 1479 .loc 4 161 56
- 1480 00e4 504B ldr r3, .L84
- 1481 00e6 2122 movs r2, #33
- 1482 00e8 9B5C ldrb r3, [r3, r2]
- 1483 00ea 9BB2 uxth r3, r3
- 1484 .loc 4 161 28
- 1485 00ec 1B02 lsls r3, r3, #8
- 1486 00ee 9AB2 uxth r2, r3
- 1487 .loc 4 161 85
- 1488 00f0 4D4B ldr r3, .L84
- 1489 00f2 2221 movs r1, #34
- 1490 00f4 5B5C ldrb r3, [r3, r1]
- 1491 00f6 9BB2 uxth r3, r3
- 1492 .loc 4 161 66
- 1493 00f8 D318 adds r3, r2, r3
- 1494 00fa 9BB2 uxth r3, r3
- 1495 00fc 1AB2 sxth r2, r3
- 1496 .loc 4 161 26
- 1497 00fe 504B ldr r3, .L84+24
- 1498 0100 5A80 strh r2, [r3, #2]
- 162:User/sensor.c **** sensor_data.illuminance = ((uint32_t)(sensor_ctx.rx_buf[13] << 8) + sensor_ctx.rx_buf[14]) * 10
- 1499 .loc 4 162 60
- 1500 0102 494B ldr r3, .L84
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 124
- 1501 0104 2522 movs r2, #37
- 1502 0106 9B5C ldrb r3, [r3, r2]
- 1503 .loc 4 162 65
- 1504 0108 1B02 lsls r3, r3, #8
- 1505 .loc 4 162 32
- 1506 010a 1900 movs r1, r3
- 1507 .loc 4 162 90
- 1508 010c 464B ldr r3, .L84
- 1509 010e 2622 movs r2, #38
- 1510 0110 9B5C ldrb r3, [r3, r2]
- 1511 .loc 4 162 71
- 1512 0112 CA18 adds r2, r1, r3
- 1513 .loc 4 162 96
- 1514 0114 1300 movs r3, r2
- 1515 0116 9B00 lsls r3, r3, #2
- 1516 0118 9B18 adds r3, r3, r2
- 1517 011a 5B00 lsls r3, r3, #1
- 1518 011c 1900 movs r1, r3
- 1519 .loc 4 162 132
- 1520 011e 424B ldr r3, .L84
- 1521 0120 2722 movs r2, #39
- 1522 0122 9B5C ldrb r3, [r3, r2]
- 1523 .loc 4 162 137
- 1524 0124 1B02 lsls r3, r3, #8
- 1525 .loc 4 162 104
- 1526 0126 1800 movs r0, r3
- 1527 .loc 4 162 162
- 1528 0128 3F4B ldr r3, .L84
- 1529 012a 2822 movs r2, #40
- 1530 012c 9B5C ldrb r3, [r3, r2]
- 1531 .loc 4 162 143
- 1532 012e C318 adds r3, r0, r3
- 1533 .loc 4 162 101
- 1534 0130 CA18 adds r2, r1, r3
- 1535 .loc 4 162 29
- 1536 0132 434B ldr r3, .L84+24
- 1537 0134 5A60 str r2, [r3, #4]
- 1538 0136 0EE0 b .L74
- 1539 .L73:
- 163:User/sensor.c **** }
- 164:User/sensor.c **** else
- 165:User/sensor.c **** {
- 166:User/sensor.c **** need_retry = 1;
- 1540 .loc 4 166 16
- 1541 0138 0123 movs r3, #1
- 1542 013a 7B62 str r3, [r7, #36]
- 1543 013c 0BE0 b .L74
- 1544 .L72:
- 167:User/sensor.c **** }
- 168:User/sensor.c **** }
- 169:User/sensor.c **** else if (HAL_GetTick() - sensor_ctx.tsk_timer < 500)
- 1545 .loc 4 169 12
- 1546 013e FFF7FEFF bl HAL_GetTick
- 1547 0142 0200 movs r2, r0
- 1548 .loc 4 169 38
- 1549 0144 384B ldr r3, .L84
- 1550 0146 9B68 ldr r3, [r3, #8]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 125
- 1551 .loc 4 169 26
- 1552 0148 D21A subs r2, r2, r3
- 1553 .loc 4 169 11
- 1554 014a FA23 movs r3, #250
- 1555 014c 5B00 lsls r3, r3, #1
- 1556 014e 9A42 cmp r2, r3
- 1557 0150 64D3 bcc .L82
- 170:User/sensor.c **** {
- 171:User/sensor.c **** break;
- 172:User/sensor.c **** }
- 173:User/sensor.c **** else
- 174:User/sensor.c **** {
- 175:User/sensor.c **** need_retry = 1;
- 1558 .loc 4 175 15
- 1559 0152 0123 movs r3, #1
- 1560 0154 7B62 str r3, [r7, #36]
- 1561 .L74:
- 176:User/sensor.c **** }
- 177:User/sensor.c **** if (need_retry)
- 1562 .loc 4 177 6
- 1563 0156 7B6A ldr r3, [r7, #36]
- 1564 0158 002B cmp r3, #0
- 1565 015a 0ED0 beq .L77
- 178:User/sensor.c **** {
- 179:User/sensor.c **** if (sensor_ctx.retry < 3)
- 1566 .loc 4 179 18
- 1567 015c 324B ldr r3, .L84
- 1568 015e DB68 ldr r3, [r3, #12]
- 1569 .loc 4 179 7
- 1570 0160 022B cmp r3, #2
- 1571 0162 0ADC bgt .L77
- 180:User/sensor.c **** {
- 181:User/sensor.c **** sensor_ctx.rx_len = 0;
- 1572 .loc 4 181 23
- 1573 0164 304B ldr r3, .L84
- 1574 0166 0022 movs r2, #0
- 1575 0168 1A61 str r2, [r3, #16]
- 182:User/sensor.c **** sensor_ctx.tsk_timer = 0;
- 1576 .loc 4 182 26
- 1577 016a 2F4B ldr r3, .L84
- 1578 016c 0022 movs r2, #0
- 1579 016e 9A60 str r2, [r3, #8]
- 183:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_TX;
- 1580 .loc 4 183 24
- 1581 0170 2D4B ldr r3, .L84
- 1582 0172 0322 movs r2, #3
- 1583 0174 1A70 strb r2, [r3]
- 184:User/sensor.c **** break;
- 1584 .loc 4 184 5
- 1585 0176 C046 nop
- 1586 .LBE60:
- 185:User/sensor.c **** }
- 186:User/sensor.c **** }
- 187:User/sensor.c **** // 成功采集到数据或达到最大重试次数
- 188:User/sensor.c **** // 保存数据
- 189:User/sensor.c **** rec_data_t rec_data;
- 190:User/sensor.c ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 126
- 191:User/sensor.c **** rec_data.humidity = sensor_data.humidity;
- 192:User/sensor.c **** rec_data.illuminance = sensor_data.illuminance;
- 193:User/sensor.c **** rec_data.temperature = sensor_data.temperature;
- 194:User/sensor.c **** rec_data.voltage = sensor_data.voltage;
- 195:User/sensor.c **** if (sensor_ctx.timestamp == 0)
- 196:User/sensor.c **** {
- 197:User/sensor.c **** rtc_time_t time;
- 198:User/sensor.c ****
- 199:User/sensor.c **** rtc_get_time(&time);
- 200:User/sensor.c ****
- 201:User/sensor.c **** rec_data.timestamp = rtc_mktime(&time);
- 202:User/sensor.c **** }
- 203:User/sensor.c **** else
- 204:User/sensor.c **** {
- 205:User/sensor.c **** rec_data.timestamp = sensor_ctx.timestamp;
- 206:User/sensor.c **** rec_write(&rec_data);
- 207:User/sensor.c **** }
- 208:User/sensor.c ****
- 209:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_STOP;
- 210:User/sensor.c **** HAL_GPIO_WritePin(PWR_RS485_GPIO_Port, PWR_RS485_Pin, GPIO_PIN_RESET);
- 211:User/sensor.c ****
- 212:User/sensor.c **** // 250930 增加ADC分压电阻电源控制
- 213:User/sensor.c **** HAL_GPIO_WritePin(PWR_ADC_GPIO_Port, PWR_ADC_Pin, GPIO_PIN_RESET);
- 214:User/sensor.c ****
- 215:User/sensor.c **** sensor_set_bus_sta(BUS_STA_DISABLE);
- 216:User/sensor.c **** }
- 217:User/sensor.c **** break;
- 218:User/sensor.c **** case SENSOR_STA_STOP: // 读取完成或达到最大重试次数
- 219:User/sensor.c **** sensor_deinit();
- 220:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_IDLE;
- 221:User/sensor.c **** pm_release_lock("sensor");
- 222:User/sensor.c **** break;
- 223:User/sensor.c **** }
- 224:User/sensor.c **** }
- 1587 .loc 4 224 1
- 1588 0178 51E0 b .L83
- 1589 .L77:
- 1590 .LBB62:
- 191:User/sensor.c **** rec_data.illuminance = sensor_data.illuminance;
- 1591 .loc 4 191 34
- 1592 017a 314B ldr r3, .L84+24
- 1593 017c 0222 movs r2, #2
- 1594 017e 9B5E ldrsh r3, [r3, r2]
- 1595 0180 9AB2 uxth r2, r3
- 191:User/sensor.c **** rec_data.illuminance = sensor_data.illuminance;
- 1596 .loc 4 191 21
- 1597 0182 0C24 movs r4, #12
- 1598 0184 3B19 adds r3, r7, r4
- 1599 0186 DA80 strh r2, [r3, #6]
- 192:User/sensor.c **** rec_data.temperature = sensor_data.temperature;
- 1600 .loc 4 192 37
- 1601 0188 2D4B ldr r3, .L84+24
- 1602 018a 5A68 ldr r2, [r3, #4]
- 192:User/sensor.c **** rec_data.temperature = sensor_data.temperature;
- 1603 .loc 4 192 24
- 1604 018c 3B19 adds r3, r7, r4
- 1605 018e 9A60 str r2, [r3, #8]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 127
- 193:User/sensor.c **** rec_data.voltage = sensor_data.voltage;
- 1606 .loc 4 193 37
- 1607 0190 2B4B ldr r3, .L84+24
- 1608 0192 0022 movs r2, #0
- 1609 0194 9B5E ldrsh r3, [r3, r2]
- 1610 0196 9AB2 uxth r2, r3
- 193:User/sensor.c **** rec_data.voltage = sensor_data.voltage;
- 1611 .loc 4 193 24
- 1612 0198 3B19 adds r3, r7, r4
- 1613 019a 9A80 strh r2, [r3, #4]
- 194:User/sensor.c **** if (sensor_ctx.timestamp == 0)
- 1614 .loc 4 194 33
- 1615 019c 284B ldr r3, .L84+24
- 1616 019e 1A89 ldrh r2, [r3, #8]
- 194:User/sensor.c **** if (sensor_ctx.timestamp == 0)
- 1617 .loc 4 194 20
- 1618 01a0 3B19 adds r3, r7, r4
- 1619 01a2 9A81 strh r2, [r3, #12]
- 195:User/sensor.c **** {
- 1620 .loc 4 195 17
- 1621 01a4 204B ldr r3, .L84
- 1622 01a6 5B68 ldr r3, [r3, #4]
- 195:User/sensor.c **** {
- 1623 .loc 4 195 6
- 1624 01a8 002B cmp r3, #0
- 1625 01aa 0BD1 bne .L78
- 1626 .LBB61:
- 199:User/sensor.c ****
- 1627 .loc 4 199 4
- 1628 01ac 3B1D adds r3, r7, #4
- 1629 01ae 1800 movs r0, r3
- 1630 01b0 FFF7FEFF bl rtc_get_time
- 201:User/sensor.c **** }
- 1631 .loc 4 201 25
- 1632 01b4 3B1D adds r3, r7, #4
- 1633 01b6 1800 movs r0, r3
- 1634 01b8 FFF7FEFF bl rtc_mktime
- 1635 01bc 0200 movs r2, r0
- 201:User/sensor.c **** }
- 1636 .loc 4 201 23
- 1637 01be 3B19 adds r3, r7, r4
- 1638 01c0 1A60 str r2, [r3]
- 1639 .LBE61:
- 1640 01c2 08E0 b .L79
- 1641 .L78:
- 205:User/sensor.c **** rec_write(&rec_data);
- 1642 .loc 4 205 35
- 1643 01c4 184B ldr r3, .L84
- 1644 01c6 5A68 ldr r2, [r3, #4]
- 205:User/sensor.c **** rec_write(&rec_data);
- 1645 .loc 4 205 23
- 1646 01c8 0C21 movs r1, #12
- 1647 01ca 7B18 adds r3, r7, r1
- 1648 01cc 1A60 str r2, [r3]
- 206:User/sensor.c **** }
- 1649 .loc 4 206 4
- 1650 01ce 7B18 adds r3, r7, r1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 128
- 1651 01d0 1800 movs r0, r3
- 1652 01d2 FFF7FEFF bl rec_write
- 1653 .L79:
- 209:User/sensor.c **** HAL_GPIO_WritePin(PWR_RS485_GPIO_Port, PWR_RS485_Pin, GPIO_PIN_RESET);
- 1654 .loc 4 209 22 discriminator 1
- 1655 01d6 144B ldr r3, .L84
- 1656 01d8 0522 movs r2, #5
- 1657 01da 1A70 strb r2, [r3]
- 210:User/sensor.c ****
- 1658 .loc 4 210 3 discriminator 1
- 1659 01dc A023 movs r3, #160
- 1660 01de DB05 lsls r3, r3, #23
- 1661 01e0 0022 movs r2, #0
- 1662 01e2 0221 movs r1, #2
- 1663 01e4 1800 movs r0, r3
- 1664 01e6 FFF7FEFF bl HAL_GPIO_WritePin
- 213:User/sensor.c ****
- 1665 .loc 4 213 3 discriminator 1
- 1666 01ea A023 movs r3, #160
- 1667 01ec DB05 lsls r3, r3, #23
- 1668 01ee 0022 movs r2, #0
- 1669 01f0 2021 movs r1, #32
- 1670 01f2 1800 movs r0, r3
- 1671 01f4 FFF7FEFF bl HAL_GPIO_WritePin
- 215:User/sensor.c **** }
- 1672 .loc 4 215 3 discriminator 1
- 1673 01f8 0020 movs r0, #0
- 1674 01fa FFF7FEFF bl sensor_set_bus_sta
- 1675 .LBE62:
- 217:User/sensor.c **** case SENSOR_STA_STOP: // 读取完成或达到最大重试次数
- 1676 .loc 4 217 2 discriminator 1
- 1677 01fe 0EE0 b .L70
- 1678 .L64:
- 219:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_IDLE;
- 1679 .loc 4 219 3
- 1680 0200 FFF7FEFF bl sensor_deinit
- 220:User/sensor.c **** pm_release_lock("sensor");
- 1681 .loc 4 220 22
- 1682 0204 084B ldr r3, .L84
- 1683 0206 0022 movs r2, #0
- 1684 0208 1A70 strb r2, [r3]
- 221:User/sensor.c **** break;
- 1685 .loc 4 221 3
- 1686 020a 0E4B ldr r3, .L84+28
- 1687 020c 1800 movs r0, r3
- 1688 020e FFF7FEFF bl pm_release_lock
- 222:User/sensor.c **** }
- 1689 .loc 4 222 3
- 1690 0212 04E0 b .L70
- 1691 .L80:
- 122:User/sensor.c **** case SENSOR_STA_START: // 传感器上电,等待一段时间后发送查询命令
- 1692 .loc 4 122 3
- 1693 0214 C046 nop
- 1694 0216 02E0 b .L83
- 1695 .L81:
- 139:User/sensor.c **** case SENSOR_STA_TX:
- 1696 .loc 4 139 3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 129
- 1697 0218 C046 nop
- 1698 021a 00E0 b .L83
- 1699 .L82:
- 1700 .LBB63:
- 171:User/sensor.c **** }
- 1701 .loc 4 171 4
- 1702 021c C046 nop
- 1703 .L70:
- 1704 .L83:
- 1705 .LBE63:
- 1706 .loc 4 224 1
- 1707 021e C046 nop
- 1708 0220 BD46 mov sp, r7
- 1709 0222 0BB0 add sp, sp, #44
- 1710 @ sp needed
- 1711 0224 90BD pop {r4, r7, pc}
- 1712 .L85:
- 1713 0226 C046 .align 2
- 1714 .L84:
- 1715 0228 00000000 .word sensor_ctx
- 1716 022c 00000000 .word .L65
- 1717 0230 00000000 .word adc_buf
- 1718 0234 00000000 .word hadc1
- 1719 0238 08000000 .word .LC11
- 1720 023c 18000000 .word sensor_ctx+24
- 1721 0240 00000000 .word sensor_data
- 1722 0244 00000000 .word .LC0
- 1723 .cfi_endproc
- 1724 .LFE946:
- 1726 .section .text.sensor_is_busy,"ax",%progbits
- 1727 .align 1
- 1728 .global sensor_is_busy
- 1729 .syntax unified
- 1730 .code 16
- 1731 .thumb_func
- 1733 sensor_is_busy:
- 1734 .LFB947:
- 225:User/sensor.c ****
- 226:User/sensor.c **** int sensor_is_busy(void)
- 227:User/sensor.c **** {
- 1735 .loc 4 227 1
- 1736 .cfi_startproc
- 1737 @ args = 0, pretend = 0, frame = 0
- 1738 @ frame_needed = 1, uses_anonymous_args = 0
- 1739 0000 80B5 push {r7, lr}
- 1740 .LCFI62:
- 1741 .cfi_def_cfa_offset 8
- 1742 .cfi_offset 7, -8
- 1743 .cfi_offset 14, -4
- 1744 0002 00AF add r7, sp, #0
- 1745 .LCFI63:
- 1746 .cfi_def_cfa_register 7
- 228:User/sensor.c **** return sensor_ctx.tsk_sta != SENSOR_STA_IDLE;
- 1747 .loc 4 228 19
- 1748 0004 034B ldr r3, .L88
- 1749 0006 1B78 ldrb r3, [r3]
- 1750 .loc 4 228 28
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 130
- 1751 0008 5A1E subs r2, r3, #1
- 1752 000a 9341 sbcs r3, r3, r2
- 1753 000c DBB2 uxtb r3, r3
- 229:User/sensor.c **** }
- 1754 .loc 4 229 1
- 1755 000e 1800 movs r0, r3
- 1756 0010 BD46 mov sp, r7
- 1757 @ sp needed
- 1758 0012 80BD pop {r7, pc}
- 1759 .L89:
- 1760 .align 2
- 1761 .L88:
- 1762 0014 00000000 .word sensor_ctx
- 1763 .cfi_endproc
- 1764 .LFE947:
- 1766 .section .text.sensor_irq_handle,"ax",%progbits
- 1767 .align 1
- 1768 .global sensor_irq_handle
- 1769 .syntax unified
- 1770 .code 16
- 1771 .thumb_func
- 1773 sensor_irq_handle:
- 1774 .LFB948:
- 230:User/sensor.c ****
- 231:User/sensor.c **** void sensor_irq_handle(void)
- 232:User/sensor.c **** {
- 1775 .loc 4 232 1
- 1776 .cfi_startproc
- 1777 @ args = 0, pretend = 0, frame = 8
- 1778 @ frame_needed = 1, uses_anonymous_args = 0
- 1779 0000 90B5 push {r4, r7, lr}
- 1780 .LCFI64:
- 1781 .cfi_def_cfa_offset 12
- 1782 .cfi_offset 4, -12
- 1783 .cfi_offset 7, -8
- 1784 .cfi_offset 14, -4
- 1785 0002 83B0 sub sp, sp, #12
- 1786 .LCFI65:
- 1787 .cfi_def_cfa_offset 24
- 1788 0004 00AF add r7, sp, #0
- 1789 .LCFI66:
- 1790 .cfi_def_cfa_register 7
- 233:User/sensor.c **** if (LL_USART_IsEnabledIT_RXNE(COM_RS485) && LL_USART_IsActiveFlag_RXNE(COM_RS485))
- 1791 .loc 4 233 6
- 1792 0006 274B ldr r3, .L96
- 1793 0008 1800 movs r0, r3
- 1794 000a FFF7FEFF bl LL_USART_IsEnabledIT_RXNE_RXFNE
- 1795 000e 031E subs r3, r0, #0
- 1796 .loc 4 233 5
- 1797 0010 21D0 beq .L91
- 1798 .loc 4 233 46 discriminator 1
- 1799 0012 244B ldr r3, .L96
- 1800 0014 1800 movs r0, r3
- 1801 0016 FFF7FEFF bl LL_USART_IsActiveFlag_RXNE_RXFNE
- 1802 001a 031E subs r3, r0, #0
- 1803 .loc 4 233 43 discriminator 1
- 1804 001c 1BD0 beq .L91
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 131
- 1805 .LBB64:
- 234:User/sensor.c **** {
- 235:User/sensor.c **** uint8_t tmp;
- 236:User/sensor.c ****
- 237:User/sensor.c **** tmp = LL_USART_ReceiveData8(COM_RS485);
- 1806 .loc 4 237 9
- 1807 001e FC1D adds r4, r7, #7
- 1808 0020 204B ldr r3, .L96
- 1809 0022 1800 movs r0, r3
- 1810 0024 FFF7FEFF bl LL_USART_ReceiveData8
- 1811 0028 0300 movs r3, r0
- 1812 002a 2370 strb r3, [r4]
- 238:User/sensor.c **** if (sensor_ctx.rx_len < sizeof(sensor_ctx.rx_buf))
- 1813 .loc 4 238 17
- 1814 002c 1E4B ldr r3, .L96+4
- 1815 002e 1B69 ldr r3, [r3, #16]
- 1816 .loc 4 238 6
- 1817 0030 7F2B cmp r3, #127
- 1818 0032 0BD8 bhi .L92
- 239:User/sensor.c **** {
- 240:User/sensor.c **** sensor_ctx.rx_buf[sensor_ctx.rx_len] = tmp;
- 1819 .loc 4 240 32
- 1820 0034 1C4B ldr r3, .L96+4
- 1821 0036 1B69 ldr r3, [r3, #16]
- 1822 .loc 4 240 41
- 1823 0038 1B4A ldr r2, .L96+4
- 1824 003a D318 adds r3, r2, r3
- 1825 003c FA1D adds r2, r7, #7
- 1826 003e 1278 ldrb r2, [r2]
- 1827 0040 1A76 strb r2, [r3, #24]
- 241:User/sensor.c **** sensor_ctx.rx_len++;
- 1828 .loc 4 241 14
- 1829 0042 194B ldr r3, .L96+4
- 1830 0044 1B69 ldr r3, [r3, #16]
- 1831 .loc 4 241 21
- 1832 0046 5A1C adds r2, r3, #1
- 1833 0048 174B ldr r3, .L96+4
- 1834 004a 1A61 str r2, [r3, #16]
- 1835 .L92:
- 242:User/sensor.c **** }
- 243:User/sensor.c **** sensor_ctx.rx_timer = HAL_GetTick();
- 1836 .loc 4 243 25
- 1837 004c FFF7FEFF bl HAL_GetTick
- 1838 0050 0200 movs r2, r0
- 1839 .loc 4 243 23
- 1840 0052 154B ldr r3, .L96+4
- 1841 0054 5A61 str r2, [r3, #20]
- 1842 .L91:
- 1843 .LBE64:
- 244:User/sensor.c **** }
- 245:User/sensor.c ****
- 246:User/sensor.c **** if (LL_USART_IsActiveFlag_ORE(COM_RS485))
- 1844 .loc 4 246 6
- 1845 0056 134B ldr r3, .L96
- 1846 0058 1800 movs r0, r3
- 1847 005a FFF7FEFF bl LL_USART_IsActiveFlag_ORE
- 1848 005e 031E subs r3, r0, #0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 132
- 1849 .loc 4 246 5
- 1850 0060 07D0 beq .L93
- 247:User/sensor.c **** {
- 248:User/sensor.c **** LL_USART_ClearFlag_ORE(COM_RS485);
- 1851 .loc 4 248 3
- 1852 0062 104B ldr r3, .L96
- 1853 0064 1800 movs r0, r3
- 1854 0066 FFF7FEFF bl LL_USART_ClearFlag_ORE
- 249:User/sensor.c **** LL_USART_DisableIT_ERROR(COM_RS485);
- 1855 .loc 4 249 3
- 1856 006a 0E4B ldr r3, .L96
- 1857 006c 1800 movs r0, r3
- 1858 006e FFF7FEFF bl LL_USART_DisableIT_ERROR
- 1859 .L93:
- 250:User/sensor.c **** }
- 251:User/sensor.c ****
- 252:User/sensor.c **** if (LL_USART_IsEnabledIT_TC(COM_RS485) && LL_USART_IsActiveFlag_TC(COM_RS485))
- 1860 .loc 4 252 6
- 1861 0072 0C4B ldr r3, .L96
- 1862 0074 1800 movs r0, r3
- 1863 0076 FFF7FEFF bl LL_USART_IsEnabledIT_TC
- 1864 007a 031E subs r3, r0, #0
- 1865 .loc 4 252 5
- 1866 007c 0DD0 beq .L95
- 1867 .loc 4 252 44 discriminator 1
- 1868 007e 094B ldr r3, .L96
- 1869 0080 1800 movs r0, r3
- 1870 0082 FFF7FEFF bl LL_USART_IsActiveFlag_TC
- 1871 0086 031E subs r3, r0, #0
- 1872 .loc 4 252 41 discriminator 1
- 1873 0088 07D0 beq .L95
- 253:User/sensor.c **** {
- 254:User/sensor.c **** LL_USART_ClearFlag_TC(COM_RS485);
- 1874 .loc 4 254 3
- 1875 008a 064B ldr r3, .L96
- 1876 008c 1800 movs r0, r3
- 1877 008e FFF7FEFF bl LL_USART_ClearFlag_TC
- 255:User/sensor.c **** LL_USART_DisableIT_TC(COM_RS485);
- 1878 .loc 4 255 3
- 1879 0092 044B ldr r3, .L96
- 1880 0094 1800 movs r0, r3
- 1881 0096 FFF7FEFF bl LL_USART_DisableIT_TC
- 1882 .L95:
- 256:User/sensor.c **** }
- 257:User/sensor.c **** }
- 1883 .loc 4 257 1
- 1884 009a C046 nop
- 1885 009c BD46 mov sp, r7
- 1886 009e 03B0 add sp, sp, #12
- 1887 @ sp needed
- 1888 00a0 90BD pop {r4, r7, pc}
- 1889 .L97:
- 1890 00a2 C046 .align 2
- 1891 .L96:
- 1892 00a4 00480040 .word 1073760256
- 1893 00a8 00000000 .word sensor_ctx
- 1894 .cfi_endproc
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 133
- 1895 .LFE948:
- 1897 .global __aeabi_uidiv
- 1898 .global __aeabi_idiv
- 1899 .section .text.HAL_ADC_ConvCpltCallback,"ax",%progbits
- 1900 .align 1
- 1901 .global HAL_ADC_ConvCpltCallback
- 1902 .syntax unified
- 1903 .code 16
- 1904 .thumb_func
- 1906 HAL_ADC_ConvCpltCallback:
- 1907 .LFB949:
- 258:User/sensor.c ****
- 259:User/sensor.c **** /*
- 260:User/sensor.c **** 分压电阻R1=47K,R2=10K
- 261:User/sensor.c **** VCC------|||||------|||||------GND
- 262:User/sensor.c **** | | |
- 263:User/sensor.c **** R1 V R2
- 264:User/sensor.c **** */
- 265:User/sensor.c ****
- 266:User/sensor.c **** void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)
- 267:User/sensor.c **** {
- 1908 .loc 4 267 1
- 1909 .cfi_startproc
- 1910 @ args = 0, pretend = 0, frame = 24
- 1911 @ frame_needed = 1, uses_anonymous_args = 0
- 1912 0000 90B5 push {r4, r7, lr}
- 1913 .LCFI67:
- 1914 .cfi_def_cfa_offset 12
- 1915 .cfi_offset 4, -12
- 1916 .cfi_offset 7, -8
- 1917 .cfi_offset 14, -4
- 1918 0002 87B0 sub sp, sp, #28
- 1919 .LCFI68:
- 1920 .cfi_def_cfa_offset 40
- 1921 0004 00AF add r7, sp, #0
- 1922 .LCFI69:
- 1923 .cfi_def_cfa_register 7
- 1924 0006 7860 str r0, [r7, #4]
- 268:User/sensor.c **** uint32_t sum = 0;
- 1925 .loc 4 268 11
- 1926 0008 0023 movs r3, #0
- 1927 000a 7B61 str r3, [r7, #20]
- 269:User/sensor.c **** uint32_t vref = 0;
- 1928 .loc 4 269 11
- 1929 000c 0023 movs r3, #0
- 1930 000e 3B61 str r3, [r7, #16]
- 1931 .LBB65:
- 270:User/sensor.c ****
- 271:User/sensor.c **** for (int i = 0; i < ADC_BUF_SZ; i++)
- 1932 .loc 4 271 11
- 1933 0010 0023 movs r3, #0
- 1934 0012 FB60 str r3, [r7, #12]
- 1935 .loc 4 271 2
- 1936 0014 16E0 b .L99
- 1937 .L100:
- 272:User/sensor.c **** {
- 273:User/sensor.c **** vref += adc_buf[i][0];
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 134
- 1938 .loc 4 273 21 discriminator 3
- 1939 0016 2C4B ldr r3, .L101
- 1940 0018 FA68 ldr r2, [r7, #12]
- 1941 001a 9200 lsls r2, r2, #2
- 1942 001c D35A ldrh r3, [r2, r3]
- 1943 001e 9BB2 uxth r3, r3
- 1944 0020 1A00 movs r2, r3
- 1945 .loc 4 273 8 discriminator 3
- 1946 0022 3B69 ldr r3, [r7, #16]
- 1947 0024 9B18 adds r3, r3, r2
- 1948 0026 3B61 str r3, [r7, #16]
- 274:User/sensor.c **** sum += adc_buf[i][1];
- 1949 .loc 4 274 20 discriminator 3
- 1950 0028 274A ldr r2, .L101
- 1951 002a FB68 ldr r3, [r7, #12]
- 1952 002c 9B00 lsls r3, r3, #2
- 1953 002e D318 adds r3, r2, r3
- 1954 0030 0233 adds r3, r3, #2
- 1955 0032 1B88 ldrh r3, [r3]
- 1956 0034 9BB2 uxth r3, r3
- 1957 0036 1A00 movs r2, r3
- 1958 .loc 4 274 7 discriminator 3
- 1959 0038 7B69 ldr r3, [r7, #20]
- 1960 003a 9B18 adds r3, r3, r2
- 1961 003c 7B61 str r3, [r7, #20]
- 271:User/sensor.c **** {
- 1962 .loc 4 271 35 discriminator 3
- 1963 003e FB68 ldr r3, [r7, #12]
- 1964 0040 0133 adds r3, r3, #1
- 1965 0042 FB60 str r3, [r7, #12]
- 1966 .L99:
- 271:User/sensor.c **** {
- 1967 .loc 4 271 20 discriminator 1
- 1968 0044 FB68 ldr r3, [r7, #12]
- 271:User/sensor.c **** {
- 1969 .loc 4 271 2 discriminator 1
- 1970 0046 312B cmp r3, #49
- 1971 0048 E5D9 bls .L100
- 1972 .LBE65:
- 275:User/sensor.c **** }
- 276:User/sensor.c **** sum = sum / ADC_BUF_SZ;
- 1973 .loc 4 276 6
- 1974 004a 7B69 ldr r3, [r7, #20]
- 1975 004c 3221 movs r1, #50
- 1976 004e 1800 movs r0, r3
- 1977 0050 FFF7FEFF bl __aeabi_uidiv
- 1978 0054 0300 movs r3, r0
- 1979 0056 7B61 str r3, [r7, #20]
- 277:User/sensor.c **** vref = __HAL_ADC_CALC_VREFANALOG_VOLTAGE(vref/ADC_BUF_SZ, ADC_RESOLUTION_12B);
- 1980 .loc 4 277 9
- 1981 0058 1C4B ldr r3, .L101+4
- 1982 005a 1B88 ldrh r3, [r3]
- 1983 005c 1A00 movs r2, r3
- 1984 005e 1C4B ldr r3, .L101+8
- 1985 0060 5343 muls r3, r2
- 1986 0062 1C00 movs r4, r3
- 1987 0064 3B69 ldr r3, [r7, #16]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 135
- 1988 0066 3221 movs r1, #50
- 1989 0068 1800 movs r0, r3
- 1990 006a FFF7FEFF bl __aeabi_uidiv
- 1991 006e 0300 movs r3, r0
- 1992 .loc 4 277 7
- 1993 0070 1900 movs r1, r3
- 1994 0072 2000 movs r0, r4
- 1995 0074 FFF7FEFF bl __aeabi_uidiv
- 1996 0078 0300 movs r3, r0
- 1997 007a 3B61 str r3, [r7, #16]
- 278:User/sensor.c **** sensor_data.voltage = __HAL_ADC_CALC_DATA_TO_VOLTAGE(vref, sum, ADC_RESOLUTION_12B)*57/10ul;
- 1998 .loc 4 278 24
- 1999 007c 7B69 ldr r3, [r7, #20]
- 2000 007e 3A69 ldr r2, [r7, #16]
- 2001 0080 5343 muls r3, r2
- 2002 0082 1449 ldr r1, .L101+12
- 2003 0084 1800 movs r0, r3
- 2004 0086 FFF7FEFF bl __aeabi_uidiv
- 2005 008a 0300 movs r3, r0
- 2006 008c 1A00 movs r2, r3
- 2007 .loc 4 278 85
- 2008 008e 1300 movs r3, r2
- 2009 0090 DB00 lsls r3, r3, #3
- 2010 0092 9B1A subs r3, r3, r2
- 2011 0094 DB00 lsls r3, r3, #3
- 2012 0096 9B18 adds r3, r3, r2
- 2013 .loc 4 278 88
- 2014 0098 0A21 movs r1, #10
- 2015 009a 1800 movs r0, r3
- 2016 009c FFF7FEFF bl __aeabi_uidiv
- 2017 00a0 0300 movs r3, r0
- 2018 .loc 4 278 22
- 2019 00a2 9AB2 uxth r2, r3
- 2020 00a4 0C4B ldr r3, .L101+16
- 2021 00a6 1A81 strh r2, [r3, #8]
- 279:User/sensor.c ****
- 280:User/sensor.c **** // 250927 电压单位转换以及防反接二极管的电压补偿统一在这里操作
- 281:User/sensor.c **** sensor_data.voltage = (sensor_data.voltage + 360) / 100;
- 2022 .loc 4 281 36
- 2023 00a8 0B4B ldr r3, .L101+16
- 2024 00aa 1B89 ldrh r3, [r3, #8]
- 2025 .loc 4 281 45
- 2026 00ac 6933 adds r3, r3, #105
- 2027 00ae FF33 adds r3, r3, #255
- 2028 .loc 4 281 52
- 2029 00b0 6421 movs r1, #100
- 2030 00b2 1800 movs r0, r3
- 2031 00b4 FFF7FEFF bl __aeabi_idiv
- 2032 00b8 0300 movs r3, r0
- 2033 .loc 4 281 22
- 2034 00ba 9AB2 uxth r2, r3
- 2035 00bc 064B ldr r3, .L101+16
- 2036 00be 1A81 strh r2, [r3, #8]
- 282:User/sensor.c **** }
- 2037 .loc 4 282 1
- 2038 00c0 C046 nop
- 2039 00c2 BD46 mov sp, r7
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 136
- 2040 00c4 07B0 add sp, sp, #28
- 2041 @ sp needed
- 2042 00c6 90BD pop {r4, r7, pc}
- 2043 .L102:
- 2044 .align 2
- 2045 .L101:
- 2046 00c8 00000000 .word adc_buf
- 2047 00cc AA75FF1F .word 536835498
- 2048 00d0 B80B0000 .word 3000
- 2049 00d4 FF0F0000 .word 4095
- 2050 00d8 00000000 .word sensor_data
- 2051 .cfi_endproc
- 2052 .LFE949:
- 2054 .section .text.sensor_get_data,"ax",%progbits
- 2055 .align 1
- 2056 .global sensor_get_data
- 2057 .syntax unified
- 2058 .code 16
- 2059 .thumb_func
- 2061 sensor_get_data:
- 2062 .LFB950:
- 283:User/sensor.c ****
- 284:User/sensor.c **** void sensor_get_data(sensor_data_t *data)
- 285:User/sensor.c **** {
- 2063 .loc 4 285 1
- 2064 .cfi_startproc
- 2065 @ args = 0, pretend = 0, frame = 8
- 2066 @ frame_needed = 1, uses_anonymous_args = 0
- 2067 0000 80B5 push {r7, lr}
- 2068 .LCFI70:
- 2069 .cfi_def_cfa_offset 8
- 2070 .cfi_offset 7, -8
- 2071 .cfi_offset 14, -4
- 2072 0002 82B0 sub sp, sp, #8
- 2073 .LCFI71:
- 2074 .cfi_def_cfa_offset 16
- 2075 0004 00AF add r7, sp, #0
- 2076 .LCFI72:
- 2077 .cfi_def_cfa_register 7
- 2078 0006 7860 str r0, [r7, #4]
- 286:User/sensor.c **** if(data)
- 2079 .loc 4 286 4
- 2080 0008 7B68 ldr r3, [r7, #4]
- 2081 000a 002B cmp r3, #0
- 2082 000c 05D0 beq .L105
- 287:User/sensor.c **** {
- 288:User/sensor.c **** memcpy(data, &sensor_data, sizeof(sensor_data));
- 2083 .loc 4 288 3
- 2084 000e 0549 ldr r1, .L106
- 2085 0010 7B68 ldr r3, [r7, #4]
- 2086 0012 0C22 movs r2, #12
- 2087 0014 1800 movs r0, r3
- 2088 0016 FFF7FEFF bl memcpy
- 2089 .L105:
- 289:User/sensor.c **** }
- 290:User/sensor.c **** }...
- 2090 .loc 4 290 1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 137
- 2091 001a C046 nop
- 2092 001c BD46 mov sp, r7
- 2093 001e 02B0 add sp, sp, #8
- 2094 @ sp needed
- 2095 0020 80BD pop {r7, pc}
- 2096 .L107:
- 2097 0022 C046 .align 2
- 2098 .L106:
- 2099 0024 00000000 .word sensor_data
- 2100 .cfi_endproc
- 2101 .LFE950:
- 2103 .text
- 2104 .Letext0:
- 2105 .file 5 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\machine\\_default_
- 2106 .file 6 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\sys\\_stdint.h"
- 2107 .file 7 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h"
- 2108 .file 8 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h"
- 2109 .file 9 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h"
- 2110 .file 10 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h"
- 2111 .file 11 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h"
- 2112 .file 12 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h"
- 2113 .file 13 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h"
- 2114 .file 14 "User/sensor.h"
- 2115 .file 15 "User/rec.h"
- 2116 .file 16 "User/app_rtc.h"
- 2117 .file 17 "User/..\\Core\\Inc\\adc.h"
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 138
- DEFINED SYMBOLS
- *ABS*:00000000 sensor.c
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:18 .rodata.CHANNEL_OFFSET_TAB:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:21 .rodata.CHANNEL_OFFSET_TAB:00000000 CHANNEL_OFFSET_TAB
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:24 .rodata.USART_PRESCALER_TAB:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:27 .rodata.USART_PRESCALER_TAB:00000000 USART_PRESCALER_TAB
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:41 .text.LL_USART_Enable:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:46 .text.LL_USART_Enable:00000000 LL_USART_Enable
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:82 .text.LL_USART_Disable:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:87 .text.LL_USART_Disable:00000000 LL_USART_Disable
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:123 .text.LL_USART_IsActiveFlag_ORE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:128 .text.LL_USART_IsActiveFlag_ORE:00000000 LL_USART_IsActiveFlag_ORE
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:171 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:176 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 LL_USART_IsActiveFlag_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:219 .text.LL_USART_IsActiveFlag_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:224 .text.LL_USART_IsActiveFlag_TC:00000000 LL_USART_IsActiveFlag_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:267 .text.LL_USART_ClearFlag_ORE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:272 .text.LL_USART_ClearFlag_ORE:00000000 LL_USART_ClearFlag_ORE
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:304 .text.LL_USART_ClearFlag_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:309 .text.LL_USART_ClearFlag_TC:00000000 LL_USART_ClearFlag_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:341 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:346 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 LL_USART_EnableIT_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:432 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:437 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 LL_USART_DisableIT_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:523 .text.LL_USART_DisableIT_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:528 .text.LL_USART_DisableIT_TC:00000000 LL_USART_DisableIT_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:614 .text.LL_USART_DisableIT_ERROR:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:619 .text.LL_USART_DisableIT_ERROR:00000000 LL_USART_DisableIT_ERROR
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:705 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:710 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 LL_USART_IsEnabledIT_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:753 .text.LL_USART_IsEnabledIT_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:758 .text.LL_USART_IsEnabledIT_TC:00000000 LL_USART_IsEnabledIT_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:801 .text.LL_USART_ReceiveData8:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:806 .text.LL_USART_ReceiveData8:00000000 LL_USART_ReceiveData8
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:839 .text.LL_USART_TransmitData8:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:844 .text.LL_USART_TransmitData8:00000000 LL_USART_TransmitData8
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:880 .text.LL_APB1_GRP1_DisableClock:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:885 .text.LL_APB1_GRP1_DisableClock:00000000 LL_APB1_GRP1_DisableClock
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:921 .text.LL_APB1_GRP1_DisableClock:00000020 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:930 .bss.sensor_ctx:00000000 sensor_ctx
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:927 .bss.sensor_ctx:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:937 .bss.adc_buf:00000000 adc_buf
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:934 .bss.adc_buf:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:944 .bss.sensor_data:00000000 sensor_data
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:941 .bss.sensor_data:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:947 .text.sensor_set_bus_sta:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:953 .text.sensor_set_bus_sta:00000000 sensor_set_bus_sta
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1041 .text.sensor_set_bus_sta:0000007c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1046 .text.sensor_write:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1051 .text.sensor_write:00000000 sensor_write
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1122 .text.sensor_write:0000004c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1127 .rodata:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1131 .text.sensor_init:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1137 .text.sensor_init:00000000 sensor_init
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1215 .text.sensor_init:0000006c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1224 .text.sensor_deinit:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1230 .text.sensor_deinit:00000000 sensor_deinit
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 139
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1289 .text.sensor_deinit:00000054 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1300 .text.sensor_task:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1306 .text.sensor_task:00000000 sensor_task
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1338 .rodata.sensor_task:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1715 .text.sensor_task:00000228 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1727 .text.sensor_is_busy:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1733 .text.sensor_is_busy:00000000 sensor_is_busy
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1762 .text.sensor_is_busy:00000014 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1767 .text.sensor_irq_handle:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1773 .text.sensor_irq_handle:00000000 sensor_irq_handle
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1892 .text.sensor_irq_handle:000000a4 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1900 .text.HAL_ADC_ConvCpltCallback:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1906 .text.HAL_ADC_ConvCpltCallback:00000000 HAL_ADC_ConvCpltCallback
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2046 .text.HAL_ADC_ConvCpltCallback:000000c8 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2055 .text.sensor_get_data:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2061 .text.sensor_get_data:00000000 sensor_get_data
- C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2099 .text.sensor_get_data:00000024 $d
- UNDEFINED SYMBOLS
- HAL_GPIO_WritePin
- pm_get_lock
- MX_SPI2_Init
- MX_USART3_UART_Init
- memset
- MX_DMA_Init
- MX_ADC1_Init
- HAL_ADCEx_Calibration_Start
- hadc1
- LL_USART_DeInit
- HAL_ADC_Stop
- HAL_ADC_Stop_DMA
- HAL_ADC_DeInit
- HAL_DMA_DeInit
- ADC_Disable
- hdma_adc1
- HAL_ADC_Start_DMA
- HAL_GetTick
- CRC16
- rtc_get_time
- rtc_mktime
- rec_write
- pm_release_lock
- __aeabi_uidiv
- __aeabi_idiv
- memcpy
|