sensor.lst 634 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297
  1. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 1
  2. 1 .cpu cortex-m0plus
  3. 2 .arch armv6s-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 6
  12. 11 .eabi_attribute 34, 0
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "sensor.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .rodata.CHANNEL_OFFSET_TAB,"a"
  19. 18 .align 2
  20. 21 CHANNEL_OFFSET_TAB:
  21. 22 0000 081C3044 .ascii "\010\0340DXl\200"
  22. 22 586C80
  23. 23 .section .rodata.USART_PRESCALER_TAB,"a"
  24. 24 .align 2
  25. 27 USART_PRESCALER_TAB:
  26. 28 0000 01000000 .word 1
  27. 29 0004 02000000 .word 2
  28. 30 0008 04000000 .word 4
  29. 31 000c 06000000 .word 6
  30. 32 0010 08000000 .word 8
  31. 33 0014 0A000000 .word 10
  32. 34 0018 0C000000 .word 12
  33. 35 001c 10000000 .word 16
  34. 36 0020 20000000 .word 32
  35. 37 0024 40000000 .word 64
  36. 38 0028 80000000 .word 128
  37. 39 002c 00010000 .word 256
  38. 40 .section .text.LL_USART_Enable,"ax",%progbits
  39. 41 .align 1
  40. 42 .syntax unified
  41. 43 .code 16
  42. 44 .thumb_func
  43. 46 LL_USART_Enable:
  44. 47 .LFB440:
  45. 48 .file 1 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h"
  46. 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  47. 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
  48. 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @file stm32g0xx_ll_usart.h
  49. 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @author MCD Application Team
  50. 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Header file of USART LL module.
  51. 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
  52. 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @attention
  53. 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
  54. 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Copyright (c) 2018 STMicroelectronics.
  55. 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * All rights reserved.
  56. 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
  57. 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This software is licensed under terms that can be found in the LICENSE file
  58. 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * in the root directory of this software component.
  59. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 2
  60. 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  61. 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
  62. 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
  63. 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  64. 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  65. 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  66. 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifndef STM32G0xx_LL_USART_H
  67. 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define STM32G0xx_LL_USART_H
  68. 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  69. 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifdef __cplusplus
  70. 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** extern "C" {
  71. 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif
  72. 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  73. 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Includes ------------------------------------------------------------------*/
  74. 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #include "stm32g0xx.h"
  75. 29:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  76. 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @addtogroup STM32G0xx_LL_Driver
  77. 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  78. 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  79. 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  80. 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USART1) || defined(USART2) || defined(USART3) || defined(USART4) || defined(USART5) ||
  81. 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  82. 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL USART
  83. 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  84. 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  85. 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  86. 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private types -------------------------------------------------------------*/
  87. 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private variables ---------------------------------------------------------*/
  88. 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Variables USART Private Variables
  89. 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  90. 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  91. 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
  92. 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** static const uint32_t USART_PRESCALER_TAB[] =
  93. 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  94. 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 1UL,
  95. 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 2UL,
  96. 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 4UL,
  97. 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 6UL,
  98. 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 8UL,
  99. 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 10UL,
  100. 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 12UL,
  101. 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 16UL,
  102. 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 32UL,
  103. 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 64UL,
  104. 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 128UL,
  105. 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 256UL
  106. 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** };
  107. 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  108. 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  109. 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  110. 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  111. 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private constants ---------------------------------------------------------*/
  112. 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Constants USART Private Constants
  113. 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  114. 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  115. 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  116. 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  117. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 3
  118. 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  119. 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private macros ------------------------------------------------------------*/
  120. 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
  121. 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Macros USART Private Macros
  122. 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  123. 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  124. 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  125. 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  126. 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  127. 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
  128. 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  129. 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported types ------------------------------------------------------------*/
  130. 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
  131. 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_ES_INIT USART Exported Init structures
  132. 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  133. 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  134. 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  135. 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  136. 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Init Structure definition
  137. 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  138. 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
  139. 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  140. 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t PrescalerValue; /*!< Specifies the Prescaler to compute the communication bau
  141. 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PRESCA
  142. 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  143. 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  144. 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetPrescaler().*/
  145. 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  146. 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate; /*!< This field defines expected Usart communication baud rat
  147. 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  148. 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  149. 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetBaudRate().*/
  150. 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  151. 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t DataWidth; /*!< Specifies the number of data bits transmitted or receive
  152. 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DATAWI
  153. 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  154. 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  155. 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetDataWidth().*/
  156. 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  157. 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits; /*!< Specifies the number of stop bits transmitted.
  158. 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_STOPBI
  159. 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  160. 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  161. 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetStopBitsLength().*/
  162. 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  163. 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t Parity; /*!< Specifies the parity mode.
  164. 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PARITY
  165. 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  166. 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  167. 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetParity().*/
  168. 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  169. 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t TransferDirection; /*!< Specifies whether the Receive and/or Transmit mode is en
  170. 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DIRECT
  171. 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  172. 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  173. 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetTransferDirection().*/
  174. 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  175. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 4
  176. 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t HardwareFlowControl; /*!< Specifies whether the hardware flow control mode is enab
  177. 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_HWCONT
  178. 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  179. 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  180. 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetHWFlowCtrl().*/
  181. 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  182. 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling; /*!< Specifies whether USART oversampling mode is 16 or 8.
  183. 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_OVERSA
  184. 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  185. 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  186. 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetOverSampling().*/
  187. 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  188. 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_InitTypeDef;
  189. 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  190. 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  191. 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Clock Init Structure definition
  192. 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  193. 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
  194. 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  195. 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockOutput; /*!< Specifies whether the USART clock is enabled or disabled
  196. 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_CLOCK.
  197. 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  198. 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  199. 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** @ref LL_USART_EnableSCLKOutput() or @ref LL_USART_Disabl
  200. 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  201. 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  202. 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPolarity; /*!< Specifies the steady state of the serial clock.
  203. 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_POLARI
  204. 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  205. 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  206. 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPolarity().
  207. 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  208. 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  209. 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPhase; /*!< Specifies the clock transition on which the bit capture
  210. 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PHASE.
  211. 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  212. 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  213. 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPhase().
  214. 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  215. 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  216. 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t LastBitClockPulse; /*!< Specifies whether the clock pulse corresponding to the l
  217. 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data bit (MSB) has to be output on the SCLK pin in synch
  218. 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_LASTCL
  219. 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  220. 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  221. 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetLastClkPulseOutput().
  222. 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  223. 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  224. 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_ClockInitTypeDef;
  225. 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  226. 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  227. 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  228. 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  229. 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /* USE_FULL_LL_DRIVER */
  230. 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  231. 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported constants --------------------------------------------------------*/
  232. 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Constants USART Exported Constants
  233. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 5
  234. 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  235. 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  236. 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  237. 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLEAR_FLAG Clear Flags Defines
  238. 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_WriteReg function
  239. 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  240. 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  241. 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_PECF USART_ICR_PECF /*!< Parity error cle
  242. 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_FECF USART_ICR_FECF /*!< Framing error cl
  243. 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_NECF USART_ICR_NECF /*!< Noise error dete
  244. 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_ORECF USART_ICR_ORECF /*!< Overrun error cl
  245. 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_IDLECF USART_ICR_IDLECF /*!< Idle line detect
  246. 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TXFECF USART_ICR_TXFECF /*!< TX FIFO Empty cl
  247. 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCCF USART_ICR_TCCF /*!< Transmission com
  248. 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCBGTCF USART_ICR_TCBGTCF /*!< Transmission com
  249. 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_LBDCF USART_ICR_LBDCF /*!< LIN break detect
  250. 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CTSCF USART_ICR_CTSCF /*!< CTS clear flag *
  251. 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_RTOCF USART_ICR_RTOCF /*!< Receiver timeout
  252. 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_EOBCF USART_ICR_EOBCF /*!< End of block cle
  253. 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_UDRCF USART_ICR_UDRCF /*!< SPI Slave Underr
  254. 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CMCF USART_ICR_CMCF /*!< Character match
  255. 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_WUCF USART_ICR_WUCF /*!< Wakeup from Stop
  256. 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  257. 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  258. 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  259. 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  260. 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_GET_FLAG Get Flags Defines
  261. 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_ReadReg function
  262. 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  263. 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  264. 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_PE USART_ISR_PE /*!< Parity error fla
  265. 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_FE USART_ISR_FE /*!< Framing error fl
  266. 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_NE USART_ISR_NE /*!< Noise detected f
  267. 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ORE USART_ISR_ORE /*!< Overrun error fl
  268. 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_IDLE USART_ISR_IDLE /*!< Idle line detect
  269. 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXNE_RXFNE USART_ISR_RXNE_RXFNE /*!< Read data regist
  270. 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TC USART_ISR_TC /*!< Transmission com
  271. 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXE_TXFNF USART_ISR_TXE_TXFNF /*!< Transmit data re
  272. 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_LBDF USART_ISR_LBDF /*!< LIN break detect
  273. 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTSIF USART_ISR_CTSIF /*!< CTS interrupt fl
  274. 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTS USART_ISR_CTS /*!< CTS flag */
  275. 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RTOF USART_ISR_RTOF /*!< Receiver timeout
  276. 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_EOBF USART_ISR_EOBF /*!< End of block fla
  277. 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_UDR USART_ISR_UDR /*!< SPI Slave underr
  278. 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRE USART_ISR_ABRE /*!< Auto baud rate e
  279. 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRF USART_ISR_ABRF /*!< Auto baud rate f
  280. 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_BUSY USART_ISR_BUSY /*!< Busy flag */
  281. 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CMF USART_ISR_CMF /*!< Character match
  282. 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_SBKF USART_ISR_SBKF /*!< Send break flag
  283. 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RWU USART_ISR_RWU /*!< Receiver wakeup
  284. 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_WUF USART_ISR_WUF /*!< Wakeup from Stop
  285. 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TEACK USART_ISR_TEACK /*!< Transmit enable
  286. 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_REACK USART_ISR_REACK /*!< Receive enable a
  287. 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFE USART_ISR_TXFE /*!< TX FIFO empty fl
  288. 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFF USART_ISR_RXFF /*!< RX FIFO full fla
  289. 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TCBGT USART_ISR_TCBGT /*!< Transmission com
  290. 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFT USART_ISR_RXFT /*!< RX FIFO threshol
  291. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 6
  292. 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFT USART_ISR_TXFT /*!< TX FIFO threshol
  293. 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  294. 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  295. 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  296. 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  297. 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IT IT Defines
  298. 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
  299. 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  300. 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  301. 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_IDLEIE USART_CR1_IDLEIE /*!< IDLE interrupt e
  302. 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXNEIE_RXFNEIE USART_CR1_RXNEIE_RXFNEIE /*!< Read data regist
  303. 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TCIE USART_CR1_TCIE /*!< Transmission com
  304. 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXEIE_TXFNFIE USART_CR1_TXEIE_TXFNFIE /*!< Transmit data re
  305. 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_PEIE USART_CR1_PEIE /*!< Parity error */
  306. 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_CMIE USART_CR1_CMIE /*!< Character match
  307. 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RTOIE USART_CR1_RTOIE /*!< Receiver timeout
  308. 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_EOBIE USART_CR1_EOBIE /*!< End of Block int
  309. 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXFEIE USART_CR1_TXFEIE /*!< TX FIFO empty in
  310. 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXFFIE USART_CR1_RXFFIE /*!< RX FIFO full int
  311. 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR2_LBDIE USART_CR2_LBDIE /*!< LIN break detect
  312. 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_EIE USART_CR3_EIE /*!< Error interrupt
  313. 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_CTSIE USART_CR3_CTSIE /*!< CTS interrupt en
  314. 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_WUFIE USART_CR3_WUFIE /*!< Wakeup from Stop
  315. 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TXFTIE USART_CR3_TXFTIE /*!< TX FIFO threshol
  316. 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TCBGTIE USART_CR3_TCBGTIE /*!< Transmission com
  317. 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_RXFTIE USART_CR3_RXFTIE /*!< RX FIFO threshol
  318. 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  319. 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  320. 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  321. 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  322. 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_FIFOTHRESHOLD FIFO Threshold
  323. 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  324. 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  325. 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_8 0x00000000U /*!< FIFO reaches 1/8 of its depth */
  326. 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_4 0x00000001U /*!< FIFO reaches 1/4 of its depth */
  327. 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_2 0x00000002U /*!< FIFO reaches 1/2 of its depth */
  328. 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_3_4 0x00000003U /*!< FIFO reaches 3/4 of its depth */
  329. 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_7_8 0x00000004U /*!< FIFO reaches 7/8 of its depth */
  330. 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_8_8 0x00000005U /*!< FIFO becomes empty for TX and full
  331. 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  332. 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  333. 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  334. 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  335. 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DIRECTION Communication Direction
  336. 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  337. 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  338. 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_NONE 0x00000000U /*!< Transmitter
  339. 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_RX USART_CR1_RE /*!< Transmitter
  340. 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX USART_CR1_TE /*!< Transmitter
  341. 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< Transmitter
  342. 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  343. 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  344. 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  345. 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  346. 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PARITY Parity Control
  347. 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  348. 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  349. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 7
  350. 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_NONE 0x00000000U /*!< Parity co
  351. 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_EVEN USART_CR1_PCE /*!< Parity co
  352. 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_ODD (USART_CR1_PCE | USART_CR1_PS) /*!< Parity co
  353. 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  354. 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  355. 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  356. 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  357. 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP Wakeup
  358. 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  359. 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  360. 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_IDLELINE 0x00000000U /*!< USART wake up from Mute
  361. 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ADDRESSMARK USART_CR1_WAKE /*!< USART wake up from Mute
  362. 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  363. 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  364. 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  365. 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  366. 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DATAWIDTH Datawidth
  367. 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  368. 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  369. 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_7B USART_CR1_M1 /*!< 7 bits word length : S
  370. 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_8B 0x00000000U /*!< 8 bits word length : S
  371. 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_9B USART_CR1_M0 /*!< 9 bits word length : S
  372. 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  373. 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  374. 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  375. 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  376. 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_OVERSAMPLING Oversampling
  377. 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  378. 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  379. 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_16 0x00000000U /*!< Oversampling by 16 */
  380. 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_8 USART_CR1_OVER8 /*!< Oversampling by 8 */
  381. 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  382. 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  383. 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  384. 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  385. 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
  386. 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLOCK Clock Signal
  387. 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  388. 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  389. 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  390. 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_DISABLE 0x00000000U /*!< Clock signal not provid
  391. 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_ENABLE USART_CR2_CLKEN /*!< Clock signal provided *
  392. 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  393. 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  394. 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  395. 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
  396. 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  397. 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LASTCLKPULSE Last Clock Pulse
  398. 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  399. 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  400. 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_NO_OUTPUT 0x00000000U /*!< The clock pulse of the l
  401. 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_OUTPUT USART_CR2_LBCL /*!< The clock pulse of the l
  402. 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  403. 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  404. 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  405. 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  406. 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PHASE Clock Phase
  407. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 8
  408. 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  409. 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  410. 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_1EDGE 0x00000000U /*!< The first clock transiti
  411. 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_2EDGE USART_CR2_CPHA /*!< The second clock transit
  412. 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  413. 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  414. 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  415. 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  416. 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_POLARITY Clock Polarity
  417. 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  418. 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  419. 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_LOW 0x00000000U /*!< Steady low value on SCLK
  420. 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_HIGH USART_CR2_CPOL /*!< Steady high value on SCL
  421. 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  422. 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  423. 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  424. 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  425. 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PRESCALER Clock Source Prescaler
  426. 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  427. 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  428. 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV1 0x00000000U
  429. 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV2 (USART_PRESC_PRESCALER_0)
  430. 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV4 (USART_PRESC_PRESCALER_1)
  431. 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV6 (USART_PRESC_PRESCALER_1 | USART_PRESC_PRESCALER_0)
  432. 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV8 (USART_PRESC_PRESCALER_2)
  433. 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV10 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_0)
  434. 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV12 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1)
  435. 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV16 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1
  436. 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV32 (USART_PRESC_PRESCALER_3)
  437. 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV64 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_0)
  438. 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV128 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1)
  439. 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV256 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1
  440. 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  441. 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  442. 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  443. 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  444. 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_STOPBITS Stop Bits
  445. 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  446. 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  447. 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_0_5 USART_CR2_STOP_0 /*!< 0.5
  448. 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_1 0x00000000U /*!< 1 s
  449. 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
  450. 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_2 USART_CR2_STOP_1 /*!< 2 s
  451. 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  452. 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  453. 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  454. 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  455. 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXRX TX RX Pins Swap
  456. 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  457. 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  458. 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_STANDARD 0x00000000U /*!< TX/RX pins are used as d
  459. 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_SWAPPED (USART_CR2_SWAP) /*!< TX and RX pins functions
  460. 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  461. 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  462. 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  463. 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  464. 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_RXPIN_LEVEL RX Pin Active Level Inversion
  465. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 9
  466. 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  467. 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  468. 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_STANDARD 0x00000000U /*!< RX pin signal works usin
  469. 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_INVERTED (USART_CR2_RXINV) /*!< RX pin signal values are
  470. 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  471. 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  472. 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  473. 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  474. 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXPIN_LEVEL TX Pin Active Level Inversion
  475. 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  476. 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  477. 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_STANDARD 0x00000000U /*!< TX pin signal works usin
  478. 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_INVERTED (USART_CR2_TXINV) /*!< TX pin signal values are
  479. 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  480. 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  481. 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  482. 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  483. 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BINARY_LOGIC Binary Data Inversion
  484. 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  485. 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  486. 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_POSITIVE 0x00000000U /*!< Logical data from the da
  487. 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_NEGATIVE USART_CR2_DATAINV /*!< Logical data from the da
  488. 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  489. 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  490. 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  491. 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  492. 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BITORDER Bit Order
  493. 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  494. 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  495. 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_LSBFIRST 0x00000000U /*!< data is transmitted/rece
  496. 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_MSBFIRST USART_CR2_MSBFIRST /*!< data is transmitted/rece
  497. 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  498. 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  499. 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  500. 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  501. 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_AUTOBAUD_DETECT_ON Autobaud Detection
  502. 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  503. 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  504. 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_STARTBIT 0x00000000U /*!< Me
  505. 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE USART_CR2_ABRMODE_0 /*!< Fa
  506. 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME USART_CR2_ABRMODE_1 /*!< 0x
  507. 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
  508. 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  509. 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  510. 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  511. 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  512. 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_ADDRESS_DETECT Address Length Detection
  513. 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  514. 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  515. 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_4B 0x00000000U /*!< 4-bit address detection
  516. 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_7B USART_CR2_ADDM7 /*!< 7-bit address detection
  517. 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  518. 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  519. 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  520. 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  521. 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_HWCONTROL Hardware Control
  522. 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  523. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 10
  524. 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  525. 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_NONE 0x00000000U /*!< CTS and R
  526. 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_RTS USART_CR3_RTSE /*!< RTS outpu
  527. 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_CTS USART_CR3_CTSE /*!< CTS mode
  528. 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
  529. 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  530. 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  531. 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  532. 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  533. 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP_ON Wakeup Activation
  534. 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  535. 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  536. 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_ADDRESS 0x00000000U /*!< Wake u
  537. 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_STARTBIT USART_CR3_WUS_1 /*!< Wake u
  538. 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
  539. 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  540. 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  541. 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  542. 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  543. 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IRDA_POWER IrDA Power
  544. 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  545. 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  546. 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_NORMAL 0x00000000U /*!< IrDA normal power mode *
  547. 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_LOW USART_CR3_IRLP /*!< IrDA low power mode */
  548. 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  549. 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  550. 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  551. 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  552. 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LINBREAK_DETECT LIN Break Detection Length
  553. 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  554. 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  555. 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_10B 0x00000000U /*!< 10-bit break detection m
  556. 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_11B USART_CR2_LBDL /*!< 11-bit break detection m
  557. 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  558. 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  559. 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  560. 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  561. 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DE_POLARITY Driver Enable Polarity
  562. 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  563. 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  564. 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_HIGH 0x00000000U /*!< DE signal is active high
  565. 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_LOW USART_CR3_DEP /*!< DE signal is active low
  566. 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  567. 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  568. 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  569. 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  570. 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DMA_REG_DATA DMA Register Data
  571. 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  572. 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  573. 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_TRANSMIT 0x00000000U /*!< Get address of data regis
  574. 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_RECEIVE 0x00000001U /*!< Get address of data regis
  575. 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  576. 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  577. 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  578. 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  579. 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  580. 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  581. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 11
  582. 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  583. 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  584. 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported macro ------------------------------------------------------------*/
  585. 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Macros USART Exported Macros
  586. 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  587. 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  588. 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  589. 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_WRITE_READ Common Write and read registers Macros
  590. 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  591. 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  592. 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  593. 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  594. 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write a value in USART register
  595. 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
  596. 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be written
  597. 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __VALUE__ Value to be written in the register
  598. 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  599. 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  600. 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VAL
  601. 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  602. 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  603. 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read a value in USART register
  604. 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
  605. 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be read
  606. 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Register value
  607. 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  608. 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
  609. 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  610. 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  611. 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  612. 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  613. 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_Exported_Macros_Helper Exported_Macros_Helper
  614. 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  615. 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  616. 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  617. 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  618. 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
  619. 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)
  620. 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
  621. 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
  622. 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  623. 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  624. 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  625. 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  626. 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  627. 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  628. 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  629. 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  630. 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  631. 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  632. 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  633. 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  634. 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
  635. 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_8 case
  636. 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  637. 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING8(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
  638. 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))*2U)\
  639. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 12
  640. 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
  641. 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  642. 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  643. 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
  644. 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)
  645. 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
  646. 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
  647. 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  648. 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  649. 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  650. 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  651. 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  652. 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  653. 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  654. 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  655. 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  656. 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  657. 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  658. 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  659. 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
  660. 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_16 case
  661. 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  662. 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING16(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
  663. 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))\
  664. 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
  665. 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  666. 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  667. 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  668. 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  669. 613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  670. 614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  671. 615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  672. 616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  673. 617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  674. 618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported functions --------------------------------------------------------*/
  675. 619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  676. 620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Functions USART Exported Functions
  677. 621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  678. 622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  679. 623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  680. 624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration Configuration functions
  681. 625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  682. 626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  683. 627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  684. 628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  685. 629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Enable
  686. 630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Enable
  687. 631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  688. 632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  689. 633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  690. 634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Enable(USART_TypeDef *USARTx)
  691. 635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  692. 49 .loc 1 635 1
  693. 50 .cfi_startproc
  694. 51 @ args = 0, pretend = 0, frame = 8
  695. 52 @ frame_needed = 1, uses_anonymous_args = 0
  696. 53 0000 80B5 push {r7, lr}
  697. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 13
  698. 54 .LCFI0:
  699. 55 .cfi_def_cfa_offset 8
  700. 56 .cfi_offset 7, -8
  701. 57 .cfi_offset 14, -4
  702. 58 0002 82B0 sub sp, sp, #8
  703. 59 .LCFI1:
  704. 60 .cfi_def_cfa_offset 16
  705. 61 0004 00AF add r7, sp, #0
  706. 62 .LCFI2:
  707. 63 .cfi_def_cfa_register 7
  708. 64 0006 7860 str r0, [r7, #4]
  709. 636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_UE);
  710. 65 .loc 1 636 3
  711. 66 0008 7B68 ldr r3, [r7, #4]
  712. 67 000a 1B68 ldr r3, [r3]
  713. 68 000c 0122 movs r2, #1
  714. 69 000e 1A43 orrs r2, r3
  715. 70 0010 7B68 ldr r3, [r7, #4]
  716. 71 0012 1A60 str r2, [r3]
  717. 637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  718. 72 .loc 1 637 1
  719. 73 0014 C046 nop
  720. 74 0016 BD46 mov sp, r7
  721. 75 0018 02B0 add sp, sp, #8
  722. 76 @ sp needed
  723. 77 001a 80BD pop {r7, pc}
  724. 78 .cfi_endproc
  725. 79 .LFE440:
  726. 81 .section .text.LL_USART_Disable,"ax",%progbits
  727. 82 .align 1
  728. 83 .syntax unified
  729. 84 .code 16
  730. 85 .thumb_func
  731. 87 LL_USART_Disable:
  732. 88 .LFB441:
  733. 638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  734. 639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  735. 640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Disable (all USART prescalers and outputs are disabled)
  736. 641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When USART is disabled, USART prescalers and outputs are stopped immediately,
  737. 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
  738. 643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * flags, in the USARTx_ISR are set to their default values.
  739. 644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Disable
  740. 645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  741. 646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  742. 647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  743. 648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Disable(USART_TypeDef *USARTx)
  744. 649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  745. 89 .loc 1 649 1
  746. 90 .cfi_startproc
  747. 91 @ args = 0, pretend = 0, frame = 8
  748. 92 @ frame_needed = 1, uses_anonymous_args = 0
  749. 93 0000 80B5 push {r7, lr}
  750. 94 .LCFI3:
  751. 95 .cfi_def_cfa_offset 8
  752. 96 .cfi_offset 7, -8
  753. 97 .cfi_offset 14, -4
  754. 98 0002 82B0 sub sp, sp, #8
  755. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 14
  756. 99 .LCFI4:
  757. 100 .cfi_def_cfa_offset 16
  758. 101 0004 00AF add r7, sp, #0
  759. 102 .LCFI5:
  760. 103 .cfi_def_cfa_register 7
  761. 104 0006 7860 str r0, [r7, #4]
  762. 650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_UE);
  763. 105 .loc 1 650 3
  764. 106 0008 7B68 ldr r3, [r7, #4]
  765. 107 000a 1B68 ldr r3, [r3]
  766. 108 000c 0122 movs r2, #1
  767. 109 000e 9343 bics r3, r2
  768. 110 0010 1A00 movs r2, r3
  769. 111 0012 7B68 ldr r3, [r7, #4]
  770. 112 0014 1A60 str r2, [r3]
  771. 651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  772. 113 .loc 1 651 1
  773. 114 0016 C046 nop
  774. 115 0018 BD46 mov sp, r7
  775. 116 001a 02B0 add sp, sp, #8
  776. 117 @ sp needed
  777. 118 001c 80BD pop {r7, pc}
  778. 119 .cfi_endproc
  779. 120 .LFE441:
  780. 122 .section .text.LL_USART_IsActiveFlag_ORE,"ax",%progbits
  781. 123 .align 1
  782. 124 .syntax unified
  783. 125 .code 16
  784. 126 .thumb_func
  785. 128 LL_USART_IsActiveFlag_ORE:
  786. 129 .LFB579:
  787. 652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  788. 653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  789. 654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled
  790. 655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_IsEnabled
  791. 656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  792. 657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  793. 658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  794. 659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabled(const USART_TypeDef *USARTx)
  795. 660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  796. 661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL);
  797. 662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  798. 663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  799. 664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  800. 665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Enable
  801. 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
  802. 667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  803. 668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_EnableFIFO
  804. 669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  805. 670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  806. 671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  807. 672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableFIFO(USART_TypeDef *USARTx)
  808. 673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  809. 674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_FIFOEN);
  810. 675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  811. 676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  812. 677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  813. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 15
  814. 678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Disable
  815. 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
  816. 680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  817. 681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_DisableFIFO
  818. 682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  819. 683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  820. 684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  821. 685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableFIFO(USART_TypeDef *USARTx)
  822. 686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  823. 687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_FIFOEN);
  824. 688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  825. 689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  826. 690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  827. 691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if FIFO Mode is enabled
  828. 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
  829. 693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  830. 694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_IsEnabledFIFO
  831. 695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  832. 696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  833. 697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  834. 698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledFIFO(const USART_TypeDef *USARTx)
  835. 699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  836. 700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL);
  837. 701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  838. 702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  839. 703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  840. 704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX FIFO Threshold
  841. 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
  842. 706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  843. 707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_SetTXFIFOThreshold
  844. 708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  845. 709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
  846. 710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  847. 711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  848. 712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  849. 713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  850. 714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  851. 715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  852. 716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  853. 717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  854. 718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
  855. 719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  856. 720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos);
  857. 721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  858. 722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  859. 723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  860. 724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return TX FIFO Threshold Configuration
  861. 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
  862. 726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  863. 727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_GetTXFIFOThreshold
  864. 728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  865. 729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  866. 730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  867. 731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  868. 732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  869. 733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  870. 734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  871. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 16
  872. 735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  873. 736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  874. 737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXFIFOThreshold(const USART_TypeDef *USARTx)
  875. 738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  876. 739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos);
  877. 740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  878. 741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  879. 742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  880. 743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX FIFO Threshold
  881. 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
  882. 745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  883. 746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_SetRXFIFOThreshold
  884. 747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  885. 748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
  886. 749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  887. 750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  888. 751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  889. 752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  890. 753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  891. 754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  892. 755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  893. 756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  894. 757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
  895. 758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  896. 759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos);
  897. 760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  898. 761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  899. 762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  900. 763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return RX FIFO Threshold Configuration
  901. 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
  902. 765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  903. 766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_GetRXFIFOThreshold
  904. 767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  905. 768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  906. 769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  907. 770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  908. 771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  909. 772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  910. 773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  911. 774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  912. 775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  913. 776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXFIFOThreshold(const USART_TypeDef *USARTx)
  914. 777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  915. 778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos);
  916. 779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  917. 780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  918. 781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  919. 782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX and RX FIFOs Threshold
  920. 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
  921. 784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  922. 785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_ConfigFIFOsThreshold\n
  923. 786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 RXFTCFG LL_USART_ConfigFIFOsThreshold
  924. 787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  925. 788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TXThreshold This parameter can be one of the following values:
  926. 789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  927. 790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  928. 791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  929. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 17
  930. 792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  931. 793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  932. 794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  933. 795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param RXThreshold This parameter can be one of the following values:
  934. 796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  935. 797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  936. 798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  937. 799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  938. 800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  939. 801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  940. 802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  941. 803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  942. 804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigFIFOsThreshold(USART_TypeDef *USARTx, uint32_t TXThreshold, uin
  943. 805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  944. 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
  945. 807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (RXThreshold << USART_CR3_RXFTCFG_Pos));
  946. 808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  947. 809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  948. 810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  949. 811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART enabled in STOP Mode.
  950. 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
  951. 813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * USART clock selection is HSI or LSE in RCC.
  952. 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
  953. 815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  954. 816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_EnableInStopMode
  955. 817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  956. 818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  957. 819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  958. 820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableInStopMode(USART_TypeDef *USARTx)
  959. 821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  960. 822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_UESM);
  961. 823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  962. 824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  963. 825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  964. 826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART disabled in STOP Mode.
  965. 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
  966. 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
  967. 829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  968. 830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_DisableInStopMode
  969. 831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  970. 832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  971. 833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  972. 834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableInStopMode(USART_TypeDef *USARTx)
  973. 835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  974. 836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_UESM);
  975. 837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  976. 838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  977. 839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  978. 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)
  979. 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
  980. 842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  981. 843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_IsEnabledInStopMode
  982. 844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  983. 845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  984. 846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  985. 847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledInStopMode(const USART_TypeDef *USARTx)
  986. 848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  987. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 18
  988. 849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL);
  989. 850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  990. 851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  991. 852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  992. 853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Enable (Receiver is enabled and begins searching for a start bit)
  993. 854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_EnableDirectionRx
  994. 855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  995. 856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  996. 857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  997. 858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx)
  998. 859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  999. 860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE);
  1000. 861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1001. 862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1002. 863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1003. 864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Disable
  1004. 865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_DisableDirectionRx
  1005. 866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1006. 867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1007. 868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1008. 869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx)
  1009. 870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1010. 871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE);
  1011. 872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1012. 873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1013. 874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1014. 875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Enable
  1015. 876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_EnableDirectionTx
  1016. 877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1017. 878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1018. 879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1019. 880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx)
  1020. 881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1021. 882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TE);
  1022. 883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1023. 884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1024. 885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1025. 886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Disable
  1026. 887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_DisableDirectionTx
  1027. 888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1028. 889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1029. 890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1030. 891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx)
  1031. 892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1032. 893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TE);
  1033. 894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1034. 895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1035. 896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1036. 897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure simultaneously enabled/disabled states
  1037. 898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * of Transmitter and Receiver
  1038. 899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_SetTransferDirection\n
  1039. 900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_SetTransferDirection
  1040. 901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1041. 902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TransferDirection This parameter can be one of the following values:
  1042. 903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
  1043. 904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
  1044. 905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
  1045. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 19
  1046. 906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
  1047. 907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1048. 908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1049. 909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32_t TransferDirectio
  1050. 910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1051. 911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection);
  1052. 912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1053. 913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1054. 914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1055. 915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return enabled/disabled states of Transmitter and Receiver
  1056. 916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_GetTransferDirection\n
  1057. 917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_GetTransferDirection
  1058. 918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1059. 919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1060. 920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
  1061. 921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
  1062. 922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
  1063. 923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
  1064. 924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1065. 925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferDirection(const USART_TypeDef *USARTx)
  1066. 926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1067. 927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE));
  1068. 928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1069. 929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1070. 930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1071. 931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Parity (enabled/disabled and parity mode if enabled).
  1072. 932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This function selects if hardware parity control (generation and detection) is enabled
  1073. 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
  1074. 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.
  1075. 935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_SetParity\n
  1076. 936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_SetParity
  1077. 937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1078. 938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
  1079. 939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1080. 940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1081. 941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1082. 942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1083. 943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1084. 944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetParity(USART_TypeDef *USARTx, uint32_t Parity)
  1085. 945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1086. 946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE, Parity);
  1087. 947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1088. 948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1089. 949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1090. 950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Parity configuration (enabled/disabled and parity mode if enabled)
  1091. 951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_GetParity\n
  1092. 952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_GetParity
  1093. 953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1094. 954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1095. 955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1096. 956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1097. 957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1098. 958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1099. 959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetParity(const USART_TypeDef *USARTx)
  1100. 960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1101. 961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE));
  1102. 962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1103. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 20
  1104. 963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1105. 964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1106. 965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Wake Up method from Mute mode.
  1107. 966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_SetWakeUpMethod
  1108. 967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1109. 968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Method This parameter can be one of the following values:
  1110. 969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
  1111. 970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
  1112. 971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1113. 972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1114. 973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWakeUpMethod(USART_TypeDef *USARTx, uint32_t Method)
  1115. 974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1116. 975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_WAKE, Method);
  1117. 976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1118. 977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1119. 978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1120. 979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Receiver Wake Up method from Mute mode
  1121. 980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_GetWakeUpMethod
  1122. 981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1123. 982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1124. 983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
  1125. 984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
  1126. 985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1127. 986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(const USART_TypeDef *USARTx)
  1128. 987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1129. 988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE));
  1130. 989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1131. 990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1132. 991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1133. 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)
  1134. 993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_SetDataWidth\n
  1135. 994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_SetDataWidth
  1136. 995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1137. 996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
  1138. 997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1139. 998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1140. 999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1141. 1000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1142. 1001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1143. 1002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDataWidth(USART_TypeDef *USARTx, uint32_t DataWidth)
  1144. 1003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1145. 1004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_M, DataWidth);
  1146. 1005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1147. 1006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1148. 1007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1149. 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)
  1150. 1009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_GetDataWidth\n
  1151. 1010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_GetDataWidth
  1152. 1011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1153. 1012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1154. 1013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1155. 1014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1156. 1015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1157. 1016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1158. 1017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDataWidth(const USART_TypeDef *USARTx)
  1159. 1018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1160. 1019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M));
  1161. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 21
  1162. 1020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1163. 1021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1164. 1022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1165. 1023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Allow switch between Mute Mode and Active mode
  1166. 1024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_EnableMuteMode
  1167. 1025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1168. 1026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1169. 1027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1170. 1028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableMuteMode(USART_TypeDef *USARTx)
  1171. 1029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1172. 1030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_MME);
  1173. 1031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1174. 1032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1175. 1033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1176. 1034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Prevent Mute Mode use. Set Receiver in active mode permanently.
  1177. 1035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_DisableMuteMode
  1178. 1036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1179. 1037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1180. 1038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1181. 1039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableMuteMode(USART_TypeDef *USARTx)
  1182. 1040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1183. 1041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_MME);
  1184. 1042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1185. 1043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1186. 1044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1187. 1045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if switch between Mute Mode and Active mode is allowed
  1188. 1046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_IsEnabledMuteMode
  1189. 1047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1190. 1048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1191. 1049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1192. 1050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledMuteMode(const USART_TypeDef *USARTx)
  1193. 1051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1194. 1052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)) ? 1UL : 0UL);
  1195. 1053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1196. 1054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1197. 1055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1198. 1056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Oversampling to 8-bit or 16-bit mode
  1199. 1057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_SetOverSampling
  1200. 1058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1201. 1059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  1202. 1060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1203. 1061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1204. 1062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1205. 1063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1206. 1064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetOverSampling(USART_TypeDef *USARTx, uint32_t OverSampling)
  1207. 1065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1208. 1066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_OVER8, OverSampling);
  1209. 1067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1210. 1068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1211. 1069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1212. 1070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Oversampling mode
  1213. 1071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_GetOverSampling
  1214. 1072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1215. 1073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1216. 1074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1217. 1075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1218. 1076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1219. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 22
  1220. 1077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetOverSampling(const USART_TypeDef *USARTx)
  1221. 1078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1222. 1079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8));
  1223. 1080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1224. 1081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1225. 1082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1226. 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
  1227. 1084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1228. 1085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1229. 1086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_SetLastClkPulseOutput
  1230. 1087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1231. 1088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LastBitClockPulse This parameter can be one of the following values:
  1232. 1089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1233. 1090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1234. 1091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1235. 1092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1236. 1093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint32_t LastBitClockPul
  1237. 1094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1238. 1095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBCL, LastBitClockPulse);
  1239. 1096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1240. 1097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1241. 1098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1242. 1099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Clock pulse of the last data bit output configuration
  1243. 1100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Last bit Clock pulse output to the SCLK pin or not)
  1244. 1101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1245. 1102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1246. 1103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_GetLastClkPulseOutput
  1247. 1104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1248. 1105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1249. 1106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1250. 1107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1251. 1108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1252. 1109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(const USART_TypeDef *USARTx)
  1253. 1110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1254. 1111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL));
  1255. 1112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1256. 1113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1257. 1114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1258. 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
  1259. 1116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1260. 1117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1261. 1118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_SetClockPhase
  1262. 1119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1263. 1120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPhase This parameter can be one of the following values:
  1264. 1121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1265. 1122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1266. 1123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1267. 1124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1268. 1125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t ClockPhase)
  1269. 1126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1270. 1127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA, ClockPhase);
  1271. 1128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1272. 1129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1273. 1130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1274. 1131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return phase of the clock output on the SCLK pin in synchronous mode
  1275. 1132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1276. 1133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1277. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 23
  1278. 1134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_GetClockPhase
  1279. 1135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1280. 1136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1281. 1137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1282. 1138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1283. 1139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1284. 1140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPhase(const USART_TypeDef *USARTx)
  1285. 1141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1286. 1142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA));
  1287. 1143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1288. 1144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1289. 1145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1290. 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
  1291. 1147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1292. 1148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1293. 1149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_SetClockPolarity
  1294. 1150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1295. 1151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPolarity This parameter can be one of the following values:
  1296. 1152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1297. 1153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1298. 1154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1299. 1155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1300. 1156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t ClockPolarity)
  1301. 1157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1302. 1158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPOL, ClockPolarity);
  1303. 1159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1304. 1160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1305. 1161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1306. 1162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return polarity of the clock output on the SCLK pin in synchronous mode
  1307. 1163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1308. 1164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1309. 1165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_GetClockPolarity
  1310. 1166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1311. 1167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1312. 1168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1313. 1169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1314. 1170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1315. 1171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPolarity(const USART_TypeDef *USARTx)
  1316. 1172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1317. 1173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL));
  1318. 1174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1319. 1175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1320. 1176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1321. 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
  1322. 1178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1323. 1179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1324. 1180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  1325. 1181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Phase configuration using @ref LL_USART_SetClockPhase() function
  1326. 1182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Polarity configuration using @ref LL_USART_SetClockPolarity() function
  1327. 1183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Output of Last bit Clock pulse configuration using @ref LL_USART_SetLastClkPulseOutpu
  1328. 1184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_ConfigClock\n
  1329. 1185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CPOL LL_USART_ConfigClock\n
  1330. 1186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LBCL LL_USART_ConfigClock
  1331. 1187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1332. 1188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Phase This parameter can be one of the following values:
  1333. 1189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1334. 1190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1335. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 24
  1336. 1191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
  1337. 1192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1338. 1193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1339. 1194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LBCPOutput This parameter can be one of the following values:
  1340. 1195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1341. 1196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1342. 1197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1343. 1198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1344. 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,
  1345. 1200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1346. 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
  1347. 1202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1348. 1203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1349. 1204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1350. 1205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock source prescaler for baudrate generator and oversampling
  1351. 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
  1352. 1207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  1353. 1208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_SetPrescaler
  1354. 1209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1355. 1210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1356. 1211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1357. 1212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1358. 1213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1359. 1214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1360. 1215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1361. 1216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1362. 1217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1363. 1218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1364. 1219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1365. 1220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1366. 1221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1367. 1222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1368. 1223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1369. 1224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1370. 1225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  1371. 1226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1372. 1227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->PRESC, USART_PRESC_PRESCALER, (uint16_t)PrescalerValue);
  1373. 1228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1374. 1229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1375. 1230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1376. 1231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the Clock source prescaler for baudrate generator and oversampling
  1377. 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
  1378. 1233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  1379. 1234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_GetPrescaler
  1380. 1235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1381. 1236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1382. 1237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1383. 1238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1384. 1239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1385. 1240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1386. 1241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1387. 1242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1388. 1243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1389. 1244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1390. 1245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1391. 1246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1392. 1247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1393. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 25
  1394. 1248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1395. 1249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1396. 1250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetPrescaler(const USART_TypeDef *USARTx)
  1397. 1251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1398. 1252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->PRESC, USART_PRESC_PRESCALER));
  1399. 1253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1400. 1254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1401. 1255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1402. 1256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Clock output on SCLK pin
  1403. 1257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1404. 1258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1405. 1259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_EnableSCLKOutput
  1406. 1260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1407. 1261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1408. 1262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1409. 1263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSCLKOutput(USART_TypeDef *USARTx)
  1410. 1264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1411. 1265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
  1412. 1266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1413. 1267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1414. 1268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1415. 1269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Clock output on SCLK pin
  1416. 1270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1417. 1271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1418. 1272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_DisableSCLKOutput
  1419. 1273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1420. 1274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1421. 1275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1422. 1276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx)
  1423. 1277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1424. 1278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN);
  1425. 1279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1426. 1280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1427. 1281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1428. 1282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Clock output on SCLK pin is enabled
  1429. 1283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1430. 1284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1431. 1285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_IsEnabledSCLKOutput
  1432. 1286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1433. 1287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1434. 1288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1435. 1289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(const USART_TypeDef *USARTx)
  1436. 1290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1437. 1291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)) ? 1UL : 0UL);
  1438. 1292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1439. 1293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1440. 1294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1441. 1295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set the length of the stop bits
  1442. 1296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_SetStopBitsLength
  1443. 1297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1444. 1298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
  1445. 1299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1446. 1300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1447. 1301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1448. 1302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1449. 1303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1450. 1304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1451. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 26
  1452. 1305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetStopBitsLength(USART_TypeDef *USARTx, uint32_t StopBits)
  1453. 1306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1454. 1307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
  1455. 1308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1456. 1309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1457. 1310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1458. 1311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the length of the stop bits
  1459. 1312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_GetStopBitsLength
  1460. 1313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1461. 1314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1462. 1315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1463. 1316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1464. 1317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1465. 1318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1466. 1319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1467. 1320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(const USART_TypeDef *USARTx)
  1468. 1321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1469. 1322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_STOP));
  1470. 1323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1471. 1324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1472. 1325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1473. 1326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Character frame format (Datawidth, Parity control, Stop Bits)
  1474. 1327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  1475. 1328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Data Width configuration using @ref LL_USART_SetDataWidth() function
  1476. 1329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Parity Control and mode configuration using @ref LL_USART_SetParity() function
  1477. 1330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Stop bits configuration using @ref LL_USART_SetStopBitsLength() function
  1478. 1331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_ConfigCharacter\n
  1479. 1332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_ConfigCharacter\n
  1480. 1333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M0 LL_USART_ConfigCharacter\n
  1481. 1334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_ConfigCharacter\n
  1482. 1335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigCharacter
  1483. 1336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1484. 1337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
  1485. 1338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1486. 1339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1487. 1340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1488. 1341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
  1489. 1342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1490. 1343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1491. 1344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1492. 1345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
  1493. 1346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1494. 1347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1495. 1348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1496. 1349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1497. 1350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1498. 1351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1499. 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
  1500. 1353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits)
  1501. 1354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1502. 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);
  1503. 1356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
  1504. 1357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1505. 1358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1506. 1359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1507. 1360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX/RX pins swapping setting.
  1508. 1361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_SetTXRXSwap
  1509. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 27
  1510. 1362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1511. 1363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param SwapConfig This parameter can be one of the following values:
  1512. 1364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
  1513. 1365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
  1514. 1366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1515. 1367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1516. 1368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXRXSwap(USART_TypeDef *USARTx, uint32_t SwapConfig)
  1517. 1369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1518. 1370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_SWAP, SwapConfig);
  1519. 1371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1520. 1372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1521. 1373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1522. 1374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX/RX pins swapping configuration.
  1523. 1375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_GetTXRXSwap
  1524. 1376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1525. 1377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1526. 1378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
  1527. 1379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
  1528. 1380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1529. 1381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXRXSwap(const USART_TypeDef *USARTx)
  1530. 1382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1531. 1383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_SWAP));
  1532. 1384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1533. 1385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1534. 1386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1535. 1387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX pin active level logic
  1536. 1388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_SetRXPinLevel
  1537. 1389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1538. 1390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
  1539. 1391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
  1540. 1392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
  1541. 1393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1542. 1394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1543. 1395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
  1544. 1396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1545. 1397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_RXINV, PinInvMethod);
  1546. 1398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1547. 1399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1548. 1400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1549. 1401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve RX pin active level logic configuration
  1550. 1402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_GetRXPinLevel
  1551. 1403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1552. 1404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1553. 1405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
  1554. 1406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
  1555. 1407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1556. 1408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXPinLevel(const USART_TypeDef *USARTx)
  1557. 1409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1558. 1410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_RXINV));
  1559. 1411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1560. 1412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1561. 1413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1562. 1414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX pin active level logic
  1563. 1415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_SetTXPinLevel
  1564. 1416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1565. 1417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
  1566. 1418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
  1567. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 28
  1568. 1419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
  1569. 1420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1570. 1421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1571. 1422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
  1572. 1423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1573. 1424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_TXINV, PinInvMethod);
  1574. 1425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1575. 1426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1576. 1427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1577. 1428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX pin active level logic configuration
  1578. 1429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_GetTXPinLevel
  1579. 1430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1580. 1431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1581. 1432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
  1582. 1433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
  1583. 1434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1584. 1435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXPinLevel(const USART_TypeDef *USARTx)
  1585. 1436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1586. 1437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_TXINV));
  1587. 1438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1588. 1439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1589. 1440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1590. 1441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Binary data logic.
  1591. 1442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Allow to define how Logical data from the data register are send/received :
  1592. 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)
  1593. 1444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_SetBinaryDataLogic
  1594. 1445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1595. 1446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataLogic This parameter can be one of the following values:
  1596. 1447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
  1597. 1448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
  1598. 1449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1599. 1450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1600. 1451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBinaryDataLogic(USART_TypeDef *USARTx, uint32_t DataLogic)
  1601. 1452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1602. 1453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_DATAINV, DataLogic);
  1603. 1454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1604. 1455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1605. 1456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1606. 1457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Binary data configuration
  1607. 1458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_GetBinaryDataLogic
  1608. 1459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1609. 1460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1610. 1461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
  1611. 1462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
  1612. 1463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1613. 1464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBinaryDataLogic(const USART_TypeDef *USARTx)
  1614. 1465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1615. 1466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_DATAINV));
  1616. 1467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1617. 1468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1618. 1469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1619. 1470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure transfer bit order (either Less or Most Significant Bit First)
  1620. 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
  1621. 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
  1622. 1473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_SetTransferBitOrder
  1623. 1474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1624. 1475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BitOrder This parameter can be one of the following values:
  1625. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 29
  1626. 1476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
  1627. 1477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
  1628. 1478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1629. 1479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1630. 1480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferBitOrder(USART_TypeDef *USARTx, uint32_t BitOrder)
  1631. 1481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1632. 1482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_MSBFIRST, BitOrder);
  1633. 1483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1634. 1484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1635. 1485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1636. 1486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return transfer bit order (either Less or Most Significant Bit First)
  1637. 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
  1638. 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
  1639. 1489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_GetTransferBitOrder
  1640. 1490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1641. 1491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1642. 1492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
  1643. 1493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
  1644. 1494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1645. 1495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferBitOrder(const USART_TypeDef *USARTx)
  1646. 1496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1647. 1497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_MSBFIRST));
  1648. 1498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1649. 1499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1650. 1500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1651. 1501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Auto Baud-Rate Detection
  1652. 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
  1653. 1503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1654. 1504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_EnableAutoBaudRate
  1655. 1505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1656. 1506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1657. 1507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1658. 1508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableAutoBaudRate(USART_TypeDef *USARTx)
  1659. 1509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1660. 1510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_ABREN);
  1661. 1511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1662. 1512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1663. 1513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1664. 1514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Auto Baud-Rate Detection
  1665. 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
  1666. 1516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1667. 1517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_DisableAutoBaudRate
  1668. 1518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1669. 1519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1670. 1520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1671. 1521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableAutoBaudRate(USART_TypeDef *USARTx)
  1672. 1522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1673. 1523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN);
  1674. 1524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1675. 1525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1676. 1526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1677. 1527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Auto Baud-Rate Detection mechanism is enabled
  1678. 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
  1679. 1529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1680. 1530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_IsEnabledAutoBaud
  1681. 1531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1682. 1532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1683. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 30
  1684. 1533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1685. 1534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledAutoBaud(const USART_TypeDef *USARTx)
  1686. 1535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1687. 1536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_ABREN) == (USART_CR2_ABREN)) ? 1UL : 0UL);
  1688. 1537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1689. 1538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1690. 1539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1691. 1540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Auto Baud-Rate mode bits
  1692. 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
  1693. 1542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1694. 1543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_SetAutoBaudRateMode
  1695. 1544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1696. 1545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoBaudRateMode This parameter can be one of the following values:
  1697. 1546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
  1698. 1547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
  1699. 1548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
  1700. 1549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
  1701. 1550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1702. 1551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1703. 1552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetAutoBaudRateMode(USART_TypeDef *USARTx, uint32_t AutoBaudRateMode)
  1704. 1553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1705. 1554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ABRMODE, AutoBaudRateMode);
  1706. 1555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1707. 1556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1708. 1557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1709. 1558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Auto Baud-Rate mode
  1710. 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
  1711. 1560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1712. 1561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_GetAutoBaudRateMode
  1713. 1562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1714. 1563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1715. 1564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
  1716. 1565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
  1717. 1566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
  1718. 1567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
  1719. 1568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1720. 1569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetAutoBaudRateMode(const USART_TypeDef *USARTx)
  1721. 1570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1722. 1571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ABRMODE));
  1723. 1572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1724. 1573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1725. 1574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1726. 1575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout
  1727. 1576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_EnableRxTimeout
  1728. 1577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1729. 1578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1730. 1579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1731. 1580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRxTimeout(USART_TypeDef *USARTx)
  1732. 1581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1733. 1582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_RTOEN);
  1734. 1583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1735. 1584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1736. 1585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1737. 1586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout
  1738. 1587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_DisableRxTimeout
  1739. 1588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1740. 1589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1741. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 31
  1742. 1590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1743. 1591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRxTimeout(USART_TypeDef *USARTx)
  1744. 1592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1745. 1593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN);
  1746. 1594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1747. 1595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1748. 1596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1749. 1597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Receiver Timeout feature is enabled
  1750. 1598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_IsEnabledRxTimeout
  1751. 1599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1752. 1600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1753. 1601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1754. 1602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledRxTimeout(const USART_TypeDef *USARTx)
  1755. 1603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1756. 1604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_RTOEN) == (USART_CR2_RTOEN)) ? 1UL : 0UL);
  1757. 1605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1758. 1606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1759. 1607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1760. 1608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Address of the USART node.
  1761. 1609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This is used in multiprocessor communication during Mute mode or Stop mode,
  1762. 1610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with address mark detection.
  1763. 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.
  1764. 1612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (b7-b4 should be set to 0)
  1765. 1613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 8bits address node is used when 7-bit Address Detection is selected in ADDM7.
  1766. 1614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (This is used in multiprocessor communication during Mute mode or Stop mode,
  1767. 1615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with 7-bit address mark detection.
  1768. 1616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * The MSB of the character sent by the transmitter should be equal to 1.
  1769. 1617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * It may also be used for character detection during normal reception,
  1770. 1618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Mute mode inactive (for example, end of block detection in ModBus protocol).
  1771. 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]
  1772. 1620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * value and CMF flag is set on match)
  1773. 1621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_ConfigNodeAddress\n
  1774. 1622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 ADDM7 LL_USART_ConfigNodeAddress
  1775. 1623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1776. 1624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AddressLen This parameter can be one of the following values:
  1777. 1625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
  1778. 1626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
  1779. 1627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param NodeAddress 4 or 7 bit Address of the USART node.
  1780. 1628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1781. 1629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1782. 1630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigNodeAddress(USART_TypeDef *USARTx, uint32_t AddressLen, uint32_
  1783. 1631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1784. 1632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ADD | USART_CR2_ADDM7,
  1785. 1633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (uint32_t)(AddressLen | (NodeAddress << USART_CR2_ADD_Pos)));
  1786. 1634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1787. 1635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1788. 1636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1789. 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.
  1790. 1638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note If 4-bit Address Detection is selected in ADDM7,
  1791. 1639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 4bits (b3-b0) of returned value are relevant (b31-b4 are not relevant)
  1792. 1640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If 7-bit Address Detection is selected in ADDM7,
  1793. 1641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 8bits (b7-b0) of returned value are relevant (b31-b8 are not relevant)
  1794. 1642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_GetNodeAddress
  1795. 1643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1796. 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)
  1797. 1645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1798. 1646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddress(const USART_TypeDef *USARTx)
  1799. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 32
  1800. 1647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1801. 1648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADD) >> USART_CR2_ADD_Pos);
  1802. 1649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1803. 1650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1804. 1651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1805. 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)
  1806. 1653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADDM7 LL_USART_GetNodeAddressLen
  1807. 1654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1808. 1655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1809. 1656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
  1810. 1657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
  1811. 1658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1812. 1659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddressLen(const USART_TypeDef *USARTx)
  1813. 1660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1814. 1661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADDM7));
  1815. 1662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1816. 1663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1817. 1664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1818. 1665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RTS HW Flow Control
  1819. 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
  1820. 1667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1821. 1668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_EnableRTSHWFlowCtrl
  1822. 1669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1823. 1670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1824. 1671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1825. 1672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl(USART_TypeDef *USARTx)
  1826. 1673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1827. 1674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_RTSE);
  1828. 1675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1829. 1676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1830. 1677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1831. 1678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RTS HW Flow Control
  1832. 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
  1833. 1680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1834. 1681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_DisableRTSHWFlowCtrl
  1835. 1682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1836. 1683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1837. 1684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1838. 1685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl(USART_TypeDef *USARTx)
  1839. 1686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1840. 1687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE);
  1841. 1688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1842. 1689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1843. 1690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1844. 1691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS HW Flow Control
  1845. 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
  1846. 1693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1847. 1694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_EnableCTSHWFlowCtrl
  1848. 1695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1849. 1696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1850. 1697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1851. 1698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl(USART_TypeDef *USARTx)
  1852. 1699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1853. 1700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_CTSE);
  1854. 1701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1855. 1702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1856. 1703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1857. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 33
  1858. 1704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS HW Flow Control
  1859. 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
  1860. 1706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1861. 1707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_DisableCTSHWFlowCtrl
  1862. 1708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1863. 1709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1864. 1710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1865. 1711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl(USART_TypeDef *USARTx)
  1866. 1712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1867. 1713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE);
  1868. 1714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1869. 1715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1870. 1716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1871. 1717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure HW Flow Control mode (both CTS and RTS)
  1872. 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
  1873. 1719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1874. 1720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_SetHWFlowCtrl\n
  1875. 1721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_SetHWFlowCtrl
  1876. 1722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1877. 1723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param HardwareFlowControl This parameter can be one of the following values:
  1878. 1724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
  1879. 1725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
  1880. 1726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
  1881. 1727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
  1882. 1728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1883. 1729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1884. 1730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t HardwareFlowControl)
  1885. 1731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1886. 1732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl);
  1887. 1733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1888. 1734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1889. 1735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1890. 1736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return HW Flow Control configuration (both CTS and RTS)
  1891. 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
  1892. 1738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1893. 1739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_GetHWFlowCtrl\n
  1894. 1740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_GetHWFlowCtrl
  1895. 1741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1896. 1742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1897. 1743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
  1898. 1744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
  1899. 1745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
  1900. 1746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
  1901. 1747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1902. 1748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(const USART_TypeDef *USARTx)
  1903. 1749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1904. 1750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE));
  1905. 1751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1906. 1752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1907. 1753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1908. 1754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable One bit sampling method
  1909. 1755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_EnableOneBitSamp
  1910. 1756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1911. 1757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1912. 1758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1913. 1759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOneBitSamp(USART_TypeDef *USARTx)
  1914. 1760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1915. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 34
  1916. 1761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_ONEBIT);
  1917. 1762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1918. 1763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1919. 1764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1920. 1765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable One bit sampling method
  1921. 1766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_DisableOneBitSamp
  1922. 1767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1923. 1768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1924. 1769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1925. 1770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOneBitSamp(USART_TypeDef *USARTx)
  1926. 1771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1927. 1772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT);
  1928. 1773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1929. 1774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1930. 1775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1931. 1776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if One bit sampling method is enabled
  1932. 1777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_IsEnabledOneBitSamp
  1933. 1778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1934. 1779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1935. 1780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1936. 1781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(const USART_TypeDef *USARTx)
  1937. 1782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1938. 1783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)) ? 1UL : 0UL);
  1939. 1784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1940. 1785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1941. 1786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1942. 1787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Overrun detection
  1943. 1788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_EnableOverrunDetect
  1944. 1789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1945. 1790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1946. 1791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1947. 1792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOverrunDetect(USART_TypeDef *USARTx)
  1948. 1793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1949. 1794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_OVRDIS);
  1950. 1795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1951. 1796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1952. 1797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1953. 1798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Overrun detection
  1954. 1799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_DisableOverrunDetect
  1955. 1800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1956. 1801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1957. 1802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1958. 1803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOverrunDetect(USART_TypeDef *USARTx)
  1959. 1804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1960. 1805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_OVRDIS);
  1961. 1806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1962. 1807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1963. 1808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1964. 1809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Overrun detection is enabled
  1965. 1810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_IsEnabledOverrunDetect
  1966. 1811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1967. 1812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1968. 1813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1969. 1814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOverrunDetect(const USART_TypeDef *USARTx)
  1970. 1815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1971. 1816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS) ? 1UL : 0UL);
  1972. 1817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1973. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 35
  1974. 1818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1975. 1819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1976. 1820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
  1977. 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
  1978. 1822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  1979. 1823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_SetWKUPType
  1980. 1824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1981. 1825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Type This parameter can be one of the following values:
  1982. 1826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
  1983. 1827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
  1984. 1828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
  1985. 1829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1986. 1830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1987. 1831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWKUPType(USART_TypeDef *USARTx, uint32_t Type)
  1988. 1832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1989. 1833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_WUS, Type);
  1990. 1834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1991. 1835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1992. 1836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1993. 1837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
  1994. 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
  1995. 1839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  1996. 1840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_GetWKUPType
  1997. 1841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1998. 1842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1999. 1843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
  2000. 1844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
  2001. 1845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
  2002. 1846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2003. 1847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWKUPType(const USART_TypeDef *USARTx)
  2004. 1848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2005. 1849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_WUS));
  2006. 1850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2007. 1851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2008. 1852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2009. 1853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure USART BRR register for achieving expected Baud Rate value.
  2010. 1854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Compute and set USARTDIV value in BRR Register (full BRR content)
  2011. 1855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * according to used Peripheral Clock, Oversampling mode, and expected Baud Rate values
  2012. 1856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Peripheral clock and Baud rate values provided as function parameters should be valid
  2013. 1857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Baud rate value != 0)
  2014. 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.
  2015. 1859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_SetBaudRate
  2016. 1860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2017. 1861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
  2018. 1862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  2019. 1863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  2020. 1864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  2021. 1865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  2022. 1866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  2023. 1867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  2024. 1868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  2025. 1869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  2026. 1870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  2027. 1871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  2028. 1872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  2029. 1873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  2030. 1874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  2031. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 36
  2032. 1875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  2033. 1876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  2034. 1877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  2035. 1878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BaudRate Baud Rate
  2036. 1879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2037. 1880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2038. 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
  2039. 1882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling,
  2040. 1883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate)
  2041. 1884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2042. 1885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
  2043. 1886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrtemp;
  2044. 1887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2045. 1888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (PrescalerValue > LL_USART_PRESCALER_DIV256)
  2046. 1889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2047. 1890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not overstep the size of USART_PRESCALER_TAB */
  2048. 1891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2049. 1892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (BaudRate == 0U)
  2050. 1893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2051. 1894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Can Not divide per 0 */
  2052. 1895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2053. 1896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
  2054. 1897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2055. 1898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)(__LL_USART_DIV_SAMPLING8(PeriphClk, (uint8_t)PrescalerValue, BaudRate));
  2056. 1899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp = usartdiv & 0xFFF0U;
  2057. 1900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp |= (uint16_t)((usartdiv & (uint16_t)0x000FU) >> 1U);
  2058. 1901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = brrtemp;
  2059. 1902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2060. 1903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  2061. 1904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2062. 1905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = (uint16_t)(__LL_USART_DIV_SAMPLING16(PeriphClk, (uint8_t)PrescalerValue, BaudRate
  2063. 1906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2064. 1907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2065. 1908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2066. 1909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2067. 1910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return current Baud Rate value, according to USARTDIV present in BRR register
  2068. 1911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (full BRR content), and to used Peripheral Clock and Oversampling mode values
  2069. 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
  2070. 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.
  2071. 1914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_GetBaudRate
  2072. 1915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2073. 1916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
  2074. 1917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  2075. 1918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  2076. 1919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  2077. 1920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  2078. 1921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  2079. 1922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  2080. 1923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  2081. 1924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  2082. 1925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  2083. 1926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  2084. 1927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  2085. 1928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  2086. 1929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  2087. 1930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  2088. 1931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  2089. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 37
  2090. 1932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  2091. 1933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Baud Rate
  2092. 1934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2093. 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
  2094. 1936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling)
  2095. 1937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2096. 1938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
  2097. 1939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrresult = 0x0U;
  2098. 1940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t periphclkpresc = (uint32_t)(PeriphClk / (USART_PRESCALER_TAB[(uint8_t)PrescalerValue]));
  2099. 1941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2100. 1942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = USARTx->BRR;
  2101. 1943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2102. 1944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv == 0U)
  2103. 1945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2104. 1946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not perform a division by 0 */
  2105. 1947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2106. 1948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
  2107. 1949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2108. 1950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)((usartdiv & 0xFFF0U) | ((usartdiv & 0x0007U) << 1U)) ;
  2109. 1951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv != 0U)
  2110. 1952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2111. 1953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = (periphclkpresc * 2U) / usartdiv;
  2112. 1954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2113. 1955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2114. 1956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  2115. 1957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2116. 1958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if ((usartdiv & 0xFFFFU) != 0U)
  2117. 1959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2118. 1960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = periphclkpresc / usartdiv;
  2119. 1961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2120. 1962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2121. 1963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (brrresult);
  2122. 1964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2123. 1965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2124. 1966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2125. 1967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Time Out Value (expressed in nb of bits duration)
  2126. 1968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_SetRxTimeout
  2127. 1969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2128. 1970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Timeout Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
  2129. 1971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2130. 1972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2131. 1973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRxTimeout(USART_TypeDef *USARTx, uint32_t Timeout)
  2132. 1974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2133. 1975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_RTO, Timeout);
  2134. 1976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2135. 1977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2136. 1978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2137. 1979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Receiver Time Out Value (expressed in nb of bits duration)
  2138. 1980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_GetRxTimeout
  2139. 1981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2140. 1982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
  2141. 1983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2142. 1984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRxTimeout(const USART_TypeDef *USARTx)
  2143. 1985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2144. 1986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_RTO));
  2145. 1987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2146. 1988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2147. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 38
  2148. 1989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2149. 1990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Block Length value in reception
  2150. 1991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_SetBlockLength
  2151. 1992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2152. 1993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BlockLength Value between Min_Data=0x00 and Max_Data=0xFF
  2153. 1994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2154. 1995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2155. 1996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBlockLength(USART_TypeDef *USARTx, uint32_t BlockLength)
  2156. 1997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2157. 1998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_BLEN, BlockLength << USART_RTOR_BLEN_Pos);
  2158. 1999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2159. 2000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2160. 2001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2161. 2002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Block Length value in reception
  2162. 2003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_GetBlockLength
  2163. 2004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2164. 2005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
  2165. 2006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2166. 2007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBlockLength(const USART_TypeDef *USARTx)
  2167. 2008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2168. 2009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_BLEN) >> USART_RTOR_BLEN_Pos);
  2169. 2010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2170. 2011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2171. 2012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2172. 2013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2173. 2014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2174. 2015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2175. 2016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_IRDA Configuration functions related to Irda feature
  2176. 2017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2177. 2018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2178. 2019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2179. 2020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2180. 2021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IrDA mode
  2181. 2022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2182. 2023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2183. 2024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_EnableIrda
  2184. 2025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2185. 2026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2186. 2027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2187. 2028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIrda(USART_TypeDef *USARTx)
  2188. 2029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2189. 2030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
  2190. 2031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2191. 2032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2192. 2033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2193. 2034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IrDA mode
  2194. 2035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2195. 2036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2196. 2037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_DisableIrda
  2197. 2038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2198. 2039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2199. 2040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2200. 2041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx)
  2201. 2042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2202. 2043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_IREN);
  2203. 2044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2204. 2045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2205. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 39
  2206. 2046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2207. 2047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if IrDA mode is enabled
  2208. 2048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2209. 2049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2210. 2050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_IsEnabledIrda
  2211. 2051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2212. 2052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2213. 2053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2214. 2054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(const USART_TypeDef *USARTx)
  2215. 2055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2216. 2056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_IREN) == (USART_CR3_IREN)) ? 1UL : 0UL);
  2217. 2057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2218. 2058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2219. 2059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2220. 2060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure IrDA Power Mode (Normal or Low Power)
  2221. 2061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2222. 2062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2223. 2063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_SetIrdaPowerMode
  2224. 2064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2225. 2065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PowerMode This parameter can be one of the following values:
  2226. 2066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
  2227. 2067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_LOW
  2228. 2068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2229. 2069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2230. 2070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t PowerMode)
  2231. 2071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2232. 2072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_IRLP, PowerMode);
  2233. 2073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2234. 2074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2235. 2075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2236. 2076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve IrDA Power Mode configuration (Normal or Low Power)
  2237. 2077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2238. 2078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2239. 2079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_GetIrdaPowerMode
  2240. 2080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2241. 2081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2242. 2082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
  2243. 2083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  2244. 2084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2245. 2085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(const USART_TypeDef *USARTx)
  2246. 2086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2247. 2087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_IRLP));
  2248. 2088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2249. 2089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2250. 2090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2251. 2091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Irda prescaler value, used for dividing the USART clock source
  2252. 2092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
  2253. 2093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2254. 2094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2255. 2095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetIrdaPrescaler
  2256. 2096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2257. 2097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0x00 and Max_Data=0xFF
  2258. 2098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2259. 2099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2260. 2100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  2261. 2101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2262. 2102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
  2263. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 40
  2264. 2103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2265. 2104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2266. 2105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2267. 2106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Irda prescaler value, used for dividing the USART clock source
  2268. 2107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
  2269. 2108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2270. 2109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2271. 2110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetIrdaPrescaler
  2272. 2111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2273. 2112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Irda prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF)
  2274. 2113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2275. 2114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(const USART_TypeDef *USARTx)
  2276. 2115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2277. 2116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
  2278. 2117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2279. 2118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2280. 2119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2281. 2120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2282. 2121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2283. 2122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2284. 2123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_Smartcard Configuration functions related to Smartcard feat
  2285. 2124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2286. 2125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2287. 2126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2288. 2127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2289. 2128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard NACK transmission
  2290. 2129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2291. 2130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2292. 2131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
  2293. 2132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2294. 2133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2295. 2134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2296. 2135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcardNACK(USART_TypeDef *USARTx)
  2297. 2136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2298. 2137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_NACK);
  2299. 2138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2300. 2139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2301. 2140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2302. 2141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard NACK transmission
  2303. 2142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2304. 2143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2305. 2144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
  2306. 2145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2307. 2146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2308. 2147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2309. 2148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx)
  2310. 2149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2311. 2150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_NACK);
  2312. 2151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2313. 2152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2314. 2153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2315. 2154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard NACK transmission is enabled
  2316. 2155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2317. 2156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2318. 2157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
  2319. 2158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2320. 2159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2321. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 41
  2322. 2160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2323. 2161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(const USART_TypeDef *USARTx)
  2324. 2162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2325. 2163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_NACK) == (USART_CR3_NACK)) ? 1UL : 0UL);
  2326. 2164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2327. 2165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2328. 2166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2329. 2167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard mode
  2330. 2168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2331. 2169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2332. 2170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_EnableSmartcard
  2333. 2171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2334. 2172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2335. 2173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2336. 2174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcard(USART_TypeDef *USARTx)
  2337. 2175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2338. 2176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
  2339. 2177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2340. 2178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2341. 2179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2342. 2180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard mode
  2343. 2181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2344. 2182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2345. 2183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_DisableSmartcard
  2346. 2184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2347. 2185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2348. 2186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2349. 2187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx)
  2350. 2188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2351. 2189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_SCEN);
  2352. 2190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2353. 2191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2354. 2192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2355. 2193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard mode is enabled
  2356. 2194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2357. 2195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2358. 2196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
  2359. 2197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2360. 2198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2361. 2199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2362. 2200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(const USART_TypeDef *USARTx)
  2363. 2201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2364. 2202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_SCEN) == (USART_CR3_SCEN)) ? 1UL : 0UL);
  2365. 2203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2366. 2204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2367. 2205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2368. 2206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
  2369. 2207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2370. 2208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2371. 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
  2372. 2210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In transmission mode, it specifies the number of automatic retransmission retries, befo
  2373. 2211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * generating a transmission error (FE bit set).
  2374. 2212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In reception mode, it specifies the number or erroneous reception trials, before genera
  2375. 2213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * reception error (RXNE and PE bits set)
  2376. 2214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_SetSmartcardAutoRetryCount
  2377. 2215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2378. 2216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoRetryCount Value between Min_Data=0 and Max_Data=7
  2379. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 42
  2380. 2217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2381. 2218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2382. 2219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardAutoRetryCount(USART_TypeDef *USARTx, uint32_t AutoRetryC
  2383. 2220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2384. 2221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_SCARCNT, AutoRetryCount << USART_CR3_SCARCNT_Pos);
  2385. 2222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2386. 2223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2387. 2224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2388. 2225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
  2389. 2226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2390. 2227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2391. 2228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_GetSmartcardAutoRetryCount
  2392. 2229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2393. 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)
  2394. 2231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2395. 2232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardAutoRetryCount(const USART_TypeDef *USARTx)
  2396. 2233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2397. 2234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_SCARCNT) >> USART_CR3_SCARCNT_Pos);
  2398. 2235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2399. 2236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2400. 2237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2401. 2238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard prescaler value, used for dividing the USART clock
  2402. 2239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
  2403. 2240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2404. 2241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2405. 2242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
  2406. 2243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2407. 2244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0 and Max_Data=31
  2408. 2245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2409. 2246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2410. 2247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  2411. 2248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2412. 2249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
  2413. 2250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2414. 2251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2415. 2252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2416. 2253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard prescaler value, used for dividing the USART clock
  2417. 2254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
  2418. 2255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2419. 2256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2420. 2257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
  2421. 2258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2422. 2259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard prescaler value (Value between Min_Data=0 and Max_Data=31)
  2423. 2260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2424. 2261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(const USART_TypeDef *USARTx)
  2425. 2262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2426. 2263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
  2427. 2264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2428. 2265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2429. 2266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2430. 2267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Guard time value, expressed in nb of baud clocks periods
  2431. 2268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
  2432. 2269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2433. 2270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2434. 2271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
  2435. 2272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2436. 2273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param GuardTime Value between Min_Data=0x00 and Max_Data=0xFF
  2437. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 43
  2438. 2274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2439. 2275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2440. 2276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint32_t GuardTime)
  2441. 2277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2442. 2278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_GT, (uint16_t)(GuardTime << USART_GTPR_GT_Pos));
  2443. 2279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2444. 2280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2445. 2281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2446. 2282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Guard time value, expressed in nb of baud clocks periods
  2447. 2283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
  2448. 2284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2449. 2285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2450. 2286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_GetSmartcardGuardTime
  2451. 2287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2452. 2288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Guard time value (Value between Min_Data=0x00 and Max_Data=0xFF)
  2453. 2289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2454. 2290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(const USART_TypeDef *USARTx)
  2455. 2291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2456. 2292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_GT) >> USART_GTPR_GT_Pos);
  2457. 2293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2458. 2294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2459. 2295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2460. 2296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2461. 2297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2462. 2298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2463. 2299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_HalfDuplex Configuration functions related to Half Duplex f
  2464. 2300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2465. 2301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2466. 2302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2467. 2303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2468. 2304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Single Wire Half-Duplex mode
  2469. 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
  2470. 2306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2471. 2307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_EnableHalfDuplex
  2472. 2308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2473. 2309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2474. 2310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2475. 2311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableHalfDuplex(USART_TypeDef *USARTx)
  2476. 2312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2477. 2313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2478. 2314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2479. 2315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2480. 2316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2481. 2317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Single Wire Half-Duplex mode
  2482. 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
  2483. 2319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2484. 2320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_DisableHalfDuplex
  2485. 2321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2486. 2322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2487. 2323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2488. 2324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx)
  2489. 2325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2490. 2326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2491. 2327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2492. 2328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2493. 2329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2494. 2330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Single Wire Half-Duplex mode is enabled
  2495. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 44
  2496. 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
  2497. 2332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2498. 2333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_IsEnabledHalfDuplex
  2499. 2334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2500. 2335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2501. 2336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2502. 2337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(const USART_TypeDef *USARTx)
  2503. 2338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2504. 2339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)) ? 1UL : 0UL);
  2505. 2340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2506. 2341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2507. 2342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2508. 2343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2509. 2344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2510. 2345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2511. 2346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_SPI_SLAVE Configuration functions related to SPI Slave feat
  2512. 2347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2513. 2348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2514. 2349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2515. 2350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Synchronous Slave mode
  2516. 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
  2517. 2352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2518. 2353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_EnableSPISlave
  2519. 2354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2520. 2355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2521. 2356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2522. 2357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlave(USART_TypeDef *USARTx)
  2523. 2358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2524. 2359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_SLVEN);
  2525. 2360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2526. 2361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2527. 2362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2528. 2363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Synchronous Slave mode
  2529. 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
  2530. 2365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2531. 2366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_DisableSPISlave
  2532. 2367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2533. 2368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2534. 2369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2535. 2370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlave(USART_TypeDef *USARTx)
  2536. 2371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2537. 2372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_SLVEN);
  2538. 2373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2539. 2374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2540. 2375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2541. 2376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Synchronous Slave mode is enabled
  2542. 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
  2543. 2378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2544. 2379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_IsEnabledSPISlave
  2545. 2380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2546. 2381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2547. 2382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2548. 2383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave(const USART_TypeDef *USARTx)
  2549. 2384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2550. 2385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_SLVEN) == (USART_CR2_SLVEN)) ? 1UL : 0UL);
  2551. 2386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2552. 2387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2553. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 45
  2554. 2388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2555. 2389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Slave Selection using NSS input pin
  2556. 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
  2557. 2391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2558. 2392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave Selection depends on NSS input pin
  2559. 2393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (The slave is selected when NSS is low and deselected when NSS is high).
  2560. 2394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_EnableSPISlaveSelect
  2561. 2395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2562. 2396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2563. 2397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2564. 2398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlaveSelect(USART_TypeDef *USARTx)
  2565. 2399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2566. 2400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
  2567. 2401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2568. 2402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2569. 2403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2570. 2404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Slave Selection using NSS input pin
  2571. 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
  2572. 2406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2573. 2407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave will be always selected and NSS input pin will be ignored.
  2574. 2408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_DisableSPISlaveSelect
  2575. 2409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2576. 2410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2577. 2411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2578. 2412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlaveSelect(USART_TypeDef *USARTx)
  2579. 2413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2580. 2414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
  2581. 2415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2582. 2416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2583. 2417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2584. 2418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Slave Selection depends on NSS input pin
  2585. 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
  2586. 2420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2587. 2421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_IsEnabledSPISlaveSelect
  2588. 2422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2589. 2423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2590. 2424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2591. 2425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect(const USART_TypeDef *USARTx)
  2592. 2426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2593. 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);
  2594. 2428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2595. 2429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2596. 2430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2597. 2431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2598. 2432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2599. 2433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2600. 2434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_LIN Configuration functions related to LIN feature
  2601. 2435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2602. 2436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2603. 2437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2604. 2438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2605. 2439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set LIN Break Detection Length
  2606. 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
  2607. 2441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2608. 2442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
  2609. 2443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2610. 2444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LINBDLength This parameter can be one of the following values:
  2611. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 46
  2612. 2445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
  2613. 2446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
  2614. 2447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2615. 2448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2616. 2449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint32_t LINBDLength)
  2617. 2450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2618. 2451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBDL, LINBDLength);
  2619. 2452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2620. 2453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2621. 2454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2622. 2455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return LIN Break Detection Length
  2623. 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
  2624. 2457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2625. 2458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
  2626. 2459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2627. 2460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2628. 2461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
  2629. 2462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
  2630. 2463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2631. 2464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(const USART_TypeDef *USARTx)
  2632. 2465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2633. 2466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBDL));
  2634. 2467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2635. 2468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2636. 2469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2637. 2470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN mode
  2638. 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
  2639. 2472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2640. 2473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_EnableLIN
  2641. 2474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2642. 2475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2643. 2476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2644. 2477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableLIN(USART_TypeDef *USARTx)
  2645. 2478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2646. 2479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
  2647. 2480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2648. 2481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2649. 2482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2650. 2483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN mode
  2651. 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
  2652. 2485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2653. 2486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_DisableLIN
  2654. 2487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2655. 2488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2656. 2489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2657. 2490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx)
  2658. 2491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2659. 2492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LINEN);
  2660. 2493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2661. 2494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2662. 2495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2663. 2496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if LIN mode is enabled
  2664. 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
  2665. 2498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2666. 2499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
  2667. 2500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2668. 2501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2669. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 47
  2670. 2502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2671. 2503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(const USART_TypeDef *USARTx)
  2672. 2504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2673. 2505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LINEN) == (USART_CR2_LINEN)) ? 1UL : 0UL);
  2674. 2506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2675. 2507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2676. 2508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2677. 2509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2678. 2510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2679. 2511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2680. 2512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_DE Configuration functions related to Driver Enable feature
  2681. 2513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2682. 2514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2683. 2515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2684. 2516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2685. 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)
  2686. 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
  2687. 2519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2688. 2520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_SetDEDeassertionTime
  2689. 2521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2690. 2522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
  2691. 2523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2692. 2524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2693. 2525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEDeassertionTime(USART_TypeDef *USARTx, uint32_t Time)
  2694. 2526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2695. 2527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos);
  2696. 2528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2697. 2529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2698. 2530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2699. 2531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEDT (Driver Enable De-Assertion Time)
  2700. 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
  2701. 2533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2702. 2534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_GetDEDeassertionTime
  2703. 2535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2704. 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
  2705. 2537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2706. 2538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime(const USART_TypeDef *USARTx)
  2707. 2539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2708. 2540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEDT) >> USART_CR1_DEDT_Pos);
  2709. 2541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2710. 2542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2711. 2543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2712. 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).
  2713. 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
  2714. 2546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2715. 2547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_SetDEAssertionTime
  2716. 2548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2717. 2549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
  2718. 2550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2719. 2551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2720. 2552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEAssertionTime(USART_TypeDef *USARTx, uint32_t Time)
  2721. 2553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2722. 2554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
  2723. 2555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2724. 2556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2725. 2557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2726. 2558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEAT (Driver Enable Assertion Time)
  2727. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 48
  2728. 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
  2729. 2560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2730. 2561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_GetDEAssertionTime
  2731. 2562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2732. 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
  2733. 2564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2734. 2565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime(const USART_TypeDef *USARTx)
  2735. 2566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2736. 2567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEAT) >> USART_CR1_DEAT_Pos);
  2737. 2568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2738. 2569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2739. 2570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2740. 2571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Driver Enable (DE) Mode
  2741. 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
  2742. 2573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2743. 2574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_EnableDEMode
  2744. 2575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2745. 2576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2746. 2577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2747. 2578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDEMode(USART_TypeDef *USARTx)
  2748. 2579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2749. 2580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DEM);
  2750. 2581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2751. 2582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2752. 2583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2753. 2584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Driver Enable (DE) Mode
  2754. 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
  2755. 2586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2756. 2587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_DisableDEMode
  2757. 2588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2758. 2589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2759. 2590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2760. 2591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDEMode(USART_TypeDef *USARTx)
  2761. 2592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2762. 2593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DEM);
  2763. 2594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2764. 2595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2765. 2596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2766. 2597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Driver Enable (DE) Mode is enabled
  2767. 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
  2768. 2599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2769. 2600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_IsEnabledDEMode
  2770. 2601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2771. 2602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2772. 2603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2773. 2604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode(const USART_TypeDef *USARTx)
  2774. 2605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2775. 2606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DEM) == (USART_CR3_DEM)) ? 1UL : 0UL);
  2776. 2607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2777. 2608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2778. 2609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2779. 2610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select Driver Enable Polarity
  2780. 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
  2781. 2612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2782. 2613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_SetDESignalPolarity
  2783. 2614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2784. 2615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
  2785. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 49
  2786. 2616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
  2787. 2617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
  2788. 2618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2789. 2619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2790. 2620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDESignalPolarity(USART_TypeDef *USARTx, uint32_t Polarity)
  2791. 2621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2792. 2622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_DEP, Polarity);
  2793. 2623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2794. 2624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2795. 2625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2796. 2626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Driver Enable Polarity
  2797. 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
  2798. 2628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2799. 2629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_GetDESignalPolarity
  2800. 2630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2801. 2631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2802. 2632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
  2803. 2633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
  2804. 2634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2805. 2635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity(const USART_TypeDef *USARTx)
  2806. 2636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2807. 2637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_DEP));
  2808. 2638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2809. 2639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2810. 2640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2811. 2641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2812. 2642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2813. 2643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2814. 2644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_AdvancedConfiguration Advanced Configurations services
  2815. 2645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2816. 2646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2817. 2647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2818. 2648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2819. 2649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Asynchronous Mode (UART)
  2820. 2650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In UART mode, the following bits must be kept cleared:
  2821. 2651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2822. 2652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2823. 2653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2824. 2654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2825. 2655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2826. 2656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2827. 2657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2828. 2658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2829. 2659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2830. 2660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2831. 2661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2832. 2662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Asynchronous Mode
  2833. 2663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2834. 2664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2835. 2665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigAsyncMode\n
  2836. 2666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigAsyncMode\n
  2837. 2667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigAsyncMode\n
  2838. 2668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigAsyncMode\n
  2839. 2669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigAsyncMode
  2840. 2670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2841. 2671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2842. 2672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2843. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 50
  2844. 2673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigAsyncMode(USART_TypeDef *USARTx)
  2845. 2674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2846. 2675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Asynchronous mode, the following bits must be kept cleared:
  2847. 2676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, CLKEN bits in the USART_CR2 register,
  2848. 2677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
  2849. 2678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2850. 2679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  2851. 2680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
  2852. 2681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2853. 2682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2854. 2683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2855. 2684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Synchronous Mode
  2856. 2685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Synchronous mode, the following bits must be kept cleared:
  2857. 2686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2858. 2687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2859. 2688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2860. 2689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2861. 2690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the USART in Synchronous mode.
  2862. 2691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  2863. 2692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  2864. 2693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2865. 2694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2866. 2695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2867. 2696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2868. 2697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2869. 2698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
  2870. 2699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Synchronous Mode
  2871. 2700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, Clock Polarity, ...) should be set using
  2872. 2701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2873. 2702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSyncMode\n
  2874. 2703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSyncMode\n
  2875. 2704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSyncMode\n
  2876. 2705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigSyncMode\n
  2877. 2706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSyncMode
  2878. 2707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2879. 2708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2880. 2709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2881. 2710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSyncMode(USART_TypeDef *USARTx)
  2882. 2711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2883. 2712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Synchronous mode, the following bits must be kept cleared:
  2884. 2713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
  2885. 2714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
  2886. 2715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2887. 2716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
  2888. 2717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
  2889. 2718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Synchronous mode */
  2890. 2719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
  2891. 2720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2892. 2721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2893. 2722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2894. 2723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in LIN Mode
  2895. 2724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In LIN mode, the following bits must be kept cleared:
  2896. 2725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
  2897. 2726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2898. 2727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2899. 2728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2900. 2729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also set the UART/USART in LIN mode.
  2901. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 51
  2902. 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
  2903. 2731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2904. 2732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2905. 2733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2906. 2734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2907. 2735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2908. 2736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2909. 2737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2910. 2738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set LINEN in CR2 using @ref LL_USART_EnableLIN() function
  2911. 2739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to LIN Mode
  2912. 2740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, LIN Break Detection Length, ...) should be set using
  2913. 2741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2914. 2742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_ConfigLINMode\n
  2915. 2743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigLINMode\n
  2916. 2744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LINEN LL_USART_ConfigLINMode\n
  2917. 2745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigLINMode\n
  2918. 2746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigLINMode\n
  2919. 2747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigLINMode
  2920. 2748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2921. 2749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2922. 2750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2923. 2751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigLINMode(USART_TypeDef *USARTx)
  2924. 2752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2925. 2753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In LIN mode, the following bits must be kept cleared:
  2926. 2754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - STOP and CLKEN bits in the USART_CR2 register,
  2927. 2755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
  2928. 2756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2929. 2757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_CLKEN | USART_CR2_STOP));
  2930. 2758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_SCEN | USART_CR3_HDSEL));
  2931. 2759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Set the UART/USART in LIN mode */
  2932. 2760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
  2933. 2761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2934. 2762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2935. 2763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2936. 2764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Half Duplex Mode
  2937. 2765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Half Duplex mode, the following bits must be kept cleared:
  2938. 2766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2939. 2767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2940. 2768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2941. 2769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2942. 2770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in Half Duplex mode.
  2943. 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
  2944. 2772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2945. 2773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2946. 2774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2947. 2775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2948. 2776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2949. 2777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2950. 2778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set HDSEL in CR3 using @ref LL_USART_EnableHalfDuplex() function
  2951. 2779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Half Duplex Mode
  2952. 2780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2953. 2781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2954. 2782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigHalfDuplexMode\n
  2955. 2783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigHalfDuplexMode\n
  2956. 2784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigHalfDuplexMode\n
  2957. 2785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigHalfDuplexMode\n
  2958. 2786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigHalfDuplexMode
  2959. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 52
  2960. 2787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2961. 2788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2962. 2789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2963. 2790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigHalfDuplexMode(USART_TypeDef *USARTx)
  2964. 2791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2965. 2792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Half Duplex mode, the following bits must be kept cleared:
  2966. 2793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
  2967. 2794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and IREN bits in the USART_CR3 register.
  2968. 2795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2969. 2796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  2970. 2797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN));
  2971. 2798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Half Duplex mode */
  2972. 2799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2973. 2800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2974. 2801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2975. 2802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2976. 2803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Smartcard Mode
  2977. 2804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Smartcard mode, the following bits must be kept cleared:
  2978. 2805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2979. 2806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2980. 2807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2981. 2808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also configures Stop bits to 1.5 bits and
  2982. 2809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * sets the USART in Smartcard mode (SCEN bit).
  2983. 2810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Clock Output is also enabled (CLKEN).
  2984. 2811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2985. 2812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2986. 2813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2987. 2814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2988. 2815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2989. 2816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2990. 2817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2991. 2818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
  2992. 2819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set SCEN in CR3 using @ref LL_USART_EnableSmartcard() function
  2993. 2820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Smartcard Mode
  2994. 2821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2995. 2822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2996. 2823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSmartcardMode\n
  2997. 2824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigSmartcardMode\n
  2998. 2825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSmartcardMode\n
  2999. 2826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSmartcardMode\n
  3000. 2827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSmartcardMode
  3001. 2828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3002. 2829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3003. 2830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3004. 2831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSmartcardMode(USART_TypeDef *USARTx)
  3005. 2832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3006. 2833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Smartcard mode, the following bits must be kept cleared:
  3007. 2834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
  3008. 2835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN and HDSEL bits in the USART_CR3 register.
  3009. 2836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3010. 2837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
  3011. 2838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_HDSEL));
  3012. 2839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Configure Stop bits to 1.5 bits */
  3013. 2840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Synchronous mode is activated by default */
  3014. 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));
  3015. 2842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Smartcard mode */
  3016. 2843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
  3017. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 53
  3018. 2844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3019. 2845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3020. 2846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3021. 2847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Irda Mode
  3022. 2848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In IRDA mode, the following bits must be kept cleared:
  3023. 2849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  3024. 2850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
  3025. 2851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  3026. 2852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  3027. 2853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in IRDA mode (IREN bit).
  3028. 2854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  3029. 2855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  3030. 2856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  3031. 2857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  3032. 2858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  3033. 2859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  3034. 2860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  3035. 2861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  3036. 2862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set IREN in CR3 using @ref LL_USART_EnableIrda() function
  3037. 2863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Irda Mode
  3038. 2864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Power mode, ...) should be set using
  3039. 2865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  3040. 2866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigIrdaMode\n
  3041. 2867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigIrdaMode\n
  3042. 2868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigIrdaMode\n
  3043. 2869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigIrdaMode\n
  3044. 2870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigIrdaMode\n
  3045. 2871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigIrdaMode
  3046. 2872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3047. 2873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3048. 2874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3049. 2875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigIrdaMode(USART_TypeDef *USARTx)
  3050. 2876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3051. 2877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In IRDA mode, the following bits must be kept cleared:
  3052. 2878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, STOP and CLKEN bits in the USART_CR2 register,
  3053. 2879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and HDSEL bits in the USART_CR3 register.
  3054. 2880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3055. 2881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP));
  3056. 2882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL));
  3057. 2883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in IRDA mode */
  3058. 2884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
  3059. 2885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3060. 2886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3061. 2887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3062. 2888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Multi processor Mode
  3063. 2889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (several USARTs connected in a network, one of the USARTs can be the master,
  3064. 2890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * its TX output connected to the RX inputs of the other slaves USARTs).
  3065. 2891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In MultiProcessor mode, the following bits must be kept cleared:
  3066. 2892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  3067. 2893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  3068. 2894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  3069. 2895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  3070. 2896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  3071. 2897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  3072. 2898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  3073. 2899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  3074. 2900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  3075. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 54
  3076. 2901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  3077. 2902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  3078. 2903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Multi processor Mode
  3079. 2904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Wake Up Method, Node address, ...) should be set using
  3080. 2905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  3081. 2906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigMultiProcessMode\n
  3082. 2907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigMultiProcessMode\n
  3083. 2908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigMultiProcessMode\n
  3084. 2909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigMultiProcessMode\n
  3085. 2910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigMultiProcessMode
  3086. 2911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3087. 2912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3088. 2913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3089. 2914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigMultiProcessMode(USART_TypeDef *USARTx)
  3090. 2915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3091. 2916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Multi Processor mode, the following bits must be kept cleared:
  3092. 2917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
  3093. 2918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
  3094. 2919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3095. 2920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  3096. 2921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
  3097. 2922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3098. 2923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3099. 2924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3100. 2925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  3101. 2926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3102. 2927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3103. 2928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_FLAG_Management FLAG_Management
  3104. 2929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  3105. 2930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3106. 2931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3107. 2932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3108. 2933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Flag is set or not
  3109. 2934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR PE LL_USART_IsActiveFlag_PE
  3110. 2935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3111. 2936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3112. 2937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3113. 2938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(const USART_TypeDef *USARTx)
  3114. 2939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3115. 2940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_PE) == (USART_ISR_PE)) ? 1UL : 0UL);
  3116. 2941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3117. 2942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3118. 2943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3119. 2944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Framing Error Flag is set or not
  3120. 2945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR FE LL_USART_IsActiveFlag_FE
  3121. 2946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3122. 2947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3123. 2948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3124. 2949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(const USART_TypeDef *USARTx)
  3125. 2950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3126. 2951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_FE) == (USART_ISR_FE)) ? 1UL : 0UL);
  3127. 2952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3128. 2953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3129. 2954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3130. 2955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Noise error detected Flag is set or not
  3131. 2956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR NE LL_USART_IsActiveFlag_NE
  3132. 2957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3133. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 55
  3134. 2958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3135. 2959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3136. 2960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(const USART_TypeDef *USARTx)
  3137. 2961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3138. 2962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_NE) == (USART_ISR_NE)) ? 1UL : 0UL);
  3139. 2963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3140. 2964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3141. 2965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3142. 2966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART OverRun Error Flag is set or not
  3143. 2967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ORE LL_USART_IsActiveFlag_ORE
  3144. 2968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3145. 2969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3146. 2970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3147. 2971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(const USART_TypeDef *USARTx)
  3148. 2972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3149. 130 .loc 1 2972 1
  3150. 131 .cfi_startproc
  3151. 132 @ args = 0, pretend = 0, frame = 8
  3152. 133 @ frame_needed = 1, uses_anonymous_args = 0
  3153. 134 0000 80B5 push {r7, lr}
  3154. 135 .LCFI6:
  3155. 136 .cfi_def_cfa_offset 8
  3156. 137 .cfi_offset 7, -8
  3157. 138 .cfi_offset 14, -4
  3158. 139 0002 82B0 sub sp, sp, #8
  3159. 140 .LCFI7:
  3160. 141 .cfi_def_cfa_offset 16
  3161. 142 0004 00AF add r7, sp, #0
  3162. 143 .LCFI8:
  3163. 144 .cfi_def_cfa_register 7
  3164. 145 0006 7860 str r0, [r7, #4]
  3165. 2973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ORE) == (USART_ISR_ORE)) ? 1UL : 0UL);
  3166. 146 .loc 1 2973 12
  3167. 147 0008 7B68 ldr r3, [r7, #4]
  3168. 148 000a DB69 ldr r3, [r3, #28]
  3169. 149 000c 0822 movs r2, #8
  3170. 150 000e 1340 ands r3, r2
  3171. 151 .loc 1 2973 75
  3172. 152 0010 082B cmp r3, #8
  3173. 153 0012 01D1 bne .L4
  3174. 154 .loc 1 2973 75 is_stmt 0 discriminator 1
  3175. 155 0014 0123 movs r3, #1
  3176. 156 0016 00E0 b .L6
  3177. 157 .L4:
  3178. 158 .loc 1 2973 75 discriminator 2
  3179. 159 0018 0023 movs r3, #0
  3180. 160 .L6:
  3181. 2974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3182. 161 .loc 1 2974 1 is_stmt 1 discriminator 5
  3183. 162 001a 1800 movs r0, r3
  3184. 163 001c BD46 mov sp, r7
  3185. 164 001e 02B0 add sp, sp, #8
  3186. 165 @ sp needed
  3187. 166 0020 80BD pop {r7, pc}
  3188. 167 .cfi_endproc
  3189. 168 .LFE579:
  3190. 170 .section .text.LL_USART_IsActiveFlag_RXNE_RXFNE,"ax",%progbits
  3191. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 56
  3192. 171 .align 1
  3193. 172 .syntax unified
  3194. 173 .code 16
  3195. 174 .thumb_func
  3196. 176 LL_USART_IsActiveFlag_RXNE_RXFNE:
  3197. 177 .LFB581:
  3198. 2975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3199. 2976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3200. 2977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE line detected Flag is set or not
  3201. 2978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR IDLE LL_USART_IsActiveFlag_IDLE
  3202. 2979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3203. 2980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3204. 2981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3205. 2982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(const USART_TypeDef *USARTx)
  3206. 2983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3207. 2984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_IDLE) == (USART_ISR_IDLE)) ? 1UL : 0UL);
  3208. 2985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3209. 2986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3210. 2987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_RXNE LL_USART_IsActiveFlag_RXNE_RXFNE /* Redefinition for legacy pur
  3211. 2988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3212. 2989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3213. 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
  3214. 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
  3215. 2992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3216. 2993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXNE_RXFNE LL_USART_IsActiveFlag_RXNE_RXFNE
  3217. 2994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3218. 2995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3219. 2996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3220. 2997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE_RXFNE(const USART_TypeDef *USARTx)
  3221. 2998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3222. 178 .loc 1 2998 1
  3223. 179 .cfi_startproc
  3224. 180 @ args = 0, pretend = 0, frame = 8
  3225. 181 @ frame_needed = 1, uses_anonymous_args = 0
  3226. 182 0000 80B5 push {r7, lr}
  3227. 183 .LCFI9:
  3228. 184 .cfi_def_cfa_offset 8
  3229. 185 .cfi_offset 7, -8
  3230. 186 .cfi_offset 14, -4
  3231. 187 0002 82B0 sub sp, sp, #8
  3232. 188 .LCFI10:
  3233. 189 .cfi_def_cfa_offset 16
  3234. 190 0004 00AF add r7, sp, #0
  3235. 191 .LCFI11:
  3236. 192 .cfi_def_cfa_register 7
  3237. 193 0006 7860 str r0, [r7, #4]
  3238. 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);
  3239. 194 .loc 1 2999 12
  3240. 195 0008 7B68 ldr r3, [r7, #4]
  3241. 196 000a DB69 ldr r3, [r3, #28]
  3242. 197 000c 2022 movs r2, #32
  3243. 198 000e 1340 ands r3, r2
  3244. 199 .loc 1 2999 89
  3245. 200 0010 202B cmp r3, #32
  3246. 201 0012 01D1 bne .L8
  3247. 202 .loc 1 2999 89 is_stmt 0 discriminator 1
  3248. 203 0014 0123 movs r3, #1
  3249. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 57
  3250. 204 0016 00E0 b .L10
  3251. 205 .L8:
  3252. 206 .loc 1 2999 89 discriminator 2
  3253. 207 0018 0023 movs r3, #0
  3254. 208 .L10:
  3255. 3000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3256. 209 .loc 1 3000 1 is_stmt 1 discriminator 5
  3257. 210 001a 1800 movs r0, r3
  3258. 211 001c BD46 mov sp, r7
  3259. 212 001e 02B0 add sp, sp, #8
  3260. 213 @ sp needed
  3261. 214 0020 80BD pop {r7, pc}
  3262. 215 .cfi_endproc
  3263. 216 .LFE581:
  3264. 218 .section .text.LL_USART_IsActiveFlag_TC,"ax",%progbits
  3265. 219 .align 1
  3266. 220 .syntax unified
  3267. 221 .code 16
  3268. 222 .thumb_func
  3269. 224 LL_USART_IsActiveFlag_TC:
  3270. 225 .LFB582:
  3271. 3001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3272. 3002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3273. 3003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Flag is set or not
  3274. 3004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TC LL_USART_IsActiveFlag_TC
  3275. 3005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3276. 3006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3277. 3007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3278. 3008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(const USART_TypeDef *USARTx)
  3279. 3009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3280. 226 .loc 1 3009 1
  3281. 227 .cfi_startproc
  3282. 228 @ args = 0, pretend = 0, frame = 8
  3283. 229 @ frame_needed = 1, uses_anonymous_args = 0
  3284. 230 0000 80B5 push {r7, lr}
  3285. 231 .LCFI12:
  3286. 232 .cfi_def_cfa_offset 8
  3287. 233 .cfi_offset 7, -8
  3288. 234 .cfi_offset 14, -4
  3289. 235 0002 82B0 sub sp, sp, #8
  3290. 236 .LCFI13:
  3291. 237 .cfi_def_cfa_offset 16
  3292. 238 0004 00AF add r7, sp, #0
  3293. 239 .LCFI14:
  3294. 240 .cfi_def_cfa_register 7
  3295. 241 0006 7860 str r0, [r7, #4]
  3296. 3010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TC) == (USART_ISR_TC)) ? 1UL : 0UL);
  3297. 242 .loc 1 3010 12
  3298. 243 0008 7B68 ldr r3, [r7, #4]
  3299. 244 000a DB69 ldr r3, [r3, #28]
  3300. 245 000c 4022 movs r2, #64
  3301. 246 000e 1340 ands r3, r2
  3302. 247 .loc 1 3010 73
  3303. 248 0010 402B cmp r3, #64
  3304. 249 0012 01D1 bne .L12
  3305. 250 .loc 1 3010 73 is_stmt 0 discriminator 1
  3306. 251 0014 0123 movs r3, #1
  3307. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 58
  3308. 252 0016 00E0 b .L14
  3309. 253 .L12:
  3310. 254 .loc 1 3010 73 discriminator 2
  3311. 255 0018 0023 movs r3, #0
  3312. 256 .L14:
  3313. 3011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3314. 257 .loc 1 3011 1 is_stmt 1 discriminator 5
  3315. 258 001a 1800 movs r0, r3
  3316. 259 001c BD46 mov sp, r7
  3317. 260 001e 02B0 add sp, sp, #8
  3318. 261 @ sp needed
  3319. 262 0020 80BD pop {r7, pc}
  3320. 263 .cfi_endproc
  3321. 264 .LFE582:
  3322. 266 .section .text.LL_USART_ClearFlag_ORE,"ax",%progbits
  3323. 267 .align 1
  3324. 268 .syntax unified
  3325. 269 .code 16
  3326. 270 .thumb_func
  3327. 272 LL_USART_ClearFlag_ORE:
  3328. 273 .LFB607:
  3329. 3012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3330. 3013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_TXE LL_USART_IsActiveFlag_TXE_TXFNF /* Redefinition for legacy purpo
  3331. 3014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3332. 3015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3333. 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
  3334. 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
  3335. 3018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3336. 3019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXE_TXFNF LL_USART_IsActiveFlag_TXE_TXFNF
  3337. 3020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3338. 3021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3339. 3022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3340. 3023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE_TXFNF(const USART_TypeDef *USARTx)
  3341. 3024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3342. 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);
  3343. 3026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3344. 3027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3345. 3028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3346. 3029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Flag is set or not
  3347. 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
  3348. 3031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3349. 3032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR LBDF LL_USART_IsActiveFlag_LBD
  3350. 3033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3351. 3034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3352. 3035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3353. 3036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(const USART_TypeDef *USARTx)
  3354. 3037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3355. 3038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_LBDF) == (USART_ISR_LBDF)) ? 1UL : 0UL);
  3356. 3039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3357. 3040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3358. 3041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3359. 3042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS interrupt Flag is set or not
  3360. 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
  3361. 3044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3362. 3045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTSIF LL_USART_IsActiveFlag_nCTS
  3363. 3046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3364. 3047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3365. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 59
  3366. 3048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3367. 3049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(const USART_TypeDef *USARTx)
  3368. 3050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3369. 3051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTSIF) == (USART_ISR_CTSIF)) ? 1UL : 0UL);
  3370. 3052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3371. 3053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3372. 3054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3373. 3055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Flag is set or not
  3374. 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
  3375. 3057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3376. 3058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTS LL_USART_IsActiveFlag_CTS
  3377. 3059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3378. 3060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3379. 3061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3380. 3062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CTS(const USART_TypeDef *USARTx)
  3381. 3063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3382. 3064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTS) == (USART_ISR_CTS)) ? 1UL : 0UL);
  3383. 3065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3384. 3066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3385. 3067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3386. 3068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Time Out Flag is set or not
  3387. 3069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RTOF LL_USART_IsActiveFlag_RTO
  3388. 3070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3389. 3071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3390. 3072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3391. 3073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RTO(const USART_TypeDef *USARTx)
  3392. 3074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3393. 3075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RTOF) == (USART_ISR_RTOF)) ? 1UL : 0UL);
  3394. 3076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3395. 3077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3396. 3078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3397. 3079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Flag is set or not
  3398. 3080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3399. 3081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3400. 3082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR EOBF LL_USART_IsActiveFlag_EOB
  3401. 3083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3402. 3084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3403. 3085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3404. 3086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_EOB(const USART_TypeDef *USARTx)
  3405. 3087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3406. 3088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_EOBF) == (USART_ISR_EOBF)) ? 1UL : 0UL);
  3407. 3089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3408. 3090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3409. 3091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3410. 3092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the SPI Slave Underrun error flag is set or not
  3411. 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
  3412. 3094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  3413. 3095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR UDR LL_USART_IsActiveFlag_UDR
  3414. 3096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3415. 3097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3416. 3098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3417. 3099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_UDR(const USART_TypeDef *USARTx)
  3418. 3100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3419. 3101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_UDR) == (USART_ISR_UDR)) ? 1UL : 0UL);
  3420. 3102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3421. 3103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3422. 3104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3423. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 60
  3424. 3105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Error Flag is set or not
  3425. 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
  3426. 3107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  3427. 3108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRE LL_USART_IsActiveFlag_ABRE
  3428. 3109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3429. 3110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3430. 3111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3431. 3112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABRE(const USART_TypeDef *USARTx)
  3432. 3113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3433. 3114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRE) == (USART_ISR_ABRE)) ? 1UL : 0UL);
  3434. 3115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3435. 3116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3436. 3117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3437. 3118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Flag is set or not
  3438. 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
  3439. 3120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  3440. 3121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRF LL_USART_IsActiveFlag_ABR
  3441. 3122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3442. 3123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3443. 3124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3444. 3125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABR(const USART_TypeDef *USARTx)
  3445. 3126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3446. 3127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRF) == (USART_ISR_ABRF)) ? 1UL : 0UL);
  3447. 3128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3448. 3129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3449. 3130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3450. 3131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Busy Flag is set or not
  3451. 3132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR BUSY LL_USART_IsActiveFlag_BUSY
  3452. 3133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3453. 3134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3454. 3135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3455. 3136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_BUSY(const USART_TypeDef *USARTx)
  3456. 3137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3457. 3138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_BUSY) == (USART_ISR_BUSY)) ? 1UL : 0UL);
  3458. 3139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3459. 3140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3460. 3141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3461. 3142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Flag is set or not
  3462. 3143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CMF LL_USART_IsActiveFlag_CM
  3463. 3144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3464. 3145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3465. 3146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3466. 3147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CM(const USART_TypeDef *USARTx)
  3467. 3148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3468. 3149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CMF) == (USART_ISR_CMF)) ? 1UL : 0UL);
  3469. 3150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3470. 3151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3471. 3152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3472. 3153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Send Break Flag is set or not
  3473. 3154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR SBKF LL_USART_IsActiveFlag_SBK
  3474. 3155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3475. 3156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3476. 3157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3477. 3158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(const USART_TypeDef *USARTx)
  3478. 3159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3479. 3160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_SBKF) == (USART_ISR_SBKF)) ? 1UL : 0UL);
  3480. 3161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3481. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 61
  3482. 3162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3483. 3163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3484. 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
  3485. 3165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RWU LL_USART_IsActiveFlag_RWU
  3486. 3166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3487. 3167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3488. 3168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3489. 3169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(const USART_TypeDef *USARTx)
  3490. 3170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3491. 3171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RWU) == (USART_ISR_RWU)) ? 1UL : 0UL);
  3492. 3172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3493. 3173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3494. 3174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3495. 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
  3496. 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
  3497. 3177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3498. 3178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR WUF LL_USART_IsActiveFlag_WKUP
  3499. 3179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3500. 3180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3501. 3181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3502. 3182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_WKUP(const USART_TypeDef *USARTx)
  3503. 3183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3504. 3184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_WUF) == (USART_ISR_WUF)) ? 1UL : 0UL);
  3505. 3185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3506. 3186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3507. 3187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3508. 3188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Enable Acknowledge Flag is set or not
  3509. 3189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TEACK LL_USART_IsActiveFlag_TEACK
  3510. 3190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3511. 3191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3512. 3192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3513. 3193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TEACK(const USART_TypeDef *USARTx)
  3514. 3194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3515. 3195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TEACK) == (USART_ISR_TEACK)) ? 1UL : 0UL);
  3516. 3196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3517. 3197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3518. 3198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3519. 3199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Enable Acknowledge Flag is set or not
  3520. 3200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR REACK LL_USART_IsActiveFlag_REACK
  3521. 3201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3522. 3202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3523. 3203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3524. 3204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_REACK(const USART_TypeDef *USARTx)
  3525. 3205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3526. 3206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_REACK) == (USART_ISR_REACK)) ? 1UL : 0UL);
  3527. 3207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3528. 3208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3529. 3209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3530. 3210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Flag is set or not
  3531. 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
  3532. 3212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3533. 3213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFE LL_USART_IsActiveFlag_TXFE
  3534. 3214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3535. 3215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3536. 3216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3537. 3217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFE(const USART_TypeDef *USARTx)
  3538. 3218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3539. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 62
  3540. 3219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFE) == (USART_ISR_TXFE)) ? 1UL : 0UL);
  3541. 3220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3542. 3221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3543. 3222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3544. 3223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Flag is set or not
  3545. 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
  3546. 3225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3547. 3226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFF LL_USART_IsActiveFlag_RXFF
  3548. 3227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3549. 3228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3550. 3229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3551. 3230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFF(const USART_TypeDef *USARTx)
  3552. 3231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3553. 3232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFF) == (USART_ISR_RXFF)) ? 1UL : 0UL);
  3554. 3233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3555. 3234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3556. 3235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3557. 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
  3558. 3237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TCBGT LL_USART_IsActiveFlag_TCBGT
  3559. 3238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3560. 3239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3561. 3240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3562. 3241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TCBGT(const USART_TypeDef *USARTx)
  3563. 3242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3564. 3243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TCBGT) == (USART_ISR_TCBGT)) ? 1UL : 0UL);
  3565. 3244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3566. 3245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3567. 3246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3568. 3247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Threshold Flag is set or not
  3569. 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
  3570. 3249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3571. 3250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFT LL_USART_IsActiveFlag_TXFT
  3572. 3251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3573. 3252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3574. 3253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3575. 3254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFT(const USART_TypeDef *USARTx)
  3576. 3255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3577. 3256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFT) == (USART_ISR_TXFT)) ? 1UL : 0UL);
  3578. 3257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3579. 3258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3580. 3259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3581. 3260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Threshold Flag is set or not
  3582. 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
  3583. 3262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3584. 3263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFT LL_USART_IsActiveFlag_RXFT
  3585. 3264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3586. 3265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3587. 3266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3588. 3267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFT(const USART_TypeDef *USARTx)
  3589. 3268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3590. 3269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFT) == (USART_ISR_RXFT)) ? 1UL : 0UL);
  3591. 3270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3592. 3271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3593. 3272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3594. 3273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Parity Error Flag
  3595. 3274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR PECF LL_USART_ClearFlag_PE
  3596. 3275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3597. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 63
  3598. 3276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3599. 3277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3600. 3278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_PE(USART_TypeDef *USARTx)
  3601. 3279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3602. 3280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_PECF);
  3603. 3281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3604. 3282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3605. 3283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3606. 3284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Framing Error Flag
  3607. 3285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR FECF LL_USART_ClearFlag_FE
  3608. 3286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3609. 3287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3610. 3288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3611. 3289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_FE(USART_TypeDef *USARTx)
  3612. 3290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3613. 3291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_FECF);
  3614. 3292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3615. 3293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3616. 3294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3617. 3295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Noise Error detected Flag
  3618. 3296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR NECF LL_USART_ClearFlag_NE
  3619. 3297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3620. 3298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3621. 3299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3622. 3300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_NE(USART_TypeDef *USARTx)
  3623. 3301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3624. 3302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_NECF);
  3625. 3303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3626. 3304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3627. 3305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3628. 3306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear OverRun Error Flag
  3629. 3307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR ORECF LL_USART_ClearFlag_ORE
  3630. 3308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3631. 3309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3632. 3310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3633. 3311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_ORE(USART_TypeDef *USARTx)
  3634. 3312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3635. 274 .loc 1 3312 1
  3636. 275 .cfi_startproc
  3637. 276 @ args = 0, pretend = 0, frame = 8
  3638. 277 @ frame_needed = 1, uses_anonymous_args = 0
  3639. 278 0000 80B5 push {r7, lr}
  3640. 279 .LCFI15:
  3641. 280 .cfi_def_cfa_offset 8
  3642. 281 .cfi_offset 7, -8
  3643. 282 .cfi_offset 14, -4
  3644. 283 0002 82B0 sub sp, sp, #8
  3645. 284 .LCFI16:
  3646. 285 .cfi_def_cfa_offset 16
  3647. 286 0004 00AF add r7, sp, #0
  3648. 287 .LCFI17:
  3649. 288 .cfi_def_cfa_register 7
  3650. 289 0006 7860 str r0, [r7, #4]
  3651. 3313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_ORECF);
  3652. 290 .loc 1 3313 3
  3653. 291 0008 7B68 ldr r3, [r7, #4]
  3654. 292 000a 0822 movs r2, #8
  3655. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 64
  3656. 293 000c 1A62 str r2, [r3, #32]
  3657. 3314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3658. 294 .loc 1 3314 1
  3659. 295 000e C046 nop
  3660. 296 0010 BD46 mov sp, r7
  3661. 297 0012 02B0 add sp, sp, #8
  3662. 298 @ sp needed
  3663. 299 0014 80BD pop {r7, pc}
  3664. 300 .cfi_endproc
  3665. 301 .LFE607:
  3666. 303 .section .text.LL_USART_ClearFlag_TC,"ax",%progbits
  3667. 304 .align 1
  3668. 305 .syntax unified
  3669. 306 .code 16
  3670. 307 .thumb_func
  3671. 309 LL_USART_ClearFlag_TC:
  3672. 310 .LFB610:
  3673. 3315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3674. 3316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3675. 3317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear IDLE line detected Flag
  3676. 3318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR IDLECF LL_USART_ClearFlag_IDLE
  3677. 3319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3678. 3320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3679. 3321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3680. 3322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_IDLE(USART_TypeDef *USARTx)
  3681. 3323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3682. 3324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_IDLECF);
  3683. 3325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3684. 3326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3685. 3327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3686. 3328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear TX FIFO Empty Flag
  3687. 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
  3688. 3330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3689. 3331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TXFECF LL_USART_ClearFlag_TXFE
  3690. 3332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3691. 3333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3692. 3334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3693. 3335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TXFE(USART_TypeDef *USARTx)
  3694. 3336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3695. 3337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TXFECF);
  3696. 3338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3697. 3339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3698. 3340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3699. 3341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Transmission Complete Flag
  3700. 3342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCCF LL_USART_ClearFlag_TC
  3701. 3343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3702. 3344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3703. 3345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3704. 3346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TC(USART_TypeDef *USARTx)
  3705. 3347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3706. 311 .loc 1 3347 1
  3707. 312 .cfi_startproc
  3708. 313 @ args = 0, pretend = 0, frame = 8
  3709. 314 @ frame_needed = 1, uses_anonymous_args = 0
  3710. 315 0000 80B5 push {r7, lr}
  3711. 316 .LCFI18:
  3712. 317 .cfi_def_cfa_offset 8
  3713. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 65
  3714. 318 .cfi_offset 7, -8
  3715. 319 .cfi_offset 14, -4
  3716. 320 0002 82B0 sub sp, sp, #8
  3717. 321 .LCFI19:
  3718. 322 .cfi_def_cfa_offset 16
  3719. 323 0004 00AF add r7, sp, #0
  3720. 324 .LCFI20:
  3721. 325 .cfi_def_cfa_register 7
  3722. 326 0006 7860 str r0, [r7, #4]
  3723. 3348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCCF);
  3724. 327 .loc 1 3348 3
  3725. 328 0008 7B68 ldr r3, [r7, #4]
  3726. 329 000a 4022 movs r2, #64
  3727. 330 000c 1A62 str r2, [r3, #32]
  3728. 3349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3729. 331 .loc 1 3349 1
  3730. 332 000e C046 nop
  3731. 333 0010 BD46 mov sp, r7
  3732. 334 0012 02B0 add sp, sp, #8
  3733. 335 @ sp needed
  3734. 336 0014 80BD pop {r7, pc}
  3735. 337 .cfi_endproc
  3736. 338 .LFE610:
  3737. 340 .section .text.LL_USART_EnableIT_RXNE_RXFNE,"ax",%progbits
  3738. 341 .align 1
  3739. 342 .syntax unified
  3740. 343 .code 16
  3741. 344 .thumb_func
  3742. 346 LL_USART_EnableIT_RXNE_RXFNE:
  3743. 347 .LFB620:
  3744. 3350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3745. 3351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3746. 3352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Smartcard Transmission Complete Before Guard Time Flag
  3747. 3353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCBGTCF LL_USART_ClearFlag_TCBGT
  3748. 3354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3749. 3355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3750. 3356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3751. 3357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TCBGT(USART_TypeDef *USARTx)
  3752. 3358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3753. 3359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCBGTCF);
  3754. 3360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3755. 3361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3756. 3362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3757. 3363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear LIN Break Detection Flag
  3758. 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
  3759. 3365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3760. 3366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR LBDCF LL_USART_ClearFlag_LBD
  3761. 3367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3762. 3368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3763. 3369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3764. 3370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_LBD(USART_TypeDef *USARTx)
  3765. 3371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3766. 3372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_LBDCF);
  3767. 3373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3768. 3374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3769. 3375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3770. 3376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear CTS Interrupt Flag
  3771. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 66
  3772. 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
  3773. 3378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3774. 3379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CTSCF LL_USART_ClearFlag_nCTS
  3775. 3380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3776. 3381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3777. 3382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3778. 3383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_nCTS(USART_TypeDef *USARTx)
  3779. 3384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3780. 3385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CTSCF);
  3781. 3386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3782. 3387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3783. 3388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3784. 3389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Receiver Time Out Flag
  3785. 3390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR RTOCF LL_USART_ClearFlag_RTO
  3786. 3391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3787. 3392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3788. 3393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3789. 3394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_RTO(USART_TypeDef *USARTx)
  3790. 3395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3791. 3396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_RTOCF);
  3792. 3397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3793. 3398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3794. 3399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3795. 3400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear End Of Block Flag
  3796. 3401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3797. 3402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3798. 3403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR EOBCF LL_USART_ClearFlag_EOB
  3799. 3404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3800. 3405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3801. 3406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3802. 3407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_EOB(USART_TypeDef *USARTx)
  3803. 3408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3804. 3409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_EOBCF);
  3805. 3410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3806. 3411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3807. 3412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3808. 3413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear SPI Slave Underrun Flag
  3809. 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
  3810. 3415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  3811. 3416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR UDRCF LL_USART_ClearFlag_UDR
  3812. 3417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3813. 3418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3814. 3419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3815. 3420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_UDR(USART_TypeDef *USARTx)
  3816. 3421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3817. 3422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_UDRCF);
  3818. 3423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3819. 3424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3820. 3425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3821. 3426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Character Match Flag
  3822. 3427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CMCF LL_USART_ClearFlag_CM
  3823. 3428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3824. 3429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3825. 3430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3826. 3431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_CM(USART_TypeDef *USARTx)
  3827. 3432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3828. 3433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CMCF);
  3829. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 67
  3830. 3434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3831. 3435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3832. 3436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3833. 3437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Wake Up from stop mode Flag
  3834. 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
  3835. 3439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3836. 3440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR WUCF LL_USART_ClearFlag_WKUP
  3837. 3441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3838. 3442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3839. 3443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3840. 3444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_WKUP(USART_TypeDef *USARTx)
  3841. 3445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3842. 3446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_WUCF);
  3843. 3447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3844. 3448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3845. 3449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3846. 3450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  3847. 3451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3848. 3452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3849. 3453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_IT_Management IT_Management
  3850. 3454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  3851. 3455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3852. 3456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3853. 3457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3854. 3458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IDLE Interrupt
  3855. 3459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_EnableIT_IDLE
  3856. 3460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3857. 3461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3858. 3462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3859. 3463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx)
  3860. 3464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3861. 3465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_IDLEIE);
  3862. 3466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3863. 3467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3864. 3468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_RXNE LL_USART_EnableIT_RXNE_RXFNE /* Redefinition for legacy purpose */
  3865. 3469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3866. 3470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3867. 3471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX Not Empty and RX FIFO Not Empty Interrupt
  3868. 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
  3869. 3473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3870. 3474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_EnableIT_RXNE_RXFNE
  3871. 3475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3872. 3476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3873. 3477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3874. 3478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
  3875. 3479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3876. 348 .loc 1 3479 1
  3877. 349 .cfi_startproc
  3878. 350 @ args = 0, pretend = 0, frame = 24
  3879. 351 @ frame_needed = 1, uses_anonymous_args = 0
  3880. 352 0000 80B5 push {r7, lr}
  3881. 353 .LCFI21:
  3882. 354 .cfi_def_cfa_offset 8
  3883. 355 .cfi_offset 7, -8
  3884. 356 .cfi_offset 14, -4
  3885. 357 0002 86B0 sub sp, sp, #24
  3886. 358 .LCFI22:
  3887. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 68
  3888. 359 .cfi_def_cfa_offset 32
  3889. 360 0004 00AF add r7, sp, #0
  3890. 361 .LCFI23:
  3891. 362 .cfi_def_cfa_register 7
  3892. 363 0006 7860 str r0, [r7, #4]
  3893. 364 .LBB30:
  3894. 365 .LBB31:
  3895. 366 .LBB32:
  3896. 367 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
  3897. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  3898. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  3899. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  3900. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.2.0
  3901. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 08. May 2019
  3902. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  3903. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  3904. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2019 Arm Limited. All rights reserved.
  3905. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3906. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  3907. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3908. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  3909. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  3910. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  3911. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3912. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  3913. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3914. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  3915. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  3916. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  3917. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  3918. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  3919. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3920. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3921. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  3922. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  3923. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3924. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  3925. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3926. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  3927. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  3928. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  3929. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3930. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  3931. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  3932. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  3933. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3934. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3935. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  3936. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  3937. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  3938. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3939. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  3940. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  3941. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3942. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  3943. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  3944. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3945. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 69
  3946. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  3947. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  3948. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3949. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  3950. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  3951. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3952. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  3953. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  3954. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3955. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  3956. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  3957. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3958. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  3959. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  3960. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3961. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  3962. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  3963. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3964. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  3965. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  3966. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3967. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  3968. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3969. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3970. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3971. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  3972. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3973. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  3974. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3975. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  3976. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3977. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3978. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3979. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  3980. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3981. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  3982. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3983. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  3984. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3985. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3986. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3987. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  3988. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3989. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  3990. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3991. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  3992. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3993. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3994. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3995. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  3996. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3997. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  3998. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3999. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  4000. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  4001. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  4002. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  4003. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 70
  4004. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  4005. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  4006. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  4007. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4008. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  4009. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  4010. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4011. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  4012. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  4013. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4014. 116:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __COMPILER_BARRIER
  4015. 117:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
  4016. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4017. 119:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4018. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ######################### Startup and Lowlevel Init ######################## */
  4019. 121:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4020. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PROGRAM_START
  4021. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4022. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4023. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Initializes data and bss sections
  4024. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details This default implementations initialized all data and additional bss
  4025. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** sections relying on .copy.table and .zero.table specified properly
  4026. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** in the used linker script.
  4027. 129:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4028. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4029. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE __NO_RETURN void __cmsis_start(void)
  4030. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4031. 133:Drivers/CMSIS/Include/cmsis_gcc.h **** extern void _start(void) __NO_RETURN;
  4032. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4033. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
  4034. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t const* src;
  4035. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
  4036. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
  4037. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** } __copy_table_t;
  4038. 140:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4039. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
  4040. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
  4041. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
  4042. 144:Drivers/CMSIS/Include/cmsis_gcc.h **** } __zero_table_t;
  4043. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4044. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_start__;
  4045. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_end__;
  4046. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_start__;
  4047. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_end__;
  4048. 150:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4049. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable
  4050. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
  4051. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = pTable->src[i];
  4052. 154:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4053. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4054. 156:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4055. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable
  4056. 158:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
  4057. 159:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = 0u;
  4058. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4059. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4060. 162:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4061. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 71
  4062. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** _start();
  4063. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4064. 165:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4065. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PROGRAM_START __cmsis_start
  4066. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4067. 168:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4068. 169:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INITIAL_SP
  4069. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INITIAL_SP __StackTop
  4070. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4071. 172:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4072. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STACK_LIMIT
  4073. 174:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STACK_LIMIT __StackLimit
  4074. 175:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4075. 176:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4076. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE
  4077. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE __Vectors
  4078. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4079. 180:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4080. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE_ATTRIBUTE
  4081. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section(".vectors")))
  4082. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4083. 184:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4084. 185:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  4085. 186:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  4086. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  4087. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  4088. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4089. 190:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4090. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4091. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  4092. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  4093. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  4094. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4095. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  4096. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4097. 198:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  4098. 199:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4099. 200:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4100. 201:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4101. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4102. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  4103. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  4104. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  4105. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4106. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  4107. 208:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4108. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  4109. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4110. 211:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4111. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4112. 213:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4113. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  4114. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  4115. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  4116. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4117. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  4118. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4119. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 72
  4120. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4121. 221:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4122. 222:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  4123. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4124. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4125. 225:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4126. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4127. 227:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4128. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4129. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  4130. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  4131. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  4132. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4133. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  4134. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4135. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4136. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4137. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  4138. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4139. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4140. 240:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4141. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4142. 242:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4143. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4144. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  4145. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  4146. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  4147. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4148. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  4149. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4150. 250:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  4151. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4152. 252:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4153. 253:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4154. 254:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4155. 255:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4156. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  4157. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  4158. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  4159. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4160. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  4161. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4162. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  4163. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4164. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4165. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4166. 266:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4167. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4168. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  4169. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  4170. 270:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  4171. 271:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4172. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  4173. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4174. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4175. 275:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4176. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  4177. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 73
  4178. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4179. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4180. 279:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4181. 280:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4182. 281:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4183. 282:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  4184. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  4185. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  4186. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4187. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  4188. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4189. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4190. 289:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4191. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  4192. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4193. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4194. 293:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4195. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4196. 295:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4197. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  4198. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  4199. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  4200. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4201. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  4202. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4203. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4204. 303:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4205. 304:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  4206. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4207. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4208. 307:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4209. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4210. 309:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4211. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  4212. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  4213. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  4214. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4215. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  4216. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4217. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4218. 317:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4219. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  4220. 319:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4221. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4222. 321:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4223. 322:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4224. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4225. 324:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4226. 325:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  4227. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  4228. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  4229. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4230. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  4231. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4232. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4233. 332:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4234. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  4235. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 74
  4236. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4237. 335:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4238. 336:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4239. 337:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4240. 338:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4241. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4242. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  4243. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  4244. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  4245. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4246. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  4247. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4248. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  4249. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4250. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4251. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4252. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4253. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4254. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  4255. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  4256. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  4257. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4258. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  4259. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4260. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  4261. 359:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4262. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4263. 361:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4264. 362:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4265. 363:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4266. 364:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  4267. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  4268. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  4269. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4270. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  4271. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4272. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4273. 371:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4274. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  4275. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4276. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4277. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4278. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4279. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4280. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4281. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  4282. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  4283. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  4284. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4285. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  4286. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4287. 385:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4288. 386:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4289. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  4290. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4291. 389:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4292. 390:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4293. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 75
  4294. 391:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4295. 392:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4296. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4297. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  4298. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  4299. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  4300. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4301. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  4302. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4303. 400:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  4304. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4305. 402:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4306. 403:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4307. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4308. 405:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4309. 406:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  4310. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  4311. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  4312. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4313. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  4314. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4315. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  4316. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4317. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4318. 415:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4319. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4320. 417:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4321. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4322. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  4323. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  4324. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  4325. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4326. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  4327. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4328. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4329. 426:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4330. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  4331. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4332. 429:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4333. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4334. 431:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4335. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4336. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  4337. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  4338. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  4339. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4340. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  4341. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4342. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  4343. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4344. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4345. 442:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4346. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4347. 444:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4348. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  4349. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  4350. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  4351. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 76
  4352. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4353. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  4354. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4355. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4356. 452:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4357. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  4358. 368 .loc 2 453 3
  4359. 369 .syntax divided
  4360. 370 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4361. 371 0008 EFF31083 MRS r3, primask
  4362. 372 @ 0 "" 2
  4363. 373 .thumb
  4364. 374 .syntax unified
  4365. 375 000c BB60 str r3, [r7, #8]
  4366. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4367. 376 .loc 2 454 9
  4368. 377 000e BB68 ldr r3, [r7, #8]
  4369. 378 .LBE32:
  4370. 379 .LBE31:
  4371. 3480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
  4372. 380 .loc 1 3480 3
  4373. 381 0010 7B61 str r3, [r7, #20]
  4374. 382 0012 0123 movs r3, #1
  4375. 383 0014 FB60 str r3, [r7, #12]
  4376. 384 .LBB33:
  4377. 385 .LBB34:
  4378. 455:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4379. 456:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4380. 457:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4381. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4382. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4383. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  4384. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  4385. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  4386. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4387. 464:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  4388. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4389. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4390. 467:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4391. 468:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  4392. 469:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4393. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4394. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4395. 472:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4396. 473:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4397. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4398. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  4399. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  4400. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  4401. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4402. 479:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  4403. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4404. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  4405. 386 .loc 2 481 3
  4406. 387 0016 FB68 ldr r3, [r7, #12]
  4407. 388 .syntax divided
  4408. 389 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4409. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 77
  4410. 390 0018 83F31088 MSR primask, r3
  4411. 391 @ 0 "" 2
  4412. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4413. 392 .loc 2 482 1
  4414. 393 .thumb
  4415. 394 .syntax unified
  4416. 395 001c C046 nop
  4417. 396 .LBE34:
  4418. 397 .LBE33:
  4419. 398 .loc 1 3480 3
  4420. 399 001e 7B68 ldr r3, [r7, #4]
  4421. 400 0020 1B68 ldr r3, [r3]
  4422. 401 0022 2022 movs r2, #32
  4423. 402 0024 1A43 orrs r2, r3
  4424. 403 0026 7B68 ldr r3, [r7, #4]
  4425. 404 0028 1A60 str r2, [r3]
  4426. 405 002a 7B69 ldr r3, [r7, #20]
  4427. 406 002c 3B61 str r3, [r7, #16]
  4428. 407 .LBB35:
  4429. 408 .LBB36:
  4430. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4431. 409 .loc 2 481 3
  4432. 410 002e 3B69 ldr r3, [r7, #16]
  4433. 411 .syntax divided
  4434. 412 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4435. 413 0030 83F31088 MSR primask, r3
  4436. 414 @ 0 "" 2
  4437. 415 .loc 2 482 1
  4438. 416 .thumb
  4439. 417 .syntax unified
  4440. 418 0034 C046 nop
  4441. 419 .LBE36:
  4442. 420 .LBE35:
  4443. 421 .LBE30:
  4444. 3481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4445. 422 .loc 1 3481 1
  4446. 423 0036 C046 nop
  4447. 424 0038 BD46 mov sp, r7
  4448. 425 003a 06B0 add sp, sp, #24
  4449. 426 @ sp needed
  4450. 427 003c 80BD pop {r7, pc}
  4451. 428 .cfi_endproc
  4452. 429 .LFE620:
  4453. 431 .section .text.LL_USART_DisableIT_RXNE_RXFNE,"ax",%progbits
  4454. 432 .align 1
  4455. 433 .syntax unified
  4456. 434 .code 16
  4457. 435 .thumb_func
  4458. 437 LL_USART_DisableIT_RXNE_RXFNE:
  4459. 438 .LFB637:
  4460. 3482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4461. 3483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4462. 3484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Transmission Complete Interrupt
  4463. 3485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_EnableIT_TC
  4464. 3486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4465. 3487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4466. 3488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4467. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 78
  4468. 3489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx)
  4469. 3490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4470. 3491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TCIE);
  4471. 3492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4472. 3493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4473. 3494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_TXE LL_USART_EnableIT_TXE_TXFNF /* Redefinition for legacy purpose */
  4474. 3495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4475. 3496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4476. 3497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX Empty and TX FIFO Not Full Interrupt
  4477. 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
  4478. 3499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4479. 3500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_EnableIT_TXE_TXFNF
  4480. 3501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4481. 3502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4482. 3503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4483. 3504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXE_TXFNF(USART_TypeDef *USARTx)
  4484. 3505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4485. 3506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
  4486. 3507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4487. 3508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4488. 3509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4489. 3510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Parity Error Interrupt
  4490. 3511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_EnableIT_PE
  4491. 3512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4492. 3513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4493. 3514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4494. 3515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_PE(USART_TypeDef *USARTx)
  4495. 3516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4496. 3517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_PEIE);
  4497. 3518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4498. 3519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4499. 3520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4500. 3521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Character Match Interrupt
  4501. 3522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_EnableIT_CM
  4502. 3523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4503. 3524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4504. 3525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4505. 3526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CM(USART_TypeDef *USARTx)
  4506. 3527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4507. 3528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_CMIE);
  4508. 3529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4509. 3530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4510. 3531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4511. 3532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout Interrupt
  4512. 3533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_EnableIT_RTO
  4513. 3534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4514. 3535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4515. 3536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4516. 3537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RTO(USART_TypeDef *USARTx)
  4517. 3538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4518. 3539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RTOIE);
  4519. 3540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4520. 3541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4521. 3542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4522. 3543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable End Of Block Interrupt
  4523. 3544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4524. 3545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4525. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 79
  4526. 3546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_EnableIT_EOB
  4527. 3547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4528. 3548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4529. 3549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4530. 3550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_EOB(USART_TypeDef *USARTx)
  4531. 3551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4532. 3552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_EOBIE);
  4533. 3553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4534. 3554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4535. 3555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4536. 3556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Empty Interrupt
  4537. 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
  4538. 3558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4539. 3559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_EnableIT_TXFE
  4540. 3560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4541. 3561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4542. 3562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4543. 3563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFE(USART_TypeDef *USARTx)
  4544. 3564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4545. 3565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXFEIE);
  4546. 3566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4547. 3567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4548. 3568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4549. 3569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Full Interrupt
  4550. 3570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_EnableIT_RXFF
  4551. 3571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4552. 3572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4553. 3573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4554. 3574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFF(USART_TypeDef *USARTx)
  4555. 3575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4556. 3576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXFFIE);
  4557. 3577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4558. 3578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4559. 3579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4560. 3580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN Break Detection Interrupt
  4561. 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
  4562. 3582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  4563. 3583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_EnableIT_LBD
  4564. 3584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4565. 3585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4566. 3586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4567. 3587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_LBD(USART_TypeDef *USARTx)
  4568. 3588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4569. 3589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LBDIE);
  4570. 3590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4571. 3591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4572. 3592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4573. 3593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Error Interrupt
  4574. 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
  4575. 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).
  4576. 3596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
  4577. 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.
  4578. 3598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_EnableIT_ERROR
  4579. 3599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4580. 3600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4581. 3601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4582. 3602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx)
  4583. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 80
  4584. 3603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4585. 3604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_EIE);
  4586. 3605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4587. 3606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4588. 3607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4589. 3608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS Interrupt
  4590. 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
  4591. 3610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  4592. 3611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_EnableIT_CTS
  4593. 3612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4594. 3613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4595. 3614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4596. 3615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx)
  4597. 3616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4598. 3617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_CTSIE);
  4599. 3618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4600. 3619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4601. 3620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4602. 3621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Wake Up from Stop Mode Interrupt
  4603. 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
  4604. 3623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  4605. 3624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_EnableIT_WKUP
  4606. 3625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4607. 3626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4608. 3627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4609. 3628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_WKUP(USART_TypeDef *USARTx)
  4610. 3629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4611. 3630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_WUFIE);
  4612. 3631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4613. 3632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4614. 3633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4615. 3634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Threshold Interrupt
  4616. 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
  4617. 3636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4618. 3637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_EnableIT_TXFT
  4619. 3638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4620. 3639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4621. 3640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4622. 3641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFT(USART_TypeDef *USARTx)
  4623. 3642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4624. 3643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TXFTIE);
  4625. 3644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4626. 3645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4627. 3646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4628. 3647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard Transmission Complete Before Guard Time Interrupt
  4629. 3648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4630. 3649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4631. 3650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_EnableIT_TCBGT
  4632. 3651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4633. 3652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4634. 3653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4635. 3654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TCBGT(USART_TypeDef *USARTx)
  4636. 3655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4637. 3656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
  4638. 3657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4639. 3658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4640. 3659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4641. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 81
  4642. 3660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Threshold Interrupt
  4643. 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
  4644. 3662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4645. 3663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_EnableIT_RXFT
  4646. 3664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4647. 3665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4648. 3666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4649. 3667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFT(USART_TypeDef *USARTx)
  4650. 3668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4651. 3669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_RXFTIE);
  4652. 3670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4653. 3671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4654. 3672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4655. 3673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IDLE Interrupt
  4656. 3674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_DisableIT_IDLE
  4657. 3675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4658. 3676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4659. 3677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4660. 3678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx)
  4661. 3679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4662. 3680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE);
  4663. 3681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4664. 3682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4665. 3683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_RXNE LL_USART_DisableIT_RXNE_RXFNE /* Redefinition for legacy purpose *
  4666. 3684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4667. 3685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4668. 3686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX Not Empty and RX FIFO Not Empty Interrupt
  4669. 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
  4670. 3688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4671. 3689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_DisableIT_RXNE_RXFNE
  4672. 3690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4673. 3691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4674. 3692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4675. 3693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
  4676. 3694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4677. 439 .loc 1 3694 1
  4678. 440 .cfi_startproc
  4679. 441 @ args = 0, pretend = 0, frame = 24
  4680. 442 @ frame_needed = 1, uses_anonymous_args = 0
  4681. 443 0000 80B5 push {r7, lr}
  4682. 444 .LCFI24:
  4683. 445 .cfi_def_cfa_offset 8
  4684. 446 .cfi_offset 7, -8
  4685. 447 .cfi_offset 14, -4
  4686. 448 0002 86B0 sub sp, sp, #24
  4687. 449 .LCFI25:
  4688. 450 .cfi_def_cfa_offset 32
  4689. 451 0004 00AF add r7, sp, #0
  4690. 452 .LCFI26:
  4691. 453 .cfi_def_cfa_register 7
  4692. 454 0006 7860 str r0, [r7, #4]
  4693. 455 .LBB37:
  4694. 456 .LBB38:
  4695. 457 .LBB39:
  4696. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4697. 458 .loc 2 453 3
  4698. 459 .syntax divided
  4699. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 82
  4700. 460 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4701. 461 0008 EFF31083 MRS r3, primask
  4702. 462 @ 0 "" 2
  4703. 463 .thumb
  4704. 464 .syntax unified
  4705. 465 000c BB60 str r3, [r7, #8]
  4706. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4707. 466 .loc 2 454 9
  4708. 467 000e BB68 ldr r3, [r7, #8]
  4709. 468 .LBE39:
  4710. 469 .LBE38:
  4711. 3695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
  4712. 470 .loc 1 3695 3
  4713. 471 0010 7B61 str r3, [r7, #20]
  4714. 472 0012 0123 movs r3, #1
  4715. 473 0014 FB60 str r3, [r7, #12]
  4716. 474 .LBB40:
  4717. 475 .LBB41:
  4718. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4719. 476 .loc 2 481 3
  4720. 477 0016 FB68 ldr r3, [r7, #12]
  4721. 478 .syntax divided
  4722. 479 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4723. 480 0018 83F31088 MSR primask, r3
  4724. 481 @ 0 "" 2
  4725. 482 .loc 2 482 1
  4726. 483 .thumb
  4727. 484 .syntax unified
  4728. 485 001c C046 nop
  4729. 486 .LBE41:
  4730. 487 .LBE40:
  4731. 488 .loc 1 3695 3
  4732. 489 001e 7B68 ldr r3, [r7, #4]
  4733. 490 0020 1B68 ldr r3, [r3]
  4734. 491 0022 2022 movs r2, #32
  4735. 492 0024 9343 bics r3, r2
  4736. 493 0026 1A00 movs r2, r3
  4737. 494 0028 7B68 ldr r3, [r7, #4]
  4738. 495 002a 1A60 str r2, [r3]
  4739. 496 002c 7B69 ldr r3, [r7, #20]
  4740. 497 002e 3B61 str r3, [r7, #16]
  4741. 498 .LBB42:
  4742. 499 .LBB43:
  4743. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4744. 500 .loc 2 481 3
  4745. 501 0030 3B69 ldr r3, [r7, #16]
  4746. 502 .syntax divided
  4747. 503 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4748. 504 0032 83F31088 MSR primask, r3
  4749. 505 @ 0 "" 2
  4750. 506 .loc 2 482 1
  4751. 507 .thumb
  4752. 508 .syntax unified
  4753. 509 0036 C046 nop
  4754. 510 .LBE43:
  4755. 511 .LBE42:
  4756. 512 .LBE37:
  4757. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 83
  4758. 3696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4759. 513 .loc 1 3696 1
  4760. 514 0038 C046 nop
  4761. 515 003a BD46 mov sp, r7
  4762. 516 003c 06B0 add sp, sp, #24
  4763. 517 @ sp needed
  4764. 518 003e 80BD pop {r7, pc}
  4765. 519 .cfi_endproc
  4766. 520 .LFE637:
  4767. 522 .section .text.LL_USART_DisableIT_TC,"ax",%progbits
  4768. 523 .align 1
  4769. 524 .syntax unified
  4770. 525 .code 16
  4771. 526 .thumb_func
  4772. 528 LL_USART_DisableIT_TC:
  4773. 529 .LFB638:
  4774. 3697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4775. 3698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4776. 3699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Transmission Complete Interrupt
  4777. 3700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_DisableIT_TC
  4778. 3701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4779. 3702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4780. 3703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4781. 3704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx)
  4782. 3705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4783. 530 .loc 1 3705 1
  4784. 531 .cfi_startproc
  4785. 532 @ args = 0, pretend = 0, frame = 24
  4786. 533 @ frame_needed = 1, uses_anonymous_args = 0
  4787. 534 0000 80B5 push {r7, lr}
  4788. 535 .LCFI27:
  4789. 536 .cfi_def_cfa_offset 8
  4790. 537 .cfi_offset 7, -8
  4791. 538 .cfi_offset 14, -4
  4792. 539 0002 86B0 sub sp, sp, #24
  4793. 540 .LCFI28:
  4794. 541 .cfi_def_cfa_offset 32
  4795. 542 0004 00AF add r7, sp, #0
  4796. 543 .LCFI29:
  4797. 544 .cfi_def_cfa_register 7
  4798. 545 0006 7860 str r0, [r7, #4]
  4799. 546 .LBB44:
  4800. 547 .LBB45:
  4801. 548 .LBB46:
  4802. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4803. 549 .loc 2 453 3
  4804. 550 .syntax divided
  4805. 551 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4806. 552 0008 EFF31083 MRS r3, primask
  4807. 553 @ 0 "" 2
  4808. 554 .thumb
  4809. 555 .syntax unified
  4810. 556 000c BB60 str r3, [r7, #8]
  4811. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4812. 557 .loc 2 454 9
  4813. 558 000e BB68 ldr r3, [r7, #8]
  4814. 559 .LBE46:
  4815. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 84
  4816. 560 .LBE45:
  4817. 3706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE);
  4818. 561 .loc 1 3706 3
  4819. 562 0010 7B61 str r3, [r7, #20]
  4820. 563 0012 0123 movs r3, #1
  4821. 564 0014 FB60 str r3, [r7, #12]
  4822. 565 .LBB47:
  4823. 566 .LBB48:
  4824. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4825. 567 .loc 2 481 3
  4826. 568 0016 FB68 ldr r3, [r7, #12]
  4827. 569 .syntax divided
  4828. 570 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4829. 571 0018 83F31088 MSR primask, r3
  4830. 572 @ 0 "" 2
  4831. 573 .loc 2 482 1
  4832. 574 .thumb
  4833. 575 .syntax unified
  4834. 576 001c C046 nop
  4835. 577 .LBE48:
  4836. 578 .LBE47:
  4837. 579 .loc 1 3706 3
  4838. 580 001e 7B68 ldr r3, [r7, #4]
  4839. 581 0020 1B68 ldr r3, [r3]
  4840. 582 0022 4022 movs r2, #64
  4841. 583 0024 9343 bics r3, r2
  4842. 584 0026 1A00 movs r2, r3
  4843. 585 0028 7B68 ldr r3, [r7, #4]
  4844. 586 002a 1A60 str r2, [r3]
  4845. 587 002c 7B69 ldr r3, [r7, #20]
  4846. 588 002e 3B61 str r3, [r7, #16]
  4847. 589 .LBB49:
  4848. 590 .LBB50:
  4849. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4850. 591 .loc 2 481 3
  4851. 592 0030 3B69 ldr r3, [r7, #16]
  4852. 593 .syntax divided
  4853. 594 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4854. 595 0032 83F31088 MSR primask, r3
  4855. 596 @ 0 "" 2
  4856. 597 .loc 2 482 1
  4857. 598 .thumb
  4858. 599 .syntax unified
  4859. 600 0036 C046 nop
  4860. 601 .LBE50:
  4861. 602 .LBE49:
  4862. 603 .LBE44:
  4863. 3707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4864. 604 .loc 1 3707 1
  4865. 605 0038 C046 nop
  4866. 606 003a BD46 mov sp, r7
  4867. 607 003c 06B0 add sp, sp, #24
  4868. 608 @ sp needed
  4869. 609 003e 80BD pop {r7, pc}
  4870. 610 .cfi_endproc
  4871. 611 .LFE638:
  4872. 613 .section .text.LL_USART_DisableIT_ERROR,"ax",%progbits
  4873. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 85
  4874. 614 .align 1
  4875. 615 .syntax unified
  4876. 616 .code 16
  4877. 617 .thumb_func
  4878. 619 LL_USART_DisableIT_ERROR:
  4879. 620 .LFB647:
  4880. 3708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4881. 3709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_TXE LL_USART_DisableIT_TXE_TXFNF /* Redefinition for legacy purpose */
  4882. 3710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4883. 3711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4884. 3712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX Empty and TX FIFO Not Full Interrupt
  4885. 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
  4886. 3714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4887. 3715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_DisableIT_TXE_TXFNF
  4888. 3716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4889. 3717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4890. 3718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4891. 3719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXE_TXFNF(USART_TypeDef *USARTx)
  4892. 3720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4893. 3721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
  4894. 3722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4895. 3723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4896. 3724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4897. 3725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Parity Error Interrupt
  4898. 3726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_DisableIT_PE
  4899. 3727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4900. 3728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4901. 3729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4902. 3730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_PE(USART_TypeDef *USARTx)
  4903. 3731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4904. 3732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE);
  4905. 3733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4906. 3734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4907. 3735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4908. 3736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Character Match Interrupt
  4909. 3737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_DisableIT_CM
  4910. 3738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4911. 3739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4912. 3740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4913. 3741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CM(USART_TypeDef *USARTx)
  4914. 3742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4915. 3743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_CMIE);
  4916. 3744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4917. 3745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4918. 3746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4919. 3747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout Interrupt
  4920. 3748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_DisableIT_RTO
  4921. 3749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4922. 3750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4923. 3751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4924. 3752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RTO(USART_TypeDef *USARTx)
  4925. 3753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4926. 3754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RTOIE);
  4927. 3755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4928. 3756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4929. 3757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4930. 3758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable End Of Block Interrupt
  4931. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 86
  4932. 3759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4933. 3760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4934. 3761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_DisableIT_EOB
  4935. 3762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4936. 3763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4937. 3764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4938. 3765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_EOB(USART_TypeDef *USARTx)
  4939. 3766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4940. 3767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_EOBIE);
  4941. 3768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4942. 3769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4943. 3770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4944. 3771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Empty Interrupt
  4945. 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
  4946. 3773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4947. 3774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_DisableIT_TXFE
  4948. 3775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4949. 3776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4950. 3777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4951. 3778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFE(USART_TypeDef *USARTx)
  4952. 3779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4953. 3780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXFEIE);
  4954. 3781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4955. 3782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4956. 3783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4957. 3784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Full Interrupt
  4958. 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
  4959. 3786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4960. 3787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_DisableIT_RXFF
  4961. 3788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4962. 3789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4963. 3790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4964. 3791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFF(USART_TypeDef *USARTx)
  4965. 3792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4966. 3793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXFFIE);
  4967. 3794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4968. 3795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4969. 3796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4970. 3797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN Break Detection Interrupt
  4971. 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
  4972. 3799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  4973. 3800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_DisableIT_LBD
  4974. 3801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4975. 3802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4976. 3803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4977. 3804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_LBD(USART_TypeDef *USARTx)
  4978. 3805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4979. 3806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LBDIE);
  4980. 3807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4981. 3808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4982. 3809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4983. 3810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Error Interrupt
  4984. 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
  4985. 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).
  4986. 3813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
  4987. 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.
  4988. 3815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_DisableIT_ERROR
  4989. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 87
  4990. 3816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4991. 3817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4992. 3818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4993. 3819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx)
  4994. 3820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4995. 621 .loc 1 3820 1
  4996. 622 .cfi_startproc
  4997. 623 @ args = 0, pretend = 0, frame = 24
  4998. 624 @ frame_needed = 1, uses_anonymous_args = 0
  4999. 625 0000 80B5 push {r7, lr}
  5000. 626 .LCFI30:
  5001. 627 .cfi_def_cfa_offset 8
  5002. 628 .cfi_offset 7, -8
  5003. 629 .cfi_offset 14, -4
  5004. 630 0002 86B0 sub sp, sp, #24
  5005. 631 .LCFI31:
  5006. 632 .cfi_def_cfa_offset 32
  5007. 633 0004 00AF add r7, sp, #0
  5008. 634 .LCFI32:
  5009. 635 .cfi_def_cfa_register 7
  5010. 636 0006 7860 str r0, [r7, #4]
  5011. 637 .LBB51:
  5012. 638 .LBB52:
  5013. 639 .LBB53:
  5014. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  5015. 640 .loc 2 453 3
  5016. 641 .syntax divided
  5017. 642 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5018. 643 0008 EFF31083 MRS r3, primask
  5019. 644 @ 0 "" 2
  5020. 645 .thumb
  5021. 646 .syntax unified
  5022. 647 000c BB60 str r3, [r7, #8]
  5023. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  5024. 648 .loc 2 454 9
  5025. 649 000e BB68 ldr r3, [r7, #8]
  5026. 650 .LBE53:
  5027. 651 .LBE52:
  5028. 3821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_EIE);
  5029. 652 .loc 1 3821 3
  5030. 653 0010 7B61 str r3, [r7, #20]
  5031. 654 0012 0123 movs r3, #1
  5032. 655 0014 FB60 str r3, [r7, #12]
  5033. 656 .LBB54:
  5034. 657 .LBB55:
  5035. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  5036. 658 .loc 2 481 3
  5037. 659 0016 FB68 ldr r3, [r7, #12]
  5038. 660 .syntax divided
  5039. 661 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5040. 662 0018 83F31088 MSR primask, r3
  5041. 663 @ 0 "" 2
  5042. 664 .loc 2 482 1
  5043. 665 .thumb
  5044. 666 .syntax unified
  5045. 667 001c C046 nop
  5046. 668 .LBE55:
  5047. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 88
  5048. 669 .LBE54:
  5049. 670 .loc 1 3821 3
  5050. 671 001e 7B68 ldr r3, [r7, #4]
  5051. 672 0020 9B68 ldr r3, [r3, #8]
  5052. 673 0022 0122 movs r2, #1
  5053. 674 0024 9343 bics r3, r2
  5054. 675 0026 1A00 movs r2, r3
  5055. 676 0028 7B68 ldr r3, [r7, #4]
  5056. 677 002a 9A60 str r2, [r3, #8]
  5057. 678 002c 7B69 ldr r3, [r7, #20]
  5058. 679 002e 3B61 str r3, [r7, #16]
  5059. 680 .LBB56:
  5060. 681 .LBB57:
  5061. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  5062. 682 .loc 2 481 3
  5063. 683 0030 3B69 ldr r3, [r7, #16]
  5064. 684 .syntax divided
  5065. 685 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5066. 686 0032 83F31088 MSR primask, r3
  5067. 687 @ 0 "" 2
  5068. 688 .loc 2 482 1
  5069. 689 .thumb
  5070. 690 .syntax unified
  5071. 691 0036 C046 nop
  5072. 692 .LBE57:
  5073. 693 .LBE56:
  5074. 694 .LBE51:
  5075. 3822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5076. 695 .loc 1 3822 1
  5077. 696 0038 C046 nop
  5078. 697 003a BD46 mov sp, r7
  5079. 698 003c 06B0 add sp, sp, #24
  5080. 699 @ sp needed
  5081. 700 003e 80BD pop {r7, pc}
  5082. 701 .cfi_endproc
  5083. 702 .LFE647:
  5084. 704 .section .text.LL_USART_IsEnabledIT_RXNE_RXFNE,"ax",%progbits
  5085. 705 .align 1
  5086. 706 .syntax unified
  5087. 707 .code 16
  5088. 708 .thumb_func
  5089. 710 LL_USART_IsEnabledIT_RXNE_RXFNE:
  5090. 711 .LFB654:
  5091. 3823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5092. 3824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5093. 3825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS Interrupt
  5094. 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
  5095. 3827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  5096. 3828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_DisableIT_CTS
  5097. 3829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5098. 3830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5099. 3831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5100. 3832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx)
  5101. 3833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5102. 3834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE);
  5103. 3835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5104. 3836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5105. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 89
  5106. 3837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5107. 3838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Wake Up from Stop Mode Interrupt
  5108. 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
  5109. 3840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  5110. 3841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_DisableIT_WKUP
  5111. 3842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5112. 3843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5113. 3844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5114. 3845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_WKUP(USART_TypeDef *USARTx)
  5115. 3846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5116. 3847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_WUFIE);
  5117. 3848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5118. 3849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5119. 3850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5120. 3851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Threshold Interrupt
  5121. 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
  5122. 3853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5123. 3854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_DisableIT_TXFT
  5124. 3855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5125. 3856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5126. 3857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5127. 3858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFT(USART_TypeDef *USARTx)
  5128. 3859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5129. 3860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TXFTIE);
  5130. 3861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5131. 3862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5132. 3863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5133. 3864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard Transmission Complete Before Guard Time Interrupt
  5134. 3865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  5135. 3866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  5136. 3867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_DisableIT_TCBGT
  5137. 3868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5138. 3869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5139. 3870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5140. 3871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TCBGT(USART_TypeDef *USARTx)
  5141. 3872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5142. 3873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
  5143. 3874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5144. 3875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5145. 3876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5146. 3877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Threshold Interrupt
  5147. 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
  5148. 3879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5149. 3880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_DisableIT_RXFT
  5150. 3881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5151. 3882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5152. 3883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5153. 3884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFT(USART_TypeDef *USARTx)
  5154. 3885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5155. 3886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_RXFTIE);
  5156. 3887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5157. 3888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5158. 3889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5159. 3890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE Interrupt source is enabled or disabled.
  5160. 3891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_IsEnabledIT_IDLE
  5161. 3892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5162. 3893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5163. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 90
  5164. 3894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5165. 3895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(const USART_TypeDef *USARTx)
  5166. 3896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5167. 3897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)) ? 1UL : 0UL);
  5168. 3898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5169. 3899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5170. 3900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_RXNE LL_USART_IsEnabledIT_RXNE_RXFNE /* Redefinition for legacy purpo
  5171. 3901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5172. 3902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5173. 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
  5174. 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
  5175. 3905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5176. 3906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_IsEnabledIT_RXNE_RXFNE
  5177. 3907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5178. 3908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5179. 3909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5180. 3910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE_RXFNE(const USART_TypeDef *USARTx)
  5181. 3911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5182. 712 .loc 1 3911 1
  5183. 713 .cfi_startproc
  5184. 714 @ args = 0, pretend = 0, frame = 8
  5185. 715 @ frame_needed = 1, uses_anonymous_args = 0
  5186. 716 0000 80B5 push {r7, lr}
  5187. 717 .LCFI33:
  5188. 718 .cfi_def_cfa_offset 8
  5189. 719 .cfi_offset 7, -8
  5190. 720 .cfi_offset 14, -4
  5191. 721 0002 82B0 sub sp, sp, #8
  5192. 722 .LCFI34:
  5193. 723 .cfi_def_cfa_offset 16
  5194. 724 0004 00AF add r7, sp, #0
  5195. 725 .LCFI35:
  5196. 726 .cfi_def_cfa_register 7
  5197. 727 0006 7860 str r0, [r7, #4]
  5198. 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
  5199. 728 .loc 1 3912 12
  5200. 729 0008 7B68 ldr r3, [r7, #4]
  5201. 730 000a 1B68 ldr r3, [r3]
  5202. 731 000c 2022 movs r2, #32
  5203. 732 000e 1340 ands r3, r2
  5204. 733 .loc 1 3912 97
  5205. 734 0010 202B cmp r3, #32
  5206. 735 0012 01D1 bne .L26
  5207. 736 .loc 1 3912 97 is_stmt 0 discriminator 1
  5208. 737 0014 0123 movs r3, #1
  5209. 738 0016 00E0 b .L28
  5210. 739 .L26:
  5211. 740 .loc 1 3912 97 discriminator 2
  5212. 741 0018 0023 movs r3, #0
  5213. 742 .L28:
  5214. 3913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5215. 743 .loc 1 3913 1 is_stmt 1 discriminator 5
  5216. 744 001a 1800 movs r0, r3
  5217. 745 001c BD46 mov sp, r7
  5218. 746 001e 02B0 add sp, sp, #8
  5219. 747 @ sp needed
  5220. 748 0020 80BD pop {r7, pc}
  5221. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 91
  5222. 749 .cfi_endproc
  5223. 750 .LFE654:
  5224. 752 .section .text.LL_USART_IsEnabledIT_TC,"ax",%progbits
  5225. 753 .align 1
  5226. 754 .syntax unified
  5227. 755 .code 16
  5228. 756 .thumb_func
  5229. 758 LL_USART_IsEnabledIT_TC:
  5230. 759 .LFB655:
  5231. 3914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5232. 3915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5233. 3916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Interrupt is enabled or disabled.
  5234. 3917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_IsEnabledIT_TC
  5235. 3918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5236. 3919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5237. 3920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5238. 3921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(const USART_TypeDef *USARTx)
  5239. 3922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5240. 760 .loc 1 3922 1
  5241. 761 .cfi_startproc
  5242. 762 @ args = 0, pretend = 0, frame = 8
  5243. 763 @ frame_needed = 1, uses_anonymous_args = 0
  5244. 764 0000 80B5 push {r7, lr}
  5245. 765 .LCFI36:
  5246. 766 .cfi_def_cfa_offset 8
  5247. 767 .cfi_offset 7, -8
  5248. 768 .cfi_offset 14, -4
  5249. 769 0002 82B0 sub sp, sp, #8
  5250. 770 .LCFI37:
  5251. 771 .cfi_def_cfa_offset 16
  5252. 772 0004 00AF add r7, sp, #0
  5253. 773 .LCFI38:
  5254. 774 .cfi_def_cfa_register 7
  5255. 775 0006 7860 str r0, [r7, #4]
  5256. 3923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)) ? 1UL : 0UL);
  5257. 776 .loc 1 3923 12
  5258. 777 0008 7B68 ldr r3, [r7, #4]
  5259. 778 000a 1B68 ldr r3, [r3]
  5260. 779 000c 4022 movs r2, #64
  5261. 780 000e 1340 ands r3, r2
  5262. 781 .loc 1 3923 77
  5263. 782 0010 402B cmp r3, #64
  5264. 783 0012 01D1 bne .L30
  5265. 784 .loc 1 3923 77 is_stmt 0 discriminator 1
  5266. 785 0014 0123 movs r3, #1
  5267. 786 0016 00E0 b .L32
  5268. 787 .L30:
  5269. 788 .loc 1 3923 77 discriminator 2
  5270. 789 0018 0023 movs r3, #0
  5271. 790 .L32:
  5272. 3924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5273. 791 .loc 1 3924 1 is_stmt 1 discriminator 5
  5274. 792 001a 1800 movs r0, r3
  5275. 793 001c BD46 mov sp, r7
  5276. 794 001e 02B0 add sp, sp, #8
  5277. 795 @ sp needed
  5278. 796 0020 80BD pop {r7, pc}
  5279. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 92
  5280. 797 .cfi_endproc
  5281. 798 .LFE655:
  5282. 800 .section .text.LL_USART_ReceiveData8,"ax",%progbits
  5283. 801 .align 1
  5284. 802 .syntax unified
  5285. 803 .code 16
  5286. 804 .thumb_func
  5287. 806 LL_USART_ReceiveData8:
  5288. 807 .LFB680:
  5289. 3925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5290. 3926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_TXE LL_USART_IsEnabledIT_TXE_TXFNF /* Redefinition for legacy purpose
  5291. 3927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5292. 3928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5293. 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
  5294. 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
  5295. 3931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5296. 3932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_IsEnabledIT_TXE_TXFNF
  5297. 3933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5298. 3934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5299. 3935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5300. 3936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE_TXFNF(const USART_TypeDef *USARTx)
  5301. 3937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5302. 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
  5303. 3939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5304. 3940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5305. 3941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5306. 3942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Interrupt is enabled or disabled.
  5307. 3943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_IsEnabledIT_PE
  5308. 3944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5309. 3945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5310. 3946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5311. 3947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(const USART_TypeDef *USARTx)
  5312. 3948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5313. 3949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)) ? 1UL : 0UL);
  5314. 3950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5315. 3951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5316. 3952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5317. 3953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Interrupt is enabled or disabled.
  5318. 3954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_IsEnabledIT_CM
  5319. 3955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5320. 3956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5321. 3957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5322. 3958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CM(const USART_TypeDef *USARTx)
  5323. 3959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5324. 3960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_CMIE) == (USART_CR1_CMIE)) ? 1UL : 0UL);
  5325. 3961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5326. 3962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5327. 3963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5328. 3964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Timeout Interrupt is enabled or disabled.
  5329. 3965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_IsEnabledIT_RTO
  5330. 3966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5331. 3967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5332. 3968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5333. 3969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RTO(const USART_TypeDef *USARTx)
  5334. 3970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5335. 3971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RTOIE) == (USART_CR1_RTOIE)) ? 1UL : 0UL);
  5336. 3972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5337. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 93
  5338. 3973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5339. 3974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5340. 3975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Interrupt is enabled or disabled.
  5341. 3976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  5342. 3977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  5343. 3978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_IsEnabledIT_EOB
  5344. 3979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5345. 3980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5346. 3981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5347. 3982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_EOB(const USART_TypeDef *USARTx)
  5348. 3983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5349. 3984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_EOBIE) == (USART_CR1_EOBIE)) ? 1UL : 0UL);
  5350. 3985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5351. 3986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5352. 3987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5353. 3988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Interrupt is enabled or disabled
  5354. 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
  5355. 3990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5356. 3991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_IsEnabledIT_TXFE
  5357. 3992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5358. 3993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5359. 3994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5360. 3995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFE(const USART_TypeDef *USARTx)
  5361. 3996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5362. 3997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXFEIE) == (USART_CR1_TXFEIE)) ? 1UL : 0UL);
  5363. 3998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5364. 3999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5365. 4000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5366. 4001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Interrupt is enabled or disabled
  5367. 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
  5368. 4003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5369. 4004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_IsEnabledIT_RXFF
  5370. 4005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5371. 4006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5372. 4007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5373. 4008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFF(const USART_TypeDef *USARTx)
  5374. 4009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5375. 4010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXFFIE) == (USART_CR1_RXFFIE)) ? 1UL : 0UL);
  5376. 4011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5377. 4012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5378. 4013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5379. 4014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Interrupt is enabled or disabled.
  5380. 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
  5381. 4016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  5382. 4017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_IsEnabledIT_LBD
  5383. 4018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5384. 4019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5385. 4020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5386. 4021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(const USART_TypeDef *USARTx)
  5387. 4022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5388. 4023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LBDIE) == (USART_CR2_LBDIE)) ? 1UL : 0UL);
  5389. 4024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5390. 4025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5391. 4026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5392. 4027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Error Interrupt is enabled or disabled.
  5393. 4028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_IsEnabledIT_ERROR
  5394. 4029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5395. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 94
  5396. 4030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5397. 4031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5398. 4032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(const USART_TypeDef *USARTx)
  5399. 4033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5400. 4034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)) ? 1UL : 0UL);
  5401. 4035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5402. 4036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5403. 4037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5404. 4038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Interrupt is enabled or disabled.
  5405. 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
  5406. 4040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  5407. 4041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_IsEnabledIT_CTS
  5408. 4042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5409. 4043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5410. 4044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5411. 4045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(const USART_TypeDef *USARTx)
  5412. 4046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5413. 4047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)) ? 1UL : 0UL);
  5414. 4048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5415. 4049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5416. 4050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5417. 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.
  5418. 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
  5419. 4053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  5420. 4054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_IsEnabledIT_WKUP
  5421. 4055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5422. 4056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5423. 4057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5424. 4058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_WKUP(const USART_TypeDef *USARTx)
  5425. 4059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5426. 4060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_WUFIE) == (USART_CR3_WUFIE)) ? 1UL : 0UL);
  5427. 4061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5428. 4062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5429. 4063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5430. 4064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART TX FIFO Threshold Interrupt is enabled or disabled
  5431. 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
  5432. 4066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5433. 4067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_IsEnabledIT_TXFT
  5434. 4068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5435. 4069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5436. 4070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5437. 4071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFT(const USART_TypeDef *USARTx)
  5438. 4072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5439. 4073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TXFTIE) == (USART_CR3_TXFTIE)) ? 1UL : 0UL);
  5440. 4074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5441. 4075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5442. 4076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5443. 4077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Interrupt is enabled or
  5444. 4078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  5445. 4079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  5446. 4080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_IsEnabledIT_TCBGT
  5447. 4081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5448. 4082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5449. 4083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5450. 4084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TCBGT(const USART_TypeDef *USARTx)
  5451. 4085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5452. 4086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TCBGTIE) == (USART_CR3_TCBGTIE)) ? 1UL : 0UL);
  5453. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 95
  5454. 4087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5455. 4088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5456. 4089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5457. 4090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART RX FIFO Threshold Interrupt is enabled or disabled
  5458. 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
  5459. 4092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5460. 4093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_IsEnabledIT_RXFT
  5461. 4094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5462. 4095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5463. 4096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5464. 4097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFT(const USART_TypeDef *USARTx)
  5465. 4098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5466. 4099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_RXFTIE) == (USART_CR3_RXFTIE)) ? 1UL : 0UL);
  5467. 4100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5468. 4101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5469. 4102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5470. 4103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  5471. 4104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5472. 4105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5473. 4106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_DMA_Management DMA_Management
  5474. 4107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  5475. 4108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5476. 4109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5477. 4110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5478. 4111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for reception
  5479. 4112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_EnableDMAReq_RX
  5480. 4113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5481. 4114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5482. 4115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5483. 4116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx)
  5484. 4117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5485. 4118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAR);
  5486. 4119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5487. 4120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5488. 4121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5489. 4122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for reception
  5490. 4123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_DisableDMAReq_RX
  5491. 4124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5492. 4125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5493. 4126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5494. 4127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx)
  5495. 4128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5496. 4129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR);
  5497. 4130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5498. 4131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5499. 4132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5500. 4133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for reception
  5501. 4134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_IsEnabledDMAReq_RX
  5502. 4135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5503. 4136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5504. 4137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5505. 4138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(const USART_TypeDef *USARTx)
  5506. 4139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5507. 4140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)) ? 1UL : 0UL);
  5508. 4141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5509. 4142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5510. 4143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5511. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 96
  5512. 4144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for transmission
  5513. 4145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_EnableDMAReq_TX
  5514. 4146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5515. 4147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5516. 4148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5517. 4149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx)
  5518. 4150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5519. 4151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAT);
  5520. 4152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5521. 4153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5522. 4154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5523. 4155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for transmission
  5524. 4156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_DisableDMAReq_TX
  5525. 4157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5526. 4158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5527. 4159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5528. 4160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx)
  5529. 4161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5530. 4162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT);
  5531. 4163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5532. 4164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5533. 4165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5534. 4166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for transmission
  5535. 4167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_IsEnabledDMAReq_TX
  5536. 4168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5537. 4169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5538. 4170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5539. 4171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(const USART_TypeDef *USARTx)
  5540. 4172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5541. 4173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)) ? 1UL : 0UL);
  5542. 4174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5543. 4175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5544. 4176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5545. 4177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Disabling on Reception Error
  5546. 4178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_EnableDMADeactOnRxErr
  5547. 4179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5548. 4180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5549. 4181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5550. 4182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr(USART_TypeDef *USARTx)
  5551. 4183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5552. 4184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DDRE);
  5553. 4185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5554. 4186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5555. 4187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5556. 4188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Disabling on Reception Error
  5557. 4189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_DisableDMADeactOnRxErr
  5558. 4190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5559. 4191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5560. 4192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5561. 4193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr(USART_TypeDef *USARTx)
  5562. 4194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5563. 4195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DDRE);
  5564. 4196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5565. 4197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5566. 4198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5567. 4199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if DMA Disabling on Reception Error is disabled
  5568. 4200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_IsEnabledDMADeactOnRxErr
  5569. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 97
  5570. 4201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5571. 4202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5572. 4203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5573. 4204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr(const USART_TypeDef *USARTx)
  5574. 4205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5575. 4206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DDRE) == (USART_CR3_DDRE)) ? 1UL : 0UL);
  5576. 4207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5577. 4208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5578. 4209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5579. 4210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get the data register address used for DMA transfer
  5580. 4211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_DMA_GetRegAddr\n
  5581. 4212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_DMA_GetRegAddr
  5582. 4213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5583. 4214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Direction This parameter can be one of the following values:
  5584. 4215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_TRANSMIT
  5585. 4216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_RECEIVE
  5586. 4217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of data register
  5587. 4218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5588. 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)
  5589. 4220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5590. 4221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t data_reg_addr;
  5591. 4222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5592. 4223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (Direction == LL_USART_DMA_REG_DATA_TRANSMIT)
  5593. 4224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5594. 4225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of TDR register */
  5595. 4226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->TDR);
  5596. 4227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5597. 4228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  5598. 4229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5599. 4230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of RDR register */
  5600. 4231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->RDR);
  5601. 4232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5602. 4233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5603. 4234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return data_reg_addr;
  5604. 4235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5605. 4236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5606. 4237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5607. 4238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  5608. 4239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5609. 4240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5610. 4241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Data_Management Data_Management
  5611. 4242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  5612. 4243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5613. 4244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5614. 4245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5615. 4246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 8 bits)
  5616. 4247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData8
  5617. 4248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5618. 4249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
  5619. 4250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5620. 4251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint8_t LL_USART_ReceiveData8(const USART_TypeDef *USARTx)
  5621. 4252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5622. 808 .loc 1 4252 1
  5623. 809 .cfi_startproc
  5624. 810 @ args = 0, pretend = 0, frame = 8
  5625. 811 @ frame_needed = 1, uses_anonymous_args = 0
  5626. 812 0000 80B5 push {r7, lr}
  5627. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 98
  5628. 813 .LCFI39:
  5629. 814 .cfi_def_cfa_offset 8
  5630. 815 .cfi_offset 7, -8
  5631. 816 .cfi_offset 14, -4
  5632. 817 0002 82B0 sub sp, sp, #8
  5633. 818 .LCFI40:
  5634. 819 .cfi_def_cfa_offset 16
  5635. 820 0004 00AF add r7, sp, #0
  5636. 821 .LCFI41:
  5637. 822 .cfi_def_cfa_register 7
  5638. 823 0006 7860 str r0, [r7, #4]
  5639. 4253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint8_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR) & 0xFFU);
  5640. 824 .loc 1 4253 20
  5641. 825 0008 7B68 ldr r3, [r7, #4]
  5642. 826 000a 5B6A ldr r3, [r3, #36]
  5643. 827 .loc 1 4253 10
  5644. 828 000c DBB2 uxtb r3, r3
  5645. 4254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5646. 829 .loc 1 4254 1
  5647. 830 000e 1800 movs r0, r3
  5648. 831 0010 BD46 mov sp, r7
  5649. 832 0012 02B0 add sp, sp, #8
  5650. 833 @ sp needed
  5651. 834 0014 80BD pop {r7, pc}
  5652. 835 .cfi_endproc
  5653. 836 .LFE680:
  5654. 838 .section .text.LL_USART_TransmitData8,"ax",%progbits
  5655. 839 .align 1
  5656. 840 .syntax unified
  5657. 841 .code 16
  5658. 842 .thumb_func
  5659. 844 LL_USART_TransmitData8:
  5660. 845 .LFB682:
  5661. 4255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5662. 4256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5663. 4257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 9 bits)
  5664. 4258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData9
  5665. 4259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5666. 4260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x1FF
  5667. 4261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5668. 4262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint16_t LL_USART_ReceiveData9(const USART_TypeDef *USARTx)
  5669. 4263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5670. 4264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint16_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR));
  5671. 4265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5672. 4266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5673. 4267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5674. 4268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write in Transmitter Data Register (Transmit Data value, 8 bits)
  5675. 4269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_TransmitData8
  5676. 4270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5677. 4271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Value between Min_Data=0x00 and Max_Data=0xFF
  5678. 4272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5679. 4273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5680. 4274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_TransmitData8(USART_TypeDef *USARTx, uint8_t Value)
  5681. 4275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5682. 846 .loc 1 4275 1
  5683. 847 .cfi_startproc
  5684. 848 @ args = 0, pretend = 0, frame = 8
  5685. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 99
  5686. 849 @ frame_needed = 1, uses_anonymous_args = 0
  5687. 850 0000 80B5 push {r7, lr}
  5688. 851 .LCFI42:
  5689. 852 .cfi_def_cfa_offset 8
  5690. 853 .cfi_offset 7, -8
  5691. 854 .cfi_offset 14, -4
  5692. 855 0002 82B0 sub sp, sp, #8
  5693. 856 .LCFI43:
  5694. 857 .cfi_def_cfa_offset 16
  5695. 858 0004 00AF add r7, sp, #0
  5696. 859 .LCFI44:
  5697. 860 .cfi_def_cfa_register 7
  5698. 861 0006 7860 str r0, [r7, #4]
  5699. 862 0008 0A00 movs r2, r1
  5700. 863 000a FB1C adds r3, r7, #3
  5701. 864 000c 1A70 strb r2, [r3]
  5702. 4276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->TDR = Value;
  5703. 865 .loc 1 4276 15
  5704. 866 000e FB1C adds r3, r7, #3
  5705. 867 0010 1A78 ldrb r2, [r3]
  5706. 868 0012 7B68 ldr r3, [r7, #4]
  5707. 869 0014 9A62 str r2, [r3, #40]
  5708. 4277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5709. 870 .loc 1 4277 1
  5710. 871 0016 C046 nop
  5711. 872 0018 BD46 mov sp, r7
  5712. 873 001a 02B0 add sp, sp, #8
  5713. 874 @ sp needed
  5714. 875 001c 80BD pop {r7, pc}
  5715. 876 .cfi_endproc
  5716. 877 .LFE682:
  5717. 879 .section .text.LL_APB1_GRP1_DisableClock,"ax",%progbits
  5718. 880 .align 1
  5719. 881 .syntax unified
  5720. 882 .code 16
  5721. 883 .thumb_func
  5722. 885 LL_APB1_GRP1_DisableClock:
  5723. 886 .LFB698:
  5724. 887 .file 3 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h"
  5725. 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5726. 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
  5727. 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @file stm32g0xx_ll_bus.h
  5728. 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @author MCD Application Team
  5729. 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Header file of BUS LL module.
  5730. 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5731. 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @verbatim
  5732. 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ##### RCC Limitations #####
  5733. 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ==============================================================================
  5734. 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
  5735. 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral
  5736. 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write
  5737. 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** from/to registers.
  5738. 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping.
  5739. 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary
  5740. 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5741. 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
  5742. 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** Workarounds:
  5743. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 100
  5744. 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
  5745. 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function.
  5746. 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5747. 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @endverbatim
  5748. 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
  5749. 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @attention
  5750. 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
  5751. 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * Copyright (c) 2018 STMicroelectronics.
  5752. 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * All rights reserved.
  5753. 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
  5754. 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
  5755. 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * the root directory of this software component.
  5756. 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  5757. 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
  5758. 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5759. 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5760. 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  5761. 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifndef STM32G0xx_LL_BUS_H
  5762. 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define STM32G0xx_LL_BUS_H
  5763. 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5764. 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifdef __cplusplus
  5765. 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** extern "C" {
  5766. 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif
  5767. 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5768. 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/
  5769. 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #include "stm32g0xx.h"
  5770. 45:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5771. 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @addtogroup STM32G0xx_LL_Driver
  5772. 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5773. 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5774. 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5775. 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RCC)
  5776. 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5777. 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL BUS
  5778. 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5779. 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5780. 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5781. 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/
  5782. 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/
  5783. 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5784. 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/
  5785. 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5786. 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/
  5787. 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5788. 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/
  5789. 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/
  5790. 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants
  5791. 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5792. 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5793. 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5794. 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH
  5795. 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5796. 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5797. 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5798. 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN
  5799. 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DMA2)
  5800. 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN
  5801. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 101
  5802. 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DMA2 */
  5803. 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLASHEN
  5804. 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBSMENR_SRAMSMEN
  5805. 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRC)
  5806. 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN
  5807. 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRC */
  5808. 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(AES)
  5809. 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRYP RCC_AHBENR_AESEN
  5810. 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* AES */
  5811. 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RNG)
  5812. 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_RNG RCC_AHBENR_RNGEN
  5813. 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* RNG */
  5814. 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5815. 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5816. 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5817. 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5818. 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5819. 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH
  5820. 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5821. 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5822. 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5823. 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM2)
  5824. 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APBENR1_TIM2EN
  5825. 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM2 */
  5826. 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM3)
  5827. 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APBENR1_TIM3EN
  5828. 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM3 */
  5829. 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM4)
  5830. 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APBENR1_TIM4EN
  5831. 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM4 */
  5832. 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM6)
  5833. 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APBENR1_TIM6EN
  5834. 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM6 */
  5835. 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM7)
  5836. 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APBENR1_TIM7EN
  5837. 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM7 */
  5838. 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART2)
  5839. 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART2 RCC_APBENR1_LPUART2EN
  5840. 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART2 */
  5841. 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART5)
  5842. 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART5 RCC_APBENR1_USART5EN
  5843. 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART5 */
  5844. 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART6)
  5845. 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART6 RCC_APBENR1_USART6EN
  5846. 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART6 */
  5847. 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_RTC RCC_APBENR1_RTCAPBEN
  5848. 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APBENR1_WWDGEN
  5849. 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(FDCAN1) || defined(FDCAN2)
  5850. 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_FDCAN RCC_APBENR1_FDCANEN
  5851. 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* FDCAN1 */
  5852. 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USB_DRD_FS)
  5853. 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APBENR1_USBEN
  5854. 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USB_DRD_FS */
  5855. 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APBENR1_SPI2EN
  5856. 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(SPI3)
  5857. 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APBENR1_SPI3EN
  5858. 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* SPI3 */
  5859. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 102
  5860. 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRS)
  5861. 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CRS RCC_APBENR1_CRSEN
  5862. 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRS */
  5863. 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APBENR1_USART2EN
  5864. 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART3)
  5865. 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APBENR1_USART3EN
  5866. 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART3 */
  5867. 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART4)
  5868. 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART4 RCC_APBENR1_USART4EN
  5869. 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART4 */
  5870. 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART1)
  5871. 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART1 RCC_APBENR1_LPUART1EN
  5872. 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART1 */
  5873. 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APBENR1_I2C1EN
  5874. 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APBENR1_I2C2EN
  5875. 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(I2C3)
  5876. 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APBENR1_I2C3EN
  5877. 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* I2C3 */
  5878. 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CEC)
  5879. 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APBENR1_CECEN
  5880. 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CEC */
  5881. 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD1)
  5882. 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD1 RCC_APBENR1_UCPD1EN
  5883. 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD1 */
  5884. 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD2)
  5885. 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD2 RCC_APBENR1_UCPD2EN
  5886. 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD2 */
  5887. 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DBGMCU RCC_APBENR1_DBGEN
  5888. 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APBENR1_PWREN
  5889. 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DAC1)
  5890. 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APBENR1_DAC1EN
  5891. 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DAC1 */
  5892. 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM2)
  5893. 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM2 RCC_APBENR1_LPTIM2EN
  5894. 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM2 */
  5895. 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM1)
  5896. 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APBENR1_LPTIM1EN
  5897. 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM1 */
  5898. 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5899. 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5900. 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5901. 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5902. 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH
  5903. 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5904. 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5905. 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5906. 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APBENR2_SYSCFGEN
  5907. 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APBENR2_TIM1EN
  5908. 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APBENR2_SPI1EN
  5909. 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APBENR2_USART1EN
  5910. 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM14)
  5911. 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM14 RCC_APBENR2_TIM14EN
  5912. 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM14 */
  5913. 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM15)
  5914. 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APBENR2_TIM15EN
  5915. 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM15 */
  5916. 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM16)
  5917. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 103
  5918. 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APBENR2_TIM16EN
  5919. 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM16 */
  5920. 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM17)
  5921. 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APBENR2_TIM17EN
  5922. 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM17 */
  5923. 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(ADC)
  5924. 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC RCC_APBENR2_ADCEN
  5925. 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* ADC */
  5926. 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5927. 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5928. 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5929. 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5930. 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_IOP_GRP1_PERIPH IOP GRP1 PERIPH
  5931. 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5932. 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5933. 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5934. 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOA RCC_IOPENR_GPIOAEN
  5935. 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOB RCC_IOPENR_GPIOBEN
  5936. 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOC RCC_IOPENR_GPIOCEN
  5937. 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOD RCC_IOPENR_GPIODEN
  5938. 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOE)
  5939. 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOE RCC_IOPENR_GPIOEEN
  5940. 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOE */
  5941. 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOF)
  5942. 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOF RCC_IOPENR_GPIOFEN
  5943. 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOF */
  5944. 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5945. 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5946. 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5947. 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5948. 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5949. 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5950. 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5951. 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5952. 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/
  5953. 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/
  5954. 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions
  5955. 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5956. 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5957. 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5958. 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1
  5959. 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5960. 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5961. 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5962. 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5963. 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock.
  5964. 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n
  5965. 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_EnableClock\n
  5966. 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n
  5967. 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_EnableClock\n
  5968. 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_EnableClock
  5969. 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5970. 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5971. 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5972. 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5973. 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  5974. 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  5975. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 104
  5976. 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  5977. 248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  5978. 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5979. 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs)
  5980. 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  5981. 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
  5982. 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs);
  5983. 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  5984. 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs);
  5985. 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
  5986. 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  5987. 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5988. 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5989. 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not
  5990. 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n
  5991. 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_IsEnabledClock\n
  5992. 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n
  5993. 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_IsEnabledClock\n
  5994. 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_IsEnabledClock
  5995. 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5996. 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5997. 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5998. 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5999. 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6000. 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6001. 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6002. 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  6003. 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6004. 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
  6005. 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6006. 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->AHBENR, Periphs) == Periphs) ? 1UL : 0UL);
  6007. 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6008. 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6009. 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6010. 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock.
  6011. 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n
  6012. 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_DisableClock\n
  6013. 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n
  6014. 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_DisableClock\n
  6015. 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_DisableClock
  6016. 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6017. 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6018. 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6019. 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6020. 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6021. 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6022. 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6023. 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6024. 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6025. 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs)
  6026. 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6027. 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs);
  6028. 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6029. 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6030. 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6031. 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Force AHB1 peripherals reset.
  6032. 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ForceReset\n
  6033. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 105
  6034. 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ForceReset\n
  6035. 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ForceReset\n
  6036. 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ForceReset\n
  6037. 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ForceReset
  6038. 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6039. 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
  6040. 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6041. 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6042. 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6043. 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6044. 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6045. 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6046. 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6047. 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6048. 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs)
  6049. 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6050. 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs);
  6051. 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6052. 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6053. 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6054. 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Release AHB1 peripherals reset.
  6055. 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ReleaseReset\n
  6056. 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ReleaseReset\n
  6057. 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n
  6058. 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ReleaseReset\n
  6059. 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ReleaseReset
  6060. 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6061. 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
  6062. 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6063. 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6064. 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6065. 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6066. 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6067. 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6068. 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6069. 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6070. 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs)
  6071. 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6072. 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs);
  6073. 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6074. 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6075. 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6076. 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripheral clocks in Sleep and Stop modes
  6077. 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6078. 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6079. 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6080. 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6081. 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6082. 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_EnableClockStopSleep
  6083. 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6084. 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6085. 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6086. 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  6087. 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6088. 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6089. 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6090. 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6091. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 106
  6092. 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6093. 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6094. 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClockStopSleep(uint32_t Periphs)
  6095. 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6096. 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
  6097. 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBSMENR, Periphs);
  6098. 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  6099. 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBSMENR, Periphs);
  6100. 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
  6101. 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6102. 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6103. 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6104. 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripheral clocks in Sleep and Stop modes
  6105. 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6106. 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6107. 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6108. 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6109. 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6110. 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_DisableClockStopSleep
  6111. 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6112. 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6113. 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6114. 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  6115. 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6116. 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6117. 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6118. 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6119. 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6120. 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6121. 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClockStopSleep(uint32_t Periphs)
  6122. 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6123. 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBSMENR, Periphs);
  6124. 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6125. 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6126. 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6127. 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  6128. 397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6129. 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6130. 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1
  6131. 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  6132. 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6133. 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6134. 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6135. 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock.
  6136. 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_EnableClock\n
  6137. 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_EnableClock\n
  6138. 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_EnableClock\n
  6139. 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_EnableClock\n
  6140. 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_EnableClock\n
  6141. 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_EnableClock\n
  6142. 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_EnableClock\n
  6143. 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_EnableClock\n
  6144. 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_EnableClock\n
  6145. 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_EnableClock\n
  6146. 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_EnableClock\n
  6147. 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_EnableClock\n
  6148. 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_EnableClock\n
  6149. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 107
  6150. 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_EnableClock\n
  6151. 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_EnableClock\n
  6152. 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_EnableClock\n
  6153. 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_EnableClock\n
  6154. 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_EnableClock\n
  6155. 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_EnableClock\n
  6156. 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_EnableClock\n
  6157. 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_EnableClock\n
  6158. 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_EnableClock\n
  6159. 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_EnableClock\n
  6160. 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_EnableClock\n
  6161. 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_EnableClock\n
  6162. 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_EnableClock\n
  6163. 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_EnableClock\n
  6164. 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_EnableClock\n
  6165. 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_EnableClock
  6166. 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6167. 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
  6168. 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  6169. 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
  6170. 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
  6171. 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
  6172. 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
  6173. 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  6174. 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
  6175. 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
  6176. 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  6177. 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
  6178. 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
  6179. 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
  6180. 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
  6181. 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
  6182. 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
  6183. 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  6184. 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
  6185. 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
  6186. 454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
  6187. 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
  6188. 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
  6189. 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
  6190. 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
  6191. 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
  6192. 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  6193. 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
  6194. 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
  6195. 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
  6196. 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
  6197. 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6198. 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6199. 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
  6200. 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6201. 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
  6202. 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->APBENR1, Periphs);
  6203. 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  6204. 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APBENR1, Periphs);
  6205. 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
  6206. 474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6207. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 108
  6208. 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6209. 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6210. 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not
  6211. 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_IsEnabledClock\n
  6212. 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_IsEnabledClock\n
  6213. 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_IsEnabledClock\n
  6214. 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_IsEnabledClock\n
  6215. 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_IsEnabledClock\n
  6216. 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_IsEnabledClock\n
  6217. 484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_IsEnabledClock\n
  6218. 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_IsEnabledClock\n
  6219. 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_IsEnabledClock\n
  6220. 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_IsEnabledClock\n
  6221. 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_IsEnabledClock\n
  6222. 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_IsEnabledClock\n
  6223. 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_IsEnabledClock\n
  6224. 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_IsEnabledClock\n
  6225. 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_IsEnabledClock\n
  6226. 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_IsEnabledClock\n
  6227. 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_IsEnabledClock\n
  6228. 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_IsEnabledClock\n
  6229. 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_IsEnabledClock\n
  6230. 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_IsEnabledClock\n
  6231. 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_IsEnabledClock\n
  6232. 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_IsEnabledClock\n
  6233. 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_IsEnabledClock\n
  6234. 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_IsEnabledClock\n
  6235. 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_IsEnabledClock\n
  6236. 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_IsEnabledClock\n
  6237. 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_IsEnabledClock\n
  6238. 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_IsEnabledClock\n
  6239. 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_IsEnabledClock
  6240. 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6241. 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
  6242. 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  6243. 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
  6244. 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
  6245. 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
  6246. 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
  6247. 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  6248. 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
  6249. 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
  6250. 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  6251. 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
  6252. 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
  6253. 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
  6254. 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
  6255. 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
  6256. 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
  6257. 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  6258. 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
  6259. 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
  6260. 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
  6261. 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
  6262. 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
  6263. 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
  6264. 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
  6265. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 109
  6266. 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
  6267. 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  6268. 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
  6269. 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
  6270. 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
  6271. 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
  6272. 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  6273. 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6274. 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
  6275. 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6276. 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->APBENR1, Periphs) == (Periphs)) ? 1UL : 0UL);
  6277. 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6278. 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6279. 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6280. 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock.
  6281. 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_DisableClock\n
  6282. 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_DisableClock\n
  6283. 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_DisableClock\n
  6284. 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_DisableClock\n
  6285. 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_DisableClock\n
  6286. 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_DisableClock\n
  6287. 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_DisableClock\n
  6288. 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_DisableClock\n
  6289. 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_DisableClock\n
  6290. 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_DisableClock\n
  6291. 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_DisableClock\n
  6292. 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_DisableClock\n
  6293. 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_DisableClock\n
  6294. 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_DisableClock\n
  6295. 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_DisableClock\n
  6296. 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_DisableClock\n
  6297. 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_DisableClock\n
  6298. 564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_DisableClock\n
  6299. 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_DisableClock\n
  6300. 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_DisableClock\n
  6301. 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_DisableClock\n
  6302. 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_DisableClock\n
  6303. 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_DisableClock\n
  6304. 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_DisableClock\n
  6305. 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_DisableClock\n
  6306. 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_DisableClock\n
  6307. 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_DisableClock\n
  6308. 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_DisableClock\n
  6309. 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_DisableClock
  6310. 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6311. 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
  6312. 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  6313. 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
  6314. 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
  6315. 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
  6316. 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
  6317. 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  6318. 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
  6319. 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
  6320. 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  6321. 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
  6322. 588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
  6323. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 110
  6324. 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
  6325. 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
  6326. 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
  6327. 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
  6328. 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  6329. 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
  6330. 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
  6331. 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
  6332. 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
  6333. 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
  6334. 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
  6335. 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
  6336. 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
  6337. 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  6338. 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
  6339. 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
  6340. 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
  6341. 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
  6342. 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6343. 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6344. 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs)
  6345. 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6346. 888 .loc 3 610 1
  6347. 889 .cfi_startproc
  6348. 890 @ args = 0, pretend = 0, frame = 8
  6349. 891 @ frame_needed = 1, uses_anonymous_args = 0
  6350. 892 0000 80B5 push {r7, lr}
  6351. 893 .LCFI45:
  6352. 894 .cfi_def_cfa_offset 8
  6353. 895 .cfi_offset 7, -8
  6354. 896 .cfi_offset 14, -4
  6355. 897 0002 82B0 sub sp, sp, #8
  6356. 898 .LCFI46:
  6357. 899 .cfi_def_cfa_offset 16
  6358. 900 0004 00AF add r7, sp, #0
  6359. 901 .LCFI47:
  6360. 902 .cfi_def_cfa_register 7
  6361. 903 0006 7860 str r0, [r7, #4]
  6362. 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->APBENR1, Periphs);
  6363. 904 .loc 3 611 3
  6364. 905 0008 054B ldr r3, .L37
  6365. 906 000a DA6B ldr r2, [r3, #60]
  6366. 907 000c 7B68 ldr r3, [r7, #4]
  6367. 908 000e D943 mvns r1, r3
  6368. 909 0010 034B ldr r3, .L37
  6369. 910 0012 0A40 ands r2, r1
  6370. 911 0014 DA63 str r2, [r3, #60]
  6371. 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6372. 912 .loc 3 612 1
  6373. 913 0016 C046 nop
  6374. 914 0018 BD46 mov sp, r7
  6375. 915 001a 02B0 add sp, sp, #8
  6376. 916 @ sp needed
  6377. 917 001c 80BD pop {r7, pc}
  6378. 918 .L38:
  6379. 919 001e C046 .align 2
  6380. 920 .L37:
  6381. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 111
  6382. 921 0020 00100240 .word 1073876992
  6383. 922 .cfi_endproc
  6384. 923 .LFE698:
  6385. 925 .global sensor_ctx
  6386. 926 .section .bss.sensor_ctx,"aw",%nobits
  6387. 927 .align 2
  6388. 930 sensor_ctx:
  6389. 931 0000 00000000 .space 152
  6390. 931 00000000
  6391. 931 00000000
  6392. 931 00000000
  6393. 931 00000000
  6394. 932 .global adc_buf
  6395. 933 .section .bss.adc_buf,"aw",%nobits
  6396. 934 .align 2
  6397. 937 adc_buf:
  6398. 938 0000 00000000 .space 200
  6399. 938 00000000
  6400. 938 00000000
  6401. 938 00000000
  6402. 938 00000000
  6403. 939 .global sensor_data
  6404. 940 .section .bss.sensor_data,"aw",%nobits
  6405. 941 .align 2
  6406. 944 sensor_data:
  6407. 945 0000 00000000 .space 12
  6408. 945 00000000
  6409. 945 00000000
  6410. 946 .section .text.sensor_set_bus_sta,"ax",%progbits
  6411. 947 .align 1
  6412. 948 .global sensor_set_bus_sta
  6413. 949 .syntax unified
  6414. 950 .code 16
  6415. 951 .thumb_func
  6416. 953 sensor_set_bus_sta:
  6417. 954 .LFB942:
  6418. 955 .file 4 "User/sensor.c"
  6419. 1:User/sensor.c **** #include "stdint.h"
  6420. 2:User/sensor.c **** #include "string.h"
  6421. 3:User/sensor.c **** #include "main.h"
  6422. 4:User/sensor.c **** #include "sensor.h"
  6423. 5:User/sensor.c **** #include "usart.h"
  6424. 6:User/sensor.c **** #include "stdio.h"
  6425. 7:User/sensor.c **** #include "crc.h"
  6426. 8:User/sensor.c **** #include "pm.h"
  6427. 9:User/sensor.c **** #include "..\Core\Inc\adc.h"
  6428. 10:User/sensor.c **** #include "dma.h"
  6429. 11:User/sensor.c **** #include "rec.h"
  6430. 12:User/sensor.c **** #include "app_rtc.h"
  6431. 13:User/sensor.c **** #include "spi.h"
  6432. 14:User/sensor.c ****
  6433. 15:User/sensor.c **** #define ADC_BUF_SZ (50ul)
  6434. 16:User/sensor.c ****
  6435. 17:User/sensor.c **** typedef enum
  6436. 18:User/sensor.c **** {
  6437. 19:User/sensor.c **** BUS_STA_DISABLE = 0,
  6438. 20:User/sensor.c **** BUS_STA_TX = 1,
  6439. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 112
  6440. 21:User/sensor.c **** BUS_STA_RX = 2,
  6441. 22:User/sensor.c **** } bus_sta_t;
  6442. 23:User/sensor.c ****
  6443. 24:User/sensor.c **** typedef enum
  6444. 25:User/sensor.c **** {
  6445. 26:User/sensor.c **** SENSOR_STA_IDLE = 0,
  6446. 27:User/sensor.c **** SENSOR_STA_START,
  6447. 28:User/sensor.c **** SENSOR_STA_WAIT_PWR,
  6448. 29:User/sensor.c **** SENSOR_STA_TX,
  6449. 30:User/sensor.c **** SENSOR_STA_WAIT_ACK,
  6450. 31:User/sensor.c **** SENSOR_STA_STOP,
  6451. 32:User/sensor.c **** } sensor_sta_t;
  6452. 33:User/sensor.c ****
  6453. 34:User/sensor.c **** struct
  6454. 35:User/sensor.c **** {
  6455. 36:User/sensor.c **** sensor_sta_t tsk_sta;
  6456. 37:User/sensor.c **** uint32_t timestamp;
  6457. 38:User/sensor.c **** uint32_t tsk_timer;
  6458. 39:User/sensor.c **** int retry;
  6459. 40:User/sensor.c **** int rx_len;
  6460. 41:User/sensor.c **** uint32_t rx_timer;
  6461. 42:User/sensor.c **** uint8_t rx_buf[128];
  6462. 43:User/sensor.c **** } sensor_ctx;
  6463. 44:User/sensor.c ****
  6464. 45:User/sensor.c **** volatile uint16_t adc_buf[ADC_BUF_SZ][2];
  6465. 46:User/sensor.c **** sensor_data_t sensor_data;
  6466. 47:User/sensor.c ****
  6467. 48:User/sensor.c **** void sensor_set_bus_sta(bus_sta_t sta)
  6468. 49:User/sensor.c **** {
  6469. 956 .loc 4 49 1
  6470. 957 .cfi_startproc
  6471. 958 @ args = 0, pretend = 0, frame = 8
  6472. 959 @ frame_needed = 1, uses_anonymous_args = 0
  6473. 960 0000 80B5 push {r7, lr}
  6474. 961 .LCFI48:
  6475. 962 .cfi_def_cfa_offset 8
  6476. 963 .cfi_offset 7, -8
  6477. 964 .cfi_offset 14, -4
  6478. 965 0002 82B0 sub sp, sp, #8
  6479. 966 .LCFI49:
  6480. 967 .cfi_def_cfa_offset 16
  6481. 968 0004 00AF add r7, sp, #0
  6482. 969 .LCFI50:
  6483. 970 .cfi_def_cfa_register 7
  6484. 971 0006 0200 movs r2, r0
  6485. 972 0008 FB1D adds r3, r7, #7
  6486. 973 000a 1A70 strb r2, [r3]
  6487. 50:User/sensor.c **** switch (sta)
  6488. 974 .loc 4 50 2
  6489. 975 000c FB1D adds r3, r7, #7
  6490. 976 000e 1B78 ldrb r3, [r3]
  6491. 977 0010 012B cmp r3, #1
  6492. 978 0012 10D0 beq .L40
  6493. 979 0014 022B cmp r3, #2
  6494. 980 0016 1DD0 beq .L41
  6495. 51:User/sensor.c **** {
  6496. 52:User/sensor.c **** default:
  6497. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 113
  6498. 53:User/sensor.c **** case BUS_STA_DISABLE:
  6499. 54:User/sensor.c **** HAL_GPIO_WritePin(RS485_DE_GPIO_Port, RS485_DE_Pin, GPIO_PIN_RESET);
  6500. 981 .loc 4 54 3
  6501. 982 0018 8023 movs r3, #128
  6502. 983 001a DB00 lsls r3, r3, #3
  6503. 984 001c 1748 ldr r0, .L43
  6504. 985 001e 0022 movs r2, #0
  6505. 986 0020 1900 movs r1, r3
  6506. 987 0022 FFF7FEFF bl HAL_GPIO_WritePin
  6507. 55:User/sensor.c **** HAL_GPIO_WritePin(RS485_RE_GPIO_Port, RS485_RE_Pin, GPIO_PIN_SET);
  6508. 988 .loc 4 55 3
  6509. 989 0026 8023 movs r3, #128
  6510. 990 0028 1B01 lsls r3, r3, #4
  6511. 991 002a 1448 ldr r0, .L43
  6512. 992 002c 0122 movs r2, #1
  6513. 993 002e 1900 movs r1, r3
  6514. 994 0030 FFF7FEFF bl HAL_GPIO_WritePin
  6515. 56:User/sensor.c **** break;
  6516. 995 .loc 4 56 3
  6517. 996 0034 1DE0 b .L42
  6518. 997 .L40:
  6519. 57:User/sensor.c **** case BUS_STA_TX:
  6520. 58:User/sensor.c **** HAL_GPIO_WritePin(RS485_DE_GPIO_Port, RS485_DE_Pin, GPIO_PIN_SET);
  6521. 998 .loc 4 58 3
  6522. 999 0036 8023 movs r3, #128
  6523. 1000 0038 DB00 lsls r3, r3, #3
  6524. 1001 003a 1048 ldr r0, .L43
  6525. 1002 003c 0122 movs r2, #1
  6526. 1003 003e 1900 movs r1, r3
  6527. 1004 0040 FFF7FEFF bl HAL_GPIO_WritePin
  6528. 59:User/sensor.c **** HAL_GPIO_WritePin(RS485_RE_GPIO_Port, RS485_RE_Pin, GPIO_PIN_SET);
  6529. 1005 .loc 4 59 3
  6530. 1006 0044 8023 movs r3, #128
  6531. 1007 0046 1B01 lsls r3, r3, #4
  6532. 1008 0048 0C48 ldr r0, .L43
  6533. 1009 004a 0122 movs r2, #1
  6534. 1010 004c 1900 movs r1, r3
  6535. 1011 004e FFF7FEFF bl HAL_GPIO_WritePin
  6536. 60:User/sensor.c **** break;
  6537. 1012 .loc 4 60 3
  6538. 1013 0052 0EE0 b .L42
  6539. 1014 .L41:
  6540. 61:User/sensor.c **** case BUS_STA_RX:
  6541. 62:User/sensor.c **** HAL_GPIO_WritePin(RS485_DE_GPIO_Port, RS485_DE_Pin, GPIO_PIN_RESET);
  6542. 1015 .loc 4 62 3
  6543. 1016 0054 8023 movs r3, #128
  6544. 1017 0056 DB00 lsls r3, r3, #3
  6545. 1018 0058 0848 ldr r0, .L43
  6546. 1019 005a 0022 movs r2, #0
  6547. 1020 005c 1900 movs r1, r3
  6548. 1021 005e FFF7FEFF bl HAL_GPIO_WritePin
  6549. 63:User/sensor.c **** HAL_GPIO_WritePin(RS485_RE_GPIO_Port, RS485_RE_Pin, GPIO_PIN_RESET);
  6550. 1022 .loc 4 63 3
  6551. 1023 0062 8023 movs r3, #128
  6552. 1024 0064 1B01 lsls r3, r3, #4
  6553. 1025 0066 0548 ldr r0, .L43
  6554. 1026 0068 0022 movs r2, #0
  6555. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 114
  6556. 1027 006a 1900 movs r1, r3
  6557. 1028 006c FFF7FEFF bl HAL_GPIO_WritePin
  6558. 64:User/sensor.c **** break;
  6559. 1029 .loc 4 64 3
  6560. 1030 0070 C046 nop
  6561. 1031 .L42:
  6562. 65:User/sensor.c **** }
  6563. 66:User/sensor.c **** }
  6564. 1032 .loc 4 66 1
  6565. 1033 0072 C046 nop
  6566. 1034 0074 BD46 mov sp, r7
  6567. 1035 0076 02B0 add sp, sp, #8
  6568. 1036 @ sp needed
  6569. 1037 0078 80BD pop {r7, pc}
  6570. 1038 .L44:
  6571. 1039 007a C046 .align 2
  6572. 1040 .L43:
  6573. 1041 007c 00040050 .word 1342178304
  6574. 1042 .cfi_endproc
  6575. 1043 .LFE942:
  6576. 1045 .section .text.sensor_write,"ax",%progbits
  6577. 1046 .align 1
  6578. 1047 .syntax unified
  6579. 1048 .code 16
  6580. 1049 .thumb_func
  6581. 1051 sensor_write:
  6582. 1052 .LFB943:
  6583. 67:User/sensor.c ****
  6584. 68:User/sensor.c **** static void sensor_write(uint8_t *buf, int sz)
  6585. 69:User/sensor.c **** {
  6586. 1053 .loc 4 69 1
  6587. 1054 .cfi_startproc
  6588. 1055 @ args = 0, pretend = 0, frame = 16
  6589. 1056 @ frame_needed = 1, uses_anonymous_args = 0
  6590. 1057 0000 80B5 push {r7, lr}
  6591. 1058 .LCFI51:
  6592. 1059 .cfi_def_cfa_offset 8
  6593. 1060 .cfi_offset 7, -8
  6594. 1061 .cfi_offset 14, -4
  6595. 1062 0002 84B0 sub sp, sp, #16
  6596. 1063 .LCFI52:
  6597. 1064 .cfi_def_cfa_offset 24
  6598. 1065 0004 00AF add r7, sp, #0
  6599. 1066 .LCFI53:
  6600. 1067 .cfi_def_cfa_register 7
  6601. 1068 0006 7860 str r0, [r7, #4]
  6602. 1069 0008 3960 str r1, [r7]
  6603. 70:User/sensor.c **** if (sz)
  6604. 1070 .loc 4 70 5
  6605. 1071 000a 3B68 ldr r3, [r7]
  6606. 1072 000c 002B cmp r3, #0
  6607. 1073 000e 19D0 beq .L50
  6608. 1074 .LBB58:
  6609. 71:User/sensor.c **** {
  6610. 72:User/sensor.c **** for (int i = 0; i < sz; i++)
  6611. 1075 .loc 4 72 12
  6612. 1076 0010 0023 movs r3, #0
  6613. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 115
  6614. 1077 0012 FB60 str r3, [r7, #12]
  6615. 1078 .loc 4 72 3
  6616. 1079 0014 12E0 b .L47
  6617. 1080 .L49:
  6618. 73:User/sensor.c **** {
  6619. 74:User/sensor.c **** LL_USART_TransmitData8(COM_RS485, buf[i]);
  6620. 1081 .loc 4 74 41
  6621. 1082 0016 FB68 ldr r3, [r7, #12]
  6622. 1083 0018 7A68 ldr r2, [r7, #4]
  6623. 1084 001a D318 adds r3, r2, r3
  6624. 1085 .loc 4 74 4
  6625. 1086 001c 1B78 ldrb r3, [r3]
  6626. 1087 001e 0B4A ldr r2, .L51
  6627. 1088 0020 1900 movs r1, r3
  6628. 1089 0022 1000 movs r0, r2
  6629. 1090 0024 FFF7FEFF bl LL_USART_TransmitData8
  6630. 75:User/sensor.c **** while (!LL_USART_IsActiveFlag_TC(COM_RS485))
  6631. 1091 .loc 4 75 10
  6632. 1092 0028 C046 nop
  6633. 1093 .L48:
  6634. 1094 .loc 4 75 12 discriminator 1
  6635. 1095 002a 084B ldr r3, .L51
  6636. 1096 002c 1800 movs r0, r3
  6637. 1097 002e FFF7FEFF bl LL_USART_IsActiveFlag_TC
  6638. 1098 0032 031E subs r3, r0, #0
  6639. 1099 .loc 4 75 10 discriminator 1
  6640. 1100 0034 F9D0 beq .L48
  6641. 72:User/sensor.c **** {
  6642. 1101 .loc 4 72 28 discriminator 2
  6643. 1102 0036 FB68 ldr r3, [r7, #12]
  6644. 1103 0038 0133 adds r3, r3, #1
  6645. 1104 003a FB60 str r3, [r7, #12]
  6646. 1105 .L47:
  6647. 72:User/sensor.c **** {
  6648. 1106 .loc 4 72 3 discriminator 1
  6649. 1107 003c FA68 ldr r2, [r7, #12]
  6650. 1108 003e 3B68 ldr r3, [r7]
  6651. 1109 0040 9A42 cmp r2, r3
  6652. 1110 0042 E8DB blt .L49
  6653. 1111 .L50:
  6654. 1112 .LBE58:
  6655. 76:User/sensor.c **** ;
  6656. 77:User/sensor.c **** }
  6657. 78:User/sensor.c **** }
  6658. 79:User/sensor.c **** }
  6659. 1113 .loc 4 79 1
  6660. 1114 0044 C046 nop
  6661. 1115 0046 BD46 mov sp, r7
  6662. 1116 0048 04B0 add sp, sp, #16
  6663. 1117 @ sp needed
  6664. 1118 004a 80BD pop {r7, pc}
  6665. 1119 .L52:
  6666. 1120 .align 2
  6667. 1121 .L51:
  6668. 1122 004c 00480040 .word 1073760256
  6669. 1123 .cfi_endproc
  6670. 1124 .LFE943:
  6671. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 116
  6672. 1126 .section .rodata
  6673. 1127 .align 2
  6674. 1128 .LC0:
  6675. 1129 0000 73656E73 .ascii "sensor\000"
  6676. 1129 6F7200
  6677. 1130 .section .text.sensor_init,"ax",%progbits
  6678. 1131 .align 1
  6679. 1132 .global sensor_init
  6680. 1133 .syntax unified
  6681. 1134 .code 16
  6682. 1135 .thumb_func
  6683. 1137 sensor_init:
  6684. 1138 .LFB944:
  6685. 80:User/sensor.c ****
  6686. 81:User/sensor.c **** void sensor_init(uint32_t timestamp)
  6687. 82:User/sensor.c **** {
  6688. 1139 .loc 4 82 1
  6689. 1140 .cfi_startproc
  6690. 1141 @ args = 0, pretend = 0, frame = 8
  6691. 1142 @ frame_needed = 1, uses_anonymous_args = 0
  6692. 1143 0000 80B5 push {r7, lr}
  6693. 1144 .LCFI54:
  6694. 1145 .cfi_def_cfa_offset 8
  6695. 1146 .cfi_offset 7, -8
  6696. 1147 .cfi_offset 14, -4
  6697. 1148 0002 82B0 sub sp, sp, #8
  6698. 1149 .LCFI55:
  6699. 1150 .cfi_def_cfa_offset 16
  6700. 1151 0004 00AF add r7, sp, #0
  6701. 1152 .LCFI56:
  6702. 1153 .cfi_def_cfa_register 7
  6703. 1154 0006 7860 str r0, [r7, #4]
  6704. 83:User/sensor.c **** if (pm_get_lock("sensor") < 0)
  6705. 1155 .loc 4 83 6
  6706. 1156 0008 184B ldr r3, .L57
  6707. 1157 000a 1800 movs r0, r3
  6708. 1158 000c FFF7FEFF bl pm_get_lock
  6709. 1159 0010 031E subs r3, r0, #0
  6710. 1160 .loc 4 83 5
  6711. 1161 0012 26DB blt .L56
  6712. 84:User/sensor.c **** {
  6713. 85:User/sensor.c **** return;
  6714. 86:User/sensor.c **** }
  6715. 87:User/sensor.c **** MX_SPI2_Init();
  6716. 1162 .loc 4 87 2
  6717. 1163 0014 FFF7FEFF bl MX_SPI2_Init
  6718. 88:User/sensor.c **** MX_USART3_UART_Init();
  6719. 1164 .loc 4 88 2
  6720. 1165 0018 FFF7FEFF bl MX_USART3_UART_Init
  6721. 89:User/sensor.c **** memset(&sensor_ctx, 0, sizeof(sensor_ctx));
  6722. 1166 .loc 4 89 2
  6723. 1167 001c 144B ldr r3, .L57+4
  6724. 1168 001e 9822 movs r2, #152
  6725. 1169 0020 0021 movs r1, #0
  6726. 1170 0022 1800 movs r0, r3
  6727. 1171 0024 FFF7FEFF bl memset
  6728. 90:User/sensor.c **** memset(&sensor_data, 0, sizeof(sensor_data));
  6729. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 117
  6730. 1172 .loc 4 90 2
  6731. 1173 0028 124B ldr r3, .L57+8
  6732. 1174 002a 0C22 movs r2, #12
  6733. 1175 002c 0021 movs r1, #0
  6734. 1176 002e 1800 movs r0, r3
  6735. 1177 0030 FFF7FEFF bl memset
  6736. 91:User/sensor.c **** LL_USART_Enable(COM_RS485);
  6737. 1178 .loc 4 91 2
  6738. 1179 0034 104B ldr r3, .L57+12
  6739. 1180 0036 1800 movs r0, r3
  6740. 1181 0038 FFF7FEFF bl LL_USART_Enable
  6741. 92:User/sensor.c **** LL_USART_EnableIT_RXNE(COM_RS485);
  6742. 1182 .loc 4 92 2
  6743. 1183 003c 0E4B ldr r3, .L57+12
  6744. 1184 003e 1800 movs r0, r3
  6745. 1185 0040 FFF7FEFF bl LL_USART_EnableIT_RXNE_RXFNE
  6746. 93:User/sensor.c **** MX_DMA_Init();
  6747. 1186 .loc 4 93 2
  6748. 1187 0044 FFF7FEFF bl MX_DMA_Init
  6749. 94:User/sensor.c **** MX_ADC1_Init();
  6750. 1188 .loc 4 94 2
  6751. 1189 0048 FFF7FEFF bl MX_ADC1_Init
  6752. 95:User/sensor.c **** HAL_ADCEx_Calibration_Start(&hadc1);
  6753. 1190 .loc 4 95 2
  6754. 1191 004c 0B4B ldr r3, .L57+16
  6755. 1192 004e 1800 movs r0, r3
  6756. 1193 0050 FFF7FEFF bl HAL_ADCEx_Calibration_Start
  6757. 96:User/sensor.c ****
  6758. 97:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_START;
  6759. 1194 .loc 4 97 21
  6760. 1195 0054 064B ldr r3, .L57+4
  6761. 1196 0056 0122 movs r2, #1
  6762. 1197 0058 1A70 strb r2, [r3]
  6763. 98:User/sensor.c **** sensor_ctx.timestamp = timestamp;
  6764. 1198 .loc 4 98 23
  6765. 1199 005a 054B ldr r3, .L57+4
  6766. 1200 005c 7A68 ldr r2, [r7, #4]
  6767. 1201 005e 5A60 str r2, [r3, #4]
  6768. 1202 0060 00E0 b .L53
  6769. 1203 .L56:
  6770. 85:User/sensor.c **** }
  6771. 1204 .loc 4 85 3
  6772. 1205 0062 C046 nop
  6773. 1206 .L53:
  6774. 99:User/sensor.c **** }
  6775. 1207 .loc 4 99 1
  6776. 1208 0064 BD46 mov sp, r7
  6777. 1209 0066 02B0 add sp, sp, #8
  6778. 1210 @ sp needed
  6779. 1211 0068 80BD pop {r7, pc}
  6780. 1212 .L58:
  6781. 1213 006a C046 .align 2
  6782. 1214 .L57:
  6783. 1215 006c 00000000 .word .LC0
  6784. 1216 0070 00000000 .word sensor_ctx
  6785. 1217 0074 00000000 .word sensor_data
  6786. 1218 0078 00480040 .word 1073760256
  6787. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 118
  6788. 1219 007c 00000000 .word hadc1
  6789. 1220 .cfi_endproc
  6790. 1221 .LFE944:
  6791. 1223 .section .text.sensor_deinit,"ax",%progbits
  6792. 1224 .align 1
  6793. 1225 .global sensor_deinit
  6794. 1226 .syntax unified
  6795. 1227 .code 16
  6796. 1228 .thumb_func
  6797. 1230 sensor_deinit:
  6798. 1231 .LFB945:
  6799. 100:User/sensor.c ****
  6800. 101:User/sensor.c **** void sensor_deinit(void)
  6801. 102:User/sensor.c **** {
  6802. 1232 .loc 4 102 1
  6803. 1233 .cfi_startproc
  6804. 1234 @ args = 0, pretend = 0, frame = 0
  6805. 1235 @ frame_needed = 1, uses_anonymous_args = 0
  6806. 1236 0000 80B5 push {r7, lr}
  6807. 1237 .LCFI57:
  6808. 1238 .cfi_def_cfa_offset 8
  6809. 1239 .cfi_offset 7, -8
  6810. 1240 .cfi_offset 14, -4
  6811. 1241 0002 00AF add r7, sp, #0
  6812. 1242 .LCFI58:
  6813. 1243 .cfi_def_cfa_register 7
  6814. 103:User/sensor.c **** LL_USART_DisableIT_RXNE(COM_RS485);
  6815. 1244 .loc 4 103 2
  6816. 1245 0004 134B ldr r3, .L60
  6817. 1246 0006 1800 movs r0, r3
  6818. 1247 0008 FFF7FEFF bl LL_USART_DisableIT_RXNE_RXFNE
  6819. 104:User/sensor.c **** LL_USART_Disable(COM_RS485);
  6820. 1248 .loc 4 104 2
  6821. 1249 000c 114B ldr r3, .L60
  6822. 1250 000e 1800 movs r0, r3
  6823. 1251 0010 FFF7FEFF bl LL_USART_Disable
  6824. 105:User/sensor.c **** LL_USART_DeInit(COM_RS485);
  6825. 1252 .loc 4 105 2
  6826. 1253 0014 0F4B ldr r3, .L60
  6827. 1254 0016 1800 movs r0, r3
  6828. 1255 0018 FFF7FEFF bl LL_USART_DeInit
  6829. 106:User/sensor.c **** LL_APB1_GRP1_DisableClock(LL_APB1_GRP1_PERIPH_USART3);
  6830. 1256 .loc 4 106 2
  6831. 1257 001c 8023 movs r3, #128
  6832. 1258 001e DB02 lsls r3, r3, #11
  6833. 1259 0020 1800 movs r0, r3
  6834. 1260 0022 FFF7FEFF bl LL_APB1_GRP1_DisableClock
  6835. 107:User/sensor.c ****
  6836. 108:User/sensor.c **** extern DMA_HandleTypeDef hdma_adc1;
  6837. 109:User/sensor.c **** HAL_ADC_Stop(&hadc1);
  6838. 1261 .loc 4 109 2
  6839. 1262 0026 0C4B ldr r3, .L60+4
  6840. 1263 0028 1800 movs r0, r3
  6841. 1264 002a FFF7FEFF bl HAL_ADC_Stop
  6842. 110:User/sensor.c **** HAL_ADC_Stop_DMA(&hadc1);
  6843. 1265 .loc 4 110 2
  6844. 1266 002e 0A4B ldr r3, .L60+4
  6845. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 119
  6846. 1267 0030 1800 movs r0, r3
  6847. 1268 0032 FFF7FEFF bl HAL_ADC_Stop_DMA
  6848. 111:User/sensor.c **** HAL_ADC_DeInit(&hadc1);
  6849. 1269 .loc 4 111 2
  6850. 1270 0036 084B ldr r3, .L60+4
  6851. 1271 0038 1800 movs r0, r3
  6852. 1272 003a FFF7FEFF bl HAL_ADC_DeInit
  6853. 112:User/sensor.c **** HAL_DMA_DeInit(&hdma_adc1);
  6854. 1273 .loc 4 112 2
  6855. 1274 003e 074B ldr r3, .L60+8
  6856. 1275 0040 1800 movs r0, r3
  6857. 1276 0042 FFF7FEFF bl HAL_DMA_DeInit
  6858. 113:User/sensor.c **** ADC_Disable(&hadc1);
  6859. 1277 .loc 4 113 2
  6860. 1278 0046 044B ldr r3, .L60+4
  6861. 1279 0048 1800 movs r0, r3
  6862. 1280 004a FFF7FEFF bl ADC_Disable
  6863. 114:User/sensor.c **** }
  6864. 1281 .loc 4 114 1
  6865. 1282 004e C046 nop
  6866. 1283 0050 BD46 mov sp, r7
  6867. 1284 @ sp needed
  6868. 1285 0052 80BD pop {r7, pc}
  6869. 1286 .L61:
  6870. 1287 .align 2
  6871. 1288 .L60:
  6872. 1289 0054 00480040 .word 1073760256
  6873. 1290 0058 00000000 .word hadc1
  6874. 1291 005c 00000000 .word hdma_adc1
  6875. 1292 .cfi_endproc
  6876. 1293 .LFE945:
  6877. 1295 .section .rodata
  6878. 1296 0007 00 .align 2
  6879. 1297 .LC11:
  6880. 1298 0008 01030000 .ascii "\001\003\000\000\000\007\004\010"
  6881. 1298 00070408
  6882. 1299 .section .text.sensor_task,"ax",%progbits
  6883. 1300 .align 1
  6884. 1301 .global sensor_task
  6885. 1302 .syntax unified
  6886. 1303 .code 16
  6887. 1304 .thumb_func
  6888. 1306 sensor_task:
  6889. 1307 .LFB946:
  6890. 115:User/sensor.c ****
  6891. 116:User/sensor.c **** void sensor_task(void)
  6892. 117:User/sensor.c **** {
  6893. 1308 .loc 4 117 1
  6894. 1309 .cfi_startproc
  6895. 1310 @ args = 0, pretend = 0, frame = 40
  6896. 1311 @ frame_needed = 1, uses_anonymous_args = 0
  6897. 1312 0000 90B5 push {r4, r7, lr}
  6898. 1313 .LCFI59:
  6899. 1314 .cfi_def_cfa_offset 12
  6900. 1315 .cfi_offset 4, -12
  6901. 1316 .cfi_offset 7, -8
  6902. 1317 .cfi_offset 14, -4
  6903. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 120
  6904. 1318 0002 8BB0 sub sp, sp, #44
  6905. 1319 .LCFI60:
  6906. 1320 .cfi_def_cfa_offset 56
  6907. 1321 0004 00AF add r7, sp, #0
  6908. 1322 .LCFI61:
  6909. 1323 .cfi_def_cfa_register 7
  6910. 118:User/sensor.c **** switch (sensor_ctx.tsk_sta)
  6911. 1324 .loc 4 118 20
  6912. 1325 0006 884B ldr r3, .L84
  6913. 1326 0008 1B78 ldrb r3, [r3]
  6914. 1327 .loc 4 118 2
  6915. 1328 000a 052B cmp r3, #5
  6916. 1329 000c 00D9 bls .LCB999
  6917. 1330 000e 01E1 b .L80 @long jump
  6918. 1331 .LCB999:
  6919. 1332 0010 9A00 lsls r2, r3, #2
  6920. 1333 0012 864B ldr r3, .L84+4
  6921. 1334 0014 D318 adds r3, r2, r3
  6922. 1335 0016 1B68 ldr r3, [r3]
  6923. 1336 0018 9F46 mov pc, r3
  6924. 1337 .section .rodata.sensor_task,"a",%progbits
  6925. 1338 .align 2
  6926. 1339 .L65:
  6927. 1340 0000 14020000 .word .L80
  6928. 1341 0004 1A000000 .word .L69
  6929. 1342 0008 54000000 .word .L68
  6930. 1343 000c 72000000 .word .L67
  6931. 1344 0010 AE000000 .word .L66
  6932. 1345 0014 00020000 .word .L64
  6933. 1346 .section .text.sensor_task
  6934. 1347 .L69:
  6935. 119:User/sensor.c **** {
  6936. 120:User/sensor.c **** default:
  6937. 121:User/sensor.c **** case SENSOR_STA_IDLE:
  6938. 122:User/sensor.c **** break;
  6939. 123:User/sensor.c **** case SENSOR_STA_START: // 传感器上电,等待一段时间后发送查询命令
  6940. 124:User/sensor.c **** // 使能传感器电源
  6941. 125:User/sensor.c **** HAL_GPIO_WritePin(PWR_RS485_GPIO_Port, PWR_RS485_Pin, GPIO_PIN_SET);
  6942. 1348 .loc 4 125 3
  6943. 1349 001a A023 movs r3, #160
  6944. 1350 001c DB05 lsls r3, r3, #23
  6945. 1351 001e 0122 movs r2, #1
  6946. 1352 0020 0221 movs r1, #2
  6947. 1353 0022 1800 movs r0, r3
  6948. 1354 0024 FFF7FEFF bl HAL_GPIO_WritePin
  6949. 126:User/sensor.c ****
  6950. 127:User/sensor.c **** // 250930 增加ADC分压电阻电源控制
  6951. 128:User/sensor.c **** HAL_GPIO_WritePin(PWR_ADC_GPIO_Port, PWR_ADC_Pin, GPIO_PIN_SET);
  6952. 1355 .loc 4 128 3
  6953. 1356 0028 A023 movs r3, #160
  6954. 1357 002a DB05 lsls r3, r3, #23
  6955. 1358 002c 0122 movs r2, #1
  6956. 1359 002e 2021 movs r1, #32
  6957. 1360 0030 1800 movs r0, r3
  6958. 1361 0032 FFF7FEFF bl HAL_GPIO_WritePin
  6959. 129:User/sensor.c ****
  6960. 130:User/sensor.c **** HAL_ADC_Start_DMA(&hadc1, (uint32_t *)adc_buf, sizeof(adc_buf) / sizeof(uint16_t));
  6961. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 121
  6962. 1362 .loc 4 130 3
  6963. 1363 0036 7E49 ldr r1, .L84+8
  6964. 1364 0038 7E4B ldr r3, .L84+12
  6965. 1365 003a 6422 movs r2, #100
  6966. 1366 003c 1800 movs r0, r3
  6967. 1367 003e FFF7FEFF bl HAL_ADC_Start_DMA
  6968. 131:User/sensor.c **** sensor_ctx.tsk_timer = HAL_GetTick();
  6969. 1368 .loc 4 131 26
  6970. 1369 0042 FFF7FEFF bl HAL_GetTick
  6971. 1370 0046 0200 movs r2, r0
  6972. 1371 .loc 4 131 24
  6973. 1372 0048 774B ldr r3, .L84
  6974. 1373 004a 9A60 str r2, [r3, #8]
  6975. 132:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_WAIT_PWR;
  6976. 1374 .loc 4 132 22
  6977. 1375 004c 764B ldr r3, .L84
  6978. 1376 004e 0222 movs r2, #2
  6979. 1377 0050 1A70 strb r2, [r3]
  6980. 133:User/sensor.c **** break;
  6981. 1378 .loc 4 133 3
  6982. 1379 0052 E4E0 b .L70
  6983. 1380 .L68:
  6984. 134:User/sensor.c **** case SENSOR_STA_WAIT_PWR: // 等待传感器上电完成
  6985. 135:User/sensor.c **** if (HAL_GetTick() - sensor_ctx.tsk_timer > 1000)
  6986. 1381 .loc 4 135 7
  6987. 1382 0054 FFF7FEFF bl HAL_GetTick
  6988. 1383 0058 0200 movs r2, r0
  6989. 1384 .loc 4 135 33
  6990. 1385 005a 734B ldr r3, .L84
  6991. 1386 005c 9B68 ldr r3, [r3, #8]
  6992. 1387 .loc 4 135 21
  6993. 1388 005e D21A subs r2, r2, r3
  6994. 1389 .loc 4 135 6
  6995. 1390 0060 FA23 movs r3, #250
  6996. 1391 0062 9B00 lsls r3, r3, #2
  6997. 1392 0064 9A42 cmp r2, r3
  6998. 1393 0066 00D8 bhi .LCB1047
  6999. 1394 0068 D6E0 b .L81 @long jump
  7000. 1395 .LCB1047:
  7001. 136:User/sensor.c **** {
  7002. 137:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_TX;
  7003. 1396 .loc 4 137 23
  7004. 1397 006a 6F4B ldr r3, .L84
  7005. 1398 006c 0322 movs r2, #3
  7006. 1399 006e 1A70 strb r2, [r3]
  7007. 138:User/sensor.c **** }
  7008. 139:User/sensor.c **** break;
  7009. 1400 .loc 4 139 3
  7010. 1401 0070 D2E0 b .L81
  7011. 1402 .L67:
  7012. 1403 .LBB59:
  7013. 140:User/sensor.c **** case SENSOR_STA_TX:
  7014. 141:User/sensor.c **** {
  7015. 142:User/sensor.c **** const uint8_t read_cmd[] = {0x01, 0x03, 0x00, 0x00, 0x00, 0x07, 0x04, 0x08};
  7016. 1404 .loc 4 142 17
  7017. 1405 0072 1C24 movs r4, #28
  7018. 1406 0074 3B19 adds r3, r7, r4
  7019. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 122
  7020. 1407 0076 704A ldr r2, .L84+16
  7021. 1408 0078 03CA ldmia r2!, {r0, r1}
  7022. 1409 007a 03C3 stmia r3!, {r0, r1}
  7023. 143:User/sensor.c ****
  7024. 144:User/sensor.c **** sensor_set_bus_sta(BUS_STA_TX);
  7025. 1410 .loc 4 144 3
  7026. 1411 007c 0120 movs r0, #1
  7027. 1412 007e FFF7FEFF bl sensor_set_bus_sta
  7028. 145:User/sensor.c **** sensor_write((uint8_t *)read_cmd, sizeof(read_cmd));
  7029. 1413 .loc 4 145 3
  7030. 1414 0082 3B19 adds r3, r7, r4
  7031. 1415 0084 0821 movs r1, #8
  7032. 1416 0086 1800 movs r0, r3
  7033. 1417 0088 FFF7FEFF bl sensor_write
  7034. 146:User/sensor.c **** sensor_set_bus_sta(BUS_STA_RX);
  7035. 1418 .loc 4 146 3
  7036. 1419 008c 0220 movs r0, #2
  7037. 1420 008e FFF7FEFF bl sensor_set_bus_sta
  7038. 147:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_WAIT_ACK;
  7039. 1421 .loc 4 147 22
  7040. 1422 0092 654B ldr r3, .L84
  7041. 1423 0094 0422 movs r2, #4
  7042. 1424 0096 1A70 strb r2, [r3]
  7043. 148:User/sensor.c **** sensor_ctx.tsk_timer = HAL_GetTick();
  7044. 1425 .loc 4 148 26
  7045. 1426 0098 FFF7FEFF bl HAL_GetTick
  7046. 1427 009c 0200 movs r2, r0
  7047. 1428 .loc 4 148 24
  7048. 1429 009e 624B ldr r3, .L84
  7049. 1430 00a0 9A60 str r2, [r3, #8]
  7050. 149:User/sensor.c **** sensor_ctx.retry++;
  7051. 1431 .loc 4 149 13
  7052. 1432 00a2 614B ldr r3, .L84
  7053. 1433 00a4 DB68 ldr r3, [r3, #12]
  7054. 1434 .loc 4 149 19
  7055. 1435 00a6 5A1C adds r2, r3, #1
  7056. 1436 00a8 5F4B ldr r3, .L84
  7057. 1437 00aa DA60 str r2, [r3, #12]
  7058. 1438 .LBE59:
  7059. 150:User/sensor.c **** }
  7060. 151:User/sensor.c **** break;
  7061. 1439 .loc 4 151 2
  7062. 1440 00ac B7E0 b .L70
  7063. 1441 .L66:
  7064. 1442 .LBB60:
  7065. 152:User/sensor.c **** case SENSOR_STA_WAIT_ACK: // 等待传感器应答
  7066. 153:User/sensor.c **** {
  7067. 154:User/sensor.c **** int need_retry = 0;
  7068. 1443 .loc 4 154 7
  7069. 1444 00ae 0023 movs r3, #0
  7070. 1445 00b0 7B62 str r3, [r7, #36]
  7071. 155:User/sensor.c ****
  7072. 156:User/sensor.c **** if (sensor_ctx.rx_len >= 19)
  7073. 1446 .loc 4 156 17
  7074. 1447 00b2 5D4B ldr r3, .L84
  7075. 1448 00b4 1B69 ldr r3, [r3, #16]
  7076. 1449 .loc 4 156 6
  7077. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 123
  7078. 1450 00b6 122B cmp r3, #18
  7079. 1451 00b8 41DD ble .L72
  7080. 157:User/sensor.c **** {
  7081. 158:User/sensor.c **** if (CRC16(sensor_ctx.rx_buf, 19) == 0)
  7082. 1452 .loc 4 158 8
  7083. 1453 00ba 604B ldr r3, .L84+20
  7084. 1454 00bc 1321 movs r1, #19
  7085. 1455 00be 1800 movs r0, r3
  7086. 1456 00c0 FFF7FEFF bl CRC16
  7087. 1457 00c4 031E subs r3, r0, #0
  7088. 1458 .loc 4 158 7
  7089. 1459 00c6 37D1 bne .L73
  7090. 159:User/sensor.c **** {
  7091. 160:User/sensor.c **** sensor_data.temperature = ((uint16_t)sensor_ctx.rx_buf[7] << 8) + sensor_ctx.rx_buf[8];
  7092. 1460 .loc 4 160 59
  7093. 1461 00c8 574B ldr r3, .L84
  7094. 1462 00ca DB7F ldrb r3, [r3, #31]
  7095. 1463 00cc 9BB2 uxth r3, r3
  7096. 1464 .loc 4 160 63
  7097. 1465 00ce 1B02 lsls r3, r3, #8
  7098. 1466 00d0 9AB2 uxth r2, r3
  7099. 1467 .loc 4 160 88
  7100. 1468 00d2 554B ldr r3, .L84
  7101. 1469 00d4 2021 movs r1, #32
  7102. 1470 00d6 5B5C ldrb r3, [r3, r1]
  7103. 1471 00d8 9BB2 uxth r3, r3
  7104. 1472 .loc 4 160 69
  7105. 1473 00da D318 adds r3, r2, r3
  7106. 1474 00dc 9BB2 uxth r3, r3
  7107. 1475 00de 1AB2 sxth r2, r3
  7108. 1476 .loc 4 160 29
  7109. 1477 00e0 574B ldr r3, .L84+24
  7110. 1478 00e2 1A80 strh r2, [r3]
  7111. 161:User/sensor.c **** sensor_data.humidity = (uint16_t)(sensor_ctx.rx_buf[9] << 8) + sensor_ctx.rx_buf[10];
  7112. 1479 .loc 4 161 56
  7113. 1480 00e4 504B ldr r3, .L84
  7114. 1481 00e6 2122 movs r2, #33
  7115. 1482 00e8 9B5C ldrb r3, [r3, r2]
  7116. 1483 00ea 9BB2 uxth r3, r3
  7117. 1484 .loc 4 161 28
  7118. 1485 00ec 1B02 lsls r3, r3, #8
  7119. 1486 00ee 9AB2 uxth r2, r3
  7120. 1487 .loc 4 161 85
  7121. 1488 00f0 4D4B ldr r3, .L84
  7122. 1489 00f2 2221 movs r1, #34
  7123. 1490 00f4 5B5C ldrb r3, [r3, r1]
  7124. 1491 00f6 9BB2 uxth r3, r3
  7125. 1492 .loc 4 161 66
  7126. 1493 00f8 D318 adds r3, r2, r3
  7127. 1494 00fa 9BB2 uxth r3, r3
  7128. 1495 00fc 1AB2 sxth r2, r3
  7129. 1496 .loc 4 161 26
  7130. 1497 00fe 504B ldr r3, .L84+24
  7131. 1498 0100 5A80 strh r2, [r3, #2]
  7132. 162:User/sensor.c **** sensor_data.illuminance = ((uint32_t)(sensor_ctx.rx_buf[13] << 8) + sensor_ctx.rx_buf[14]) * 10
  7133. 1499 .loc 4 162 60
  7134. 1500 0102 494B ldr r3, .L84
  7135. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 124
  7136. 1501 0104 2522 movs r2, #37
  7137. 1502 0106 9B5C ldrb r3, [r3, r2]
  7138. 1503 .loc 4 162 65
  7139. 1504 0108 1B02 lsls r3, r3, #8
  7140. 1505 .loc 4 162 32
  7141. 1506 010a 1900 movs r1, r3
  7142. 1507 .loc 4 162 90
  7143. 1508 010c 464B ldr r3, .L84
  7144. 1509 010e 2622 movs r2, #38
  7145. 1510 0110 9B5C ldrb r3, [r3, r2]
  7146. 1511 .loc 4 162 71
  7147. 1512 0112 CA18 adds r2, r1, r3
  7148. 1513 .loc 4 162 96
  7149. 1514 0114 1300 movs r3, r2
  7150. 1515 0116 9B00 lsls r3, r3, #2
  7151. 1516 0118 9B18 adds r3, r3, r2
  7152. 1517 011a 5B00 lsls r3, r3, #1
  7153. 1518 011c 1900 movs r1, r3
  7154. 1519 .loc 4 162 132
  7155. 1520 011e 424B ldr r3, .L84
  7156. 1521 0120 2722 movs r2, #39
  7157. 1522 0122 9B5C ldrb r3, [r3, r2]
  7158. 1523 .loc 4 162 137
  7159. 1524 0124 1B02 lsls r3, r3, #8
  7160. 1525 .loc 4 162 104
  7161. 1526 0126 1800 movs r0, r3
  7162. 1527 .loc 4 162 162
  7163. 1528 0128 3F4B ldr r3, .L84
  7164. 1529 012a 2822 movs r2, #40
  7165. 1530 012c 9B5C ldrb r3, [r3, r2]
  7166. 1531 .loc 4 162 143
  7167. 1532 012e C318 adds r3, r0, r3
  7168. 1533 .loc 4 162 101
  7169. 1534 0130 CA18 adds r2, r1, r3
  7170. 1535 .loc 4 162 29
  7171. 1536 0132 434B ldr r3, .L84+24
  7172. 1537 0134 5A60 str r2, [r3, #4]
  7173. 1538 0136 0EE0 b .L74
  7174. 1539 .L73:
  7175. 163:User/sensor.c **** }
  7176. 164:User/sensor.c **** else
  7177. 165:User/sensor.c **** {
  7178. 166:User/sensor.c **** need_retry = 1;
  7179. 1540 .loc 4 166 16
  7180. 1541 0138 0123 movs r3, #1
  7181. 1542 013a 7B62 str r3, [r7, #36]
  7182. 1543 013c 0BE0 b .L74
  7183. 1544 .L72:
  7184. 167:User/sensor.c **** }
  7185. 168:User/sensor.c **** }
  7186. 169:User/sensor.c **** else if (HAL_GetTick() - sensor_ctx.tsk_timer < 500)
  7187. 1545 .loc 4 169 12
  7188. 1546 013e FFF7FEFF bl HAL_GetTick
  7189. 1547 0142 0200 movs r2, r0
  7190. 1548 .loc 4 169 38
  7191. 1549 0144 384B ldr r3, .L84
  7192. 1550 0146 9B68 ldr r3, [r3, #8]
  7193. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 125
  7194. 1551 .loc 4 169 26
  7195. 1552 0148 D21A subs r2, r2, r3
  7196. 1553 .loc 4 169 11
  7197. 1554 014a FA23 movs r3, #250
  7198. 1555 014c 5B00 lsls r3, r3, #1
  7199. 1556 014e 9A42 cmp r2, r3
  7200. 1557 0150 64D3 bcc .L82
  7201. 170:User/sensor.c **** {
  7202. 171:User/sensor.c **** break;
  7203. 172:User/sensor.c **** }
  7204. 173:User/sensor.c **** else
  7205. 174:User/sensor.c **** {
  7206. 175:User/sensor.c **** need_retry = 1;
  7207. 1558 .loc 4 175 15
  7208. 1559 0152 0123 movs r3, #1
  7209. 1560 0154 7B62 str r3, [r7, #36]
  7210. 1561 .L74:
  7211. 176:User/sensor.c **** }
  7212. 177:User/sensor.c **** if (need_retry)
  7213. 1562 .loc 4 177 6
  7214. 1563 0156 7B6A ldr r3, [r7, #36]
  7215. 1564 0158 002B cmp r3, #0
  7216. 1565 015a 0ED0 beq .L77
  7217. 178:User/sensor.c **** {
  7218. 179:User/sensor.c **** if (sensor_ctx.retry < 3)
  7219. 1566 .loc 4 179 18
  7220. 1567 015c 324B ldr r3, .L84
  7221. 1568 015e DB68 ldr r3, [r3, #12]
  7222. 1569 .loc 4 179 7
  7223. 1570 0160 022B cmp r3, #2
  7224. 1571 0162 0ADC bgt .L77
  7225. 180:User/sensor.c **** {
  7226. 181:User/sensor.c **** sensor_ctx.rx_len = 0;
  7227. 1572 .loc 4 181 23
  7228. 1573 0164 304B ldr r3, .L84
  7229. 1574 0166 0022 movs r2, #0
  7230. 1575 0168 1A61 str r2, [r3, #16]
  7231. 182:User/sensor.c **** sensor_ctx.tsk_timer = 0;
  7232. 1576 .loc 4 182 26
  7233. 1577 016a 2F4B ldr r3, .L84
  7234. 1578 016c 0022 movs r2, #0
  7235. 1579 016e 9A60 str r2, [r3, #8]
  7236. 183:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_TX;
  7237. 1580 .loc 4 183 24
  7238. 1581 0170 2D4B ldr r3, .L84
  7239. 1582 0172 0322 movs r2, #3
  7240. 1583 0174 1A70 strb r2, [r3]
  7241. 184:User/sensor.c **** break;
  7242. 1584 .loc 4 184 5
  7243. 1585 0176 C046 nop
  7244. 1586 .LBE60:
  7245. 185:User/sensor.c **** }
  7246. 186:User/sensor.c **** }
  7247. 187:User/sensor.c **** // 成功采集到数据或达到最大重试次数
  7248. 188:User/sensor.c **** // 保存数据
  7249. 189:User/sensor.c **** rec_data_t rec_data;
  7250. 190:User/sensor.c ****
  7251. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 126
  7252. 191:User/sensor.c **** rec_data.humidity = sensor_data.humidity;
  7253. 192:User/sensor.c **** rec_data.illuminance = sensor_data.illuminance;
  7254. 193:User/sensor.c **** rec_data.temperature = sensor_data.temperature;
  7255. 194:User/sensor.c **** rec_data.voltage = sensor_data.voltage;
  7256. 195:User/sensor.c **** if (sensor_ctx.timestamp == 0)
  7257. 196:User/sensor.c **** {
  7258. 197:User/sensor.c **** rtc_time_t time;
  7259. 198:User/sensor.c ****
  7260. 199:User/sensor.c **** rtc_get_time(&time);
  7261. 200:User/sensor.c ****
  7262. 201:User/sensor.c **** rec_data.timestamp = rtc_mktime(&time);
  7263. 202:User/sensor.c **** }
  7264. 203:User/sensor.c **** else
  7265. 204:User/sensor.c **** {
  7266. 205:User/sensor.c **** rec_data.timestamp = sensor_ctx.timestamp;
  7267. 206:User/sensor.c **** rec_write(&rec_data);
  7268. 207:User/sensor.c **** }
  7269. 208:User/sensor.c ****
  7270. 209:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_STOP;
  7271. 210:User/sensor.c **** HAL_GPIO_WritePin(PWR_RS485_GPIO_Port, PWR_RS485_Pin, GPIO_PIN_RESET);
  7272. 211:User/sensor.c ****
  7273. 212:User/sensor.c **** // 250930 增加ADC分压电阻电源控制
  7274. 213:User/sensor.c **** HAL_GPIO_WritePin(PWR_ADC_GPIO_Port, PWR_ADC_Pin, GPIO_PIN_RESET);
  7275. 214:User/sensor.c ****
  7276. 215:User/sensor.c **** sensor_set_bus_sta(BUS_STA_DISABLE);
  7277. 216:User/sensor.c **** }
  7278. 217:User/sensor.c **** break;
  7279. 218:User/sensor.c **** case SENSOR_STA_STOP: // 读取完成或达到最大重试次数
  7280. 219:User/sensor.c **** sensor_deinit();
  7281. 220:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_IDLE;
  7282. 221:User/sensor.c **** pm_release_lock("sensor");
  7283. 222:User/sensor.c **** break;
  7284. 223:User/sensor.c **** }
  7285. 224:User/sensor.c **** }
  7286. 1587 .loc 4 224 1
  7287. 1588 0178 51E0 b .L83
  7288. 1589 .L77:
  7289. 1590 .LBB62:
  7290. 191:User/sensor.c **** rec_data.illuminance = sensor_data.illuminance;
  7291. 1591 .loc 4 191 34
  7292. 1592 017a 314B ldr r3, .L84+24
  7293. 1593 017c 0222 movs r2, #2
  7294. 1594 017e 9B5E ldrsh r3, [r3, r2]
  7295. 1595 0180 9AB2 uxth r2, r3
  7296. 191:User/sensor.c **** rec_data.illuminance = sensor_data.illuminance;
  7297. 1596 .loc 4 191 21
  7298. 1597 0182 0C24 movs r4, #12
  7299. 1598 0184 3B19 adds r3, r7, r4
  7300. 1599 0186 DA80 strh r2, [r3, #6]
  7301. 192:User/sensor.c **** rec_data.temperature = sensor_data.temperature;
  7302. 1600 .loc 4 192 37
  7303. 1601 0188 2D4B ldr r3, .L84+24
  7304. 1602 018a 5A68 ldr r2, [r3, #4]
  7305. 192:User/sensor.c **** rec_data.temperature = sensor_data.temperature;
  7306. 1603 .loc 4 192 24
  7307. 1604 018c 3B19 adds r3, r7, r4
  7308. 1605 018e 9A60 str r2, [r3, #8]
  7309. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 127
  7310. 193:User/sensor.c **** rec_data.voltage = sensor_data.voltage;
  7311. 1606 .loc 4 193 37
  7312. 1607 0190 2B4B ldr r3, .L84+24
  7313. 1608 0192 0022 movs r2, #0
  7314. 1609 0194 9B5E ldrsh r3, [r3, r2]
  7315. 1610 0196 9AB2 uxth r2, r3
  7316. 193:User/sensor.c **** rec_data.voltage = sensor_data.voltage;
  7317. 1611 .loc 4 193 24
  7318. 1612 0198 3B19 adds r3, r7, r4
  7319. 1613 019a 9A80 strh r2, [r3, #4]
  7320. 194:User/sensor.c **** if (sensor_ctx.timestamp == 0)
  7321. 1614 .loc 4 194 33
  7322. 1615 019c 284B ldr r3, .L84+24
  7323. 1616 019e 1A89 ldrh r2, [r3, #8]
  7324. 194:User/sensor.c **** if (sensor_ctx.timestamp == 0)
  7325. 1617 .loc 4 194 20
  7326. 1618 01a0 3B19 adds r3, r7, r4
  7327. 1619 01a2 9A81 strh r2, [r3, #12]
  7328. 195:User/sensor.c **** {
  7329. 1620 .loc 4 195 17
  7330. 1621 01a4 204B ldr r3, .L84
  7331. 1622 01a6 5B68 ldr r3, [r3, #4]
  7332. 195:User/sensor.c **** {
  7333. 1623 .loc 4 195 6
  7334. 1624 01a8 002B cmp r3, #0
  7335. 1625 01aa 0BD1 bne .L78
  7336. 1626 .LBB61:
  7337. 199:User/sensor.c ****
  7338. 1627 .loc 4 199 4
  7339. 1628 01ac 3B1D adds r3, r7, #4
  7340. 1629 01ae 1800 movs r0, r3
  7341. 1630 01b0 FFF7FEFF bl rtc_get_time
  7342. 201:User/sensor.c **** }
  7343. 1631 .loc 4 201 25
  7344. 1632 01b4 3B1D adds r3, r7, #4
  7345. 1633 01b6 1800 movs r0, r3
  7346. 1634 01b8 FFF7FEFF bl rtc_mktime
  7347. 1635 01bc 0200 movs r2, r0
  7348. 201:User/sensor.c **** }
  7349. 1636 .loc 4 201 23
  7350. 1637 01be 3B19 adds r3, r7, r4
  7351. 1638 01c0 1A60 str r2, [r3]
  7352. 1639 .LBE61:
  7353. 1640 01c2 08E0 b .L79
  7354. 1641 .L78:
  7355. 205:User/sensor.c **** rec_write(&rec_data);
  7356. 1642 .loc 4 205 35
  7357. 1643 01c4 184B ldr r3, .L84
  7358. 1644 01c6 5A68 ldr r2, [r3, #4]
  7359. 205:User/sensor.c **** rec_write(&rec_data);
  7360. 1645 .loc 4 205 23
  7361. 1646 01c8 0C21 movs r1, #12
  7362. 1647 01ca 7B18 adds r3, r7, r1
  7363. 1648 01cc 1A60 str r2, [r3]
  7364. 206:User/sensor.c **** }
  7365. 1649 .loc 4 206 4
  7366. 1650 01ce 7B18 adds r3, r7, r1
  7367. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 128
  7368. 1651 01d0 1800 movs r0, r3
  7369. 1652 01d2 FFF7FEFF bl rec_write
  7370. 1653 .L79:
  7371. 209:User/sensor.c **** HAL_GPIO_WritePin(PWR_RS485_GPIO_Port, PWR_RS485_Pin, GPIO_PIN_RESET);
  7372. 1654 .loc 4 209 22 discriminator 1
  7373. 1655 01d6 144B ldr r3, .L84
  7374. 1656 01d8 0522 movs r2, #5
  7375. 1657 01da 1A70 strb r2, [r3]
  7376. 210:User/sensor.c ****
  7377. 1658 .loc 4 210 3 discriminator 1
  7378. 1659 01dc A023 movs r3, #160
  7379. 1660 01de DB05 lsls r3, r3, #23
  7380. 1661 01e0 0022 movs r2, #0
  7381. 1662 01e2 0221 movs r1, #2
  7382. 1663 01e4 1800 movs r0, r3
  7383. 1664 01e6 FFF7FEFF bl HAL_GPIO_WritePin
  7384. 213:User/sensor.c ****
  7385. 1665 .loc 4 213 3 discriminator 1
  7386. 1666 01ea A023 movs r3, #160
  7387. 1667 01ec DB05 lsls r3, r3, #23
  7388. 1668 01ee 0022 movs r2, #0
  7389. 1669 01f0 2021 movs r1, #32
  7390. 1670 01f2 1800 movs r0, r3
  7391. 1671 01f4 FFF7FEFF bl HAL_GPIO_WritePin
  7392. 215:User/sensor.c **** }
  7393. 1672 .loc 4 215 3 discriminator 1
  7394. 1673 01f8 0020 movs r0, #0
  7395. 1674 01fa FFF7FEFF bl sensor_set_bus_sta
  7396. 1675 .LBE62:
  7397. 217:User/sensor.c **** case SENSOR_STA_STOP: // 读取完成或达到最大重试次数
  7398. 1676 .loc 4 217 2 discriminator 1
  7399. 1677 01fe 0EE0 b .L70
  7400. 1678 .L64:
  7401. 219:User/sensor.c **** sensor_ctx.tsk_sta = SENSOR_STA_IDLE;
  7402. 1679 .loc 4 219 3
  7403. 1680 0200 FFF7FEFF bl sensor_deinit
  7404. 220:User/sensor.c **** pm_release_lock("sensor");
  7405. 1681 .loc 4 220 22
  7406. 1682 0204 084B ldr r3, .L84
  7407. 1683 0206 0022 movs r2, #0
  7408. 1684 0208 1A70 strb r2, [r3]
  7409. 221:User/sensor.c **** break;
  7410. 1685 .loc 4 221 3
  7411. 1686 020a 0E4B ldr r3, .L84+28
  7412. 1687 020c 1800 movs r0, r3
  7413. 1688 020e FFF7FEFF bl pm_release_lock
  7414. 222:User/sensor.c **** }
  7415. 1689 .loc 4 222 3
  7416. 1690 0212 04E0 b .L70
  7417. 1691 .L80:
  7418. 122:User/sensor.c **** case SENSOR_STA_START: // 传感器上电,等待一段时间后发送查询命令
  7419. 1692 .loc 4 122 3
  7420. 1693 0214 C046 nop
  7421. 1694 0216 02E0 b .L83
  7422. 1695 .L81:
  7423. 139:User/sensor.c **** case SENSOR_STA_TX:
  7424. 1696 .loc 4 139 3
  7425. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 129
  7426. 1697 0218 C046 nop
  7427. 1698 021a 00E0 b .L83
  7428. 1699 .L82:
  7429. 1700 .LBB63:
  7430. 171:User/sensor.c **** }
  7431. 1701 .loc 4 171 4
  7432. 1702 021c C046 nop
  7433. 1703 .L70:
  7434. 1704 .L83:
  7435. 1705 .LBE63:
  7436. 1706 .loc 4 224 1
  7437. 1707 021e C046 nop
  7438. 1708 0220 BD46 mov sp, r7
  7439. 1709 0222 0BB0 add sp, sp, #44
  7440. 1710 @ sp needed
  7441. 1711 0224 90BD pop {r4, r7, pc}
  7442. 1712 .L85:
  7443. 1713 0226 C046 .align 2
  7444. 1714 .L84:
  7445. 1715 0228 00000000 .word sensor_ctx
  7446. 1716 022c 00000000 .word .L65
  7447. 1717 0230 00000000 .word adc_buf
  7448. 1718 0234 00000000 .word hadc1
  7449. 1719 0238 08000000 .word .LC11
  7450. 1720 023c 18000000 .word sensor_ctx+24
  7451. 1721 0240 00000000 .word sensor_data
  7452. 1722 0244 00000000 .word .LC0
  7453. 1723 .cfi_endproc
  7454. 1724 .LFE946:
  7455. 1726 .section .text.sensor_is_busy,"ax",%progbits
  7456. 1727 .align 1
  7457. 1728 .global sensor_is_busy
  7458. 1729 .syntax unified
  7459. 1730 .code 16
  7460. 1731 .thumb_func
  7461. 1733 sensor_is_busy:
  7462. 1734 .LFB947:
  7463. 225:User/sensor.c ****
  7464. 226:User/sensor.c **** int sensor_is_busy(void)
  7465. 227:User/sensor.c **** {
  7466. 1735 .loc 4 227 1
  7467. 1736 .cfi_startproc
  7468. 1737 @ args = 0, pretend = 0, frame = 0
  7469. 1738 @ frame_needed = 1, uses_anonymous_args = 0
  7470. 1739 0000 80B5 push {r7, lr}
  7471. 1740 .LCFI62:
  7472. 1741 .cfi_def_cfa_offset 8
  7473. 1742 .cfi_offset 7, -8
  7474. 1743 .cfi_offset 14, -4
  7475. 1744 0002 00AF add r7, sp, #0
  7476. 1745 .LCFI63:
  7477. 1746 .cfi_def_cfa_register 7
  7478. 228:User/sensor.c **** return sensor_ctx.tsk_sta != SENSOR_STA_IDLE;
  7479. 1747 .loc 4 228 19
  7480. 1748 0004 034B ldr r3, .L88
  7481. 1749 0006 1B78 ldrb r3, [r3]
  7482. 1750 .loc 4 228 28
  7483. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 130
  7484. 1751 0008 5A1E subs r2, r3, #1
  7485. 1752 000a 9341 sbcs r3, r3, r2
  7486. 1753 000c DBB2 uxtb r3, r3
  7487. 229:User/sensor.c **** }
  7488. 1754 .loc 4 229 1
  7489. 1755 000e 1800 movs r0, r3
  7490. 1756 0010 BD46 mov sp, r7
  7491. 1757 @ sp needed
  7492. 1758 0012 80BD pop {r7, pc}
  7493. 1759 .L89:
  7494. 1760 .align 2
  7495. 1761 .L88:
  7496. 1762 0014 00000000 .word sensor_ctx
  7497. 1763 .cfi_endproc
  7498. 1764 .LFE947:
  7499. 1766 .section .text.sensor_irq_handle,"ax",%progbits
  7500. 1767 .align 1
  7501. 1768 .global sensor_irq_handle
  7502. 1769 .syntax unified
  7503. 1770 .code 16
  7504. 1771 .thumb_func
  7505. 1773 sensor_irq_handle:
  7506. 1774 .LFB948:
  7507. 230:User/sensor.c ****
  7508. 231:User/sensor.c **** void sensor_irq_handle(void)
  7509. 232:User/sensor.c **** {
  7510. 1775 .loc 4 232 1
  7511. 1776 .cfi_startproc
  7512. 1777 @ args = 0, pretend = 0, frame = 8
  7513. 1778 @ frame_needed = 1, uses_anonymous_args = 0
  7514. 1779 0000 90B5 push {r4, r7, lr}
  7515. 1780 .LCFI64:
  7516. 1781 .cfi_def_cfa_offset 12
  7517. 1782 .cfi_offset 4, -12
  7518. 1783 .cfi_offset 7, -8
  7519. 1784 .cfi_offset 14, -4
  7520. 1785 0002 83B0 sub sp, sp, #12
  7521. 1786 .LCFI65:
  7522. 1787 .cfi_def_cfa_offset 24
  7523. 1788 0004 00AF add r7, sp, #0
  7524. 1789 .LCFI66:
  7525. 1790 .cfi_def_cfa_register 7
  7526. 233:User/sensor.c **** if (LL_USART_IsEnabledIT_RXNE(COM_RS485) && LL_USART_IsActiveFlag_RXNE(COM_RS485))
  7527. 1791 .loc 4 233 6
  7528. 1792 0006 274B ldr r3, .L96
  7529. 1793 0008 1800 movs r0, r3
  7530. 1794 000a FFF7FEFF bl LL_USART_IsEnabledIT_RXNE_RXFNE
  7531. 1795 000e 031E subs r3, r0, #0
  7532. 1796 .loc 4 233 5
  7533. 1797 0010 21D0 beq .L91
  7534. 1798 .loc 4 233 46 discriminator 1
  7535. 1799 0012 244B ldr r3, .L96
  7536. 1800 0014 1800 movs r0, r3
  7537. 1801 0016 FFF7FEFF bl LL_USART_IsActiveFlag_RXNE_RXFNE
  7538. 1802 001a 031E subs r3, r0, #0
  7539. 1803 .loc 4 233 43 discriminator 1
  7540. 1804 001c 1BD0 beq .L91
  7541. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 131
  7542. 1805 .LBB64:
  7543. 234:User/sensor.c **** {
  7544. 235:User/sensor.c **** uint8_t tmp;
  7545. 236:User/sensor.c ****
  7546. 237:User/sensor.c **** tmp = LL_USART_ReceiveData8(COM_RS485);
  7547. 1806 .loc 4 237 9
  7548. 1807 001e FC1D adds r4, r7, #7
  7549. 1808 0020 204B ldr r3, .L96
  7550. 1809 0022 1800 movs r0, r3
  7551. 1810 0024 FFF7FEFF bl LL_USART_ReceiveData8
  7552. 1811 0028 0300 movs r3, r0
  7553. 1812 002a 2370 strb r3, [r4]
  7554. 238:User/sensor.c **** if (sensor_ctx.rx_len < sizeof(sensor_ctx.rx_buf))
  7555. 1813 .loc 4 238 17
  7556. 1814 002c 1E4B ldr r3, .L96+4
  7557. 1815 002e 1B69 ldr r3, [r3, #16]
  7558. 1816 .loc 4 238 6
  7559. 1817 0030 7F2B cmp r3, #127
  7560. 1818 0032 0BD8 bhi .L92
  7561. 239:User/sensor.c **** {
  7562. 240:User/sensor.c **** sensor_ctx.rx_buf[sensor_ctx.rx_len] = tmp;
  7563. 1819 .loc 4 240 32
  7564. 1820 0034 1C4B ldr r3, .L96+4
  7565. 1821 0036 1B69 ldr r3, [r3, #16]
  7566. 1822 .loc 4 240 41
  7567. 1823 0038 1B4A ldr r2, .L96+4
  7568. 1824 003a D318 adds r3, r2, r3
  7569. 1825 003c FA1D adds r2, r7, #7
  7570. 1826 003e 1278 ldrb r2, [r2]
  7571. 1827 0040 1A76 strb r2, [r3, #24]
  7572. 241:User/sensor.c **** sensor_ctx.rx_len++;
  7573. 1828 .loc 4 241 14
  7574. 1829 0042 194B ldr r3, .L96+4
  7575. 1830 0044 1B69 ldr r3, [r3, #16]
  7576. 1831 .loc 4 241 21
  7577. 1832 0046 5A1C adds r2, r3, #1
  7578. 1833 0048 174B ldr r3, .L96+4
  7579. 1834 004a 1A61 str r2, [r3, #16]
  7580. 1835 .L92:
  7581. 242:User/sensor.c **** }
  7582. 243:User/sensor.c **** sensor_ctx.rx_timer = HAL_GetTick();
  7583. 1836 .loc 4 243 25
  7584. 1837 004c FFF7FEFF bl HAL_GetTick
  7585. 1838 0050 0200 movs r2, r0
  7586. 1839 .loc 4 243 23
  7587. 1840 0052 154B ldr r3, .L96+4
  7588. 1841 0054 5A61 str r2, [r3, #20]
  7589. 1842 .L91:
  7590. 1843 .LBE64:
  7591. 244:User/sensor.c **** }
  7592. 245:User/sensor.c ****
  7593. 246:User/sensor.c **** if (LL_USART_IsActiveFlag_ORE(COM_RS485))
  7594. 1844 .loc 4 246 6
  7595. 1845 0056 134B ldr r3, .L96
  7596. 1846 0058 1800 movs r0, r3
  7597. 1847 005a FFF7FEFF bl LL_USART_IsActiveFlag_ORE
  7598. 1848 005e 031E subs r3, r0, #0
  7599. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 132
  7600. 1849 .loc 4 246 5
  7601. 1850 0060 07D0 beq .L93
  7602. 247:User/sensor.c **** {
  7603. 248:User/sensor.c **** LL_USART_ClearFlag_ORE(COM_RS485);
  7604. 1851 .loc 4 248 3
  7605. 1852 0062 104B ldr r3, .L96
  7606. 1853 0064 1800 movs r0, r3
  7607. 1854 0066 FFF7FEFF bl LL_USART_ClearFlag_ORE
  7608. 249:User/sensor.c **** LL_USART_DisableIT_ERROR(COM_RS485);
  7609. 1855 .loc 4 249 3
  7610. 1856 006a 0E4B ldr r3, .L96
  7611. 1857 006c 1800 movs r0, r3
  7612. 1858 006e FFF7FEFF bl LL_USART_DisableIT_ERROR
  7613. 1859 .L93:
  7614. 250:User/sensor.c **** }
  7615. 251:User/sensor.c ****
  7616. 252:User/sensor.c **** if (LL_USART_IsEnabledIT_TC(COM_RS485) && LL_USART_IsActiveFlag_TC(COM_RS485))
  7617. 1860 .loc 4 252 6
  7618. 1861 0072 0C4B ldr r3, .L96
  7619. 1862 0074 1800 movs r0, r3
  7620. 1863 0076 FFF7FEFF bl LL_USART_IsEnabledIT_TC
  7621. 1864 007a 031E subs r3, r0, #0
  7622. 1865 .loc 4 252 5
  7623. 1866 007c 0DD0 beq .L95
  7624. 1867 .loc 4 252 44 discriminator 1
  7625. 1868 007e 094B ldr r3, .L96
  7626. 1869 0080 1800 movs r0, r3
  7627. 1870 0082 FFF7FEFF bl LL_USART_IsActiveFlag_TC
  7628. 1871 0086 031E subs r3, r0, #0
  7629. 1872 .loc 4 252 41 discriminator 1
  7630. 1873 0088 07D0 beq .L95
  7631. 253:User/sensor.c **** {
  7632. 254:User/sensor.c **** LL_USART_ClearFlag_TC(COM_RS485);
  7633. 1874 .loc 4 254 3
  7634. 1875 008a 064B ldr r3, .L96
  7635. 1876 008c 1800 movs r0, r3
  7636. 1877 008e FFF7FEFF bl LL_USART_ClearFlag_TC
  7637. 255:User/sensor.c **** LL_USART_DisableIT_TC(COM_RS485);
  7638. 1878 .loc 4 255 3
  7639. 1879 0092 044B ldr r3, .L96
  7640. 1880 0094 1800 movs r0, r3
  7641. 1881 0096 FFF7FEFF bl LL_USART_DisableIT_TC
  7642. 1882 .L95:
  7643. 256:User/sensor.c **** }
  7644. 257:User/sensor.c **** }
  7645. 1883 .loc 4 257 1
  7646. 1884 009a C046 nop
  7647. 1885 009c BD46 mov sp, r7
  7648. 1886 009e 03B0 add sp, sp, #12
  7649. 1887 @ sp needed
  7650. 1888 00a0 90BD pop {r4, r7, pc}
  7651. 1889 .L97:
  7652. 1890 00a2 C046 .align 2
  7653. 1891 .L96:
  7654. 1892 00a4 00480040 .word 1073760256
  7655. 1893 00a8 00000000 .word sensor_ctx
  7656. 1894 .cfi_endproc
  7657. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 133
  7658. 1895 .LFE948:
  7659. 1897 .global __aeabi_uidiv
  7660. 1898 .global __aeabi_idiv
  7661. 1899 .section .text.HAL_ADC_ConvCpltCallback,"ax",%progbits
  7662. 1900 .align 1
  7663. 1901 .global HAL_ADC_ConvCpltCallback
  7664. 1902 .syntax unified
  7665. 1903 .code 16
  7666. 1904 .thumb_func
  7667. 1906 HAL_ADC_ConvCpltCallback:
  7668. 1907 .LFB949:
  7669. 258:User/sensor.c ****
  7670. 259:User/sensor.c **** /*
  7671. 260:User/sensor.c **** 分压电阻R1=47K,R2=10K
  7672. 261:User/sensor.c **** VCC------|||||------|||||------GND
  7673. 262:User/sensor.c **** | | |
  7674. 263:User/sensor.c **** R1 V R2
  7675. 264:User/sensor.c **** */
  7676. 265:User/sensor.c ****
  7677. 266:User/sensor.c **** void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)
  7678. 267:User/sensor.c **** {
  7679. 1908 .loc 4 267 1
  7680. 1909 .cfi_startproc
  7681. 1910 @ args = 0, pretend = 0, frame = 24
  7682. 1911 @ frame_needed = 1, uses_anonymous_args = 0
  7683. 1912 0000 90B5 push {r4, r7, lr}
  7684. 1913 .LCFI67:
  7685. 1914 .cfi_def_cfa_offset 12
  7686. 1915 .cfi_offset 4, -12
  7687. 1916 .cfi_offset 7, -8
  7688. 1917 .cfi_offset 14, -4
  7689. 1918 0002 87B0 sub sp, sp, #28
  7690. 1919 .LCFI68:
  7691. 1920 .cfi_def_cfa_offset 40
  7692. 1921 0004 00AF add r7, sp, #0
  7693. 1922 .LCFI69:
  7694. 1923 .cfi_def_cfa_register 7
  7695. 1924 0006 7860 str r0, [r7, #4]
  7696. 268:User/sensor.c **** uint32_t sum = 0;
  7697. 1925 .loc 4 268 11
  7698. 1926 0008 0023 movs r3, #0
  7699. 1927 000a 7B61 str r3, [r7, #20]
  7700. 269:User/sensor.c **** uint32_t vref = 0;
  7701. 1928 .loc 4 269 11
  7702. 1929 000c 0023 movs r3, #0
  7703. 1930 000e 3B61 str r3, [r7, #16]
  7704. 1931 .LBB65:
  7705. 270:User/sensor.c ****
  7706. 271:User/sensor.c **** for (int i = 0; i < ADC_BUF_SZ; i++)
  7707. 1932 .loc 4 271 11
  7708. 1933 0010 0023 movs r3, #0
  7709. 1934 0012 FB60 str r3, [r7, #12]
  7710. 1935 .loc 4 271 2
  7711. 1936 0014 16E0 b .L99
  7712. 1937 .L100:
  7713. 272:User/sensor.c **** {
  7714. 273:User/sensor.c **** vref += adc_buf[i][0];
  7715. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 134
  7716. 1938 .loc 4 273 21 discriminator 3
  7717. 1939 0016 2C4B ldr r3, .L101
  7718. 1940 0018 FA68 ldr r2, [r7, #12]
  7719. 1941 001a 9200 lsls r2, r2, #2
  7720. 1942 001c D35A ldrh r3, [r2, r3]
  7721. 1943 001e 9BB2 uxth r3, r3
  7722. 1944 0020 1A00 movs r2, r3
  7723. 1945 .loc 4 273 8 discriminator 3
  7724. 1946 0022 3B69 ldr r3, [r7, #16]
  7725. 1947 0024 9B18 adds r3, r3, r2
  7726. 1948 0026 3B61 str r3, [r7, #16]
  7727. 274:User/sensor.c **** sum += adc_buf[i][1];
  7728. 1949 .loc 4 274 20 discriminator 3
  7729. 1950 0028 274A ldr r2, .L101
  7730. 1951 002a FB68 ldr r3, [r7, #12]
  7731. 1952 002c 9B00 lsls r3, r3, #2
  7732. 1953 002e D318 adds r3, r2, r3
  7733. 1954 0030 0233 adds r3, r3, #2
  7734. 1955 0032 1B88 ldrh r3, [r3]
  7735. 1956 0034 9BB2 uxth r3, r3
  7736. 1957 0036 1A00 movs r2, r3
  7737. 1958 .loc 4 274 7 discriminator 3
  7738. 1959 0038 7B69 ldr r3, [r7, #20]
  7739. 1960 003a 9B18 adds r3, r3, r2
  7740. 1961 003c 7B61 str r3, [r7, #20]
  7741. 271:User/sensor.c **** {
  7742. 1962 .loc 4 271 35 discriminator 3
  7743. 1963 003e FB68 ldr r3, [r7, #12]
  7744. 1964 0040 0133 adds r3, r3, #1
  7745. 1965 0042 FB60 str r3, [r7, #12]
  7746. 1966 .L99:
  7747. 271:User/sensor.c **** {
  7748. 1967 .loc 4 271 20 discriminator 1
  7749. 1968 0044 FB68 ldr r3, [r7, #12]
  7750. 271:User/sensor.c **** {
  7751. 1969 .loc 4 271 2 discriminator 1
  7752. 1970 0046 312B cmp r3, #49
  7753. 1971 0048 E5D9 bls .L100
  7754. 1972 .LBE65:
  7755. 275:User/sensor.c **** }
  7756. 276:User/sensor.c **** sum = sum / ADC_BUF_SZ;
  7757. 1973 .loc 4 276 6
  7758. 1974 004a 7B69 ldr r3, [r7, #20]
  7759. 1975 004c 3221 movs r1, #50
  7760. 1976 004e 1800 movs r0, r3
  7761. 1977 0050 FFF7FEFF bl __aeabi_uidiv
  7762. 1978 0054 0300 movs r3, r0
  7763. 1979 0056 7B61 str r3, [r7, #20]
  7764. 277:User/sensor.c **** vref = __HAL_ADC_CALC_VREFANALOG_VOLTAGE(vref/ADC_BUF_SZ, ADC_RESOLUTION_12B);
  7765. 1980 .loc 4 277 9
  7766. 1981 0058 1C4B ldr r3, .L101+4
  7767. 1982 005a 1B88 ldrh r3, [r3]
  7768. 1983 005c 1A00 movs r2, r3
  7769. 1984 005e 1C4B ldr r3, .L101+8
  7770. 1985 0060 5343 muls r3, r2
  7771. 1986 0062 1C00 movs r4, r3
  7772. 1987 0064 3B69 ldr r3, [r7, #16]
  7773. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 135
  7774. 1988 0066 3221 movs r1, #50
  7775. 1989 0068 1800 movs r0, r3
  7776. 1990 006a FFF7FEFF bl __aeabi_uidiv
  7777. 1991 006e 0300 movs r3, r0
  7778. 1992 .loc 4 277 7
  7779. 1993 0070 1900 movs r1, r3
  7780. 1994 0072 2000 movs r0, r4
  7781. 1995 0074 FFF7FEFF bl __aeabi_uidiv
  7782. 1996 0078 0300 movs r3, r0
  7783. 1997 007a 3B61 str r3, [r7, #16]
  7784. 278:User/sensor.c **** sensor_data.voltage = __HAL_ADC_CALC_DATA_TO_VOLTAGE(vref, sum, ADC_RESOLUTION_12B)*57/10ul;
  7785. 1998 .loc 4 278 24
  7786. 1999 007c 7B69 ldr r3, [r7, #20]
  7787. 2000 007e 3A69 ldr r2, [r7, #16]
  7788. 2001 0080 5343 muls r3, r2
  7789. 2002 0082 1449 ldr r1, .L101+12
  7790. 2003 0084 1800 movs r0, r3
  7791. 2004 0086 FFF7FEFF bl __aeabi_uidiv
  7792. 2005 008a 0300 movs r3, r0
  7793. 2006 008c 1A00 movs r2, r3
  7794. 2007 .loc 4 278 85
  7795. 2008 008e 1300 movs r3, r2
  7796. 2009 0090 DB00 lsls r3, r3, #3
  7797. 2010 0092 9B1A subs r3, r3, r2
  7798. 2011 0094 DB00 lsls r3, r3, #3
  7799. 2012 0096 9B18 adds r3, r3, r2
  7800. 2013 .loc 4 278 88
  7801. 2014 0098 0A21 movs r1, #10
  7802. 2015 009a 1800 movs r0, r3
  7803. 2016 009c FFF7FEFF bl __aeabi_uidiv
  7804. 2017 00a0 0300 movs r3, r0
  7805. 2018 .loc 4 278 22
  7806. 2019 00a2 9AB2 uxth r2, r3
  7807. 2020 00a4 0C4B ldr r3, .L101+16
  7808. 2021 00a6 1A81 strh r2, [r3, #8]
  7809. 279:User/sensor.c ****
  7810. 280:User/sensor.c **** // 250927 电压单位转换以及防反接二极管的电压补偿统一在这里操作
  7811. 281:User/sensor.c **** sensor_data.voltage = (sensor_data.voltage + 360) / 100;
  7812. 2022 .loc 4 281 36
  7813. 2023 00a8 0B4B ldr r3, .L101+16
  7814. 2024 00aa 1B89 ldrh r3, [r3, #8]
  7815. 2025 .loc 4 281 45
  7816. 2026 00ac 6933 adds r3, r3, #105
  7817. 2027 00ae FF33 adds r3, r3, #255
  7818. 2028 .loc 4 281 52
  7819. 2029 00b0 6421 movs r1, #100
  7820. 2030 00b2 1800 movs r0, r3
  7821. 2031 00b4 FFF7FEFF bl __aeabi_idiv
  7822. 2032 00b8 0300 movs r3, r0
  7823. 2033 .loc 4 281 22
  7824. 2034 00ba 9AB2 uxth r2, r3
  7825. 2035 00bc 064B ldr r3, .L101+16
  7826. 2036 00be 1A81 strh r2, [r3, #8]
  7827. 282:User/sensor.c **** }
  7828. 2037 .loc 4 282 1
  7829. 2038 00c0 C046 nop
  7830. 2039 00c2 BD46 mov sp, r7
  7831. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 136
  7832. 2040 00c4 07B0 add sp, sp, #28
  7833. 2041 @ sp needed
  7834. 2042 00c6 90BD pop {r4, r7, pc}
  7835. 2043 .L102:
  7836. 2044 .align 2
  7837. 2045 .L101:
  7838. 2046 00c8 00000000 .word adc_buf
  7839. 2047 00cc AA75FF1F .word 536835498
  7840. 2048 00d0 B80B0000 .word 3000
  7841. 2049 00d4 FF0F0000 .word 4095
  7842. 2050 00d8 00000000 .word sensor_data
  7843. 2051 .cfi_endproc
  7844. 2052 .LFE949:
  7845. 2054 .section .text.sensor_get_data,"ax",%progbits
  7846. 2055 .align 1
  7847. 2056 .global sensor_get_data
  7848. 2057 .syntax unified
  7849. 2058 .code 16
  7850. 2059 .thumb_func
  7851. 2061 sensor_get_data:
  7852. 2062 .LFB950:
  7853. 283:User/sensor.c ****
  7854. 284:User/sensor.c **** void sensor_get_data(sensor_data_t *data)
  7855. 285:User/sensor.c **** {
  7856. 2063 .loc 4 285 1
  7857. 2064 .cfi_startproc
  7858. 2065 @ args = 0, pretend = 0, frame = 8
  7859. 2066 @ frame_needed = 1, uses_anonymous_args = 0
  7860. 2067 0000 80B5 push {r7, lr}
  7861. 2068 .LCFI70:
  7862. 2069 .cfi_def_cfa_offset 8
  7863. 2070 .cfi_offset 7, -8
  7864. 2071 .cfi_offset 14, -4
  7865. 2072 0002 82B0 sub sp, sp, #8
  7866. 2073 .LCFI71:
  7867. 2074 .cfi_def_cfa_offset 16
  7868. 2075 0004 00AF add r7, sp, #0
  7869. 2076 .LCFI72:
  7870. 2077 .cfi_def_cfa_register 7
  7871. 2078 0006 7860 str r0, [r7, #4]
  7872. 286:User/sensor.c **** if(data)
  7873. 2079 .loc 4 286 4
  7874. 2080 0008 7B68 ldr r3, [r7, #4]
  7875. 2081 000a 002B cmp r3, #0
  7876. 2082 000c 05D0 beq .L105
  7877. 287:User/sensor.c **** {
  7878. 288:User/sensor.c **** memcpy(data, &sensor_data, sizeof(sensor_data));
  7879. 2083 .loc 4 288 3
  7880. 2084 000e 0549 ldr r1, .L106
  7881. 2085 0010 7B68 ldr r3, [r7, #4]
  7882. 2086 0012 0C22 movs r2, #12
  7883. 2087 0014 1800 movs r0, r3
  7884. 2088 0016 FFF7FEFF bl memcpy
  7885. 2089 .L105:
  7886. 289:User/sensor.c **** }
  7887. 290:User/sensor.c **** }...
  7888. 2090 .loc 4 290 1
  7889. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 137
  7890. 2091 001a C046 nop
  7891. 2092 001c BD46 mov sp, r7
  7892. 2093 001e 02B0 add sp, sp, #8
  7893. 2094 @ sp needed
  7894. 2095 0020 80BD pop {r7, pc}
  7895. 2096 .L107:
  7896. 2097 0022 C046 .align 2
  7897. 2098 .L106:
  7898. 2099 0024 00000000 .word sensor_data
  7899. 2100 .cfi_endproc
  7900. 2101 .LFE950:
  7901. 2103 .text
  7902. 2104 .Letext0:
  7903. 2105 .file 5 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\machine\\_default_
  7904. 2106 .file 6 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\sys\\_stdint.h"
  7905. 2107 .file 7 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h"
  7906. 2108 .file 8 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h"
  7907. 2109 .file 9 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h"
  7908. 2110 .file 10 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h"
  7909. 2111 .file 11 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h"
  7910. 2112 .file 12 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h"
  7911. 2113 .file 13 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h"
  7912. 2114 .file 14 "User/sensor.h"
  7913. 2115 .file 15 "User/rec.h"
  7914. 2116 .file 16 "User/app_rtc.h"
  7915. 2117 .file 17 "User/..\\Core\\Inc\\adc.h"
  7916. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 138
  7917. DEFINED SYMBOLS
  7918. *ABS*:00000000 sensor.c
  7919. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:18 .rodata.CHANNEL_OFFSET_TAB:00000000 $d
  7920. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:21 .rodata.CHANNEL_OFFSET_TAB:00000000 CHANNEL_OFFSET_TAB
  7921. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:24 .rodata.USART_PRESCALER_TAB:00000000 $d
  7922. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:27 .rodata.USART_PRESCALER_TAB:00000000 USART_PRESCALER_TAB
  7923. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:41 .text.LL_USART_Enable:00000000 $t
  7924. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:46 .text.LL_USART_Enable:00000000 LL_USART_Enable
  7925. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:82 .text.LL_USART_Disable:00000000 $t
  7926. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:87 .text.LL_USART_Disable:00000000 LL_USART_Disable
  7927. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:123 .text.LL_USART_IsActiveFlag_ORE:00000000 $t
  7928. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:128 .text.LL_USART_IsActiveFlag_ORE:00000000 LL_USART_IsActiveFlag_ORE
  7929. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:171 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 $t
  7930. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:176 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 LL_USART_IsActiveFlag_RXNE_RXFNE
  7931. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:219 .text.LL_USART_IsActiveFlag_TC:00000000 $t
  7932. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:224 .text.LL_USART_IsActiveFlag_TC:00000000 LL_USART_IsActiveFlag_TC
  7933. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:267 .text.LL_USART_ClearFlag_ORE:00000000 $t
  7934. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:272 .text.LL_USART_ClearFlag_ORE:00000000 LL_USART_ClearFlag_ORE
  7935. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:304 .text.LL_USART_ClearFlag_TC:00000000 $t
  7936. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:309 .text.LL_USART_ClearFlag_TC:00000000 LL_USART_ClearFlag_TC
  7937. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:341 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 $t
  7938. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:346 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 LL_USART_EnableIT_RXNE_RXFNE
  7939. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:432 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 $t
  7940. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:437 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 LL_USART_DisableIT_RXNE_RXFNE
  7941. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:523 .text.LL_USART_DisableIT_TC:00000000 $t
  7942. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:528 .text.LL_USART_DisableIT_TC:00000000 LL_USART_DisableIT_TC
  7943. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:614 .text.LL_USART_DisableIT_ERROR:00000000 $t
  7944. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:619 .text.LL_USART_DisableIT_ERROR:00000000 LL_USART_DisableIT_ERROR
  7945. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:705 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 $t
  7946. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:710 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 LL_USART_IsEnabledIT_RXNE_RXFNE
  7947. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:753 .text.LL_USART_IsEnabledIT_TC:00000000 $t
  7948. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:758 .text.LL_USART_IsEnabledIT_TC:00000000 LL_USART_IsEnabledIT_TC
  7949. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:801 .text.LL_USART_ReceiveData8:00000000 $t
  7950. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:806 .text.LL_USART_ReceiveData8:00000000 LL_USART_ReceiveData8
  7951. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:839 .text.LL_USART_TransmitData8:00000000 $t
  7952. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:844 .text.LL_USART_TransmitData8:00000000 LL_USART_TransmitData8
  7953. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:880 .text.LL_APB1_GRP1_DisableClock:00000000 $t
  7954. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:885 .text.LL_APB1_GRP1_DisableClock:00000000 LL_APB1_GRP1_DisableClock
  7955. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:921 .text.LL_APB1_GRP1_DisableClock:00000020 $d
  7956. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:930 .bss.sensor_ctx:00000000 sensor_ctx
  7957. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:927 .bss.sensor_ctx:00000000 $d
  7958. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:937 .bss.adc_buf:00000000 adc_buf
  7959. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:934 .bss.adc_buf:00000000 $d
  7960. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:944 .bss.sensor_data:00000000 sensor_data
  7961. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:941 .bss.sensor_data:00000000 $d
  7962. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:947 .text.sensor_set_bus_sta:00000000 $t
  7963. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:953 .text.sensor_set_bus_sta:00000000 sensor_set_bus_sta
  7964. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1041 .text.sensor_set_bus_sta:0000007c $d
  7965. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1046 .text.sensor_write:00000000 $t
  7966. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1051 .text.sensor_write:00000000 sensor_write
  7967. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1122 .text.sensor_write:0000004c $d
  7968. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1127 .rodata:00000000 $d
  7969. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1131 .text.sensor_init:00000000 $t
  7970. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1137 .text.sensor_init:00000000 sensor_init
  7971. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1215 .text.sensor_init:0000006c $d
  7972. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1224 .text.sensor_deinit:00000000 $t
  7973. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1230 .text.sensor_deinit:00000000 sensor_deinit
  7974. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s page 139
  7975. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1289 .text.sensor_deinit:00000054 $d
  7976. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1300 .text.sensor_task:00000000 $t
  7977. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1306 .text.sensor_task:00000000 sensor_task
  7978. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1338 .rodata.sensor_task:00000000 $d
  7979. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1715 .text.sensor_task:00000228 $d
  7980. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1727 .text.sensor_is_busy:00000000 $t
  7981. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1733 .text.sensor_is_busy:00000000 sensor_is_busy
  7982. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1762 .text.sensor_is_busy:00000014 $d
  7983. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1767 .text.sensor_irq_handle:00000000 $t
  7984. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1773 .text.sensor_irq_handle:00000000 sensor_irq_handle
  7985. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1892 .text.sensor_irq_handle:000000a4 $d
  7986. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1900 .text.HAL_ADC_ConvCpltCallback:00000000 $t
  7987. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:1906 .text.HAL_ADC_ConvCpltCallback:00000000 HAL_ADC_ConvCpltCallback
  7988. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2046 .text.HAL_ADC_ConvCpltCallback:000000c8 $d
  7989. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2055 .text.sensor_get_data:00000000 $t
  7990. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2061 .text.sensor_get_data:00000000 sensor_get_data
  7991. C:\Users\ADMINI~1\AppData\Local\Temp\ccRIZEds.s:2099 .text.sensor_get_data:00000024 $d
  7992. UNDEFINED SYMBOLS
  7993. HAL_GPIO_WritePin
  7994. pm_get_lock
  7995. MX_SPI2_Init
  7996. MX_USART3_UART_Init
  7997. memset
  7998. MX_DMA_Init
  7999. MX_ADC1_Init
  8000. HAL_ADCEx_Calibration_Start
  8001. hadc1
  8002. LL_USART_DeInit
  8003. HAL_ADC_Stop
  8004. HAL_ADC_Stop_DMA
  8005. HAL_ADC_DeInit
  8006. HAL_DMA_DeInit
  8007. ADC_Disable
  8008. hdma_adc1
  8009. HAL_ADC_Start_DMA
  8010. HAL_GetTick
  8011. CRC16
  8012. rtc_get_time
  8013. rtc_mktime
  8014. rec_write
  8015. pm_release_lock
  8016. __aeabi_uidiv
  8017. __aeabi_idiv
  8018. memcpy