ymodem.lst 500 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220
  1. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.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 "ymodem.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_IsActiveFlag_RXNE_RXFNE,"ax",%progbits
  39. 41 .align 1
  40. 42 .syntax unified
  41. 43 .code 16
  42. 44 .thumb_func
  43. 46 LL_USART_IsActiveFlag_RXNE_RXFNE:
  44. 47 .LFB581:
  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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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\ccXThWtb.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. 636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_UE);
  693. 637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  694. 638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  695. 639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  696. 640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Disable (all USART prescalers and outputs are disabled)
  697. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 13
  698. 641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When USART is disabled, USART prescalers and outputs are stopped immediately,
  699. 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
  700. 643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * flags, in the USARTx_ISR are set to their default values.
  701. 644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Disable
  702. 645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  703. 646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  704. 647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  705. 648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Disable(USART_TypeDef *USARTx)
  706. 649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  707. 650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_UE);
  708. 651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  709. 652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  710. 653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  711. 654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled
  712. 655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_IsEnabled
  713. 656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  714. 657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  715. 658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  716. 659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabled(const USART_TypeDef *USARTx)
  717. 660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  718. 661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL);
  719. 662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  720. 663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  721. 664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  722. 665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Enable
  723. 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
  724. 667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  725. 668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_EnableFIFO
  726. 669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  727. 670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  728. 671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  729. 672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableFIFO(USART_TypeDef *USARTx)
  730. 673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  731. 674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_FIFOEN);
  732. 675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  733. 676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  734. 677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  735. 678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Disable
  736. 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
  737. 680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  738. 681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_DisableFIFO
  739. 682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  740. 683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  741. 684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  742. 685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableFIFO(USART_TypeDef *USARTx)
  743. 686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  744. 687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_FIFOEN);
  745. 688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  746. 689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  747. 690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  748. 691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if FIFO Mode is enabled
  749. 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
  750. 693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  751. 694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_IsEnabledFIFO
  752. 695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  753. 696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  754. 697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  755. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 14
  756. 698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledFIFO(const USART_TypeDef *USARTx)
  757. 699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  758. 700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL);
  759. 701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  760. 702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  761. 703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  762. 704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX FIFO Threshold
  763. 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
  764. 706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  765. 707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_SetTXFIFOThreshold
  766. 708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  767. 709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
  768. 710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  769. 711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  770. 712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  771. 713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  772. 714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  773. 715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  774. 716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  775. 717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  776. 718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
  777. 719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  778. 720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos);
  779. 721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  780. 722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  781. 723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  782. 724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return TX FIFO Threshold Configuration
  783. 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
  784. 726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  785. 727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_GetTXFIFOThreshold
  786. 728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  787. 729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  788. 730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  789. 731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  790. 732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  791. 733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  792. 734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  793. 735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  794. 736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  795. 737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXFIFOThreshold(const USART_TypeDef *USARTx)
  796. 738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  797. 739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos);
  798. 740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  799. 741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  800. 742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  801. 743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX FIFO Threshold
  802. 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
  803. 745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  804. 746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_SetRXFIFOThreshold
  805. 747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  806. 748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
  807. 749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  808. 750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  809. 751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  810. 752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  811. 753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  812. 754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  813. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 15
  814. 755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  815. 756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  816. 757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
  817. 758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  818. 759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos);
  819. 760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  820. 761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  821. 762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  822. 763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return RX FIFO Threshold Configuration
  823. 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
  824. 765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  825. 766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_GetRXFIFOThreshold
  826. 767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  827. 768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  828. 769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  829. 770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  830. 771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  831. 772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  832. 773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  833. 774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  834. 775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  835. 776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXFIFOThreshold(const USART_TypeDef *USARTx)
  836. 777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  837. 778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos);
  838. 779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  839. 780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  840. 781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  841. 782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX and RX FIFOs Threshold
  842. 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
  843. 784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  844. 785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_ConfigFIFOsThreshold\n
  845. 786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 RXFTCFG LL_USART_ConfigFIFOsThreshold
  846. 787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  847. 788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TXThreshold This parameter can be one of the following values:
  848. 789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  849. 790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  850. 791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  851. 792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  852. 793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  853. 794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  854. 795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param RXThreshold This parameter can be one of the following values:
  855. 796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  856. 797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  857. 798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  858. 799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  859. 800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  860. 801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  861. 802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  862. 803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  863. 804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigFIFOsThreshold(USART_TypeDef *USARTx, uint32_t TXThreshold, uin
  864. 805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  865. 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
  866. 807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (RXThreshold << USART_CR3_RXFTCFG_Pos));
  867. 808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  868. 809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  869. 810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  870. 811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART enabled in STOP Mode.
  871. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 16
  872. 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
  873. 813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * USART clock selection is HSI or LSE in RCC.
  874. 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
  875. 815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  876. 816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_EnableInStopMode
  877. 817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  878. 818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  879. 819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  880. 820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableInStopMode(USART_TypeDef *USARTx)
  881. 821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  882. 822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_UESM);
  883. 823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  884. 824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  885. 825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  886. 826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART disabled in STOP Mode.
  887. 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
  888. 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
  889. 829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  890. 830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_DisableInStopMode
  891. 831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  892. 832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  893. 833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  894. 834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableInStopMode(USART_TypeDef *USARTx)
  895. 835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  896. 836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_UESM);
  897. 837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  898. 838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  899. 839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  900. 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)
  901. 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
  902. 842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  903. 843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_IsEnabledInStopMode
  904. 844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  905. 845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  906. 846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  907. 847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledInStopMode(const USART_TypeDef *USARTx)
  908. 848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  909. 849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL);
  910. 850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  911. 851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  912. 852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  913. 853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Enable (Receiver is enabled and begins searching for a start bit)
  914. 854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_EnableDirectionRx
  915. 855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  916. 856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  917. 857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  918. 858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx)
  919. 859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  920. 860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE);
  921. 861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  922. 862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  923. 863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  924. 864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Disable
  925. 865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_DisableDirectionRx
  926. 866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  927. 867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  928. 868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  929. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 17
  930. 869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx)
  931. 870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  932. 871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE);
  933. 872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  934. 873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  935. 874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  936. 875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Enable
  937. 876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_EnableDirectionTx
  938. 877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  939. 878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  940. 879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  941. 880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx)
  942. 881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  943. 882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TE);
  944. 883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  945. 884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  946. 885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  947. 886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Disable
  948. 887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_DisableDirectionTx
  949. 888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  950. 889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  951. 890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  952. 891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx)
  953. 892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  954. 893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TE);
  955. 894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  956. 895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  957. 896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  958. 897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure simultaneously enabled/disabled states
  959. 898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * of Transmitter and Receiver
  960. 899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_SetTransferDirection\n
  961. 900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_SetTransferDirection
  962. 901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  963. 902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TransferDirection This parameter can be one of the following values:
  964. 903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
  965. 904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
  966. 905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
  967. 906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
  968. 907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  969. 908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  970. 909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32_t TransferDirectio
  971. 910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  972. 911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection);
  973. 912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  974. 913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  975. 914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  976. 915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return enabled/disabled states of Transmitter and Receiver
  977. 916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_GetTransferDirection\n
  978. 917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_GetTransferDirection
  979. 918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  980. 919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  981. 920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
  982. 921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
  983. 922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
  984. 923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
  985. 924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  986. 925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferDirection(const USART_TypeDef *USARTx)
  987. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 18
  988. 926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  989. 927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE));
  990. 928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  991. 929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  992. 930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  993. 931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Parity (enabled/disabled and parity mode if enabled).
  994. 932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This function selects if hardware parity control (generation and detection) is enabled
  995. 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
  996. 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.
  997. 935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_SetParity\n
  998. 936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_SetParity
  999. 937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1000. 938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
  1001. 939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1002. 940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1003. 941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1004. 942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1005. 943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1006. 944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetParity(USART_TypeDef *USARTx, uint32_t Parity)
  1007. 945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1008. 946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE, Parity);
  1009. 947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1010. 948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1011. 949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1012. 950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Parity configuration (enabled/disabled and parity mode if enabled)
  1013. 951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_GetParity\n
  1014. 952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_GetParity
  1015. 953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1016. 954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1017. 955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1018. 956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1019. 957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1020. 958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1021. 959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetParity(const USART_TypeDef *USARTx)
  1022. 960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1023. 961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE));
  1024. 962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1025. 963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1026. 964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1027. 965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Wake Up method from Mute mode.
  1028. 966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_SetWakeUpMethod
  1029. 967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1030. 968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Method This parameter can be one of the following values:
  1031. 969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
  1032. 970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
  1033. 971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1034. 972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1035. 973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWakeUpMethod(USART_TypeDef *USARTx, uint32_t Method)
  1036. 974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1037. 975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_WAKE, Method);
  1038. 976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1039. 977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1040. 978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1041. 979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Receiver Wake Up method from Mute mode
  1042. 980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_GetWakeUpMethod
  1043. 981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1044. 982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1045. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 19
  1046. 983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
  1047. 984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
  1048. 985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1049. 986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(const USART_TypeDef *USARTx)
  1050. 987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1051. 988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE));
  1052. 989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1053. 990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1054. 991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1055. 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)
  1056. 993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_SetDataWidth\n
  1057. 994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_SetDataWidth
  1058. 995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1059. 996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
  1060. 997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1061. 998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1062. 999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1063. 1000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1064. 1001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1065. 1002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDataWidth(USART_TypeDef *USARTx, uint32_t DataWidth)
  1066. 1003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1067. 1004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_M, DataWidth);
  1068. 1005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1069. 1006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1070. 1007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1071. 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)
  1072. 1009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_GetDataWidth\n
  1073. 1010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_GetDataWidth
  1074. 1011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1075. 1012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1076. 1013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1077. 1014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1078. 1015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1079. 1016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1080. 1017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDataWidth(const USART_TypeDef *USARTx)
  1081. 1018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1082. 1019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M));
  1083. 1020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1084. 1021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1085. 1022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1086. 1023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Allow switch between Mute Mode and Active mode
  1087. 1024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_EnableMuteMode
  1088. 1025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1089. 1026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1090. 1027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1091. 1028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableMuteMode(USART_TypeDef *USARTx)
  1092. 1029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1093. 1030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_MME);
  1094. 1031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1095. 1032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1096. 1033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1097. 1034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Prevent Mute Mode use. Set Receiver in active mode permanently.
  1098. 1035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_DisableMuteMode
  1099. 1036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1100. 1037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1101. 1038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1102. 1039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableMuteMode(USART_TypeDef *USARTx)
  1103. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 20
  1104. 1040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1105. 1041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_MME);
  1106. 1042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1107. 1043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1108. 1044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1109. 1045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if switch between Mute Mode and Active mode is allowed
  1110. 1046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_IsEnabledMuteMode
  1111. 1047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1112. 1048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1113. 1049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1114. 1050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledMuteMode(const USART_TypeDef *USARTx)
  1115. 1051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1116. 1052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)) ? 1UL : 0UL);
  1117. 1053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1118. 1054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1119. 1055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1120. 1056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Oversampling to 8-bit or 16-bit mode
  1121. 1057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_SetOverSampling
  1122. 1058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1123. 1059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  1124. 1060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1125. 1061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1126. 1062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1127. 1063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1128. 1064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetOverSampling(USART_TypeDef *USARTx, uint32_t OverSampling)
  1129. 1065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1130. 1066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_OVER8, OverSampling);
  1131. 1067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1132. 1068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1133. 1069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1134. 1070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Oversampling mode
  1135. 1071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_GetOverSampling
  1136. 1072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1137. 1073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1138. 1074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1139. 1075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1140. 1076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1141. 1077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetOverSampling(const USART_TypeDef *USARTx)
  1142. 1078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1143. 1079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8));
  1144. 1080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1145. 1081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1146. 1082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1147. 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
  1148. 1084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1149. 1085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1150. 1086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_SetLastClkPulseOutput
  1151. 1087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1152. 1088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LastBitClockPulse This parameter can be one of the following values:
  1153. 1089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1154. 1090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1155. 1091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1156. 1092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1157. 1093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint32_t LastBitClockPul
  1158. 1094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1159. 1095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBCL, LastBitClockPulse);
  1160. 1096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1161. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 21
  1162. 1097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1163. 1098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1164. 1099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Clock pulse of the last data bit output configuration
  1165. 1100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Last bit Clock pulse output to the SCLK pin or not)
  1166. 1101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1167. 1102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1168. 1103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_GetLastClkPulseOutput
  1169. 1104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1170. 1105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1171. 1106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1172. 1107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1173. 1108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1174. 1109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(const USART_TypeDef *USARTx)
  1175. 1110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1176. 1111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL));
  1177. 1112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1178. 1113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1179. 1114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1180. 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
  1181. 1116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1182. 1117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1183. 1118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_SetClockPhase
  1184. 1119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1185. 1120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPhase This parameter can be one of the following values:
  1186. 1121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1187. 1122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1188. 1123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1189. 1124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1190. 1125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t ClockPhase)
  1191. 1126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1192. 1127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA, ClockPhase);
  1193. 1128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1194. 1129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1195. 1130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1196. 1131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return phase of the clock output on the SCLK pin in synchronous mode
  1197. 1132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1198. 1133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1199. 1134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_GetClockPhase
  1200. 1135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1201. 1136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1202. 1137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1203. 1138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1204. 1139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1205. 1140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPhase(const USART_TypeDef *USARTx)
  1206. 1141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1207. 1142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA));
  1208. 1143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1209. 1144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1210. 1145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1211. 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
  1212. 1147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1213. 1148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1214. 1149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_SetClockPolarity
  1215. 1150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1216. 1151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPolarity This parameter can be one of the following values:
  1217. 1152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1218. 1153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1219. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 22
  1220. 1154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1221. 1155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1222. 1156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t ClockPolarity)
  1223. 1157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1224. 1158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPOL, ClockPolarity);
  1225. 1159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1226. 1160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1227. 1161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1228. 1162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return polarity of the clock output on the SCLK pin in synchronous mode
  1229. 1163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1230. 1164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1231. 1165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_GetClockPolarity
  1232. 1166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1233. 1167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1234. 1168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1235. 1169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1236. 1170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1237. 1171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPolarity(const USART_TypeDef *USARTx)
  1238. 1172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1239. 1173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL));
  1240. 1174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1241. 1175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1242. 1176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1243. 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
  1244. 1178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1245. 1179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1246. 1180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  1247. 1181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Phase configuration using @ref LL_USART_SetClockPhase() function
  1248. 1182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Polarity configuration using @ref LL_USART_SetClockPolarity() function
  1249. 1183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Output of Last bit Clock pulse configuration using @ref LL_USART_SetLastClkPulseOutpu
  1250. 1184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_ConfigClock\n
  1251. 1185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CPOL LL_USART_ConfigClock\n
  1252. 1186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LBCL LL_USART_ConfigClock
  1253. 1187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1254. 1188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Phase This parameter can be one of the following values:
  1255. 1189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1256. 1190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1257. 1191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
  1258. 1192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1259. 1193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1260. 1194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LBCPOutput This parameter can be one of the following values:
  1261. 1195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1262. 1196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1263. 1197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1264. 1198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1265. 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,
  1266. 1200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1267. 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
  1268. 1202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1269. 1203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1270. 1204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1271. 1205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock source prescaler for baudrate generator and oversampling
  1272. 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
  1273. 1207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  1274. 1208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_SetPrescaler
  1275. 1209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1276. 1210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1277. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 23
  1278. 1211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1279. 1212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1280. 1213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1281. 1214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1282. 1215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1283. 1216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1284. 1217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1285. 1218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1286. 1219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1287. 1220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1288. 1221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1289. 1222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1290. 1223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1291. 1224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1292. 1225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  1293. 1226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1294. 1227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->PRESC, USART_PRESC_PRESCALER, (uint16_t)PrescalerValue);
  1295. 1228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1296. 1229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1297. 1230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1298. 1231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the Clock source prescaler for baudrate generator and oversampling
  1299. 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
  1300. 1233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  1301. 1234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_GetPrescaler
  1302. 1235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1303. 1236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1304. 1237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1305. 1238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1306. 1239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1307. 1240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1308. 1241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1309. 1242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1310. 1243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1311. 1244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1312. 1245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1313. 1246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1314. 1247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1315. 1248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1316. 1249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1317. 1250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetPrescaler(const USART_TypeDef *USARTx)
  1318. 1251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1319. 1252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->PRESC, USART_PRESC_PRESCALER));
  1320. 1253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1321. 1254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1322. 1255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1323. 1256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Clock output on SCLK pin
  1324. 1257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1325. 1258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1326. 1259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_EnableSCLKOutput
  1327. 1260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1328. 1261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1329. 1262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1330. 1263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSCLKOutput(USART_TypeDef *USARTx)
  1331. 1264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1332. 1265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
  1333. 1266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1334. 1267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1335. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 24
  1336. 1268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1337. 1269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Clock output on SCLK pin
  1338. 1270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1339. 1271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1340. 1272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_DisableSCLKOutput
  1341. 1273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1342. 1274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1343. 1275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1344. 1276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx)
  1345. 1277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1346. 1278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN);
  1347. 1279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1348. 1280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1349. 1281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1350. 1282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Clock output on SCLK pin is enabled
  1351. 1283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1352. 1284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1353. 1285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_IsEnabledSCLKOutput
  1354. 1286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1355. 1287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1356. 1288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1357. 1289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(const USART_TypeDef *USARTx)
  1358. 1290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1359. 1291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)) ? 1UL : 0UL);
  1360. 1292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1361. 1293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1362. 1294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1363. 1295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set the length of the stop bits
  1364. 1296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_SetStopBitsLength
  1365. 1297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1366. 1298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
  1367. 1299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1368. 1300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1369. 1301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1370. 1302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1371. 1303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1372. 1304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1373. 1305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetStopBitsLength(USART_TypeDef *USARTx, uint32_t StopBits)
  1374. 1306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1375. 1307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
  1376. 1308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1377. 1309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1378. 1310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1379. 1311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the length of the stop bits
  1380. 1312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_GetStopBitsLength
  1381. 1313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1382. 1314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1383. 1315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1384. 1316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1385. 1317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1386. 1318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1387. 1319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1388. 1320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(const USART_TypeDef *USARTx)
  1389. 1321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1390. 1322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_STOP));
  1391. 1323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1392. 1324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1393. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 25
  1394. 1325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1395. 1326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Character frame format (Datawidth, Parity control, Stop Bits)
  1396. 1327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  1397. 1328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Data Width configuration using @ref LL_USART_SetDataWidth() function
  1398. 1329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Parity Control and mode configuration using @ref LL_USART_SetParity() function
  1399. 1330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Stop bits configuration using @ref LL_USART_SetStopBitsLength() function
  1400. 1331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_ConfigCharacter\n
  1401. 1332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_ConfigCharacter\n
  1402. 1333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M0 LL_USART_ConfigCharacter\n
  1403. 1334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_ConfigCharacter\n
  1404. 1335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigCharacter
  1405. 1336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1406. 1337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
  1407. 1338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1408. 1339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1409. 1340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1410. 1341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
  1411. 1342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1412. 1343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1413. 1344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1414. 1345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
  1415. 1346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1416. 1347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1417. 1348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1418. 1349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1419. 1350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1420. 1351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1421. 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
  1422. 1353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits)
  1423. 1354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1424. 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);
  1425. 1356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
  1426. 1357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1427. 1358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1428. 1359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1429. 1360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX/RX pins swapping setting.
  1430. 1361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_SetTXRXSwap
  1431. 1362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1432. 1363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param SwapConfig This parameter can be one of the following values:
  1433. 1364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
  1434. 1365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
  1435. 1366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1436. 1367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1437. 1368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXRXSwap(USART_TypeDef *USARTx, uint32_t SwapConfig)
  1438. 1369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1439. 1370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_SWAP, SwapConfig);
  1440. 1371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1441. 1372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1442. 1373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1443. 1374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX/RX pins swapping configuration.
  1444. 1375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_GetTXRXSwap
  1445. 1376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1446. 1377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1447. 1378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
  1448. 1379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
  1449. 1380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1450. 1381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXRXSwap(const USART_TypeDef *USARTx)
  1451. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 26
  1452. 1382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1453. 1383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_SWAP));
  1454. 1384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1455. 1385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1456. 1386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1457. 1387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX pin active level logic
  1458. 1388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_SetRXPinLevel
  1459. 1389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1460. 1390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
  1461. 1391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
  1462. 1392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
  1463. 1393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1464. 1394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1465. 1395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
  1466. 1396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1467. 1397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_RXINV, PinInvMethod);
  1468. 1398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1469. 1399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1470. 1400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1471. 1401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve RX pin active level logic configuration
  1472. 1402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_GetRXPinLevel
  1473. 1403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1474. 1404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1475. 1405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
  1476. 1406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
  1477. 1407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1478. 1408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXPinLevel(const USART_TypeDef *USARTx)
  1479. 1409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1480. 1410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_RXINV));
  1481. 1411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1482. 1412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1483. 1413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1484. 1414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX pin active level logic
  1485. 1415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_SetTXPinLevel
  1486. 1416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1487. 1417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
  1488. 1418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
  1489. 1419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
  1490. 1420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1491. 1421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1492. 1422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
  1493. 1423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1494. 1424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_TXINV, PinInvMethod);
  1495. 1425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1496. 1426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1497. 1427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1498. 1428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX pin active level logic configuration
  1499. 1429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_GetTXPinLevel
  1500. 1430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1501. 1431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1502. 1432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
  1503. 1433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
  1504. 1434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1505. 1435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXPinLevel(const USART_TypeDef *USARTx)
  1506. 1436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1507. 1437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_TXINV));
  1508. 1438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1509. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 27
  1510. 1439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1511. 1440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1512. 1441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Binary data logic.
  1513. 1442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Allow to define how Logical data from the data register are send/received :
  1514. 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)
  1515. 1444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_SetBinaryDataLogic
  1516. 1445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1517. 1446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataLogic This parameter can be one of the following values:
  1518. 1447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
  1519. 1448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
  1520. 1449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1521. 1450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1522. 1451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBinaryDataLogic(USART_TypeDef *USARTx, uint32_t DataLogic)
  1523. 1452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1524. 1453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_DATAINV, DataLogic);
  1525. 1454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1526. 1455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1527. 1456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1528. 1457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Binary data configuration
  1529. 1458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_GetBinaryDataLogic
  1530. 1459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1531. 1460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1532. 1461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
  1533. 1462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
  1534. 1463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1535. 1464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBinaryDataLogic(const USART_TypeDef *USARTx)
  1536. 1465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1537. 1466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_DATAINV));
  1538. 1467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1539. 1468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1540. 1469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1541. 1470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure transfer bit order (either Less or Most Significant Bit First)
  1542. 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
  1543. 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
  1544. 1473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_SetTransferBitOrder
  1545. 1474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1546. 1475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BitOrder This parameter can be one of the following values:
  1547. 1476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
  1548. 1477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
  1549. 1478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1550. 1479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1551. 1480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferBitOrder(USART_TypeDef *USARTx, uint32_t BitOrder)
  1552. 1481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1553. 1482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_MSBFIRST, BitOrder);
  1554. 1483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1555. 1484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1556. 1485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1557. 1486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return transfer bit order (either Less or Most Significant Bit First)
  1558. 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
  1559. 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
  1560. 1489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_GetTransferBitOrder
  1561. 1490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1562. 1491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1563. 1492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
  1564. 1493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
  1565. 1494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1566. 1495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferBitOrder(const USART_TypeDef *USARTx)
  1567. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 28
  1568. 1496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1569. 1497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_MSBFIRST));
  1570. 1498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1571. 1499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1572. 1500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1573. 1501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Auto Baud-Rate Detection
  1574. 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
  1575. 1503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1576. 1504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_EnableAutoBaudRate
  1577. 1505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1578. 1506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1579. 1507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1580. 1508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableAutoBaudRate(USART_TypeDef *USARTx)
  1581. 1509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1582. 1510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_ABREN);
  1583. 1511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1584. 1512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1585. 1513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1586. 1514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Auto Baud-Rate Detection
  1587. 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
  1588. 1516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1589. 1517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_DisableAutoBaudRate
  1590. 1518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1591. 1519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1592. 1520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1593. 1521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableAutoBaudRate(USART_TypeDef *USARTx)
  1594. 1522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1595. 1523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN);
  1596. 1524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1597. 1525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1598. 1526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1599. 1527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Auto Baud-Rate Detection mechanism is enabled
  1600. 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
  1601. 1529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1602. 1530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_IsEnabledAutoBaud
  1603. 1531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1604. 1532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1605. 1533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1606. 1534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledAutoBaud(const USART_TypeDef *USARTx)
  1607. 1535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1608. 1536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_ABREN) == (USART_CR2_ABREN)) ? 1UL : 0UL);
  1609. 1537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1610. 1538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1611. 1539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1612. 1540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Auto Baud-Rate mode bits
  1613. 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
  1614. 1542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1615. 1543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_SetAutoBaudRateMode
  1616. 1544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1617. 1545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoBaudRateMode This parameter can be one of the following values:
  1618. 1546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
  1619. 1547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
  1620. 1548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
  1621. 1549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
  1622. 1550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1623. 1551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1624. 1552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetAutoBaudRateMode(USART_TypeDef *USARTx, uint32_t AutoBaudRateMode)
  1625. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 29
  1626. 1553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1627. 1554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ABRMODE, AutoBaudRateMode);
  1628. 1555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1629. 1556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1630. 1557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1631. 1558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Auto Baud-Rate mode
  1632. 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
  1633. 1560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1634. 1561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_GetAutoBaudRateMode
  1635. 1562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1636. 1563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1637. 1564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
  1638. 1565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
  1639. 1566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
  1640. 1567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
  1641. 1568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1642. 1569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetAutoBaudRateMode(const USART_TypeDef *USARTx)
  1643. 1570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1644. 1571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ABRMODE));
  1645. 1572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1646. 1573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1647. 1574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1648. 1575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout
  1649. 1576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_EnableRxTimeout
  1650. 1577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1651. 1578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1652. 1579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1653. 1580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRxTimeout(USART_TypeDef *USARTx)
  1654. 1581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1655. 1582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_RTOEN);
  1656. 1583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1657. 1584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1658. 1585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1659. 1586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout
  1660. 1587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_DisableRxTimeout
  1661. 1588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1662. 1589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1663. 1590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1664. 1591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRxTimeout(USART_TypeDef *USARTx)
  1665. 1592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1666. 1593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN);
  1667. 1594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1668. 1595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1669. 1596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1670. 1597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Receiver Timeout feature is enabled
  1671. 1598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_IsEnabledRxTimeout
  1672. 1599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1673. 1600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1674. 1601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1675. 1602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledRxTimeout(const USART_TypeDef *USARTx)
  1676. 1603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1677. 1604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_RTOEN) == (USART_CR2_RTOEN)) ? 1UL : 0UL);
  1678. 1605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1679. 1606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1680. 1607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1681. 1608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Address of the USART node.
  1682. 1609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This is used in multiprocessor communication during Mute mode or Stop mode,
  1683. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 30
  1684. 1610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with address mark detection.
  1685. 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.
  1686. 1612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (b7-b4 should be set to 0)
  1687. 1613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 8bits address node is used when 7-bit Address Detection is selected in ADDM7.
  1688. 1614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (This is used in multiprocessor communication during Mute mode or Stop mode,
  1689. 1615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with 7-bit address mark detection.
  1690. 1616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * The MSB of the character sent by the transmitter should be equal to 1.
  1691. 1617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * It may also be used for character detection during normal reception,
  1692. 1618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Mute mode inactive (for example, end of block detection in ModBus protocol).
  1693. 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]
  1694. 1620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * value and CMF flag is set on match)
  1695. 1621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_ConfigNodeAddress\n
  1696. 1622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 ADDM7 LL_USART_ConfigNodeAddress
  1697. 1623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1698. 1624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AddressLen This parameter can be one of the following values:
  1699. 1625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
  1700. 1626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
  1701. 1627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param NodeAddress 4 or 7 bit Address of the USART node.
  1702. 1628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1703. 1629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1704. 1630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigNodeAddress(USART_TypeDef *USARTx, uint32_t AddressLen, uint32_
  1705. 1631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1706. 1632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ADD | USART_CR2_ADDM7,
  1707. 1633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (uint32_t)(AddressLen | (NodeAddress << USART_CR2_ADD_Pos)));
  1708. 1634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1709. 1635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1710. 1636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1711. 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.
  1712. 1638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note If 4-bit Address Detection is selected in ADDM7,
  1713. 1639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 4bits (b3-b0) of returned value are relevant (b31-b4 are not relevant)
  1714. 1640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If 7-bit Address Detection is selected in ADDM7,
  1715. 1641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 8bits (b7-b0) of returned value are relevant (b31-b8 are not relevant)
  1716. 1642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_GetNodeAddress
  1717. 1643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1718. 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)
  1719. 1645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1720. 1646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddress(const USART_TypeDef *USARTx)
  1721. 1647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1722. 1648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADD) >> USART_CR2_ADD_Pos);
  1723. 1649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1724. 1650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1725. 1651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1726. 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)
  1727. 1653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADDM7 LL_USART_GetNodeAddressLen
  1728. 1654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1729. 1655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1730. 1656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
  1731. 1657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
  1732. 1658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1733. 1659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddressLen(const USART_TypeDef *USARTx)
  1734. 1660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1735. 1661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADDM7));
  1736. 1662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1737. 1663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1738. 1664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1739. 1665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RTS HW Flow Control
  1740. 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
  1741. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 31
  1742. 1667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1743. 1668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_EnableRTSHWFlowCtrl
  1744. 1669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1745. 1670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1746. 1671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1747. 1672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl(USART_TypeDef *USARTx)
  1748. 1673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1749. 1674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_RTSE);
  1750. 1675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1751. 1676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1752. 1677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1753. 1678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RTS HW Flow Control
  1754. 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
  1755. 1680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1756. 1681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_DisableRTSHWFlowCtrl
  1757. 1682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1758. 1683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1759. 1684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1760. 1685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl(USART_TypeDef *USARTx)
  1761. 1686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1762. 1687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE);
  1763. 1688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1764. 1689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1765. 1690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1766. 1691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS HW Flow Control
  1767. 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
  1768. 1693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1769. 1694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_EnableCTSHWFlowCtrl
  1770. 1695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1771. 1696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1772. 1697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1773. 1698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl(USART_TypeDef *USARTx)
  1774. 1699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1775. 1700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_CTSE);
  1776. 1701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1777. 1702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1778. 1703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1779. 1704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS HW Flow Control
  1780. 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
  1781. 1706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1782. 1707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_DisableCTSHWFlowCtrl
  1783. 1708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1784. 1709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1785. 1710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1786. 1711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl(USART_TypeDef *USARTx)
  1787. 1712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1788. 1713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE);
  1789. 1714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1790. 1715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1791. 1716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1792. 1717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure HW Flow Control mode (both CTS and RTS)
  1793. 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
  1794. 1719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1795. 1720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_SetHWFlowCtrl\n
  1796. 1721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_SetHWFlowCtrl
  1797. 1722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1798. 1723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param HardwareFlowControl This parameter can be one of the following values:
  1799. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 32
  1800. 1724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
  1801. 1725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
  1802. 1726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
  1803. 1727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
  1804. 1728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1805. 1729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1806. 1730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t HardwareFlowControl)
  1807. 1731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1808. 1732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl);
  1809. 1733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1810. 1734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1811. 1735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1812. 1736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return HW Flow Control configuration (both CTS and RTS)
  1813. 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
  1814. 1738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1815. 1739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_GetHWFlowCtrl\n
  1816. 1740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_GetHWFlowCtrl
  1817. 1741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1818. 1742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1819. 1743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
  1820. 1744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
  1821. 1745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
  1822. 1746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
  1823. 1747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1824. 1748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(const USART_TypeDef *USARTx)
  1825. 1749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1826. 1750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE));
  1827. 1751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1828. 1752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1829. 1753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1830. 1754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable One bit sampling method
  1831. 1755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_EnableOneBitSamp
  1832. 1756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1833. 1757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1834. 1758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1835. 1759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOneBitSamp(USART_TypeDef *USARTx)
  1836. 1760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1837. 1761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_ONEBIT);
  1838. 1762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1839. 1763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1840. 1764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1841. 1765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable One bit sampling method
  1842. 1766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_DisableOneBitSamp
  1843. 1767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1844. 1768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1845. 1769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1846. 1770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOneBitSamp(USART_TypeDef *USARTx)
  1847. 1771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1848. 1772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT);
  1849. 1773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1850. 1774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1851. 1775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1852. 1776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if One bit sampling method is enabled
  1853. 1777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_IsEnabledOneBitSamp
  1854. 1778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1855. 1779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1856. 1780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1857. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 33
  1858. 1781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(const USART_TypeDef *USARTx)
  1859. 1782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1860. 1783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)) ? 1UL : 0UL);
  1861. 1784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1862. 1785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1863. 1786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1864. 1787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Overrun detection
  1865. 1788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_EnableOverrunDetect
  1866. 1789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1867. 1790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1868. 1791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1869. 1792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOverrunDetect(USART_TypeDef *USARTx)
  1870. 1793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1871. 1794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_OVRDIS);
  1872. 1795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1873. 1796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1874. 1797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1875. 1798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Overrun detection
  1876. 1799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_DisableOverrunDetect
  1877. 1800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1878. 1801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1879. 1802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1880. 1803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOverrunDetect(USART_TypeDef *USARTx)
  1881. 1804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1882. 1805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_OVRDIS);
  1883. 1806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1884. 1807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1885. 1808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1886. 1809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Overrun detection is enabled
  1887. 1810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_IsEnabledOverrunDetect
  1888. 1811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1889. 1812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1890. 1813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1891. 1814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOverrunDetect(const USART_TypeDef *USARTx)
  1892. 1815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1893. 1816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS) ? 1UL : 0UL);
  1894. 1817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1895. 1818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1896. 1819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1897. 1820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
  1898. 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
  1899. 1822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  1900. 1823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_SetWKUPType
  1901. 1824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1902. 1825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Type This parameter can be one of the following values:
  1903. 1826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
  1904. 1827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
  1905. 1828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
  1906. 1829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1907. 1830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1908. 1831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWKUPType(USART_TypeDef *USARTx, uint32_t Type)
  1909. 1832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1910. 1833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_WUS, Type);
  1911. 1834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1912. 1835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1913. 1836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1914. 1837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
  1915. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 34
  1916. 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
  1917. 1839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  1918. 1840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_GetWKUPType
  1919. 1841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1920. 1842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1921. 1843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
  1922. 1844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
  1923. 1845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
  1924. 1846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1925. 1847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWKUPType(const USART_TypeDef *USARTx)
  1926. 1848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1927. 1849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_WUS));
  1928. 1850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1929. 1851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1930. 1852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1931. 1853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure USART BRR register for achieving expected Baud Rate value.
  1932. 1854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Compute and set USARTDIV value in BRR Register (full BRR content)
  1933. 1855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * according to used Peripheral Clock, Oversampling mode, and expected Baud Rate values
  1934. 1856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Peripheral clock and Baud rate values provided as function parameters should be valid
  1935. 1857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Baud rate value != 0)
  1936. 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.
  1937. 1859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_SetBaudRate
  1938. 1860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1939. 1861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
  1940. 1862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1941. 1863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1942. 1864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1943. 1865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1944. 1866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1945. 1867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1946. 1868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1947. 1869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1948. 1870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1949. 1871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1950. 1872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1951. 1873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1952. 1874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1953. 1875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  1954. 1876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1955. 1877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1956. 1878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BaudRate Baud Rate
  1957. 1879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1958. 1880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1959. 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
  1960. 1882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling,
  1961. 1883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate)
  1962. 1884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1963. 1885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
  1964. 1886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrtemp;
  1965. 1887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1966. 1888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (PrescalerValue > LL_USART_PRESCALER_DIV256)
  1967. 1889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1968. 1890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not overstep the size of USART_PRESCALER_TAB */
  1969. 1891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1970. 1892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (BaudRate == 0U)
  1971. 1893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1972. 1894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Can Not divide per 0 */
  1973. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 35
  1974. 1895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1975. 1896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
  1976. 1897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1977. 1898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)(__LL_USART_DIV_SAMPLING8(PeriphClk, (uint8_t)PrescalerValue, BaudRate));
  1978. 1899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp = usartdiv & 0xFFF0U;
  1979. 1900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp |= (uint16_t)((usartdiv & (uint16_t)0x000FU) >> 1U);
  1980. 1901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = brrtemp;
  1981. 1902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1982. 1903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  1983. 1904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1984. 1905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = (uint16_t)(__LL_USART_DIV_SAMPLING16(PeriphClk, (uint8_t)PrescalerValue, BaudRate
  1985. 1906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1986. 1907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1987. 1908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1988. 1909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1989. 1910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return current Baud Rate value, according to USARTDIV present in BRR register
  1990. 1911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (full BRR content), and to used Peripheral Clock and Oversampling mode values
  1991. 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
  1992. 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.
  1993. 1914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_GetBaudRate
  1994. 1915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1995. 1916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
  1996. 1917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1997. 1918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1998. 1919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1999. 1920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  2000. 1921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  2001. 1922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  2002. 1923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  2003. 1924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  2004. 1925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  2005. 1926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  2006. 1927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  2007. 1928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  2008. 1929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  2009. 1930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  2010. 1931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  2011. 1932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  2012. 1933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Baud Rate
  2013. 1934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2014. 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
  2015. 1936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling)
  2016. 1937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2017. 1938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
  2018. 1939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrresult = 0x0U;
  2019. 1940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t periphclkpresc = (uint32_t)(PeriphClk / (USART_PRESCALER_TAB[(uint8_t)PrescalerValue]));
  2020. 1941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2021. 1942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = USARTx->BRR;
  2022. 1943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2023. 1944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv == 0U)
  2024. 1945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2025. 1946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not perform a division by 0 */
  2026. 1947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2027. 1948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
  2028. 1949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2029. 1950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)((usartdiv & 0xFFF0U) | ((usartdiv & 0x0007U) << 1U)) ;
  2030. 1951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv != 0U)
  2031. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 36
  2032. 1952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2033. 1953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = (periphclkpresc * 2U) / usartdiv;
  2034. 1954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2035. 1955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2036. 1956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  2037. 1957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2038. 1958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if ((usartdiv & 0xFFFFU) != 0U)
  2039. 1959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2040. 1960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = periphclkpresc / usartdiv;
  2041. 1961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2042. 1962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2043. 1963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (brrresult);
  2044. 1964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2045. 1965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2046. 1966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2047. 1967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Time Out Value (expressed in nb of bits duration)
  2048. 1968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_SetRxTimeout
  2049. 1969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2050. 1970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Timeout Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
  2051. 1971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2052. 1972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2053. 1973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRxTimeout(USART_TypeDef *USARTx, uint32_t Timeout)
  2054. 1974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2055. 1975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_RTO, Timeout);
  2056. 1976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2057. 1977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2058. 1978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2059. 1979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Receiver Time Out Value (expressed in nb of bits duration)
  2060. 1980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_GetRxTimeout
  2061. 1981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2062. 1982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
  2063. 1983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2064. 1984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRxTimeout(const USART_TypeDef *USARTx)
  2065. 1985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2066. 1986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_RTO));
  2067. 1987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2068. 1988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2069. 1989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2070. 1990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Block Length value in reception
  2071. 1991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_SetBlockLength
  2072. 1992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2073. 1993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BlockLength Value between Min_Data=0x00 and Max_Data=0xFF
  2074. 1994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2075. 1995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2076. 1996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBlockLength(USART_TypeDef *USARTx, uint32_t BlockLength)
  2077. 1997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2078. 1998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_BLEN, BlockLength << USART_RTOR_BLEN_Pos);
  2079. 1999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2080. 2000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2081. 2001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2082. 2002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Block Length value in reception
  2083. 2003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_GetBlockLength
  2084. 2004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2085. 2005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
  2086. 2006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2087. 2007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBlockLength(const USART_TypeDef *USARTx)
  2088. 2008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2089. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 37
  2090. 2009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_BLEN) >> USART_RTOR_BLEN_Pos);
  2091. 2010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2092. 2011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2093. 2012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2094. 2013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2095. 2014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2096. 2015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2097. 2016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_IRDA Configuration functions related to Irda feature
  2098. 2017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2099. 2018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2100. 2019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2101. 2020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2102. 2021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IrDA mode
  2103. 2022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2104. 2023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2105. 2024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_EnableIrda
  2106. 2025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2107. 2026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2108. 2027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2109. 2028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIrda(USART_TypeDef *USARTx)
  2110. 2029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2111. 2030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
  2112. 2031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2113. 2032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2114. 2033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2115. 2034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IrDA mode
  2116. 2035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2117. 2036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2118. 2037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_DisableIrda
  2119. 2038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2120. 2039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2121. 2040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2122. 2041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx)
  2123. 2042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2124. 2043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_IREN);
  2125. 2044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2126. 2045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2127. 2046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2128. 2047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if IrDA mode is enabled
  2129. 2048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2130. 2049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2131. 2050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_IsEnabledIrda
  2132. 2051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2133. 2052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2134. 2053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2135. 2054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(const USART_TypeDef *USARTx)
  2136. 2055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2137. 2056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_IREN) == (USART_CR3_IREN)) ? 1UL : 0UL);
  2138. 2057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2139. 2058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2140. 2059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2141. 2060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure IrDA Power Mode (Normal or Low Power)
  2142. 2061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2143. 2062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2144. 2063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_SetIrdaPowerMode
  2145. 2064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2146. 2065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PowerMode This parameter can be one of the following values:
  2147. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 38
  2148. 2066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
  2149. 2067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_LOW
  2150. 2068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2151. 2069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2152. 2070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t PowerMode)
  2153. 2071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2154. 2072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_IRLP, PowerMode);
  2155. 2073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2156. 2074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2157. 2075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2158. 2076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve IrDA Power Mode configuration (Normal or Low Power)
  2159. 2077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2160. 2078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2161. 2079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_GetIrdaPowerMode
  2162. 2080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2163. 2081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2164. 2082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
  2165. 2083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  2166. 2084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2167. 2085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(const USART_TypeDef *USARTx)
  2168. 2086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2169. 2087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_IRLP));
  2170. 2088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2171. 2089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2172. 2090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2173. 2091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Irda prescaler value, used for dividing the USART clock source
  2174. 2092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
  2175. 2093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2176. 2094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2177. 2095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetIrdaPrescaler
  2178. 2096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2179. 2097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0x00 and Max_Data=0xFF
  2180. 2098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2181. 2099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2182. 2100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  2183. 2101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2184. 2102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
  2185. 2103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2186. 2104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2187. 2105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2188. 2106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Irda prescaler value, used for dividing the USART clock source
  2189. 2107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
  2190. 2108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2191. 2109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2192. 2110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetIrdaPrescaler
  2193. 2111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2194. 2112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Irda prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF)
  2195. 2113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2196. 2114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(const USART_TypeDef *USARTx)
  2197. 2115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2198. 2116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
  2199. 2117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2200. 2118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2201. 2119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2202. 2120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2203. 2121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2204. 2122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2205. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 39
  2206. 2123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_Smartcard Configuration functions related to Smartcard feat
  2207. 2124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2208. 2125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2209. 2126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2210. 2127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2211. 2128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard NACK transmission
  2212. 2129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2213. 2130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2214. 2131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
  2215. 2132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2216. 2133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2217. 2134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2218. 2135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcardNACK(USART_TypeDef *USARTx)
  2219. 2136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2220. 2137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_NACK);
  2221. 2138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2222. 2139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2223. 2140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2224. 2141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard NACK transmission
  2225. 2142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2226. 2143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2227. 2144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
  2228. 2145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2229. 2146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2230. 2147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2231. 2148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx)
  2232. 2149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2233. 2150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_NACK);
  2234. 2151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2235. 2152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2236. 2153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2237. 2154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard NACK transmission is enabled
  2238. 2155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2239. 2156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2240. 2157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
  2241. 2158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2242. 2159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2243. 2160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2244. 2161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(const USART_TypeDef *USARTx)
  2245. 2162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2246. 2163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_NACK) == (USART_CR3_NACK)) ? 1UL : 0UL);
  2247. 2164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2248. 2165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2249. 2166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2250. 2167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard mode
  2251. 2168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2252. 2169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2253. 2170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_EnableSmartcard
  2254. 2171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2255. 2172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2256. 2173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2257. 2174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcard(USART_TypeDef *USARTx)
  2258. 2175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2259. 2176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
  2260. 2177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2261. 2178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2262. 2179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2263. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 40
  2264. 2180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard mode
  2265. 2181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2266. 2182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2267. 2183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_DisableSmartcard
  2268. 2184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2269. 2185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2270. 2186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2271. 2187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx)
  2272. 2188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2273. 2189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_SCEN);
  2274. 2190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2275. 2191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2276. 2192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2277. 2193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard mode is enabled
  2278. 2194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2279. 2195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2280. 2196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
  2281. 2197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2282. 2198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2283. 2199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2284. 2200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(const USART_TypeDef *USARTx)
  2285. 2201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2286. 2202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_SCEN) == (USART_CR3_SCEN)) ? 1UL : 0UL);
  2287. 2203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2288. 2204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2289. 2205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2290. 2206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
  2291. 2207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2292. 2208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2293. 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
  2294. 2210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In transmission mode, it specifies the number of automatic retransmission retries, befo
  2295. 2211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * generating a transmission error (FE bit set).
  2296. 2212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In reception mode, it specifies the number or erroneous reception trials, before genera
  2297. 2213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * reception error (RXNE and PE bits set)
  2298. 2214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_SetSmartcardAutoRetryCount
  2299. 2215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2300. 2216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoRetryCount Value between Min_Data=0 and Max_Data=7
  2301. 2217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2302. 2218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2303. 2219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardAutoRetryCount(USART_TypeDef *USARTx, uint32_t AutoRetryC
  2304. 2220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2305. 2221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_SCARCNT, AutoRetryCount << USART_CR3_SCARCNT_Pos);
  2306. 2222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2307. 2223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2308. 2224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2309. 2225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
  2310. 2226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2311. 2227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2312. 2228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_GetSmartcardAutoRetryCount
  2313. 2229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2314. 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)
  2315. 2231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2316. 2232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardAutoRetryCount(const USART_TypeDef *USARTx)
  2317. 2233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2318. 2234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_SCARCNT) >> USART_CR3_SCARCNT_Pos);
  2319. 2235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2320. 2236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2321. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 41
  2322. 2237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2323. 2238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard prescaler value, used for dividing the USART clock
  2324. 2239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
  2325. 2240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2326. 2241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2327. 2242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
  2328. 2243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2329. 2244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0 and Max_Data=31
  2330. 2245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2331. 2246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2332. 2247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  2333. 2248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2334. 2249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
  2335. 2250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2336. 2251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2337. 2252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2338. 2253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard prescaler value, used for dividing the USART clock
  2339. 2254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
  2340. 2255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2341. 2256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2342. 2257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
  2343. 2258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2344. 2259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard prescaler value (Value between Min_Data=0 and Max_Data=31)
  2345. 2260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2346. 2261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(const USART_TypeDef *USARTx)
  2347. 2262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2348. 2263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
  2349. 2264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2350. 2265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2351. 2266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2352. 2267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Guard time value, expressed in nb of baud clocks periods
  2353. 2268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
  2354. 2269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2355. 2270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2356. 2271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
  2357. 2272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2358. 2273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param GuardTime Value between Min_Data=0x00 and Max_Data=0xFF
  2359. 2274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2360. 2275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2361. 2276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint32_t GuardTime)
  2362. 2277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2363. 2278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_GT, (uint16_t)(GuardTime << USART_GTPR_GT_Pos));
  2364. 2279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2365. 2280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2366. 2281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2367. 2282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Guard time value, expressed in nb of baud clocks periods
  2368. 2283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
  2369. 2284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2370. 2285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2371. 2286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_GetSmartcardGuardTime
  2372. 2287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2373. 2288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Guard time value (Value between Min_Data=0x00 and Max_Data=0xFF)
  2374. 2289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2375. 2290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(const USART_TypeDef *USARTx)
  2376. 2291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2377. 2292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_GT) >> USART_GTPR_GT_Pos);
  2378. 2293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2379. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 42
  2380. 2294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2381. 2295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2382. 2296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2383. 2297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2384. 2298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2385. 2299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_HalfDuplex Configuration functions related to Half Duplex f
  2386. 2300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2387. 2301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2388. 2302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2389. 2303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2390. 2304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Single Wire Half-Duplex mode
  2391. 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
  2392. 2306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2393. 2307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_EnableHalfDuplex
  2394. 2308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2395. 2309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2396. 2310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2397. 2311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableHalfDuplex(USART_TypeDef *USARTx)
  2398. 2312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2399. 2313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2400. 2314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2401. 2315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2402. 2316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2403. 2317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Single Wire Half-Duplex mode
  2404. 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
  2405. 2319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2406. 2320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_DisableHalfDuplex
  2407. 2321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2408. 2322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2409. 2323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2410. 2324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx)
  2411. 2325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2412. 2326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2413. 2327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2414. 2328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2415. 2329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2416. 2330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Single Wire Half-Duplex mode is enabled
  2417. 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
  2418. 2332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2419. 2333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_IsEnabledHalfDuplex
  2420. 2334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2421. 2335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2422. 2336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2423. 2337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(const USART_TypeDef *USARTx)
  2424. 2338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2425. 2339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)) ? 1UL : 0UL);
  2426. 2340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2427. 2341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2428. 2342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2429. 2343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2430. 2344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2431. 2345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2432. 2346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_SPI_SLAVE Configuration functions related to SPI Slave feat
  2433. 2347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2434. 2348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2435. 2349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2436. 2350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Synchronous Slave mode
  2437. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 43
  2438. 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
  2439. 2352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2440. 2353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_EnableSPISlave
  2441. 2354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2442. 2355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2443. 2356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2444. 2357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlave(USART_TypeDef *USARTx)
  2445. 2358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2446. 2359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_SLVEN);
  2447. 2360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2448. 2361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2449. 2362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2450. 2363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Synchronous Slave mode
  2451. 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
  2452. 2365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2453. 2366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_DisableSPISlave
  2454. 2367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2455. 2368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2456. 2369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2457. 2370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlave(USART_TypeDef *USARTx)
  2458. 2371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2459. 2372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_SLVEN);
  2460. 2373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2461. 2374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2462. 2375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2463. 2376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Synchronous Slave mode is enabled
  2464. 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
  2465. 2378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2466. 2379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_IsEnabledSPISlave
  2467. 2380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2468. 2381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2469. 2382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2470. 2383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave(const USART_TypeDef *USARTx)
  2471. 2384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2472. 2385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_SLVEN) == (USART_CR2_SLVEN)) ? 1UL : 0UL);
  2473. 2386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2474. 2387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2475. 2388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2476. 2389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Slave Selection using NSS input pin
  2477. 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
  2478. 2391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2479. 2392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave Selection depends on NSS input pin
  2480. 2393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (The slave is selected when NSS is low and deselected when NSS is high).
  2481. 2394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_EnableSPISlaveSelect
  2482. 2395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2483. 2396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2484. 2397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2485. 2398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlaveSelect(USART_TypeDef *USARTx)
  2486. 2399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2487. 2400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
  2488. 2401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2489. 2402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2490. 2403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2491. 2404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Slave Selection using NSS input pin
  2492. 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
  2493. 2406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2494. 2407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave will be always selected and NSS input pin will be ignored.
  2495. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 44
  2496. 2408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_DisableSPISlaveSelect
  2497. 2409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2498. 2410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2499. 2411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2500. 2412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlaveSelect(USART_TypeDef *USARTx)
  2501. 2413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2502. 2414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
  2503. 2415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2504. 2416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2505. 2417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2506. 2418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Slave Selection depends on NSS input pin
  2507. 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
  2508. 2420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2509. 2421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_IsEnabledSPISlaveSelect
  2510. 2422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2511. 2423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2512. 2424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2513. 2425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect(const USART_TypeDef *USARTx)
  2514. 2426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2515. 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);
  2516. 2428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2517. 2429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2518. 2430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2519. 2431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2520. 2432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2521. 2433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2522. 2434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_LIN Configuration functions related to LIN feature
  2523. 2435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2524. 2436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2525. 2437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2526. 2438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2527. 2439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set LIN Break Detection Length
  2528. 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
  2529. 2441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2530. 2442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
  2531. 2443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2532. 2444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LINBDLength This parameter can be one of the following values:
  2533. 2445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
  2534. 2446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
  2535. 2447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2536. 2448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2537. 2449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint32_t LINBDLength)
  2538. 2450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2539. 2451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBDL, LINBDLength);
  2540. 2452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2541. 2453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2542. 2454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2543. 2455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return LIN Break Detection Length
  2544. 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
  2545. 2457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2546. 2458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
  2547. 2459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2548. 2460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2549. 2461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
  2550. 2462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
  2551. 2463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2552. 2464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(const USART_TypeDef *USARTx)
  2553. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 45
  2554. 2465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2555. 2466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBDL));
  2556. 2467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2557. 2468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2558. 2469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2559. 2470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN mode
  2560. 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
  2561. 2472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2562. 2473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_EnableLIN
  2563. 2474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2564. 2475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2565. 2476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2566. 2477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableLIN(USART_TypeDef *USARTx)
  2567. 2478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2568. 2479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
  2569. 2480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2570. 2481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2571. 2482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2572. 2483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN mode
  2573. 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
  2574. 2485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2575. 2486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_DisableLIN
  2576. 2487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2577. 2488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2578. 2489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2579. 2490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx)
  2580. 2491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2581. 2492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LINEN);
  2582. 2493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2583. 2494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2584. 2495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2585. 2496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if LIN mode is enabled
  2586. 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
  2587. 2498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2588. 2499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
  2589. 2500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2590. 2501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2591. 2502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2592. 2503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(const USART_TypeDef *USARTx)
  2593. 2504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2594. 2505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LINEN) == (USART_CR2_LINEN)) ? 1UL : 0UL);
  2595. 2506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2596. 2507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2597. 2508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2598. 2509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2599. 2510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2600. 2511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2601. 2512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_DE Configuration functions related to Driver Enable feature
  2602. 2513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2603. 2514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2604. 2515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2605. 2516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2606. 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)
  2607. 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
  2608. 2519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2609. 2520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_SetDEDeassertionTime
  2610. 2521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2611. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 46
  2612. 2522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
  2613. 2523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2614. 2524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2615. 2525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEDeassertionTime(USART_TypeDef *USARTx, uint32_t Time)
  2616. 2526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2617. 2527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos);
  2618. 2528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2619. 2529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2620. 2530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2621. 2531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEDT (Driver Enable De-Assertion Time)
  2622. 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
  2623. 2533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2624. 2534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_GetDEDeassertionTime
  2625. 2535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2626. 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
  2627. 2537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2628. 2538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime(const USART_TypeDef *USARTx)
  2629. 2539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2630. 2540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEDT) >> USART_CR1_DEDT_Pos);
  2631. 2541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2632. 2542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2633. 2543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2634. 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).
  2635. 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
  2636. 2546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2637. 2547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_SetDEAssertionTime
  2638. 2548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2639. 2549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
  2640. 2550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2641. 2551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2642. 2552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEAssertionTime(USART_TypeDef *USARTx, uint32_t Time)
  2643. 2553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2644. 2554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
  2645. 2555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2646. 2556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2647. 2557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2648. 2558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEAT (Driver Enable Assertion Time)
  2649. 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
  2650. 2560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2651. 2561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_GetDEAssertionTime
  2652. 2562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2653. 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
  2654. 2564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2655. 2565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime(const USART_TypeDef *USARTx)
  2656. 2566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2657. 2567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEAT) >> USART_CR1_DEAT_Pos);
  2658. 2568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2659. 2569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2660. 2570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2661. 2571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Driver Enable (DE) Mode
  2662. 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
  2663. 2573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2664. 2574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_EnableDEMode
  2665. 2575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2666. 2576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2667. 2577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2668. 2578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDEMode(USART_TypeDef *USARTx)
  2669. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 47
  2670. 2579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2671. 2580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DEM);
  2672. 2581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2673. 2582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2674. 2583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2675. 2584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Driver Enable (DE) Mode
  2676. 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
  2677. 2586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2678. 2587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_DisableDEMode
  2679. 2588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2680. 2589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2681. 2590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2682. 2591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDEMode(USART_TypeDef *USARTx)
  2683. 2592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2684. 2593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DEM);
  2685. 2594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2686. 2595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2687. 2596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2688. 2597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Driver Enable (DE) Mode is enabled
  2689. 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
  2690. 2599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2691. 2600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_IsEnabledDEMode
  2692. 2601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2693. 2602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2694. 2603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2695. 2604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode(const USART_TypeDef *USARTx)
  2696. 2605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2697. 2606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DEM) == (USART_CR3_DEM)) ? 1UL : 0UL);
  2698. 2607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2699. 2608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2700. 2609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2701. 2610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select Driver Enable Polarity
  2702. 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
  2703. 2612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2704. 2613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_SetDESignalPolarity
  2705. 2614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2706. 2615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
  2707. 2616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
  2708. 2617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
  2709. 2618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2710. 2619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2711. 2620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDESignalPolarity(USART_TypeDef *USARTx, uint32_t Polarity)
  2712. 2621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2713. 2622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_DEP, Polarity);
  2714. 2623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2715. 2624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2716. 2625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2717. 2626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Driver Enable Polarity
  2718. 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
  2719. 2628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2720. 2629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_GetDESignalPolarity
  2721. 2630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2722. 2631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2723. 2632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
  2724. 2633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
  2725. 2634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2726. 2635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity(const USART_TypeDef *USARTx)
  2727. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 48
  2728. 2636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2729. 2637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_DEP));
  2730. 2638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2731. 2639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2732. 2640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2733. 2641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2734. 2642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2735. 2643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2736. 2644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_AdvancedConfiguration Advanced Configurations services
  2737. 2645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2738. 2646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2739. 2647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2740. 2648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2741. 2649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Asynchronous Mode (UART)
  2742. 2650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In UART mode, the following bits must be kept cleared:
  2743. 2651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2744. 2652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2745. 2653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2746. 2654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2747. 2655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2748. 2656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2749. 2657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2750. 2658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2751. 2659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2752. 2660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2753. 2661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2754. 2662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Asynchronous Mode
  2755. 2663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2756. 2664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2757. 2665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigAsyncMode\n
  2758. 2666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigAsyncMode\n
  2759. 2667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigAsyncMode\n
  2760. 2668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigAsyncMode\n
  2761. 2669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigAsyncMode
  2762. 2670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2763. 2671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2764. 2672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2765. 2673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigAsyncMode(USART_TypeDef *USARTx)
  2766. 2674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2767. 2675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Asynchronous mode, the following bits must be kept cleared:
  2768. 2676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, CLKEN bits in the USART_CR2 register,
  2769. 2677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
  2770. 2678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2771. 2679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  2772. 2680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
  2773. 2681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2774. 2682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2775. 2683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2776. 2684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Synchronous Mode
  2777. 2685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Synchronous mode, the following bits must be kept cleared:
  2778. 2686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2779. 2687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2780. 2688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2781. 2689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2782. 2690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the USART in Synchronous mode.
  2783. 2691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  2784. 2692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  2785. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 49
  2786. 2693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2787. 2694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2788. 2695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2789. 2696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2790. 2697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2791. 2698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
  2792. 2699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Synchronous Mode
  2793. 2700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, Clock Polarity, ...) should be set using
  2794. 2701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2795. 2702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSyncMode\n
  2796. 2703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSyncMode\n
  2797. 2704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSyncMode\n
  2798. 2705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigSyncMode\n
  2799. 2706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSyncMode
  2800. 2707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2801. 2708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2802. 2709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2803. 2710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSyncMode(USART_TypeDef *USARTx)
  2804. 2711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2805. 2712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Synchronous mode, the following bits must be kept cleared:
  2806. 2713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
  2807. 2714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
  2808. 2715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2809. 2716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
  2810. 2717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
  2811. 2718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Synchronous mode */
  2812. 2719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
  2813. 2720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2814. 2721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2815. 2722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2816. 2723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in LIN Mode
  2817. 2724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In LIN mode, the following bits must be kept cleared:
  2818. 2725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
  2819. 2726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2820. 2727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2821. 2728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2822. 2729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also set the UART/USART in LIN mode.
  2823. 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
  2824. 2731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2825. 2732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2826. 2733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2827. 2734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2828. 2735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2829. 2736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2830. 2737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2831. 2738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set LINEN in CR2 using @ref LL_USART_EnableLIN() function
  2832. 2739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to LIN Mode
  2833. 2740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, LIN Break Detection Length, ...) should be set using
  2834. 2741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2835. 2742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_ConfigLINMode\n
  2836. 2743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigLINMode\n
  2837. 2744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LINEN LL_USART_ConfigLINMode\n
  2838. 2745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigLINMode\n
  2839. 2746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigLINMode\n
  2840. 2747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigLINMode
  2841. 2748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2842. 2749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2843. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 50
  2844. 2750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2845. 2751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigLINMode(USART_TypeDef *USARTx)
  2846. 2752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2847. 2753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In LIN mode, the following bits must be kept cleared:
  2848. 2754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - STOP and CLKEN bits in the USART_CR2 register,
  2849. 2755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
  2850. 2756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2851. 2757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_CLKEN | USART_CR2_STOP));
  2852. 2758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_SCEN | USART_CR3_HDSEL));
  2853. 2759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Set the UART/USART in LIN mode */
  2854. 2760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
  2855. 2761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2856. 2762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2857. 2763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2858. 2764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Half Duplex Mode
  2859. 2765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Half Duplex mode, the following bits must be kept cleared:
  2860. 2766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2861. 2767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2862. 2768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2863. 2769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2864. 2770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in Half Duplex mode.
  2865. 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
  2866. 2772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2867. 2773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2868. 2774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2869. 2775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2870. 2776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2871. 2777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2872. 2778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set HDSEL in CR3 using @ref LL_USART_EnableHalfDuplex() function
  2873. 2779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Half Duplex Mode
  2874. 2780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2875. 2781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2876. 2782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigHalfDuplexMode\n
  2877. 2783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigHalfDuplexMode\n
  2878. 2784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigHalfDuplexMode\n
  2879. 2785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigHalfDuplexMode\n
  2880. 2786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigHalfDuplexMode
  2881. 2787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2882. 2788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2883. 2789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2884. 2790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigHalfDuplexMode(USART_TypeDef *USARTx)
  2885. 2791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2886. 2792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Half Duplex mode, the following bits must be kept cleared:
  2887. 2793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
  2888. 2794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and IREN bits in the USART_CR3 register.
  2889. 2795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2890. 2796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  2891. 2797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN));
  2892. 2798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Half Duplex mode */
  2893. 2799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2894. 2800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2895. 2801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2896. 2802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2897. 2803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Smartcard Mode
  2898. 2804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Smartcard mode, the following bits must be kept cleared:
  2899. 2805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2900. 2806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2901. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 51
  2902. 2807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2903. 2808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also configures Stop bits to 1.5 bits and
  2904. 2809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * sets the USART in Smartcard mode (SCEN bit).
  2905. 2810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Clock Output is also enabled (CLKEN).
  2906. 2811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2907. 2812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2908. 2813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2909. 2814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2910. 2815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2911. 2816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2912. 2817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2913. 2818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
  2914. 2819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set SCEN in CR3 using @ref LL_USART_EnableSmartcard() function
  2915. 2820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Smartcard Mode
  2916. 2821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2917. 2822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2918. 2823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSmartcardMode\n
  2919. 2824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigSmartcardMode\n
  2920. 2825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSmartcardMode\n
  2921. 2826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSmartcardMode\n
  2922. 2827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSmartcardMode
  2923. 2828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2924. 2829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2925. 2830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2926. 2831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSmartcardMode(USART_TypeDef *USARTx)
  2927. 2832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2928. 2833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Smartcard mode, the following bits must be kept cleared:
  2929. 2834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
  2930. 2835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN and HDSEL bits in the USART_CR3 register.
  2931. 2836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2932. 2837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
  2933. 2838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_HDSEL));
  2934. 2839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Configure Stop bits to 1.5 bits */
  2935. 2840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Synchronous mode is activated by default */
  2936. 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));
  2937. 2842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Smartcard mode */
  2938. 2843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
  2939. 2844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2940. 2845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2941. 2846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2942. 2847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Irda Mode
  2943. 2848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In IRDA mode, the following bits must be kept cleared:
  2944. 2849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2945. 2850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
  2946. 2851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2947. 2852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2948. 2853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in IRDA mode (IREN bit).
  2949. 2854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2950. 2855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2951. 2856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2952. 2857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2953. 2858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2954. 2859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2955. 2860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2956. 2861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2957. 2862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set IREN in CR3 using @ref LL_USART_EnableIrda() function
  2958. 2863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Irda Mode
  2959. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 52
  2960. 2864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Power mode, ...) should be set using
  2961. 2865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2962. 2866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigIrdaMode\n
  2963. 2867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigIrdaMode\n
  2964. 2868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigIrdaMode\n
  2965. 2869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigIrdaMode\n
  2966. 2870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigIrdaMode\n
  2967. 2871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigIrdaMode
  2968. 2872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2969. 2873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2970. 2874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2971. 2875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigIrdaMode(USART_TypeDef *USARTx)
  2972. 2876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2973. 2877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In IRDA mode, the following bits must be kept cleared:
  2974. 2878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, STOP and CLKEN bits in the USART_CR2 register,
  2975. 2879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and HDSEL bits in the USART_CR3 register.
  2976. 2880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2977. 2881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP));
  2978. 2882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL));
  2979. 2883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in IRDA mode */
  2980. 2884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
  2981. 2885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2982. 2886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2983. 2887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2984. 2888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Multi processor Mode
  2985. 2889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (several USARTs connected in a network, one of the USARTs can be the master,
  2986. 2890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * its TX output connected to the RX inputs of the other slaves USARTs).
  2987. 2891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In MultiProcessor mode, the following bits must be kept cleared:
  2988. 2892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2989. 2893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2990. 2894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2991. 2895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2992. 2896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2993. 2897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2994. 2898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2995. 2899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2996. 2900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2997. 2901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2998. 2902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2999. 2903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Multi processor Mode
  3000. 2904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Wake Up Method, Node address, ...) should be set using
  3001. 2905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  3002. 2906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigMultiProcessMode\n
  3003. 2907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigMultiProcessMode\n
  3004. 2908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigMultiProcessMode\n
  3005. 2909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigMultiProcessMode\n
  3006. 2910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigMultiProcessMode
  3007. 2911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3008. 2912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3009. 2913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3010. 2914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigMultiProcessMode(USART_TypeDef *USARTx)
  3011. 2915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3012. 2916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Multi Processor mode, the following bits must be kept cleared:
  3013. 2917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
  3014. 2918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
  3015. 2919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3016. 2920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  3017. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 53
  3018. 2921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
  3019. 2922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3020. 2923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3021. 2924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3022. 2925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  3023. 2926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3024. 2927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3025. 2928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_FLAG_Management FLAG_Management
  3026. 2929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  3027. 2930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3028. 2931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3029. 2932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3030. 2933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Flag is set or not
  3031. 2934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR PE LL_USART_IsActiveFlag_PE
  3032. 2935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3033. 2936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3034. 2937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3035. 2938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(const USART_TypeDef *USARTx)
  3036. 2939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3037. 2940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_PE) == (USART_ISR_PE)) ? 1UL : 0UL);
  3038. 2941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3039. 2942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3040. 2943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3041. 2944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Framing Error Flag is set or not
  3042. 2945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR FE LL_USART_IsActiveFlag_FE
  3043. 2946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3044. 2947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3045. 2948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3046. 2949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(const USART_TypeDef *USARTx)
  3047. 2950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3048. 2951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_FE) == (USART_ISR_FE)) ? 1UL : 0UL);
  3049. 2952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3050. 2953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3051. 2954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3052. 2955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Noise error detected Flag is set or not
  3053. 2956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR NE LL_USART_IsActiveFlag_NE
  3054. 2957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3055. 2958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3056. 2959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3057. 2960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(const USART_TypeDef *USARTx)
  3058. 2961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3059. 2962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_NE) == (USART_ISR_NE)) ? 1UL : 0UL);
  3060. 2963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3061. 2964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3062. 2965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3063. 2966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART OverRun Error Flag is set or not
  3064. 2967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ORE LL_USART_IsActiveFlag_ORE
  3065. 2968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3066. 2969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3067. 2970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3068. 2971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(const USART_TypeDef *USARTx)
  3069. 2972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3070. 2973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ORE) == (USART_ISR_ORE)) ? 1UL : 0UL);
  3071. 2974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3072. 2975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3073. 2976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3074. 2977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE line detected Flag is set or not
  3075. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 54
  3076. 2978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR IDLE LL_USART_IsActiveFlag_IDLE
  3077. 2979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3078. 2980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3079. 2981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3080. 2982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(const USART_TypeDef *USARTx)
  3081. 2983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3082. 2984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_IDLE) == (USART_ISR_IDLE)) ? 1UL : 0UL);
  3083. 2985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3084. 2986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3085. 2987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_RXNE LL_USART_IsActiveFlag_RXNE_RXFNE /* Redefinition for legacy pur
  3086. 2988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3087. 2989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3088. 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
  3089. 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
  3090. 2992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3091. 2993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXNE_RXFNE LL_USART_IsActiveFlag_RXNE_RXFNE
  3092. 2994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3093. 2995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3094. 2996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3095. 2997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE_RXFNE(const USART_TypeDef *USARTx)
  3096. 2998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3097. 49 .loc 1 2998 1
  3098. 50 .cfi_startproc
  3099. 51 @ args = 0, pretend = 0, frame = 8
  3100. 52 @ frame_needed = 1, uses_anonymous_args = 0
  3101. 53 0000 80B5 push {r7, lr}
  3102. 54 .LCFI0:
  3103. 55 .cfi_def_cfa_offset 8
  3104. 56 .cfi_offset 7, -8
  3105. 57 .cfi_offset 14, -4
  3106. 58 0002 82B0 sub sp, sp, #8
  3107. 59 .LCFI1:
  3108. 60 .cfi_def_cfa_offset 16
  3109. 61 0004 00AF add r7, sp, #0
  3110. 62 .LCFI2:
  3111. 63 .cfi_def_cfa_register 7
  3112. 64 0006 7860 str r0, [r7, #4]
  3113. 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);
  3114. 65 .loc 1 2999 12
  3115. 66 0008 7B68 ldr r3, [r7, #4]
  3116. 67 000a DB69 ldr r3, [r3, #28]
  3117. 68 000c 2022 movs r2, #32
  3118. 69 000e 1340 ands r3, r2
  3119. 70 .loc 1 2999 89
  3120. 71 0010 202B cmp r3, #32
  3121. 72 0012 01D1 bne .L2
  3122. 73 .loc 1 2999 89 is_stmt 0 discriminator 1
  3123. 74 0014 0123 movs r3, #1
  3124. 75 0016 00E0 b .L4
  3125. 76 .L2:
  3126. 77 .loc 1 2999 89 discriminator 2
  3127. 78 0018 0023 movs r3, #0
  3128. 79 .L4:
  3129. 3000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3130. 80 .loc 1 3000 1 is_stmt 1 discriminator 5
  3131. 81 001a 1800 movs r0, r3
  3132. 82 001c BD46 mov sp, r7
  3133. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 55
  3134. 83 001e 02B0 add sp, sp, #8
  3135. 84 @ sp needed
  3136. 85 0020 80BD pop {r7, pc}
  3137. 86 .cfi_endproc
  3138. 87 .LFE581:
  3139. 89 .section .text.LL_USART_IsActiveFlag_TXE_TXFNF,"ax",%progbits
  3140. 90 .align 1
  3141. 91 .syntax unified
  3142. 92 .code 16
  3143. 93 .thumb_func
  3144. 95 LL_USART_IsActiveFlag_TXE_TXFNF:
  3145. 96 .LFB583:
  3146. 3001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3147. 3002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3148. 3003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Flag is set or not
  3149. 3004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TC LL_USART_IsActiveFlag_TC
  3150. 3005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3151. 3006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3152. 3007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3153. 3008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(const USART_TypeDef *USARTx)
  3154. 3009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3155. 3010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TC) == (USART_ISR_TC)) ? 1UL : 0UL);
  3156. 3011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3157. 3012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3158. 3013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_TXE LL_USART_IsActiveFlag_TXE_TXFNF /* Redefinition for legacy purpo
  3159. 3014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3160. 3015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3161. 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
  3162. 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
  3163. 3018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3164. 3019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXE_TXFNF LL_USART_IsActiveFlag_TXE_TXFNF
  3165. 3020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3166. 3021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3167. 3022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3168. 3023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE_TXFNF(const USART_TypeDef *USARTx)
  3169. 3024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3170. 97 .loc 1 3024 1
  3171. 98 .cfi_startproc
  3172. 99 @ args = 0, pretend = 0, frame = 8
  3173. 100 @ frame_needed = 1, uses_anonymous_args = 0
  3174. 101 0000 80B5 push {r7, lr}
  3175. 102 .LCFI3:
  3176. 103 .cfi_def_cfa_offset 8
  3177. 104 .cfi_offset 7, -8
  3178. 105 .cfi_offset 14, -4
  3179. 106 0002 82B0 sub sp, sp, #8
  3180. 107 .LCFI4:
  3181. 108 .cfi_def_cfa_offset 16
  3182. 109 0004 00AF add r7, sp, #0
  3183. 110 .LCFI5:
  3184. 111 .cfi_def_cfa_register 7
  3185. 112 0006 7860 str r0, [r7, #4]
  3186. 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);
  3187. 113 .loc 1 3025 12
  3188. 114 0008 7B68 ldr r3, [r7, #4]
  3189. 115 000a DB69 ldr r3, [r3, #28]
  3190. 116 000c 8022 movs r2, #128
  3191. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 56
  3192. 117 000e 1340 ands r3, r2
  3193. 118 .loc 1 3025 87
  3194. 119 0010 802B cmp r3, #128
  3195. 120 0012 01D1 bne .L6
  3196. 121 .loc 1 3025 87 is_stmt 0 discriminator 1
  3197. 122 0014 0123 movs r3, #1
  3198. 123 0016 00E0 b .L8
  3199. 124 .L6:
  3200. 125 .loc 1 3025 87 discriminator 2
  3201. 126 0018 0023 movs r3, #0
  3202. 127 .L8:
  3203. 3026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3204. 128 .loc 1 3026 1 is_stmt 1 discriminator 5
  3205. 129 001a 1800 movs r0, r3
  3206. 130 001c BD46 mov sp, r7
  3207. 131 001e 02B0 add sp, sp, #8
  3208. 132 @ sp needed
  3209. 133 0020 80BD pop {r7, pc}
  3210. 134 .cfi_endproc
  3211. 135 .LFE583:
  3212. 137 .section .text.LL_USART_ReceiveData8,"ax",%progbits
  3213. 138 .align 1
  3214. 139 .syntax unified
  3215. 140 .code 16
  3216. 141 .thumb_func
  3217. 143 LL_USART_ReceiveData8:
  3218. 144 .LFB680:
  3219. 3027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3220. 3028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3221. 3029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Flag is set or not
  3222. 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
  3223. 3031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3224. 3032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR LBDF LL_USART_IsActiveFlag_LBD
  3225. 3033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3226. 3034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3227. 3035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3228. 3036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(const USART_TypeDef *USARTx)
  3229. 3037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3230. 3038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_LBDF) == (USART_ISR_LBDF)) ? 1UL : 0UL);
  3231. 3039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3232. 3040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3233. 3041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3234. 3042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS interrupt Flag is set or not
  3235. 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
  3236. 3044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3237. 3045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTSIF LL_USART_IsActiveFlag_nCTS
  3238. 3046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3239. 3047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3240. 3048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3241. 3049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(const USART_TypeDef *USARTx)
  3242. 3050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3243. 3051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTSIF) == (USART_ISR_CTSIF)) ? 1UL : 0UL);
  3244. 3052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3245. 3053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3246. 3054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3247. 3055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Flag is set or not
  3248. 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
  3249. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 57
  3250. 3057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3251. 3058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTS LL_USART_IsActiveFlag_CTS
  3252. 3059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3253. 3060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3254. 3061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3255. 3062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CTS(const USART_TypeDef *USARTx)
  3256. 3063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3257. 3064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTS) == (USART_ISR_CTS)) ? 1UL : 0UL);
  3258. 3065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3259. 3066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3260. 3067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3261. 3068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Time Out Flag is set or not
  3262. 3069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RTOF LL_USART_IsActiveFlag_RTO
  3263. 3070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3264. 3071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3265. 3072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3266. 3073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RTO(const USART_TypeDef *USARTx)
  3267. 3074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3268. 3075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RTOF) == (USART_ISR_RTOF)) ? 1UL : 0UL);
  3269. 3076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3270. 3077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3271. 3078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3272. 3079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Flag is set or not
  3273. 3080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3274. 3081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3275. 3082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR EOBF LL_USART_IsActiveFlag_EOB
  3276. 3083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3277. 3084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3278. 3085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3279. 3086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_EOB(const USART_TypeDef *USARTx)
  3280. 3087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3281. 3088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_EOBF) == (USART_ISR_EOBF)) ? 1UL : 0UL);
  3282. 3089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3283. 3090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3284. 3091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3285. 3092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the SPI Slave Underrun error flag is set or not
  3286. 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
  3287. 3094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  3288. 3095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR UDR LL_USART_IsActiveFlag_UDR
  3289. 3096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3290. 3097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3291. 3098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3292. 3099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_UDR(const USART_TypeDef *USARTx)
  3293. 3100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3294. 3101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_UDR) == (USART_ISR_UDR)) ? 1UL : 0UL);
  3295. 3102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3296. 3103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3297. 3104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3298. 3105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Error Flag is set or not
  3299. 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
  3300. 3107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  3301. 3108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRE LL_USART_IsActiveFlag_ABRE
  3302. 3109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3303. 3110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3304. 3111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3305. 3112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABRE(const USART_TypeDef *USARTx)
  3306. 3113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3307. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 58
  3308. 3114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRE) == (USART_ISR_ABRE)) ? 1UL : 0UL);
  3309. 3115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3310. 3116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3311. 3117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3312. 3118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Flag is set or not
  3313. 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
  3314. 3120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  3315. 3121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRF LL_USART_IsActiveFlag_ABR
  3316. 3122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3317. 3123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3318. 3124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3319. 3125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABR(const USART_TypeDef *USARTx)
  3320. 3126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3321. 3127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRF) == (USART_ISR_ABRF)) ? 1UL : 0UL);
  3322. 3128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3323. 3129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3324. 3130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3325. 3131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Busy Flag is set or not
  3326. 3132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR BUSY LL_USART_IsActiveFlag_BUSY
  3327. 3133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3328. 3134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3329. 3135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3330. 3136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_BUSY(const USART_TypeDef *USARTx)
  3331. 3137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3332. 3138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_BUSY) == (USART_ISR_BUSY)) ? 1UL : 0UL);
  3333. 3139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3334. 3140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3335. 3141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3336. 3142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Flag is set or not
  3337. 3143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CMF LL_USART_IsActiveFlag_CM
  3338. 3144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3339. 3145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3340. 3146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3341. 3147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CM(const USART_TypeDef *USARTx)
  3342. 3148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3343. 3149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CMF) == (USART_ISR_CMF)) ? 1UL : 0UL);
  3344. 3150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3345. 3151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3346. 3152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3347. 3153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Send Break Flag is set or not
  3348. 3154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR SBKF LL_USART_IsActiveFlag_SBK
  3349. 3155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3350. 3156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3351. 3157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3352. 3158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(const USART_TypeDef *USARTx)
  3353. 3159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3354. 3160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_SBKF) == (USART_ISR_SBKF)) ? 1UL : 0UL);
  3355. 3161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3356. 3162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3357. 3163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3358. 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
  3359. 3165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RWU LL_USART_IsActiveFlag_RWU
  3360. 3166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3361. 3167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3362. 3168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3363. 3169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(const USART_TypeDef *USARTx)
  3364. 3170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3365. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 59
  3366. 3171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RWU) == (USART_ISR_RWU)) ? 1UL : 0UL);
  3367. 3172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3368. 3173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3369. 3174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3370. 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
  3371. 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
  3372. 3177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3373. 3178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR WUF LL_USART_IsActiveFlag_WKUP
  3374. 3179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3375. 3180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3376. 3181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3377. 3182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_WKUP(const USART_TypeDef *USARTx)
  3378. 3183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3379. 3184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_WUF) == (USART_ISR_WUF)) ? 1UL : 0UL);
  3380. 3185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3381. 3186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3382. 3187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3383. 3188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Enable Acknowledge Flag is set or not
  3384. 3189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TEACK LL_USART_IsActiveFlag_TEACK
  3385. 3190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3386. 3191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3387. 3192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3388. 3193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TEACK(const USART_TypeDef *USARTx)
  3389. 3194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3390. 3195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TEACK) == (USART_ISR_TEACK)) ? 1UL : 0UL);
  3391. 3196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3392. 3197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3393. 3198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3394. 3199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Enable Acknowledge Flag is set or not
  3395. 3200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR REACK LL_USART_IsActiveFlag_REACK
  3396. 3201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3397. 3202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3398. 3203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3399. 3204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_REACK(const USART_TypeDef *USARTx)
  3400. 3205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3401. 3206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_REACK) == (USART_ISR_REACK)) ? 1UL : 0UL);
  3402. 3207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3403. 3208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3404. 3209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3405. 3210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Flag is set or not
  3406. 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
  3407. 3212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3408. 3213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFE LL_USART_IsActiveFlag_TXFE
  3409. 3214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3410. 3215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3411. 3216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3412. 3217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFE(const USART_TypeDef *USARTx)
  3413. 3218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3414. 3219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFE) == (USART_ISR_TXFE)) ? 1UL : 0UL);
  3415. 3220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3416. 3221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3417. 3222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3418. 3223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Flag is set or not
  3419. 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
  3420. 3225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3421. 3226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFF LL_USART_IsActiveFlag_RXFF
  3422. 3227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3423. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 60
  3424. 3228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3425. 3229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3426. 3230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFF(const USART_TypeDef *USARTx)
  3427. 3231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3428. 3232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFF) == (USART_ISR_RXFF)) ? 1UL : 0UL);
  3429. 3233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3430. 3234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3431. 3235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3432. 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
  3433. 3237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TCBGT LL_USART_IsActiveFlag_TCBGT
  3434. 3238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3435. 3239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3436. 3240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3437. 3241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TCBGT(const USART_TypeDef *USARTx)
  3438. 3242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3439. 3243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TCBGT) == (USART_ISR_TCBGT)) ? 1UL : 0UL);
  3440. 3244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3441. 3245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3442. 3246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3443. 3247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Threshold Flag is set or not
  3444. 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
  3445. 3249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3446. 3250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFT LL_USART_IsActiveFlag_TXFT
  3447. 3251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3448. 3252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3449. 3253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3450. 3254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFT(const USART_TypeDef *USARTx)
  3451. 3255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3452. 3256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFT) == (USART_ISR_TXFT)) ? 1UL : 0UL);
  3453. 3257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3454. 3258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3455. 3259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3456. 3260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Threshold Flag is set or not
  3457. 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
  3458. 3262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3459. 3263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFT LL_USART_IsActiveFlag_RXFT
  3460. 3264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3461. 3265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3462. 3266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3463. 3267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFT(const USART_TypeDef *USARTx)
  3464. 3268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3465. 3269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFT) == (USART_ISR_RXFT)) ? 1UL : 0UL);
  3466. 3270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3467. 3271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3468. 3272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3469. 3273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Parity Error Flag
  3470. 3274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR PECF LL_USART_ClearFlag_PE
  3471. 3275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3472. 3276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3473. 3277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3474. 3278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_PE(USART_TypeDef *USARTx)
  3475. 3279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3476. 3280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_PECF);
  3477. 3281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3478. 3282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3479. 3283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3480. 3284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Framing Error Flag
  3481. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 61
  3482. 3285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR FECF LL_USART_ClearFlag_FE
  3483. 3286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3484. 3287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3485. 3288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3486. 3289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_FE(USART_TypeDef *USARTx)
  3487. 3290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3488. 3291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_FECF);
  3489. 3292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3490. 3293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3491. 3294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3492. 3295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Noise Error detected Flag
  3493. 3296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR NECF LL_USART_ClearFlag_NE
  3494. 3297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3495. 3298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3496. 3299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3497. 3300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_NE(USART_TypeDef *USARTx)
  3498. 3301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3499. 3302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_NECF);
  3500. 3303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3501. 3304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3502. 3305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3503. 3306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear OverRun Error Flag
  3504. 3307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR ORECF LL_USART_ClearFlag_ORE
  3505. 3308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3506. 3309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3507. 3310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3508. 3311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_ORE(USART_TypeDef *USARTx)
  3509. 3312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3510. 3313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_ORECF);
  3511. 3314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3512. 3315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3513. 3316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3514. 3317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear IDLE line detected Flag
  3515. 3318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR IDLECF LL_USART_ClearFlag_IDLE
  3516. 3319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3517. 3320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3518. 3321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3519. 3322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_IDLE(USART_TypeDef *USARTx)
  3520. 3323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3521. 3324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_IDLECF);
  3522. 3325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3523. 3326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3524. 3327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3525. 3328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear TX FIFO Empty Flag
  3526. 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
  3527. 3330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3528. 3331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TXFECF LL_USART_ClearFlag_TXFE
  3529. 3332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3530. 3333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3531. 3334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3532. 3335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TXFE(USART_TypeDef *USARTx)
  3533. 3336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3534. 3337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TXFECF);
  3535. 3338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3536. 3339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3537. 3340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3538. 3341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Transmission Complete Flag
  3539. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 62
  3540. 3342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCCF LL_USART_ClearFlag_TC
  3541. 3343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3542. 3344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3543. 3345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3544. 3346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TC(USART_TypeDef *USARTx)
  3545. 3347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3546. 3348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCCF);
  3547. 3349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3548. 3350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3549. 3351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3550. 3352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Smartcard Transmission Complete Before Guard Time Flag
  3551. 3353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCBGTCF LL_USART_ClearFlag_TCBGT
  3552. 3354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3553. 3355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3554. 3356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3555. 3357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TCBGT(USART_TypeDef *USARTx)
  3556. 3358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3557. 3359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCBGTCF);
  3558. 3360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3559. 3361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3560. 3362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3561. 3363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear LIN Break Detection Flag
  3562. 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
  3563. 3365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3564. 3366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR LBDCF LL_USART_ClearFlag_LBD
  3565. 3367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3566. 3368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3567. 3369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3568. 3370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_LBD(USART_TypeDef *USARTx)
  3569. 3371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3570. 3372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_LBDCF);
  3571. 3373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3572. 3374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3573. 3375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3574. 3376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear CTS Interrupt Flag
  3575. 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
  3576. 3378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3577. 3379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CTSCF LL_USART_ClearFlag_nCTS
  3578. 3380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3579. 3381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3580. 3382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3581. 3383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_nCTS(USART_TypeDef *USARTx)
  3582. 3384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3583. 3385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CTSCF);
  3584. 3386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3585. 3387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3586. 3388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3587. 3389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Receiver Time Out Flag
  3588. 3390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR RTOCF LL_USART_ClearFlag_RTO
  3589. 3391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3590. 3392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3591. 3393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3592. 3394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_RTO(USART_TypeDef *USARTx)
  3593. 3395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3594. 3396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_RTOCF);
  3595. 3397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3596. 3398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3597. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 63
  3598. 3399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3599. 3400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear End Of Block Flag
  3600. 3401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3601. 3402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3602. 3403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR EOBCF LL_USART_ClearFlag_EOB
  3603. 3404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3604. 3405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3605. 3406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3606. 3407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_EOB(USART_TypeDef *USARTx)
  3607. 3408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3608. 3409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_EOBCF);
  3609. 3410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3610. 3411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3611. 3412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3612. 3413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear SPI Slave Underrun Flag
  3613. 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
  3614. 3415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  3615. 3416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR UDRCF LL_USART_ClearFlag_UDR
  3616. 3417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3617. 3418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3618. 3419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3619. 3420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_UDR(USART_TypeDef *USARTx)
  3620. 3421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3621. 3422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_UDRCF);
  3622. 3423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3623. 3424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3624. 3425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3625. 3426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Character Match Flag
  3626. 3427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CMCF LL_USART_ClearFlag_CM
  3627. 3428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3628. 3429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3629. 3430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3630. 3431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_CM(USART_TypeDef *USARTx)
  3631. 3432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3632. 3433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CMCF);
  3633. 3434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3634. 3435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3635. 3436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3636. 3437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Wake Up from stop mode Flag
  3637. 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
  3638. 3439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3639. 3440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR WUCF LL_USART_ClearFlag_WKUP
  3640. 3441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3641. 3442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3642. 3443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3643. 3444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_WKUP(USART_TypeDef *USARTx)
  3644. 3445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3645. 3446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_WUCF);
  3646. 3447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3647. 3448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3648. 3449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3649. 3450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  3650. 3451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3651. 3452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3652. 3453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_IT_Management IT_Management
  3653. 3454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  3654. 3455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3655. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 64
  3656. 3456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3657. 3457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3658. 3458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IDLE Interrupt
  3659. 3459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_EnableIT_IDLE
  3660. 3460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3661. 3461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3662. 3462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3663. 3463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx)
  3664. 3464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3665. 3465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_IDLEIE);
  3666. 3466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3667. 3467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3668. 3468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_RXNE LL_USART_EnableIT_RXNE_RXFNE /* Redefinition for legacy purpose */
  3669. 3469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3670. 3470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3671. 3471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX Not Empty and RX FIFO Not Empty Interrupt
  3672. 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
  3673. 3473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3674. 3474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_EnableIT_RXNE_RXFNE
  3675. 3475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3676. 3476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3677. 3477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3678. 3478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
  3679. 3479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3680. 3480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
  3681. 3481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3682. 3482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3683. 3483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3684. 3484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Transmission Complete Interrupt
  3685. 3485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_EnableIT_TC
  3686. 3486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3687. 3487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3688. 3488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3689. 3489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx)
  3690. 3490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3691. 3491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TCIE);
  3692. 3492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3693. 3493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3694. 3494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_TXE LL_USART_EnableIT_TXE_TXFNF /* Redefinition for legacy purpose */
  3695. 3495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3696. 3496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3697. 3497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX Empty and TX FIFO Not Full Interrupt
  3698. 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
  3699. 3499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3700. 3500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_EnableIT_TXE_TXFNF
  3701. 3501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3702. 3502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3703. 3503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3704. 3504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXE_TXFNF(USART_TypeDef *USARTx)
  3705. 3505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3706. 3506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
  3707. 3507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3708. 3508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3709. 3509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3710. 3510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Parity Error Interrupt
  3711. 3511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_EnableIT_PE
  3712. 3512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3713. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 65
  3714. 3513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3715. 3514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3716. 3515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_PE(USART_TypeDef *USARTx)
  3717. 3516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3718. 3517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_PEIE);
  3719. 3518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3720. 3519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3721. 3520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3722. 3521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Character Match Interrupt
  3723. 3522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_EnableIT_CM
  3724. 3523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3725. 3524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3726. 3525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3727. 3526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CM(USART_TypeDef *USARTx)
  3728. 3527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3729. 3528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_CMIE);
  3730. 3529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3731. 3530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3732. 3531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3733. 3532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout Interrupt
  3734. 3533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_EnableIT_RTO
  3735. 3534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3736. 3535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3737. 3536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3738. 3537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RTO(USART_TypeDef *USARTx)
  3739. 3538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3740. 3539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RTOIE);
  3741. 3540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3742. 3541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3743. 3542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3744. 3543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable End Of Block Interrupt
  3745. 3544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3746. 3545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3747. 3546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_EnableIT_EOB
  3748. 3547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3749. 3548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3750. 3549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3751. 3550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_EOB(USART_TypeDef *USARTx)
  3752. 3551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3753. 3552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_EOBIE);
  3754. 3553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3755. 3554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3756. 3555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3757. 3556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Empty Interrupt
  3758. 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
  3759. 3558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3760. 3559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_EnableIT_TXFE
  3761. 3560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3762. 3561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3763. 3562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3764. 3563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFE(USART_TypeDef *USARTx)
  3765. 3564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3766. 3565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXFEIE);
  3767. 3566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3768. 3567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3769. 3568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3770. 3569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Full Interrupt
  3771. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 66
  3772. 3570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_EnableIT_RXFF
  3773. 3571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3774. 3572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3775. 3573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3776. 3574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFF(USART_TypeDef *USARTx)
  3777. 3575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3778. 3576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXFFIE);
  3779. 3577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3780. 3578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3781. 3579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3782. 3580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN Break Detection Interrupt
  3783. 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
  3784. 3582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3785. 3583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_EnableIT_LBD
  3786. 3584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3787. 3585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3788. 3586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3789. 3587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_LBD(USART_TypeDef *USARTx)
  3790. 3588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3791. 3589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LBDIE);
  3792. 3590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3793. 3591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3794. 3592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3795. 3593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Error Interrupt
  3796. 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
  3797. 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).
  3798. 3596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
  3799. 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.
  3800. 3598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_EnableIT_ERROR
  3801. 3599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3802. 3600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3803. 3601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3804. 3602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx)
  3805. 3603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3806. 3604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_EIE);
  3807. 3605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3808. 3606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3809. 3607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3810. 3608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS Interrupt
  3811. 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
  3812. 3610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3813. 3611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_EnableIT_CTS
  3814. 3612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3815. 3613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3816. 3614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3817. 3615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx)
  3818. 3616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3819. 3617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_CTSIE);
  3820. 3618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3821. 3619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3822. 3620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3823. 3621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Wake Up from Stop Mode Interrupt
  3824. 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
  3825. 3623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3826. 3624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_EnableIT_WKUP
  3827. 3625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3828. 3626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3829. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 67
  3830. 3627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3831. 3628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_WKUP(USART_TypeDef *USARTx)
  3832. 3629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3833. 3630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_WUFIE);
  3834. 3631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3835. 3632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3836. 3633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3837. 3634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Threshold Interrupt
  3838. 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
  3839. 3636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3840. 3637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_EnableIT_TXFT
  3841. 3638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3842. 3639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3843. 3640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3844. 3641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFT(USART_TypeDef *USARTx)
  3845. 3642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3846. 3643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TXFTIE);
  3847. 3644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3848. 3645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3849. 3646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3850. 3647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard Transmission Complete Before Guard Time Interrupt
  3851. 3648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3852. 3649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3853. 3650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_EnableIT_TCBGT
  3854. 3651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3855. 3652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3856. 3653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3857. 3654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TCBGT(USART_TypeDef *USARTx)
  3858. 3655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3859. 3656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
  3860. 3657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3861. 3658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3862. 3659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3863. 3660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Threshold Interrupt
  3864. 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
  3865. 3662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3866. 3663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_EnableIT_RXFT
  3867. 3664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3868. 3665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3869. 3666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3870. 3667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFT(USART_TypeDef *USARTx)
  3871. 3668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3872. 3669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_RXFTIE);
  3873. 3670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3874. 3671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3875. 3672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3876. 3673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IDLE Interrupt
  3877. 3674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_DisableIT_IDLE
  3878. 3675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3879. 3676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3880. 3677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3881. 3678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx)
  3882. 3679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3883. 3680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE);
  3884. 3681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3885. 3682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3886. 3683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_RXNE LL_USART_DisableIT_RXNE_RXFNE /* Redefinition for legacy purpose *
  3887. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 68
  3888. 3684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3889. 3685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3890. 3686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX Not Empty and RX FIFO Not Empty Interrupt
  3891. 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
  3892. 3688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3893. 3689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_DisableIT_RXNE_RXFNE
  3894. 3690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3895. 3691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3896. 3692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3897. 3693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
  3898. 3694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3899. 3695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
  3900. 3696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3901. 3697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3902. 3698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3903. 3699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Transmission Complete Interrupt
  3904. 3700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_DisableIT_TC
  3905. 3701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3906. 3702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3907. 3703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3908. 3704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx)
  3909. 3705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3910. 3706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE);
  3911. 3707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3912. 3708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3913. 3709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_TXE LL_USART_DisableIT_TXE_TXFNF /* Redefinition for legacy purpose */
  3914. 3710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3915. 3711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3916. 3712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX Empty and TX FIFO Not Full Interrupt
  3917. 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
  3918. 3714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3919. 3715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_DisableIT_TXE_TXFNF
  3920. 3716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3921. 3717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3922. 3718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3923. 3719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXE_TXFNF(USART_TypeDef *USARTx)
  3924. 3720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3925. 3721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
  3926. 3722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3927. 3723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3928. 3724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3929. 3725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Parity Error Interrupt
  3930. 3726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_DisableIT_PE
  3931. 3727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3932. 3728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3933. 3729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3934. 3730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_PE(USART_TypeDef *USARTx)
  3935. 3731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3936. 3732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE);
  3937. 3733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3938. 3734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3939. 3735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3940. 3736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Character Match Interrupt
  3941. 3737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_DisableIT_CM
  3942. 3738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3943. 3739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3944. 3740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3945. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 69
  3946. 3741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CM(USART_TypeDef *USARTx)
  3947. 3742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3948. 3743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_CMIE);
  3949. 3744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3950. 3745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3951. 3746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3952. 3747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout Interrupt
  3953. 3748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_DisableIT_RTO
  3954. 3749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3955. 3750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3956. 3751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3957. 3752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RTO(USART_TypeDef *USARTx)
  3958. 3753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3959. 3754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RTOIE);
  3960. 3755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3961. 3756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3962. 3757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3963. 3758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable End Of Block Interrupt
  3964. 3759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3965. 3760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3966. 3761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_DisableIT_EOB
  3967. 3762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3968. 3763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3969. 3764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3970. 3765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_EOB(USART_TypeDef *USARTx)
  3971. 3766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3972. 3767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_EOBIE);
  3973. 3768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3974. 3769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3975. 3770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3976. 3771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Empty Interrupt
  3977. 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
  3978. 3773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3979. 3774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_DisableIT_TXFE
  3980. 3775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3981. 3776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3982. 3777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3983. 3778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFE(USART_TypeDef *USARTx)
  3984. 3779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3985. 3780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXFEIE);
  3986. 3781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3987. 3782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3988. 3783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3989. 3784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Full Interrupt
  3990. 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
  3991. 3786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3992. 3787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_DisableIT_RXFF
  3993. 3788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3994. 3789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3995. 3790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3996. 3791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFF(USART_TypeDef *USARTx)
  3997. 3792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3998. 3793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXFFIE);
  3999. 3794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4000. 3795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4001. 3796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4002. 3797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN Break Detection Interrupt
  4003. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 70
  4004. 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
  4005. 3799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  4006. 3800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_DisableIT_LBD
  4007. 3801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4008. 3802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4009. 3803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4010. 3804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_LBD(USART_TypeDef *USARTx)
  4011. 3805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4012. 3806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LBDIE);
  4013. 3807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4014. 3808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4015. 3809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4016. 3810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Error Interrupt
  4017. 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
  4018. 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).
  4019. 3813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
  4020. 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.
  4021. 3815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_DisableIT_ERROR
  4022. 3816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4023. 3817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4024. 3818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4025. 3819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx)
  4026. 3820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4027. 3821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_EIE);
  4028. 3822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4029. 3823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4030. 3824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4031. 3825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS Interrupt
  4032. 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
  4033. 3827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  4034. 3828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_DisableIT_CTS
  4035. 3829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4036. 3830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4037. 3831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4038. 3832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx)
  4039. 3833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4040. 3834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE);
  4041. 3835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4042. 3836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4043. 3837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4044. 3838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Wake Up from Stop Mode Interrupt
  4045. 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
  4046. 3840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  4047. 3841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_DisableIT_WKUP
  4048. 3842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4049. 3843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4050. 3844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4051. 3845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_WKUP(USART_TypeDef *USARTx)
  4052. 3846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4053. 3847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_WUFIE);
  4054. 3848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4055. 3849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4056. 3850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4057. 3851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Threshold Interrupt
  4058. 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
  4059. 3853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4060. 3854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_DisableIT_TXFT
  4061. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 71
  4062. 3855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4063. 3856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4064. 3857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4065. 3858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFT(USART_TypeDef *USARTx)
  4066. 3859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4067. 3860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TXFTIE);
  4068. 3861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4069. 3862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4070. 3863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4071. 3864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard Transmission Complete Before Guard Time Interrupt
  4072. 3865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4073. 3866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4074. 3867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_DisableIT_TCBGT
  4075. 3868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4076. 3869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4077. 3870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4078. 3871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TCBGT(USART_TypeDef *USARTx)
  4079. 3872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4080. 3873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
  4081. 3874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4082. 3875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4083. 3876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4084. 3877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Threshold Interrupt
  4085. 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
  4086. 3879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4087. 3880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_DisableIT_RXFT
  4088. 3881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4089. 3882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4090. 3883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4091. 3884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFT(USART_TypeDef *USARTx)
  4092. 3885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4093. 3886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_RXFTIE);
  4094. 3887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4095. 3888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4096. 3889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4097. 3890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE Interrupt source is enabled or disabled.
  4098. 3891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_IsEnabledIT_IDLE
  4099. 3892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4100. 3893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4101. 3894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4102. 3895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(const USART_TypeDef *USARTx)
  4103. 3896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4104. 3897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)) ? 1UL : 0UL);
  4105. 3898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4106. 3899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4107. 3900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_RXNE LL_USART_IsEnabledIT_RXNE_RXFNE /* Redefinition for legacy purpo
  4108. 3901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4109. 3902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4110. 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
  4111. 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
  4112. 3905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4113. 3906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_IsEnabledIT_RXNE_RXFNE
  4114. 3907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4115. 3908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4116. 3909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4117. 3910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE_RXFNE(const USART_TypeDef *USARTx)
  4118. 3911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4119. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 72
  4120. 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
  4121. 3913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4122. 3914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4123. 3915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4124. 3916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Interrupt is enabled or disabled.
  4125. 3917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_IsEnabledIT_TC
  4126. 3918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4127. 3919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4128. 3920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4129. 3921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(const USART_TypeDef *USARTx)
  4130. 3922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4131. 3923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)) ? 1UL : 0UL);
  4132. 3924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4133. 3925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4134. 3926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_TXE LL_USART_IsEnabledIT_TXE_TXFNF /* Redefinition for legacy purpose
  4135. 3927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4136. 3928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4137. 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
  4138. 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
  4139. 3931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4140. 3932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_IsEnabledIT_TXE_TXFNF
  4141. 3933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4142. 3934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4143. 3935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4144. 3936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE_TXFNF(const USART_TypeDef *USARTx)
  4145. 3937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4146. 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
  4147. 3939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4148. 3940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4149. 3941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4150. 3942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Interrupt is enabled or disabled.
  4151. 3943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_IsEnabledIT_PE
  4152. 3944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4153. 3945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4154. 3946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4155. 3947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(const USART_TypeDef *USARTx)
  4156. 3948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4157. 3949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)) ? 1UL : 0UL);
  4158. 3950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4159. 3951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4160. 3952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4161. 3953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Interrupt is enabled or disabled.
  4162. 3954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_IsEnabledIT_CM
  4163. 3955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4164. 3956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4165. 3957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4166. 3958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CM(const USART_TypeDef *USARTx)
  4167. 3959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4168. 3960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_CMIE) == (USART_CR1_CMIE)) ? 1UL : 0UL);
  4169. 3961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4170. 3962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4171. 3963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4172. 3964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Timeout Interrupt is enabled or disabled.
  4173. 3965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_IsEnabledIT_RTO
  4174. 3966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4175. 3967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4176. 3968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4177. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 73
  4178. 3969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RTO(const USART_TypeDef *USARTx)
  4179. 3970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4180. 3971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RTOIE) == (USART_CR1_RTOIE)) ? 1UL : 0UL);
  4181. 3972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4182. 3973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4183. 3974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4184. 3975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Interrupt is enabled or disabled.
  4185. 3976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4186. 3977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4187. 3978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_IsEnabledIT_EOB
  4188. 3979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4189. 3980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4190. 3981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4191. 3982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_EOB(const USART_TypeDef *USARTx)
  4192. 3983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4193. 3984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_EOBIE) == (USART_CR1_EOBIE)) ? 1UL : 0UL);
  4194. 3985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4195. 3986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4196. 3987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4197. 3988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Interrupt is enabled or disabled
  4198. 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
  4199. 3990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4200. 3991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_IsEnabledIT_TXFE
  4201. 3992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4202. 3993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4203. 3994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4204. 3995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFE(const USART_TypeDef *USARTx)
  4205. 3996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4206. 3997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXFEIE) == (USART_CR1_TXFEIE)) ? 1UL : 0UL);
  4207. 3998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4208. 3999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4209. 4000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4210. 4001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Interrupt is enabled or disabled
  4211. 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
  4212. 4003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4213. 4004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_IsEnabledIT_RXFF
  4214. 4005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4215. 4006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4216. 4007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4217. 4008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFF(const USART_TypeDef *USARTx)
  4218. 4009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4219. 4010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXFFIE) == (USART_CR1_RXFFIE)) ? 1UL : 0UL);
  4220. 4011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4221. 4012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4222. 4013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4223. 4014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Interrupt is enabled or disabled.
  4224. 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
  4225. 4016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  4226. 4017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_IsEnabledIT_LBD
  4227. 4018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4228. 4019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4229. 4020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4230. 4021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(const USART_TypeDef *USARTx)
  4231. 4022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4232. 4023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LBDIE) == (USART_CR2_LBDIE)) ? 1UL : 0UL);
  4233. 4024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4234. 4025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4235. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 74
  4236. 4026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4237. 4027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Error Interrupt is enabled or disabled.
  4238. 4028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_IsEnabledIT_ERROR
  4239. 4029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4240. 4030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4241. 4031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4242. 4032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(const USART_TypeDef *USARTx)
  4243. 4033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4244. 4034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)) ? 1UL : 0UL);
  4245. 4035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4246. 4036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4247. 4037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4248. 4038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Interrupt is enabled or disabled.
  4249. 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
  4250. 4040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  4251. 4041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_IsEnabledIT_CTS
  4252. 4042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4253. 4043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4254. 4044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4255. 4045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(const USART_TypeDef *USARTx)
  4256. 4046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4257. 4047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)) ? 1UL : 0UL);
  4258. 4048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4259. 4049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4260. 4050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4261. 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.
  4262. 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
  4263. 4053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  4264. 4054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_IsEnabledIT_WKUP
  4265. 4055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4266. 4056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4267. 4057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4268. 4058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_WKUP(const USART_TypeDef *USARTx)
  4269. 4059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4270. 4060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_WUFIE) == (USART_CR3_WUFIE)) ? 1UL : 0UL);
  4271. 4061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4272. 4062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4273. 4063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4274. 4064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART TX FIFO Threshold Interrupt is enabled or disabled
  4275. 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
  4276. 4066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4277. 4067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_IsEnabledIT_TXFT
  4278. 4068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4279. 4069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4280. 4070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4281. 4071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFT(const USART_TypeDef *USARTx)
  4282. 4072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4283. 4073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TXFTIE) == (USART_CR3_TXFTIE)) ? 1UL : 0UL);
  4284. 4074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4285. 4075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4286. 4076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4287. 4077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Interrupt is enabled or
  4288. 4078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4289. 4079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4290. 4080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_IsEnabledIT_TCBGT
  4291. 4081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4292. 4082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4293. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 75
  4294. 4083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4295. 4084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TCBGT(const USART_TypeDef *USARTx)
  4296. 4085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4297. 4086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TCBGTIE) == (USART_CR3_TCBGTIE)) ? 1UL : 0UL);
  4298. 4087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4299. 4088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4300. 4089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4301. 4090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART RX FIFO Threshold Interrupt is enabled or disabled
  4302. 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
  4303. 4092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4304. 4093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_IsEnabledIT_RXFT
  4305. 4094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4306. 4095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4307. 4096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4308. 4097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFT(const USART_TypeDef *USARTx)
  4309. 4098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4310. 4099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_RXFTIE) == (USART_CR3_RXFTIE)) ? 1UL : 0UL);
  4311. 4100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4312. 4101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4313. 4102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4314. 4103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  4315. 4104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4316. 4105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4317. 4106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_DMA_Management DMA_Management
  4318. 4107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  4319. 4108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4320. 4109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4321. 4110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4322. 4111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for reception
  4323. 4112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_EnableDMAReq_RX
  4324. 4113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4325. 4114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4326. 4115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4327. 4116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx)
  4328. 4117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4329. 4118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAR);
  4330. 4119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4331. 4120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4332. 4121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4333. 4122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for reception
  4334. 4123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_DisableDMAReq_RX
  4335. 4124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4336. 4125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4337. 4126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4338. 4127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx)
  4339. 4128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4340. 4129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR);
  4341. 4130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4342. 4131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4343. 4132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4344. 4133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for reception
  4345. 4134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_IsEnabledDMAReq_RX
  4346. 4135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4347. 4136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4348. 4137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4349. 4138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(const USART_TypeDef *USARTx)
  4350. 4139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4351. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 76
  4352. 4140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)) ? 1UL : 0UL);
  4353. 4141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4354. 4142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4355. 4143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4356. 4144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for transmission
  4357. 4145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_EnableDMAReq_TX
  4358. 4146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4359. 4147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4360. 4148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4361. 4149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx)
  4362. 4150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4363. 4151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAT);
  4364. 4152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4365. 4153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4366. 4154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4367. 4155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for transmission
  4368. 4156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_DisableDMAReq_TX
  4369. 4157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4370. 4158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4371. 4159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4372. 4160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx)
  4373. 4161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4374. 4162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT);
  4375. 4163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4376. 4164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4377. 4165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4378. 4166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for transmission
  4379. 4167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_IsEnabledDMAReq_TX
  4380. 4168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4381. 4169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4382. 4170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4383. 4171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(const USART_TypeDef *USARTx)
  4384. 4172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4385. 4173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)) ? 1UL : 0UL);
  4386. 4174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4387. 4175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4388. 4176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4389. 4177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Disabling on Reception Error
  4390. 4178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_EnableDMADeactOnRxErr
  4391. 4179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4392. 4180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4393. 4181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4394. 4182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr(USART_TypeDef *USARTx)
  4395. 4183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4396. 4184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DDRE);
  4397. 4185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4398. 4186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4399. 4187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4400. 4188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Disabling on Reception Error
  4401. 4189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_DisableDMADeactOnRxErr
  4402. 4190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4403. 4191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4404. 4192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4405. 4193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr(USART_TypeDef *USARTx)
  4406. 4194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4407. 4195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DDRE);
  4408. 4196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4409. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 77
  4410. 4197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4411. 4198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4412. 4199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if DMA Disabling on Reception Error is disabled
  4413. 4200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_IsEnabledDMADeactOnRxErr
  4414. 4201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4415. 4202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  4416. 4203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4417. 4204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr(const USART_TypeDef *USARTx)
  4418. 4205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4419. 4206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DDRE) == (USART_CR3_DDRE)) ? 1UL : 0UL);
  4420. 4207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4421. 4208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4422. 4209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4423. 4210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get the data register address used for DMA transfer
  4424. 4211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_DMA_GetRegAddr\n
  4425. 4212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_DMA_GetRegAddr
  4426. 4213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4427. 4214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Direction This parameter can be one of the following values:
  4428. 4215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_TRANSMIT
  4429. 4216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_RECEIVE
  4430. 4217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of data register
  4431. 4218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4432. 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)
  4433. 4220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4434. 4221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t data_reg_addr;
  4435. 4222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4436. 4223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (Direction == LL_USART_DMA_REG_DATA_TRANSMIT)
  4437. 4224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4438. 4225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of TDR register */
  4439. 4226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->TDR);
  4440. 4227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4441. 4228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  4442. 4229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4443. 4230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of RDR register */
  4444. 4231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->RDR);
  4445. 4232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4446. 4233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4447. 4234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return data_reg_addr;
  4448. 4235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4449. 4236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4450. 4237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4451. 4238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  4452. 4239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4453. 4240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4454. 4241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Data_Management Data_Management
  4455. 4242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  4456. 4243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4457. 4244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4458. 4245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4459. 4246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 8 bits)
  4460. 4247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData8
  4461. 4248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4462. 4249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
  4463. 4250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4464. 4251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint8_t LL_USART_ReceiveData8(const USART_TypeDef *USARTx)
  4465. 4252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4466. 145 .loc 1 4252 1
  4467. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 78
  4468. 146 .cfi_startproc
  4469. 147 @ args = 0, pretend = 0, frame = 8
  4470. 148 @ frame_needed = 1, uses_anonymous_args = 0
  4471. 149 0000 80B5 push {r7, lr}
  4472. 150 .LCFI6:
  4473. 151 .cfi_def_cfa_offset 8
  4474. 152 .cfi_offset 7, -8
  4475. 153 .cfi_offset 14, -4
  4476. 154 0002 82B0 sub sp, sp, #8
  4477. 155 .LCFI7:
  4478. 156 .cfi_def_cfa_offset 16
  4479. 157 0004 00AF add r7, sp, #0
  4480. 158 .LCFI8:
  4481. 159 .cfi_def_cfa_register 7
  4482. 160 0006 7860 str r0, [r7, #4]
  4483. 4253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint8_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR) & 0xFFU);
  4484. 161 .loc 1 4253 20
  4485. 162 0008 7B68 ldr r3, [r7, #4]
  4486. 163 000a 5B6A ldr r3, [r3, #36]
  4487. 164 .loc 1 4253 10
  4488. 165 000c DBB2 uxtb r3, r3
  4489. 4254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4490. 166 .loc 1 4254 1
  4491. 167 000e 1800 movs r0, r3
  4492. 168 0010 BD46 mov sp, r7
  4493. 169 0012 02B0 add sp, sp, #8
  4494. 170 @ sp needed
  4495. 171 0014 80BD pop {r7, pc}
  4496. 172 .cfi_endproc
  4497. 173 .LFE680:
  4498. 175 .section .text.LL_USART_TransmitData8,"ax",%progbits
  4499. 176 .align 1
  4500. 177 .syntax unified
  4501. 178 .code 16
  4502. 179 .thumb_func
  4503. 181 LL_USART_TransmitData8:
  4504. 182 .LFB682:
  4505. 4255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4506. 4256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4507. 4257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 9 bits)
  4508. 4258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData9
  4509. 4259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4510. 4260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x1FF
  4511. 4261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4512. 4262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint16_t LL_USART_ReceiveData9(const USART_TypeDef *USARTx)
  4513. 4263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4514. 4264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint16_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR));
  4515. 4265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4516. 4266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4517. 4267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4518. 4268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write in Transmitter Data Register (Transmit Data value, 8 bits)
  4519. 4269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_TransmitData8
  4520. 4270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4521. 4271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Value between Min_Data=0x00 and Max_Data=0xFF
  4522. 4272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4523. 4273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4524. 4274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_TransmitData8(USART_TypeDef *USARTx, uint8_t Value)
  4525. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 79
  4526. 4275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4527. 183 .loc 1 4275 1
  4528. 184 .cfi_startproc
  4529. 185 @ args = 0, pretend = 0, frame = 8
  4530. 186 @ frame_needed = 1, uses_anonymous_args = 0
  4531. 187 0000 80B5 push {r7, lr}
  4532. 188 .LCFI9:
  4533. 189 .cfi_def_cfa_offset 8
  4534. 190 .cfi_offset 7, -8
  4535. 191 .cfi_offset 14, -4
  4536. 192 0002 82B0 sub sp, sp, #8
  4537. 193 .LCFI10:
  4538. 194 .cfi_def_cfa_offset 16
  4539. 195 0004 00AF add r7, sp, #0
  4540. 196 .LCFI11:
  4541. 197 .cfi_def_cfa_register 7
  4542. 198 0006 7860 str r0, [r7, #4]
  4543. 199 0008 0A00 movs r2, r1
  4544. 200 000a FB1C adds r3, r7, #3
  4545. 201 000c 1A70 strb r2, [r3]
  4546. 4276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->TDR = Value;
  4547. 202 .loc 1 4276 15
  4548. 203 000e FB1C adds r3, r7, #3
  4549. 204 0010 1A78 ldrb r2, [r3]
  4550. 205 0012 7B68 ldr r3, [r7, #4]
  4551. 206 0014 9A62 str r2, [r3, #40]
  4552. 4277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4553. 207 .loc 1 4277 1
  4554. 208 0016 C046 nop
  4555. 209 0018 BD46 mov sp, r7
  4556. 210 001a 02B0 add sp, sp, #8
  4557. 211 @ sp needed
  4558. 212 001c 80BD pop {r7, pc}
  4559. 213 .cfi_endproc
  4560. 214 .LFE682:
  4561. 216 .section .text.uart_recv_byte,"ax",%progbits
  4562. 217 .align 1
  4563. 218 .syntax unified
  4564. 219 .code 16
  4565. 220 .thumb_func
  4566. 222 uart_recv_byte:
  4567. 223 .LFB939:
  4568. 224 .file 2 "User/ymodem.c"
  4569. 1:User/ymodem.c **** // ymodem.c —— 稳定工程版
  4570. 2:User/ymodem.c **** #include "ymodem.h"
  4571. 3:User/ymodem.c **** #include "w25qxx.h"
  4572. 4:User/ymodem.c **** #include "main.h"
  4573. 5:User/ymodem.c **** #include <string.h>
  4574. 6:User/ymodem.c **** #include <stdlib.h>
  4575. 7:User/ymodem.c ****
  4576. 8:User/ymodem.c **** /* ================= 协议常量 ================= */
  4577. 9:User/ymodem.c ****
  4578. 10:User/ymodem.c **** #define SOH 0x01
  4579. 11:User/ymodem.c **** #define STX 0x02
  4580. 12:User/ymodem.c **** #define EOT 0x04
  4581. 13:User/ymodem.c **** #define ACK 0x06
  4582. 14:User/ymodem.c **** #define NAK 0x15
  4583. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 80
  4584. 15:User/ymodem.c **** #define CAN 0x18
  4585. 16:User/ymodem.c **** #define CRC_REQ 'C'
  4586. 17:User/ymodem.c ****
  4587. 18:User/ymodem.c **** #define PACKET_128 128
  4588. 19:User/ymodem.c **** #define PACKET_1K 1024
  4589. 20:User/ymodem.c **** #define CRC_SIZE 2
  4590. 21:User/ymodem.c **** #define MAX_ERRORS 30
  4591. 22:User/ymodem.c ****
  4592. 23:User/ymodem.c **** /* ================= 串口配置 ================= */
  4593. 24:User/ymodem.c ****
  4594. 25:User/ymodem.c **** #define YMODEM_USART USART1
  4595. 26:User/ymodem.c **** #define YMODEM_TMO 1000
  4596. 27:User/ymodem.c ****
  4597. 28:User/ymodem.c **** /* ================= UART ================= */
  4598. 29:User/ymodem.c ****
  4599. 30:User/ymodem.c **** static int uart_recv_byte(uint8_t *data, uint32_t timeout_ms)
  4600. 31:User/ymodem.c **** {
  4601. 225 .loc 2 31 1
  4602. 226 .cfi_startproc
  4603. 227 @ args = 0, pretend = 0, frame = 16
  4604. 228 @ frame_needed = 1, uses_anonymous_args = 0
  4605. 229 0000 80B5 push {r7, lr}
  4606. 230 .LCFI12:
  4607. 231 .cfi_def_cfa_offset 8
  4608. 232 .cfi_offset 7, -8
  4609. 233 .cfi_offset 14, -4
  4610. 234 0002 84B0 sub sp, sp, #16
  4611. 235 .LCFI13:
  4612. 236 .cfi_def_cfa_offset 24
  4613. 237 0004 00AF add r7, sp, #0
  4614. 238 .LCFI14:
  4615. 239 .cfi_def_cfa_register 7
  4616. 240 0006 7860 str r0, [r7, #4]
  4617. 241 0008 3960 str r1, [r7]
  4618. 32:User/ymodem.c **** uint32_t start = HAL_GetTick();
  4619. 242 .loc 2 32 22
  4620. 243 000a FFF7FEFF bl HAL_GetTick
  4621. 244 000e 0300 movs r3, r0
  4622. 245 0010 FB60 str r3, [r7, #12]
  4623. 33:User/ymodem.c **** while (!LL_USART_IsActiveFlag_RXNE(YMODEM_USART))
  4624. 246 .loc 2 33 11
  4625. 247 0012 0AE0 b .L13
  4626. 248 .L15:
  4627. 34:User/ymodem.c **** {
  4628. 35:User/ymodem.c **** if ((HAL_GetTick() - start) > timeout_ms)
  4629. 249 .loc 2 35 14
  4630. 250 0014 FFF7FEFF bl HAL_GetTick
  4631. 251 0018 0200 movs r2, r0
  4632. 252 .loc 2 35 28
  4633. 253 001a FB68 ldr r3, [r7, #12]
  4634. 254 001c D31A subs r3, r2, r3
  4635. 255 .loc 2 35 12
  4636. 256 001e 3A68 ldr r2, [r7]
  4637. 257 0020 9A42 cmp r2, r3
  4638. 258 0022 02D2 bcs .L13
  4639. 36:User/ymodem.c **** return -1;
  4640. 259 .loc 2 36 20
  4641. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 81
  4642. 260 0024 0123 movs r3, #1
  4643. 261 0026 5B42 rsbs r3, r3, #0
  4644. 262 0028 0EE0 b .L14
  4645. 263 .L13:
  4646. 33:User/ymodem.c **** while (!LL_USART_IsActiveFlag_RXNE(YMODEM_USART))
  4647. 264 .loc 2 33 13
  4648. 265 002a 094B ldr r3, .L16
  4649. 266 002c 1800 movs r0, r3
  4650. 267 002e FFF7FEFF bl LL_USART_IsActiveFlag_RXNE_RXFNE
  4651. 268 0032 031E subs r3, r0, #0
  4652. 33:User/ymodem.c **** while (!LL_USART_IsActiveFlag_RXNE(YMODEM_USART))
  4653. 269 .loc 2 33 11
  4654. 270 0034 EED0 beq .L15
  4655. 37:User/ymodem.c **** }
  4656. 38:User/ymodem.c **** *data = LL_USART_ReceiveData8(YMODEM_USART);
  4657. 271 .loc 2 38 13
  4658. 272 0036 064B ldr r3, .L16
  4659. 273 0038 1800 movs r0, r3
  4660. 274 003a FFF7FEFF bl LL_USART_ReceiveData8
  4661. 275 003e 0300 movs r3, r0
  4662. 276 0040 1A00 movs r2, r3
  4663. 277 .loc 2 38 11
  4664. 278 0042 7B68 ldr r3, [r7, #4]
  4665. 279 0044 1A70 strb r2, [r3]
  4666. 39:User/ymodem.c **** return 0;
  4667. 280 .loc 2 39 12
  4668. 281 0046 0023 movs r3, #0
  4669. 282 .L14:
  4670. 40:User/ymodem.c **** }
  4671. 283 .loc 2 40 1
  4672. 284 0048 1800 movs r0, r3
  4673. 285 004a BD46 mov sp, r7
  4674. 286 004c 04B0 add sp, sp, #16
  4675. 287 @ sp needed
  4676. 288 004e 80BD pop {r7, pc}
  4677. 289 .L17:
  4678. 290 .align 2
  4679. 291 .L16:
  4680. 292 0050 00380140 .word 1073821696
  4681. 293 .cfi_endproc
  4682. 294 .LFE939:
  4683. 296 .section .text.uart_send_byte,"ax",%progbits
  4684. 297 .align 1
  4685. 298 .syntax unified
  4686. 299 .code 16
  4687. 300 .thumb_func
  4688. 302 uart_send_byte:
  4689. 303 .LFB940:
  4690. 41:User/ymodem.c ****
  4691. 42:User/ymodem.c **** static void uart_send_byte(uint8_t data)
  4692. 43:User/ymodem.c **** {
  4693. 304 .loc 2 43 1
  4694. 305 .cfi_startproc
  4695. 306 @ args = 0, pretend = 0, frame = 8
  4696. 307 @ frame_needed = 1, uses_anonymous_args = 0
  4697. 308 0000 80B5 push {r7, lr}
  4698. 309 .LCFI15:
  4699. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 82
  4700. 310 .cfi_def_cfa_offset 8
  4701. 311 .cfi_offset 7, -8
  4702. 312 .cfi_offset 14, -4
  4703. 313 0002 82B0 sub sp, sp, #8
  4704. 314 .LCFI16:
  4705. 315 .cfi_def_cfa_offset 16
  4706. 316 0004 00AF add r7, sp, #0
  4707. 317 .LCFI17:
  4708. 318 .cfi_def_cfa_register 7
  4709. 319 0006 0200 movs r2, r0
  4710. 320 0008 FB1D adds r3, r7, #7
  4711. 321 000a 1A70 strb r2, [r3]
  4712. 44:User/ymodem.c **** while (!LL_USART_IsActiveFlag_TXE(YMODEM_USART));
  4713. 322 .loc 2 44 11
  4714. 323 000c C046 nop
  4715. 324 .L19:
  4716. 325 .loc 2 44 13 discriminator 1
  4717. 326 000e 084B ldr r3, .L20
  4718. 327 0010 1800 movs r0, r3
  4719. 328 0012 FFF7FEFF bl LL_USART_IsActiveFlag_TXE_TXFNF
  4720. 329 0016 031E subs r3, r0, #0
  4721. 330 .loc 2 44 11 discriminator 1
  4722. 331 0018 F9D0 beq .L19
  4723. 45:User/ymodem.c **** LL_USART_TransmitData8(YMODEM_USART, data);
  4724. 332 .loc 2 45 5
  4725. 333 001a FB1D adds r3, r7, #7
  4726. 334 001c 1B78 ldrb r3, [r3]
  4727. 335 001e 044A ldr r2, .L20
  4728. 336 0020 1900 movs r1, r3
  4729. 337 0022 1000 movs r0, r2
  4730. 338 0024 FFF7FEFF bl LL_USART_TransmitData8
  4731. 46:User/ymodem.c **** }
  4732. 339 .loc 2 46 1
  4733. 340 0028 C046 nop
  4734. 341 002a BD46 mov sp, r7
  4735. 342 002c 02B0 add sp, sp, #8
  4736. 343 @ sp needed
  4737. 344 002e 80BD pop {r7, pc}
  4738. 345 .L21:
  4739. 346 .align 2
  4740. 347 .L20:
  4741. 348 0030 00380140 .word 1073821696
  4742. 349 .cfi_endproc
  4743. 350 .LFE940:
  4744. 352 .section .text.ymodem_send_cancel,"ax",%progbits
  4745. 353 .align 1
  4746. 354 .syntax unified
  4747. 355 .code 16
  4748. 356 .thumb_func
  4749. 358 ymodem_send_cancel:
  4750. 359 .LFB941:
  4751. 47:User/ymodem.c ****
  4752. 48:User/ymodem.c **** static void ymodem_send_cancel(void)
  4753. 49:User/ymodem.c **** {
  4754. 360 .loc 2 49 1
  4755. 361 .cfi_startproc
  4756. 362 @ args = 0, pretend = 0, frame = 0
  4757. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 83
  4758. 363 @ frame_needed = 1, uses_anonymous_args = 0
  4759. 364 0000 80B5 push {r7, lr}
  4760. 365 .LCFI18:
  4761. 366 .cfi_def_cfa_offset 8
  4762. 367 .cfi_offset 7, -8
  4763. 368 .cfi_offset 14, -4
  4764. 369 0002 00AF add r7, sp, #0
  4765. 370 .LCFI19:
  4766. 371 .cfi_def_cfa_register 7
  4767. 50:User/ymodem.c **** uart_send_byte(CAN);
  4768. 372 .loc 2 50 5
  4769. 373 0004 1820 movs r0, #24
  4770. 374 0006 FFF7FEFF bl uart_send_byte
  4771. 51:User/ymodem.c **** uart_send_byte(CAN);
  4772. 375 .loc 2 51 5
  4773. 376 000a 1820 movs r0, #24
  4774. 377 000c FFF7FEFF bl uart_send_byte
  4775. 52:User/ymodem.c **** }
  4776. 378 .loc 2 52 1
  4777. 379 0010 C046 nop
  4778. 380 0012 BD46 mov sp, r7
  4779. 381 @ sp needed
  4780. 382 0014 80BD pop {r7, pc}
  4781. 383 .cfi_endproc
  4782. 384 .LFE941:
  4783. 386 .section .text.crc16_ccitt,"ax",%progbits
  4784. 387 .align 1
  4785. 388 .syntax unified
  4786. 389 .code 16
  4787. 390 .thumb_func
  4788. 392 crc16_ccitt:
  4789. 393 .LFB942:
  4790. 53:User/ymodem.c ****
  4791. 54:User/ymodem.c **** /* ================= CRC16 ================= */
  4792. 55:User/ymodem.c ****
  4793. 56:User/ymodem.c **** static uint16_t crc16_ccitt(const uint8_t *buf, uint32_t len)
  4794. 57:User/ymodem.c **** {
  4795. 394 .loc 2 57 1
  4796. 395 .cfi_startproc
  4797. 396 @ args = 0, pretend = 0, frame = 24
  4798. 397 @ frame_needed = 1, uses_anonymous_args = 0
  4799. 398 0000 80B5 push {r7, lr}
  4800. 399 .LCFI20:
  4801. 400 .cfi_def_cfa_offset 8
  4802. 401 .cfi_offset 7, -8
  4803. 402 .cfi_offset 14, -4
  4804. 403 0002 86B0 sub sp, sp, #24
  4805. 404 .LCFI21:
  4806. 405 .cfi_def_cfa_offset 32
  4807. 406 0004 00AF add r7, sp, #0
  4808. 407 .LCFI22:
  4809. 408 .cfi_def_cfa_register 7
  4810. 409 0006 7860 str r0, [r7, #4]
  4811. 410 0008 3960 str r1, [r7]
  4812. 58:User/ymodem.c **** uint16_t crc = 0;
  4813. 411 .loc 2 58 14
  4814. 412 000a 1623 movs r3, #22
  4815. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 84
  4816. 413 000c FB18 adds r3, r7, r3
  4817. 414 000e 0022 movs r2, #0
  4818. 415 0010 1A80 strh r2, [r3]
  4819. 416 .LBB2:
  4820. 59:User/ymodem.c **** for (uint32_t i = 0; i < len; i++)
  4821. 417 .loc 2 59 19
  4822. 418 0012 0023 movs r3, #0
  4823. 419 0014 3B61 str r3, [r7, #16]
  4824. 420 .loc 2 59 5
  4825. 421 0016 37E0 b .L24
  4826. 422 .L29:
  4827. 60:User/ymodem.c **** {
  4828. 61:User/ymodem.c **** crc ^= (uint16_t)buf[i] << 8;
  4829. 423 .loc 2 61 29
  4830. 424 0018 7A68 ldr r2, [r7, #4]
  4831. 425 001a 3B69 ldr r3, [r7, #16]
  4832. 426 001c D318 adds r3, r2, r3
  4833. 427 001e 1B78 ldrb r3, [r3]
  4834. 428 .loc 2 61 33
  4835. 429 0020 1B02 lsls r3, r3, #8
  4836. 430 .loc 2 61 13
  4837. 431 0022 1AB2 sxth r2, r3
  4838. 432 0024 1621 movs r1, #22
  4839. 433 0026 7B18 adds r3, r7, r1
  4840. 434 0028 0020 movs r0, #0
  4841. 435 002a 1B5E ldrsh r3, [r3, r0]
  4842. 436 002c 5340 eors r3, r2
  4843. 437 002e 1AB2 sxth r2, r3
  4844. 438 0030 7B18 adds r3, r7, r1
  4845. 439 0032 1A80 strh r2, [r3]
  4846. 440 .LBB3:
  4847. 62:User/ymodem.c **** for (uint8_t j = 0; j < 8; j++)
  4848. 441 .loc 2 62 22
  4849. 442 0034 0F23 movs r3, #15
  4850. 443 0036 FB18 adds r3, r7, r3
  4851. 444 0038 0022 movs r2, #0
  4852. 445 003a 1A70 strb r2, [r3]
  4853. 446 .loc 2 62 9
  4854. 447 003c 1CE0 b .L25
  4855. 448 .L28:
  4856. 63:User/ymodem.c **** crc = (crc & 0x8000) ? (crc << 1) ^ 0x1021 : (crc << 1);
  4857. 449 .loc 2 63 34
  4858. 450 003e 1622 movs r2, #22
  4859. 451 0040 BB18 adds r3, r7, r2
  4860. 452 0042 0021 movs r1, #0
  4861. 453 0044 5B5E ldrsh r3, [r3, r1]
  4862. 454 .loc 2 63 17
  4863. 455 0046 002B cmp r3, #0
  4864. 456 0048 08DA bge .L26
  4865. 457 .loc 2 63 41 discriminator 1
  4866. 458 004a BB18 adds r3, r7, r2
  4867. 459 004c 1B88 ldrh r3, [r3]
  4868. 460 004e 5B00 lsls r3, r3, #1
  4869. 461 .loc 2 63 47 discriminator 1
  4870. 462 0050 1BB2 sxth r3, r3
  4871. 463 0052 134A ldr r2, .L31
  4872. 464 0054 5340 eors r3, r2
  4873. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 85
  4874. 465 0056 1BB2 sxth r3, r3
  4875. 466 .loc 2 63 17 discriminator 1
  4876. 467 0058 9BB2 uxth r3, r3
  4877. 468 005a 04E0 b .L27
  4878. 469 .L26:
  4879. 470 .loc 2 63 17 is_stmt 0 discriminator 2
  4880. 471 005c 1623 movs r3, #22
  4881. 472 005e FB18 adds r3, r7, r3
  4882. 473 0060 1B88 ldrh r3, [r3]
  4883. 474 0062 DB18 adds r3, r3, r3
  4884. 475 0064 9BB2 uxth r3, r3
  4885. 476 .L27:
  4886. 477 .loc 2 63 17 discriminator 4
  4887. 478 0066 1622 movs r2, #22
  4888. 479 0068 BA18 adds r2, r7, r2
  4889. 480 006a 1380 strh r3, [r2]
  4890. 62:User/ymodem.c **** for (uint8_t j = 0; j < 8; j++)
  4891. 481 .loc 2 62 37 is_stmt 1 discriminator 4
  4892. 482 006c 0F21 movs r1, #15
  4893. 483 006e 7B18 adds r3, r7, r1
  4894. 484 0070 1A78 ldrb r2, [r3]
  4895. 485 0072 7B18 adds r3, r7, r1
  4896. 486 0074 0132 adds r2, r2, #1
  4897. 487 0076 1A70 strb r2, [r3]
  4898. 488 .L25:
  4899. 62:User/ymodem.c **** for (uint8_t j = 0; j < 8; j++)
  4900. 489 .loc 2 62 9 discriminator 2
  4901. 490 0078 0F23 movs r3, #15
  4902. 491 007a FB18 adds r3, r7, r3
  4903. 492 007c 1B78 ldrb r3, [r3]
  4904. 493 007e 072B cmp r3, #7
  4905. 494 0080 DDD9 bls .L28
  4906. 495 .LBE3:
  4907. 59:User/ymodem.c **** {
  4908. 496 .loc 2 59 36 discriminator 2
  4909. 497 0082 3B69 ldr r3, [r7, #16]
  4910. 498 0084 0133 adds r3, r3, #1
  4911. 499 0086 3B61 str r3, [r7, #16]
  4912. 500 .L24:
  4913. 59:User/ymodem.c **** {
  4914. 501 .loc 2 59 5 discriminator 1
  4915. 502 0088 3A69 ldr r2, [r7, #16]
  4916. 503 008a 3B68 ldr r3, [r7]
  4917. 504 008c 9A42 cmp r2, r3
  4918. 505 008e C3D3 bcc .L29
  4919. 506 .LBE2:
  4920. 64:User/ymodem.c **** }
  4921. 65:User/ymodem.c **** return crc;
  4922. 507 .loc 2 65 12
  4923. 508 0090 1623 movs r3, #22
  4924. 509 0092 FB18 adds r3, r7, r3
  4925. 510 0094 1B88 ldrh r3, [r3]
  4926. 66:User/ymodem.c **** }
  4927. 511 .loc 2 66 1
  4928. 512 0096 1800 movs r0, r3
  4929. 513 0098 BD46 mov sp, r7
  4930. 514 009a 06B0 add sp, sp, #24
  4931. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 86
  4932. 515 @ sp needed
  4933. 516 009c 80BD pop {r7, pc}
  4934. 517 .L32:
  4935. 518 009e C046 .align 2
  4936. 519 .L31:
  4937. 520 00a0 21100000 .word 4129
  4938. 521 .cfi_endproc
  4939. 522 .LFE942:
  4940. 524 .section .text.ymodem_receive_packet,"ax",%progbits
  4941. 525 .align 1
  4942. 526 .syntax unified
  4943. 527 .code 16
  4944. 528 .thumb_func
  4945. 530 ymodem_receive_packet:
  4946. 531 .LFB943:
  4947. 67:User/ymodem.c ****
  4948. 68:User/ymodem.c **** /* ================= 接收一个包 ================= */
  4949. 69:User/ymodem.c **** /* return: 0 OK, 1 EOT, -1 CAN, -2 ERROR */
  4950. 70:User/ymodem.c ****
  4951. 71:User/ymodem.c **** static int ymodem_receive_packet(uint8_t *data,
  4952. 72:User/ymodem.c **** uint32_t *len,
  4953. 73:User/ymodem.c **** uint8_t *pkt_no)
  4954. 74:User/ymodem.c **** {
  4955. 532 .loc 2 74 1
  4956. 533 .cfi_startproc
  4957. 534 @ args = 0, pretend = 0, frame = 32
  4958. 535 @ frame_needed = 1, uses_anonymous_args = 0
  4959. 536 0000 90B5 push {r4, r7, lr}
  4960. 537 .LCFI23:
  4961. 538 .cfi_def_cfa_offset 12
  4962. 539 .cfi_offset 4, -12
  4963. 540 .cfi_offset 7, -8
  4964. 541 .cfi_offset 14, -4
  4965. 542 0002 89B0 sub sp, sp, #36
  4966. 543 .LCFI24:
  4967. 544 .cfi_def_cfa_offset 48
  4968. 545 0004 00AF add r7, sp, #0
  4969. 546 .LCFI25:
  4970. 547 .cfi_def_cfa_register 7
  4971. 548 0006 F860 str r0, [r7, #12]
  4972. 549 0008 B960 str r1, [r7, #8]
  4973. 550 000a 7A60 str r2, [r7, #4]
  4974. 75:User/ymodem.c **** uint8_t c;
  4975. 76:User/ymodem.c **** uint32_t size;
  4976. 77:User/ymodem.c ****
  4977. 78:User/ymodem.c **** if (uart_recv_byte(&c, YMODEM_TMO) != 0)
  4978. 551 .loc 2 78 9
  4979. 552 000c FA23 movs r3, #250
  4980. 553 000e 9A00 lsls r2, r3, #2
  4981. 554 0010 1523 movs r3, #21
  4982. 555 0012 FB18 adds r3, r7, r3
  4983. 556 0014 1100 movs r1, r2
  4984. 557 0016 1800 movs r0, r3
  4985. 558 0018 FFF7FEFF bl uart_recv_byte
  4986. 559 001c 031E subs r3, r0, #0
  4987. 560 .loc 2 78 8
  4988. 561 001e 02D0 beq .L34
  4989. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 87
  4990. 79:User/ymodem.c **** return -2;
  4991. 562 .loc 2 79 16
  4992. 563 0020 0223 movs r3, #2
  4993. 564 0022 5B42 rsbs r3, r3, #0
  4994. 565 0024 9AE0 b .L49
  4995. 566 .L34:
  4996. 80:User/ymodem.c ****
  4997. 81:User/ymodem.c **** if (c == SOH) size = PACKET_128;
  4998. 567 .loc 2 81 11
  4999. 568 0026 1523 movs r3, #21
  5000. 569 0028 FB18 adds r3, r7, r3
  5001. 570 002a 1B78 ldrb r3, [r3]
  5002. 571 .loc 2 81 8
  5003. 572 002c 012B cmp r3, #1
  5004. 573 002e 02D1 bne .L36
  5005. 574 .loc 2 81 24 discriminator 1
  5006. 575 0030 8023 movs r3, #128
  5007. 576 0032 FB61 str r3, [r7, #28]
  5008. 577 0034 29E0 b .L37
  5009. 578 .L36:
  5010. 82:User/ymodem.c **** else if (c == STX) size = PACKET_1K;
  5011. 579 .loc 2 82 16
  5012. 580 0036 1523 movs r3, #21
  5013. 581 0038 FB18 adds r3, r7, r3
  5014. 582 003a 1B78 ldrb r3, [r3]
  5015. 583 .loc 2 82 13
  5016. 584 003c 022B cmp r3, #2
  5017. 585 003e 03D1 bne .L38
  5018. 586 .loc 2 82 29 discriminator 1
  5019. 587 0040 8023 movs r3, #128
  5020. 588 0042 DB00 lsls r3, r3, #3
  5021. 589 0044 FB61 str r3, [r7, #28]
  5022. 590 0046 20E0 b .L37
  5023. 591 .L38:
  5024. 83:User/ymodem.c **** else if (c == EOT) return 1;
  5025. 592 .loc 2 83 16
  5026. 593 0048 1523 movs r3, #21
  5027. 594 004a FB18 adds r3, r7, r3
  5028. 595 004c 1B78 ldrb r3, [r3]
  5029. 596 .loc 2 83 13
  5030. 597 004e 042B cmp r3, #4
  5031. 598 0050 01D1 bne .L39
  5032. 599 .loc 2 83 31 discriminator 1
  5033. 600 0052 0123 movs r3, #1
  5034. 601 0054 82E0 b .L49
  5035. 602 .L39:
  5036. 84:User/ymodem.c **** else if (c == CAN)
  5037. 603 .loc 2 84 16
  5038. 604 0056 1521 movs r1, #21
  5039. 605 0058 7B18 adds r3, r7, r1
  5040. 606 005a 1B78 ldrb r3, [r3]
  5041. 607 .loc 2 84 13
  5042. 608 005c 182B cmp r3, #24
  5043. 609 005e 11D1 bne .L40
  5044. 85:User/ymodem.c **** {
  5045. 86:User/ymodem.c **** uart_recv_byte(&c, YMODEM_TMO);
  5046. 610 .loc 2 86 9
  5047. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 88
  5048. 611 0060 FA23 movs r3, #250
  5049. 612 0062 9A00 lsls r2, r3, #2
  5050. 613 0064 0C00 movs r4, r1
  5051. 614 0066 7B18 adds r3, r7, r1
  5052. 615 0068 1100 movs r1, r2
  5053. 616 006a 1800 movs r0, r3
  5054. 617 006c FFF7FEFF bl uart_recv_byte
  5055. 87:User/ymodem.c **** if (c == CAN) return -1;
  5056. 618 .loc 2 87 15
  5057. 619 0070 3B19 adds r3, r7, r4
  5058. 620 0072 1B78 ldrb r3, [r3]
  5059. 621 .loc 2 87 12
  5060. 622 0074 182B cmp r3, #24
  5061. 623 0076 02D1 bne .L41
  5062. 624 .loc 2 87 30 discriminator 1
  5063. 625 0078 0123 movs r3, #1
  5064. 626 007a 5B42 rsbs r3, r3, #0
  5065. 627 007c 6EE0 b .L49
  5066. 628 .L41:
  5067. 88:User/ymodem.c **** return -2;
  5068. 629 .loc 2 88 16
  5069. 630 007e 0223 movs r3, #2
  5070. 631 0080 5B42 rsbs r3, r3, #0
  5071. 632 0082 6BE0 b .L49
  5072. 633 .L40:
  5073. 89:User/ymodem.c **** }
  5074. 90:User/ymodem.c **** else return -2;
  5075. 634 .loc 2 90 17
  5076. 635 0084 0223 movs r3, #2
  5077. 636 0086 5B42 rsbs r3, r3, #0
  5078. 637 0088 68E0 b .L49
  5079. 638 .L37:
  5080. 91:User/ymodem.c ****
  5081. 92:User/ymodem.c **** uint8_t no, no_inv;
  5082. 93:User/ymodem.c **** if (uart_recv_byte(&no, YMODEM_TMO) != 0) return -2;
  5083. 639 .loc 2 93 9
  5084. 640 008a FA23 movs r3, #250
  5085. 641 008c 9A00 lsls r2, r3, #2
  5086. 642 008e 1423 movs r3, #20
  5087. 643 0090 FB18 adds r3, r7, r3
  5088. 644 0092 1100 movs r1, r2
  5089. 645 0094 1800 movs r0, r3
  5090. 646 0096 FFF7FEFF bl uart_recv_byte
  5091. 647 009a 031E subs r3, r0, #0
  5092. 648 .loc 2 93 8
  5093. 649 009c 02D0 beq .L42
  5094. 650 .loc 2 93 54 discriminator 1
  5095. 651 009e 0223 movs r3, #2
  5096. 652 00a0 5B42 rsbs r3, r3, #0
  5097. 653 00a2 5BE0 b .L49
  5098. 654 .L42:
  5099. 94:User/ymodem.c **** if (uart_recv_byte(&no_inv, YMODEM_TMO) != 0) return -2;
  5100. 655 .loc 2 94 9
  5101. 656 00a4 FA23 movs r3, #250
  5102. 657 00a6 9A00 lsls r2, r3, #2
  5103. 658 00a8 1323 movs r3, #19
  5104. 659 00aa FB18 adds r3, r7, r3
  5105. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 89
  5106. 660 00ac 1100 movs r1, r2
  5107. 661 00ae 1800 movs r0, r3
  5108. 662 00b0 FFF7FEFF bl uart_recv_byte
  5109. 663 00b4 031E subs r3, r0, #0
  5110. 664 .loc 2 94 8
  5111. 665 00b6 02D0 beq .L43
  5112. 666 .loc 2 94 58 discriminator 1
  5113. 667 00b8 0223 movs r3, #2
  5114. 668 00ba 5B42 rsbs r3, r3, #0
  5115. 669 00bc 4EE0 b .L49
  5116. 670 .L43:
  5117. 95:User/ymodem.c **** if ((no ^ no_inv) != 0xFF) return -2;
  5118. 671 .loc 2 95 23
  5119. 672 00be 1423 movs r3, #20
  5120. 673 00c0 FB18 adds r3, r7, r3
  5121. 674 00c2 1A78 ldrb r2, [r3]
  5122. 675 00c4 1323 movs r3, #19
  5123. 676 00c6 FB18 adds r3, r7, r3
  5124. 677 00c8 1B78 ldrb r3, [r3]
  5125. 678 00ca 5340 eors r3, r2
  5126. 679 00cc DBB2 uxtb r3, r3
  5127. 680 .loc 2 95 8
  5128. 681 00ce FF2B cmp r3, #255
  5129. 682 00d0 02D0 beq .L44
  5130. 683 .loc 2 95 39 discriminator 1
  5131. 684 00d2 0223 movs r3, #2
  5132. 685 00d4 5B42 rsbs r3, r3, #0
  5133. 686 00d6 41E0 b .L49
  5134. 687 .L44:
  5135. 688 .LBB4:
  5136. 96:User/ymodem.c ****
  5137. 97:User/ymodem.c **** for (uint32_t i = 0; i < size + CRC_SIZE; i++)
  5138. 689 .loc 2 97 19
  5139. 690 00d8 0023 movs r3, #0
  5140. 691 00da BB61 str r3, [r7, #24]
  5141. 692 .loc 2 97 5
  5142. 693 00dc 10E0 b .L45
  5143. 694 .L47:
  5144. 98:User/ymodem.c **** if (uart_recv_byte(&data[i], YMODEM_TMO) != 0)
  5145. 695 .loc 2 98 13
  5146. 696 00de FA68 ldr r2, [r7, #12]
  5147. 697 00e0 BB69 ldr r3, [r7, #24]
  5148. 698 00e2 D318 adds r3, r2, r3
  5149. 699 00e4 FA22 movs r2, #250
  5150. 700 00e6 9200 lsls r2, r2, #2
  5151. 701 00e8 1100 movs r1, r2
  5152. 702 00ea 1800 movs r0, r3
  5153. 703 00ec FFF7FEFF bl uart_recv_byte
  5154. 704 00f0 031E subs r3, r0, #0
  5155. 705 .loc 2 98 12
  5156. 706 00f2 02D0 beq .L46
  5157. 99:User/ymodem.c **** return -2;
  5158. 707 .loc 2 99 20
  5159. 708 00f4 0223 movs r3, #2
  5160. 709 00f6 5B42 rsbs r3, r3, #0
  5161. 710 00f8 30E0 b .L49
  5162. 711 .L46:
  5163. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 90
  5164. 97:User/ymodem.c **** if (uart_recv_byte(&data[i], YMODEM_TMO) != 0)
  5165. 712 .loc 2 97 48 discriminator 2
  5166. 713 00fa BB69 ldr r3, [r7, #24]
  5167. 714 00fc 0133 adds r3, r3, #1
  5168. 715 00fe BB61 str r3, [r7, #24]
  5169. 716 .L45:
  5170. 97:User/ymodem.c **** if (uart_recv_byte(&data[i], YMODEM_TMO) != 0)
  5171. 717 .loc 2 97 35 discriminator 1
  5172. 718 0100 FB69 ldr r3, [r7, #28]
  5173. 719 0102 0233 adds r3, r3, #2
  5174. 97:User/ymodem.c **** if (uart_recv_byte(&data[i], YMODEM_TMO) != 0)
  5175. 720 .loc 2 97 5 discriminator 1
  5176. 721 0104 BA69 ldr r2, [r7, #24]
  5177. 722 0106 9A42 cmp r2, r3
  5178. 723 0108 E9D3 bcc .L47
  5179. 724 .LBE4:
  5180. 100:User/ymodem.c ****
  5181. 101:User/ymodem.c **** uint16_t crc_rx = (data[size] << 8) | data[size + 1];
  5182. 725 .loc 2 101 28
  5183. 726 010a FA68 ldr r2, [r7, #12]
  5184. 727 010c FB69 ldr r3, [r7, #28]
  5185. 728 010e D318 adds r3, r2, r3
  5186. 729 0110 1B78 ldrb r3, [r3]
  5187. 730 .loc 2 101 35
  5188. 731 0112 1B02 lsls r3, r3, #8
  5189. 732 .loc 2 101 41
  5190. 733 0114 1AB2 sxth r2, r3
  5191. 734 .loc 2 101 47
  5192. 735 0116 FB69 ldr r3, [r7, #28]
  5193. 736 0118 0133 adds r3, r3, #1
  5194. 737 011a F968 ldr r1, [r7, #12]
  5195. 738 011c CB18 adds r3, r1, r3
  5196. 739 011e 1B78 ldrb r3, [r3]
  5197. 740 0120 1BB2 sxth r3, r3
  5198. 741 .loc 2 101 41
  5199. 742 0122 1343 orrs r3, r2
  5200. 743 0124 1AB2 sxth r2, r3
  5201. 744 .loc 2 101 14
  5202. 745 0126 1624 movs r4, #22
  5203. 746 0128 3B19 adds r3, r7, r4
  5204. 747 012a 1A80 strh r2, [r3]
  5205. 102:User/ymodem.c **** if (crc_rx != crc16_ccitt(data, size))
  5206. 748 .loc 2 102 19
  5207. 749 012c FA69 ldr r2, [r7, #28]
  5208. 750 012e FB68 ldr r3, [r7, #12]
  5209. 751 0130 1100 movs r1, r2
  5210. 752 0132 1800 movs r0, r3
  5211. 753 0134 FFF7FEFF bl crc16_ccitt
  5212. 754 0138 0300 movs r3, r0
  5213. 755 013a 1A00 movs r2, r3
  5214. 756 .loc 2 102 8
  5215. 757 013c 3B19 adds r3, r7, r4
  5216. 758 013e 1B88 ldrh r3, [r3]
  5217. 759 0140 9342 cmp r3, r2
  5218. 760 0142 02D0 beq .L48
  5219. 103:User/ymodem.c **** return -2;
  5220. 761 .loc 2 103 16
  5221. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 91
  5222. 762 0144 0223 movs r3, #2
  5223. 763 0146 5B42 rsbs r3, r3, #0
  5224. 764 0148 08E0 b .L49
  5225. 765 .L48:
  5226. 104:User/ymodem.c ****
  5227. 105:User/ymodem.c **** *pkt_no = no;
  5228. 766 .loc 2 105 13
  5229. 767 014a 1423 movs r3, #20
  5230. 768 014c FB18 adds r3, r7, r3
  5231. 769 014e 1A78 ldrb r2, [r3]
  5232. 770 0150 7B68 ldr r3, [r7, #4]
  5233. 771 0152 1A70 strb r2, [r3]
  5234. 106:User/ymodem.c **** *len = size;
  5235. 772 .loc 2 106 13
  5236. 773 0154 BB68 ldr r3, [r7, #8]
  5237. 774 0156 FA69 ldr r2, [r7, #28]
  5238. 775 0158 1A60 str r2, [r3]
  5239. 107:User/ymodem.c **** return 0;
  5240. 776 .loc 2 107 12
  5241. 777 015a 0023 movs r3, #0
  5242. 778 .L49:
  5243. 108:User/ymodem.c **** }
  5244. 779 .loc 2 108 1 discriminator 1
  5245. 780 015c 1800 movs r0, r3
  5246. 781 015e BD46 mov sp, r7
  5247. 782 0160 09B0 add sp, sp, #36
  5248. 783 @ sp needed
  5249. 784 0162 90BD pop {r4, r7, pc}
  5250. 785 .cfi_endproc
  5251. 786 .LFE943:
  5252. 788 .global __aeabi_uidiv
  5253. 789 .global __aeabi_uidivmod
  5254. 790 .section .text.flash_write,"ax",%progbits
  5255. 791 .align 1
  5256. 792 .syntax unified
  5257. 793 .code 16
  5258. 794 .thumb_func
  5259. 796 flash_write:
  5260. 797 .LFB944:
  5261. 109:User/ymodem.c ****
  5262. 110:User/ymodem.c **** /* ================= Flash 写 ================= */
  5263. 111:User/ymodem.c ****
  5264. 112:User/ymodem.c **** static void flash_write(uint32_t addr, const uint8_t *buf, uint32_t len)
  5265. 113:User/ymodem.c **** {
  5266. 798 .loc 2 113 1
  5267. 799 .cfi_startproc
  5268. 800 @ args = 0, pretend = 0, frame = 32
  5269. 801 @ frame_needed = 1, uses_anonymous_args = 0
  5270. 802 0000 80B5 push {r7, lr}
  5271. 803 .LCFI26:
  5272. 804 .cfi_def_cfa_offset 8
  5273. 805 .cfi_offset 7, -8
  5274. 806 .cfi_offset 14, -4
  5275. 807 0002 88B0 sub sp, sp, #32
  5276. 808 .LCFI27:
  5277. 809 .cfi_def_cfa_offset 40
  5278. 810 0004 00AF add r7, sp, #0
  5279. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 92
  5280. 811 .LCFI28:
  5281. 812 .cfi_def_cfa_register 7
  5282. 813 0006 F860 str r0, [r7, #12]
  5283. 814 0008 B960 str r1, [r7, #8]
  5284. 815 000a 7A60 str r2, [r7, #4]
  5285. 114:User/ymodem.c **** while (len)
  5286. 816 .loc 2 114 11
  5287. 817 000c 2FE0 b .L51
  5288. 818 .L53:
  5289. 819 .LBB5:
  5290. 115:User/ymodem.c **** {
  5291. 116:User/ymodem.c **** uint32_t page = addr / w25qxx.PageSize;
  5292. 820 .loc 2 116 40
  5293. 821 000e 1C4B ldr r3, .L54
  5294. 822 0010 5B89 ldrh r3, [r3, #10]
  5295. 823 .loc 2 116 18
  5296. 824 0012 1900 movs r1, r3
  5297. 825 0014 F868 ldr r0, [r7, #12]
  5298. 826 0016 FFF7FEFF bl __aeabi_uidiv
  5299. 827 001a 0300 movs r3, r0
  5300. 828 001c BB61 str r3, [r7, #24]
  5301. 117:User/ymodem.c **** uint32_t offset = addr % w25qxx.PageSize;
  5302. 829 .loc 2 117 40
  5303. 830 001e 184B ldr r3, .L54
  5304. 831 0020 5B89 ldrh r3, [r3, #10]
  5305. 832 0022 1A00 movs r2, r3
  5306. 833 .loc 2 117 18
  5307. 834 0024 FB68 ldr r3, [r7, #12]
  5308. 835 0026 1100 movs r1, r2
  5309. 836 0028 1800 movs r0, r3
  5310. 837 002a FFF7FEFF bl __aeabi_uidivmod
  5311. 838 002e 0B00 movs r3, r1
  5312. 839 0030 7B61 str r3, [r7, #20]
  5313. 118:User/ymodem.c **** uint32_t chunk = w25qxx.PageSize - offset;
  5314. 840 .loc 2 118 33
  5315. 841 0032 134B ldr r3, .L54
  5316. 842 0034 5B89 ldrh r3, [r3, #10]
  5317. 843 0036 1A00 movs r2, r3
  5318. 844 .loc 2 118 18
  5319. 845 0038 7B69 ldr r3, [r7, #20]
  5320. 846 003a D31A subs r3, r2, r3
  5321. 847 003c FB61 str r3, [r7, #28]
  5322. 119:User/ymodem.c **** if (chunk > len) chunk = len;
  5323. 848 .loc 2 119 12
  5324. 849 003e FA69 ldr r2, [r7, #28]
  5325. 850 0040 7B68 ldr r3, [r7, #4]
  5326. 851 0042 9A42 cmp r2, r3
  5327. 852 0044 01D9 bls .L52
  5328. 853 .loc 2 119 32 discriminator 1
  5329. 854 0046 7B68 ldr r3, [r7, #4]
  5330. 855 0048 FB61 str r3, [r7, #28]
  5331. 856 .L52:
  5332. 120:User/ymodem.c ****
  5333. 121:User/ymodem.c **** W25qxx_WritePage((uint8_t *)buf, page, offset, chunk);
  5334. 857 .loc 2 121 9
  5335. 858 004a FB69 ldr r3, [r7, #28]
  5336. 859 004c 7A69 ldr r2, [r7, #20]
  5337. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 93
  5338. 860 004e B969 ldr r1, [r7, #24]
  5339. 861 0050 B868 ldr r0, [r7, #8]
  5340. 862 0052 FFF7FEFF bl W25qxx_WritePage
  5341. 122:User/ymodem.c **** addr += chunk;
  5342. 863 .loc 2 122 14
  5343. 864 0056 FA68 ldr r2, [r7, #12]
  5344. 865 0058 FB69 ldr r3, [r7, #28]
  5345. 866 005a D318 adds r3, r2, r3
  5346. 867 005c FB60 str r3, [r7, #12]
  5347. 123:User/ymodem.c **** buf += chunk;
  5348. 868 .loc 2 123 14
  5349. 869 005e BA68 ldr r2, [r7, #8]
  5350. 870 0060 FB69 ldr r3, [r7, #28]
  5351. 871 0062 D318 adds r3, r2, r3
  5352. 872 0064 BB60 str r3, [r7, #8]
  5353. 124:User/ymodem.c **** len -= chunk;
  5354. 873 .loc 2 124 14
  5355. 874 0066 7A68 ldr r2, [r7, #4]
  5356. 875 0068 FB69 ldr r3, [r7, #28]
  5357. 876 006a D31A subs r3, r2, r3
  5358. 877 006c 7B60 str r3, [r7, #4]
  5359. 878 .L51:
  5360. 879 .LBE5:
  5361. 114:User/ymodem.c **** {
  5362. 880 .loc 2 114 11
  5363. 881 006e 7B68 ldr r3, [r7, #4]
  5364. 882 0070 002B cmp r3, #0
  5365. 883 0072 CCD1 bne .L53
  5366. 125:User/ymodem.c **** }
  5367. 126:User/ymodem.c **** }
  5368. 884 .loc 2 126 1
  5369. 885 0074 C046 nop
  5370. 886 0076 C046 nop
  5371. 887 0078 BD46 mov sp, r7
  5372. 888 007a 08B0 add sp, sp, #32
  5373. 889 @ sp needed
  5374. 890 007c 80BD pop {r7, pc}
  5375. 891 .L55:
  5376. 892 007e C046 .align 2
  5377. 893 .L54:
  5378. 894 0080 00000000 .word w25qxx
  5379. 895 .cfi_endproc
  5380. 896 .LFE944:
  5381. 898 .section .text.Ymodem_ReceiveToW25Qxx,"ax",%progbits
  5382. 899 .align 1
  5383. 900 .global Ymodem_ReceiveToW25Qxx
  5384. 901 .syntax unified
  5385. 902 .code 16
  5386. 903 .thumb_func
  5387. 905 Ymodem_ReceiveToW25Qxx:
  5388. 906 .LFB945:
  5389. 127:User/ymodem.c ****
  5390. 128:User/ymodem.c **** /* ================= 主接口 ================= */
  5391. 129:User/ymodem.c ****
  5392. 130:User/ymodem.c **** int32_t Ymodem_ReceiveToW25Qxx(uint32_t flashAddr,
  5393. 131:User/ymodem.c **** uint32_t flashMax,
  5394. 132:User/ymodem.c **** uint32_t *recvSize)
  5395. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 94
  5396. 133:User/ymodem.c **** {
  5397. 907 .loc 2 133 1
  5398. 908 .cfi_startproc
  5399. 909 @ args = 0, pretend = 0, frame = 1096
  5400. 910 @ frame_needed = 1, uses_anonymous_args = 0
  5401. 911 0000 B0B5 push {r4, r5, r7, lr}
  5402. 912 .LCFI29:
  5403. 913 .cfi_def_cfa_offset 16
  5404. 914 .cfi_offset 4, -16
  5405. 915 .cfi_offset 5, -12
  5406. 916 .cfi_offset 7, -8
  5407. 917 .cfi_offset 14, -4
  5408. 918 0002 AB4C ldr r4, .L77
  5409. 919 0004 A544 add sp, sp, r4
  5410. 920 .LCFI30:
  5411. 921 .cfi_def_cfa_offset 1112
  5412. 922 0006 00AF add r7, sp, #0
  5413. 923 .LCFI31:
  5414. 924 .cfi_def_cfa_register 7
  5415. 925 0008 F860 str r0, [r7, #12]
  5416. 926 000a B960 str r1, [r7, #8]
  5417. 927 000c 7A60 str r2, [r7, #4]
  5418. 134:User/ymodem.c **** uint8_t packet[PACKET_1K + CRC_SIZE];
  5419. 135:User/ymodem.c **** uint32_t pktLen, total = 0, fileSize = 0;
  5420. 928 .loc 2 135 22
  5421. 929 000e 0023 movs r3, #0
  5422. 930 0010 A84A ldr r2, .L77+4
  5423. 931 0012 BA18 adds r2, r7, r2
  5424. 932 0014 1360 str r3, [r2]
  5425. 933 .loc 2 135 33
  5426. 934 0016 0023 movs r3, #0
  5427. 935 0018 8622 movs r2, #134
  5428. 936 001a D200 lsls r2, r2, #3
  5429. 937 001c BA18 adds r2, r7, r2
  5430. 938 001e 1360 str r3, [r2]
  5431. 136:User/ymodem.c **** uint8_t pktNo, expect = 0;
  5432. 939 .loc 2 136 21
  5433. 940 0020 A54B ldr r3, .L77+8
  5434. 941 0022 FB18 adds r3, r7, r3
  5435. 942 0024 0022 movs r2, #0
  5436. 943 0026 1A70 strb r2, [r3]
  5437. 137:User/ymodem.c **** uint32_t err = 0;
  5438. 944 .loc 2 137 14
  5439. 945 0028 0023 movs r3, #0
  5440. 946 002a A44A ldr r2, .L77+12
  5441. 947 002c BA18 adds r2, r7, r2
  5442. 948 002e 1360 str r3, [r2]
  5443. 138:User/ymodem.c ****
  5444. 139:User/ymodem.c **** *recvSize = 0;
  5445. 949 .loc 2 139 15
  5446. 950 0030 7B68 ldr r3, [r7, #4]
  5447. 951 0032 0022 movs r2, #0
  5448. 952 0034 1A60 str r2, [r3]
  5449. 953 .L66:
  5450. 954 .LBB6:
  5451. 140:User/ymodem.c ****
  5452. 141:User/ymodem.c **** /* ---- 包 0 ---- */
  5453. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 95
  5454. 142:User/ymodem.c **** while (1)
  5455. 143:User/ymodem.c **** {
  5456. 144:User/ymodem.c **** uart_send_byte(CRC_REQ);
  5457. 955 .loc 2 144 9
  5458. 956 0036 4320 movs r0, #67
  5459. 957 0038 FFF7FEFF bl uart_send_byte
  5460. 145:User/ymodem.c ****
  5461. 146:User/ymodem.c **** int r = ymodem_receive_packet(packet, &pktLen, &pktNo);
  5462. 958 .loc 2 146 17
  5463. 959 003c 1323 movs r3, #19
  5464. 960 003e FA18 adds r2, r7, r3
  5465. 961 0040 1423 movs r3, #20
  5466. 962 0042 F918 adds r1, r7, r3
  5467. 963 0044 1823 movs r3, #24
  5468. 964 0046 FB18 adds r3, r7, r3
  5469. 965 0048 1800 movs r0, r3
  5470. 966 004a FFF7FEFF bl ymodem_receive_packet
  5471. 967 004e 0300 movs r3, r0
  5472. 968 0050 9B4A ldr r2, .L77+16
  5473. 969 0052 B918 adds r1, r7, r2
  5474. 970 0054 0B60 str r3, [r1]
  5475. 147:User/ymodem.c **** if (r == 0 && pktNo == 0)
  5476. 971 .loc 2 147 12
  5477. 972 0056 BB18 adds r3, r7, r2
  5478. 973 0058 1B68 ldr r3, [r3]
  5479. 974 005a 002B cmp r3, #0
  5480. 975 005c 00D0 beq .LCB817
  5481. 976 005e 86E0 b .L57 @long jump
  5482. 977 .LCB817:
  5483. 978 .loc 2 147 29 discriminator 1
  5484. 979 0060 984B ldr r3, .L77+20
  5485. 980 0062 8922 movs r2, #137
  5486. 981 0064 D200 lsls r2, r2, #3
  5487. 982 0066 9B18 adds r3, r3, r2
  5488. 983 0068 DB19 adds r3, r3, r7
  5489. 984 006a 1B78 ldrb r3, [r3]
  5490. 985 .loc 2 147 20 discriminator 1
  5491. 986 006c 002B cmp r3, #0
  5492. 987 006e 00D0 beq .LCB825
  5493. 988 0070 7DE0 b .L57 @long jump
  5494. 989 .LCB825:
  5495. 990 .LBB7:
  5496. 148:User/ymodem.c **** {
  5497. 149:User/ymodem.c **** if (packet[0] == 0)
  5498. 991 .loc 2 149 23
  5499. 992 0072 954B ldr r3, .L77+24
  5500. 993 0074 9B18 adds r3, r3, r2
  5501. 994 0076 DB19 adds r3, r3, r7
  5502. 995 0078 1B78 ldrb r3, [r3]
  5503. 996 .loc 2 149 16
  5504. 997 007a 002B cmp r3, #0
  5505. 998 007c 05D1 bne .L58
  5506. 150:User/ymodem.c **** {
  5507. 151:User/ymodem.c **** uart_send_byte(ACK);
  5508. 999 .loc 2 151 17
  5509. 1000 007e 0620 movs r0, #6
  5510. 1001 0080 FFF7FEFF bl uart_send_byte
  5511. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 96
  5512. 152:User/ymodem.c **** return -2;
  5513. 1002 .loc 2 152 24
  5514. 1003 0084 0223 movs r3, #2
  5515. 1004 0086 5B42 rsbs r3, r3, #0
  5516. 1005 0088 0CE1 b .L76
  5517. 1006 .L58:
  5518. 153:User/ymodem.c **** }
  5519. 154:User/ymodem.c ****
  5520. 155:User/ymodem.c **** char *name = (char *)packet;
  5521. 1007 .loc 2 155 19
  5522. 1008 008a 1823 movs r3, #24
  5523. 1009 008c FB18 adds r3, r7, r3
  5524. 1010 008e 8524 movs r4, #133
  5525. 1011 0090 E400 lsls r4, r4, #3
  5526. 1012 0092 3A19 adds r2, r7, r4
  5527. 1013 0094 1360 str r3, [r2]
  5528. 156:User/ymodem.c **** char *size = name + strlen(name) + 1;
  5529. 1014 .loc 2 156 33
  5530. 1015 0096 3B19 adds r3, r7, r4
  5531. 1016 0098 1B68 ldr r3, [r3]
  5532. 1017 009a 1800 movs r0, r3
  5533. 1018 009c FFF7FEFF bl strlen
  5534. 1019 00a0 0300 movs r3, r0
  5535. 1020 .loc 2 156 46
  5536. 1021 00a2 0133 adds r3, r3, #1
  5537. 1022 .loc 2 156 19
  5538. 1023 00a4 3A19 adds r2, r7, r4
  5539. 1024 00a6 1268 ldr r2, [r2]
  5540. 1025 00a8 D318 adds r3, r2, r3
  5541. 1026 00aa 884A ldr r2, .L77+28
  5542. 1027 00ac B918 adds r1, r7, r2
  5543. 1028 00ae 0B60 str r3, [r1]
  5544. 157:User/ymodem.c **** fileSize = strtoul(size, NULL, 10);
  5545. 1029 .loc 2 157 24
  5546. 1030 00b0 BB18 adds r3, r7, r2
  5547. 1031 00b2 1B68 ldr r3, [r3]
  5548. 1032 00b4 0A22 movs r2, #10
  5549. 1033 00b6 0021 movs r1, #0
  5550. 1034 00b8 1800 movs r0, r3
  5551. 1035 00ba FFF7FEFF bl strtoul
  5552. 1036 00be 0300 movs r3, r0
  5553. 1037 00c0 8622 movs r2, #134
  5554. 1038 00c2 D200 lsls r2, r2, #3
  5555. 1039 00c4 B918 adds r1, r7, r2
  5556. 1040 00c6 0B60 str r3, [r1]
  5557. 158:User/ymodem.c ****
  5558. 159:User/ymodem.c **** if (fileSize == 0 || fileSize > flashMax)
  5559. 1041 .loc 2 159 16
  5560. 1042 00c8 BB18 adds r3, r7, r2
  5561. 1043 00ca 1B68 ldr r3, [r3]
  5562. 1044 00cc 002B cmp r3, #0
  5563. 1045 00ce 04D0 beq .L60
  5564. 1046 .loc 2 159 31 discriminator 1
  5565. 1047 00d0 BB18 adds r3, r7, r2
  5566. 1048 00d2 1A68 ldr r2, [r3]
  5567. 1049 00d4 BB68 ldr r3, [r7, #8]
  5568. 1050 00d6 9A42 cmp r2, r3
  5569. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 97
  5570. 1051 00d8 04D9 bls .L61
  5571. 1052 .L60:
  5572. 160:User/ymodem.c **** {
  5573. 161:User/ymodem.c **** ymodem_send_cancel();
  5574. 1053 .loc 2 161 17
  5575. 1054 00da FFF7FEFF bl ymodem_send_cancel
  5576. 162:User/ymodem.c **** return -3;
  5577. 1055 .loc 2 162 24
  5578. 1056 00de 0323 movs r3, #3
  5579. 1057 00e0 5B42 rsbs r3, r3, #0
  5580. 1058 00e2 DFE0 b .L76
  5581. 1059 .L61:
  5582. 163:User/ymodem.c **** }
  5583. 164:User/ymodem.c ****
  5584. 165:User/ymodem.c **** uint32_t end = flashAddr + fileSize - 1;
  5585. 1060 .loc 2 165 38
  5586. 1061 00e4 FA68 ldr r2, [r7, #12]
  5587. 1062 00e6 8623 movs r3, #134
  5588. 1063 00e8 DB00 lsls r3, r3, #3
  5589. 1064 00ea FB18 adds r3, r7, r3
  5590. 1065 00ec 1B68 ldr r3, [r3]
  5591. 1066 00ee D318 adds r3, r2, r3
  5592. 1067 .loc 2 165 22
  5593. 1068 00f0 013B subs r3, r3, #1
  5594. 1069 00f2 8422 movs r2, #132
  5595. 1070 00f4 D200 lsls r2, r2, #3
  5596. 1071 00f6 BA18 adds r2, r7, r2
  5597. 1072 00f8 1360 str r3, [r2]
  5598. 1073 .LBB8:
  5599. 166:User/ymodem.c **** for (uint32_t s = flashAddr / w25qxx.SectorSize;
  5600. 1074 .loc 2 166 49
  5601. 1075 00fa 754B ldr r3, .L77+32
  5602. 1076 00fc 1B69 ldr r3, [r3, #16]
  5603. 1077 .loc 2 166 27
  5604. 1078 00fe 1900 movs r1, r3
  5605. 1079 0100 F868 ldr r0, [r7, #12]
  5606. 1080 0102 FFF7FEFF bl __aeabi_uidiv
  5607. 1081 0106 0300 movs r3, r0
  5608. 1082 0108 8722 movs r2, #135
  5609. 1083 010a D200 lsls r2, r2, #3
  5610. 1084 010c BA18 adds r2, r7, r2
  5611. 1085 010e 1360 str r3, [r2]
  5612. 1086 .loc 2 166 13
  5613. 1087 0110 0CE0 b .L62
  5614. 1088 .L63:
  5615. 167:User/ymodem.c **** s <= end / w25qxx.SectorSize; s++)
  5616. 168:User/ymodem.c **** W25qxx_EraseSector(s);
  5617. 1089 .loc 2 168 17 discriminator 1
  5618. 1090 0112 8724 movs r4, #135
  5619. 1091 0114 E400 lsls r4, r4, #3
  5620. 1092 0116 3B19 adds r3, r7, r4
  5621. 1093 0118 1B68 ldr r3, [r3]
  5622. 1094 011a 1800 movs r0, r3
  5623. 1095 011c FFF7FEFF bl W25qxx_EraseSector
  5624. 167:User/ymodem.c **** s <= end / w25qxx.SectorSize; s++)
  5625. 1096 .loc 2 167 49 discriminator 1
  5626. 1097 0120 2200 movs r2, r4
  5627. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 98
  5628. 1098 0122 BB18 adds r3, r7, r2
  5629. 1099 0124 1B68 ldr r3, [r3]
  5630. 1100 0126 0133 adds r3, r3, #1
  5631. 1101 0128 BA18 adds r2, r7, r2
  5632. 1102 012a 1360 str r3, [r2]
  5633. 1103 .L62:
  5634. 167:User/ymodem.c **** s <= end / w25qxx.SectorSize; s++)
  5635. 1104 .loc 2 167 35 discriminator 1
  5636. 1105 012c 684B ldr r3, .L77+32
  5637. 1106 012e 1B69 ldr r3, [r3, #16]
  5638. 167:User/ymodem.c **** s <= end / w25qxx.SectorSize; s++)
  5639. 1107 .loc 2 167 27 discriminator 1
  5640. 1108 0130 1900 movs r1, r3
  5641. 1109 0132 8423 movs r3, #132
  5642. 1110 0134 DB00 lsls r3, r3, #3
  5643. 1111 0136 FB18 adds r3, r7, r3
  5644. 1112 0138 1868 ldr r0, [r3]
  5645. 1113 013a FFF7FEFF bl __aeabi_uidiv
  5646. 1114 013e 0300 movs r3, r0
  5647. 1115 0140 1A00 movs r2, r3
  5648. 166:User/ymodem.c **** for (uint32_t s = flashAddr / w25qxx.SectorSize;
  5649. 1116 .loc 2 166 13 discriminator 1
  5650. 1117 0142 8723 movs r3, #135
  5651. 1118 0144 DB00 lsls r3, r3, #3
  5652. 1119 0146 FB18 adds r3, r7, r3
  5653. 1120 0148 1B68 ldr r3, [r3]
  5654. 1121 014a 9342 cmp r3, r2
  5655. 1122 014c E1D9 bls .L63
  5656. 1123 .LBE8:
  5657. 169:User/ymodem.c ****
  5658. 170:User/ymodem.c **** uart_send_byte(ACK);
  5659. 1124 .loc 2 170 13
  5660. 1125 014e 0620 movs r0, #6
  5661. 1126 0150 FFF7FEFF bl uart_send_byte
  5662. 171:User/ymodem.c **** uart_send_byte(CRC_REQ);
  5663. 1127 .loc 2 171 13
  5664. 1128 0154 4320 movs r0, #67
  5665. 1129 0156 FFF7FEFF bl uart_send_byte
  5666. 172:User/ymodem.c **** expect = 1;
  5667. 1130 .loc 2 172 20
  5668. 1131 015a 574B ldr r3, .L77+8
  5669. 1132 015c FB18 adds r3, r7, r3
  5670. 1133 015e 0122 movs r2, #1
  5671. 1134 0160 1A70 strb r2, [r3]
  5672. 173:User/ymodem.c **** break;
  5673. 1135 .loc 2 173 13
  5674. 1136 0162 C046 nop
  5675. 1137 .LBE7:
  5676. 1138 .LBE6:
  5677. 174:User/ymodem.c **** }
  5678. 175:User/ymodem.c ****
  5679. 176:User/ymodem.c **** if (++err > MAX_ERRORS)
  5680. 177:User/ymodem.c **** {
  5681. 178:User/ymodem.c **** ymodem_send_cancel();
  5682. 179:User/ymodem.c **** return -4;
  5683. 180:User/ymodem.c **** }
  5684. 181:User/ymodem.c **** }
  5685. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 99
  5686. 182:User/ymodem.c ****
  5687. 183:User/ymodem.c **** /* ---- 数据包 ---- */
  5688. 184:User/ymodem.c **** err = 0;
  5689. 1139 .loc 2 184 9
  5690. 1140 0164 0023 movs r3, #0
  5691. 1141 0166 554A ldr r2, .L77+12
  5692. 1142 0168 BA18 adds r2, r7, r2
  5693. 1143 016a 1360 str r3, [r2]
  5694. 1144 016c 0FE0 b .L75
  5695. 1145 .L57:
  5696. 1146 .LBB9:
  5697. 176:User/ymodem.c **** {
  5698. 1147 .loc 2 176 12
  5699. 1148 016e 534A ldr r2, .L77+12
  5700. 1149 0170 BB18 adds r3, r7, r2
  5701. 1150 0172 1B68 ldr r3, [r3]
  5702. 1151 0174 0133 adds r3, r3, #1
  5703. 1152 0176 B918 adds r1, r7, r2
  5704. 1153 0178 0B60 str r3, [r1]
  5705. 1154 017a BB18 adds r3, r7, r2
  5706. 1155 017c 1B68 ldr r3, [r3]
  5707. 1156 017e 1E2B cmp r3, #30
  5708. 1157 0180 00D8 bhi .LCB983
  5709. 1158 0182 58E7 b .L66 @long jump
  5710. 1159 .LCB983:
  5711. 178:User/ymodem.c **** return -4;
  5712. 1160 .loc 2 178 13
  5713. 1161 0184 FFF7FEFF bl ymodem_send_cancel
  5714. 179:User/ymodem.c **** }
  5715. 1162 .loc 2 179 20
  5716. 1163 0188 0423 movs r3, #4
  5717. 1164 018a 5B42 rsbs r3, r3, #0
  5718. 1165 018c 8AE0 b .L76
  5719. 1166 .L75:
  5720. 1167 .LBE9:
  5721. 1168 .LBB10:
  5722. 185:User/ymodem.c **** while (1)
  5723. 186:User/ymodem.c **** {
  5724. 187:User/ymodem.c **** int r = ymodem_receive_packet(packet, &pktLen, &pktNo);
  5725. 1169 .loc 2 187 17
  5726. 1170 018e 1323 movs r3, #19
  5727. 1171 0190 FA18 adds r2, r7, r3
  5728. 1172 0192 1423 movs r3, #20
  5729. 1173 0194 F918 adds r1, r7, r3
  5730. 1174 0196 1823 movs r3, #24
  5731. 1175 0198 FB18 adds r3, r7, r3
  5732. 1176 019a 1800 movs r0, r3
  5733. 1177 019c FFF7FEFF bl ymodem_receive_packet
  5734. 1178 01a0 0300 movs r3, r0
  5735. 1179 01a2 4C4A ldr r2, .L77+36
  5736. 1180 01a4 B918 adds r1, r7, r2
  5737. 1181 01a6 0B60 str r3, [r1]
  5738. 188:User/ymodem.c ****
  5739. 189:User/ymodem.c **** if (r == 0)
  5740. 1182 .loc 2 189 12
  5741. 1183 01a8 BB18 adds r3, r7, r2
  5742. 1184 01aa 1B68 ldr r3, [r3]
  5743. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 100
  5744. 1185 01ac 002B cmp r3, #0
  5745. 1186 01ae 43D1 bne .L67
  5746. 190:User/ymodem.c **** {
  5747. 191:User/ymodem.c **** if (pktNo == expect)
  5748. 1187 .loc 2 191 23
  5749. 1188 01b0 444B ldr r3, .L77+20
  5750. 1189 01b2 8922 movs r2, #137
  5751. 1190 01b4 D200 lsls r2, r2, #3
  5752. 1191 01b6 9B18 adds r3, r3, r2
  5753. 1192 01b8 DB19 adds r3, r3, r7
  5754. 1193 01ba 1B78 ldrb r3, [r3]
  5755. 1194 .loc 2 191 16
  5756. 1195 01bc 3E4A ldr r2, .L77+8
  5757. 1196 01be BA18 adds r2, r7, r2
  5758. 1197 01c0 1278 ldrb r2, [r2]
  5759. 1198 01c2 9A42 cmp r2, r3
  5760. 1199 01c4 34D1 bne .L68
  5761. 1200 .LBB11:
  5762. 192:User/ymodem.c **** {
  5763. 193:User/ymodem.c **** uint32_t copy = pktLen;
  5764. 1201 .loc 2 193 26
  5765. 1202 01c6 7B69 ldr r3, [r7, #20]
  5766. 1203 01c8 4349 ldr r1, .L77+40
  5767. 1204 01ca 7A18 adds r2, r7, r1
  5768. 1205 01cc 1360 str r3, [r2]
  5769. 194:User/ymodem.c **** if (total + copy > fileSize)
  5770. 1206 .loc 2 194 27
  5771. 1207 01ce 3948 ldr r0, .L77+4
  5772. 1208 01d0 3B18 adds r3, r7, r0
  5773. 1209 01d2 1A68 ldr r2, [r3]
  5774. 1210 01d4 7B18 adds r3, r7, r1
  5775. 1211 01d6 1B68 ldr r3, [r3]
  5776. 1212 01d8 D318 adds r3, r2, r3
  5777. 1213 .loc 2 194 20
  5778. 1214 01da 8624 movs r4, #134
  5779. 1215 01dc E400 lsls r4, r4, #3
  5780. 1216 01de 3A19 adds r2, r7, r4
  5781. 1217 01e0 1268 ldr r2, [r2]
  5782. 1218 01e2 9A42 cmp r2, r3
  5783. 1219 01e4 06D2 bcs .L69
  5784. 195:User/ymodem.c **** copy = fileSize - total;
  5785. 1220 .loc 2 195 26
  5786. 1221 01e6 3B19 adds r3, r7, r4
  5787. 1222 01e8 1A68 ldr r2, [r3]
  5788. 1223 01ea 3B18 adds r3, r7, r0
  5789. 1224 01ec 1B68 ldr r3, [r3]
  5790. 1225 01ee D31A subs r3, r2, r3
  5791. 1226 01f0 7A18 adds r2, r7, r1
  5792. 1227 01f2 1360 str r3, [r2]
  5793. 1228 .L69:
  5794. 196:User/ymodem.c ****
  5795. 197:User/ymodem.c **** if (copy)
  5796. 1229 .loc 2 197 20
  5797. 1230 01f4 384C ldr r4, .L77+40
  5798. 1231 01f6 3B19 adds r3, r7, r4
  5799. 1232 01f8 1B68 ldr r3, [r3]
  5800. 1233 01fa 002B cmp r3, #0
  5801. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 101
  5802. 1234 01fc 12D0 beq .L70
  5803. 198:User/ymodem.c **** {
  5804. 199:User/ymodem.c **** flash_write(flashAddr + total, packet, copy);
  5805. 1235 .loc 2 199 21
  5806. 1236 01fe FA68 ldr r2, [r7, #12]
  5807. 1237 0200 2C4D ldr r5, .L77+4
  5808. 1238 0202 7B19 adds r3, r7, r5
  5809. 1239 0204 1B68 ldr r3, [r3]
  5810. 1240 0206 D318 adds r3, r2, r3
  5811. 1241 0208 3A19 adds r2, r7, r4
  5812. 1242 020a 1268 ldr r2, [r2]
  5813. 1243 020c 1821 movs r1, #24
  5814. 1244 020e 7918 adds r1, r7, r1
  5815. 1245 0210 1800 movs r0, r3
  5816. 1246 0212 FFF7FEFF bl flash_write
  5817. 200:User/ymodem.c **** total += copy;
  5818. 1247 .loc 2 200 27
  5819. 1248 0216 7B19 adds r3, r7, r5
  5820. 1249 0218 1A68 ldr r2, [r3]
  5821. 1250 021a 3B19 adds r3, r7, r4
  5822. 1251 021c 1B68 ldr r3, [r3]
  5823. 1252 021e D318 adds r3, r2, r3
  5824. 1253 0220 7A19 adds r2, r7, r5
  5825. 1254 0222 1360 str r3, [r2]
  5826. 1255 .L70:
  5827. 201:User/ymodem.c **** }
  5828. 202:User/ymodem.c **** expect++;
  5829. 1256 .loc 2 202 23
  5830. 1257 0224 2449 ldr r1, .L77+8
  5831. 1258 0226 7B18 adds r3, r7, r1
  5832. 1259 0228 1A78 ldrb r2, [r3]
  5833. 1260 022a 7B18 adds r3, r7, r1
  5834. 1261 022c 0132 adds r2, r2, #1
  5835. 1262 022e 1A70 strb r2, [r3]
  5836. 1263 .L68:
  5837. 1264 .LBE11:
  5838. 203:User/ymodem.c **** }
  5839. 204:User/ymodem.c **** uart_send_byte(ACK);
  5840. 1265 .loc 2 204 13
  5841. 1266 0230 0620 movs r0, #6
  5842. 1267 0232 FFF7FEFF bl uart_send_byte
  5843. 1268 0236 AAE7 b .L75
  5844. 1269 .L67:
  5845. 205:User/ymodem.c **** }
  5846. 206:User/ymodem.c **** else if (r == 1) /* EOT */
  5847. 1270 .loc 2 206 17
  5848. 1271 0238 264B ldr r3, .L77+36
  5849. 1272 023a FB18 adds r3, r7, r3
  5850. 1273 023c 1B68 ldr r3, [r3]
  5851. 1274 023e 012B cmp r3, #1
  5852. 1275 0240 15D1 bne .L72
  5853. 207:User/ymodem.c **** {
  5854. 208:User/ymodem.c **** uart_send_byte(NAK);
  5855. 1276 .loc 2 208 13
  5856. 1277 0242 1520 movs r0, #21
  5857. 1278 0244 FFF7FEFF bl uart_send_byte
  5858. 209:User/ymodem.c **** ymodem_receive_packet(packet, &pktLen, &pktNo);
  5859. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 102
  5860. 1279 .loc 2 209 13
  5861. 1280 0248 1323 movs r3, #19
  5862. 1281 024a FA18 adds r2, r7, r3
  5863. 1282 024c 1423 movs r3, #20
  5864. 1283 024e F918 adds r1, r7, r3
  5865. 1284 0250 1823 movs r3, #24
  5866. 1285 0252 FB18 adds r3, r7, r3
  5867. 1286 0254 1800 movs r0, r3
  5868. 1287 0256 FFF7FEFF bl ymodem_receive_packet
  5869. 210:User/ymodem.c **** uart_send_byte(ACK);
  5870. 1288 .loc 2 210 13
  5871. 1289 025a 0620 movs r0, #6
  5872. 1290 025c FFF7FEFF bl uart_send_byte
  5873. 211:User/ymodem.c ****
  5874. 212:User/ymodem.c **** *recvSize = total;
  5875. 1291 .loc 2 212 23
  5876. 1292 0260 7B68 ldr r3, [r7, #4]
  5877. 1293 0262 144A ldr r2, .L77+4
  5878. 1294 0264 BA18 adds r2, r7, r2
  5879. 1295 0266 1268 ldr r2, [r2]
  5880. 1296 0268 1A60 str r2, [r3]
  5881. 213:User/ymodem.c **** return 0;
  5882. 1297 .loc 2 213 20
  5883. 1298 026a 0023 movs r3, #0
  5884. 1299 026c 1AE0 b .L76
  5885. 1300 .L72:
  5886. 214:User/ymodem.c **** }
  5887. 215:User/ymodem.c **** else if (r == -1)
  5888. 1301 .loc 2 215 17
  5889. 1302 026e 194B ldr r3, .L77+36
  5890. 1303 0270 FB18 adds r3, r7, r3
  5891. 1304 0272 1B68 ldr r3, [r3]
  5892. 1305 0274 0133 adds r3, r3, #1
  5893. 1306 0276 02D1 bne .L73
  5894. 216:User/ymodem.c **** return -5;
  5895. 1307 .loc 2 216 20
  5896. 1308 0278 0523 movs r3, #5
  5897. 1309 027a 5B42 rsbs r3, r3, #0
  5898. 1310 027c 12E0 b .L76
  5899. 1311 .L73:
  5900. 217:User/ymodem.c **** else
  5901. 218:User/ymodem.c **** {
  5902. 219:User/ymodem.c **** if (++err > MAX_ERRORS)
  5903. 1312 .loc 2 219 16
  5904. 1313 027e 0F4A ldr r2, .L77+12
  5905. 1314 0280 BB18 adds r3, r7, r2
  5906. 1315 0282 1B68 ldr r3, [r3]
  5907. 1316 0284 0133 adds r3, r3, #1
  5908. 1317 0286 B918 adds r1, r7, r2
  5909. 1318 0288 0B60 str r3, [r1]
  5910. 1319 028a BB18 adds r3, r7, r2
  5911. 1320 028c 1B68 ldr r3, [r3]
  5912. 1321 028e 1E2B cmp r3, #30
  5913. 1322 0290 04D9 bls .L74
  5914. 220:User/ymodem.c **** {
  5915. 221:User/ymodem.c **** ymodem_send_cancel();
  5916. 1323 .loc 2 221 17
  5917. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 103
  5918. 1324 0292 FFF7FEFF bl ymodem_send_cancel
  5919. 222:User/ymodem.c **** return -6;
  5920. 1325 .loc 2 222 24
  5921. 1326 0296 0623 movs r3, #6
  5922. 1327 0298 5B42 rsbs r3, r3, #0
  5923. 1328 029a 03E0 b .L76
  5924. 1329 .L74:
  5925. 223:User/ymodem.c **** }
  5926. 224:User/ymodem.c **** uart_send_byte(NAK);
  5927. 1330 .loc 2 224 13
  5928. 1331 029c 1520 movs r0, #21
  5929. 1332 029e FFF7FEFF bl uart_send_byte
  5930. 1333 .LBE10:
  5931. 186:User/ymodem.c **** int r = ymodem_receive_packet(packet, &pktLen, &pktNo);
  5932. 1334 .loc 2 186 5
  5933. 1335 02a2 74E7 b .L75
  5934. 1336 .L76:
  5935. 225:User/ymodem.c **** }
  5936. 226:User/ymodem.c **** }
  5937. 227:User/ymodem.c **** }
  5938. 1337 .loc 2 227 1 discriminator 1
  5939. 1338 02a4 1800 movs r0, r3
  5940. 1339 02a6 BD46 mov sp, r7
  5941. 1340 02a8 8923 movs r3, #137
  5942. 1341 02aa DB00 lsls r3, r3, #3
  5943. 1342 02ac 9D44 add sp, sp, r3
  5944. 1343 @ sp needed
  5945. 1344 02ae B0BD pop {r4, r5, r7, pc}
  5946. 1345 .L78:
  5947. 1346 .align 2
  5948. 1347 .L77:
  5949. 1348 02b0 B8FBFFFF .word -1096
  5950. 1349 02b4 44040000 .word 1092
  5951. 1350 02b8 43040000 .word 1091
  5952. 1351 02bc 3C040000 .word 1084
  5953. 1352 02c0 2C040000 .word 1068
  5954. 1353 02c4 CBFBFFFF .word -1077
  5955. 1354 02c8 D0FBFFFF .word -1072
  5956. 1355 02cc 24040000 .word 1060
  5957. 1356 02d0 00000000 .word w25qxx
  5958. 1357 02d4 1C040000 .word 1052
  5959. 1358 02d8 34040000 .word 1076
  5960. 1359 .cfi_endproc
  5961. 1360 .LFE945:
  5962. 1362 .text
  5963. 1363 .Letext0:
  5964. 1364 .file 3 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\machine\\_default_
  5965. 1365 .file 4 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\sys\\_stdint.h"
  5966. 1366 .file 5 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h"
  5967. 1367 .file 6 "User/w25qxx/w25qxx.h"
  5968. 1368 .file 7 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h"
  5969. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s page 104
  5970. DEFINED SYMBOLS
  5971. *ABS*:00000000 ymodem.c
  5972. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:18 .rodata.CHANNEL_OFFSET_TAB:00000000 $d
  5973. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:21 .rodata.CHANNEL_OFFSET_TAB:00000000 CHANNEL_OFFSET_TAB
  5974. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:24 .rodata.USART_PRESCALER_TAB:00000000 $d
  5975. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:27 .rodata.USART_PRESCALER_TAB:00000000 USART_PRESCALER_TAB
  5976. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:41 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 $t
  5977. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:46 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 LL_USART_IsActiveFlag_RXNE_RXFNE
  5978. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:90 .text.LL_USART_IsActiveFlag_TXE_TXFNF:00000000 $t
  5979. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:95 .text.LL_USART_IsActiveFlag_TXE_TXFNF:00000000 LL_USART_IsActiveFlag_TXE_TXFNF
  5980. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:138 .text.LL_USART_ReceiveData8:00000000 $t
  5981. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:143 .text.LL_USART_ReceiveData8:00000000 LL_USART_ReceiveData8
  5982. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:176 .text.LL_USART_TransmitData8:00000000 $t
  5983. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:181 .text.LL_USART_TransmitData8:00000000 LL_USART_TransmitData8
  5984. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:217 .text.uart_recv_byte:00000000 $t
  5985. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:222 .text.uart_recv_byte:00000000 uart_recv_byte
  5986. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:292 .text.uart_recv_byte:00000050 $d
  5987. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:297 .text.uart_send_byte:00000000 $t
  5988. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:302 .text.uart_send_byte:00000000 uart_send_byte
  5989. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:348 .text.uart_send_byte:00000030 $d
  5990. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:353 .text.ymodem_send_cancel:00000000 $t
  5991. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:358 .text.ymodem_send_cancel:00000000 ymodem_send_cancel
  5992. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:387 .text.crc16_ccitt:00000000 $t
  5993. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:392 .text.crc16_ccitt:00000000 crc16_ccitt
  5994. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:520 .text.crc16_ccitt:000000a0 $d
  5995. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:525 .text.ymodem_receive_packet:00000000 $t
  5996. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:530 .text.ymodem_receive_packet:00000000 ymodem_receive_packet
  5997. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:791 .text.flash_write:00000000 $t
  5998. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:796 .text.flash_write:00000000 flash_write
  5999. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:894 .text.flash_write:00000080 $d
  6000. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:899 .text.Ymodem_ReceiveToW25Qxx:00000000 $t
  6001. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:905 .text.Ymodem_ReceiveToW25Qxx:00000000 Ymodem_ReceiveToW25Qxx
  6002. C:\Users\ADMINI~1\AppData\Local\Temp\ccXThWtb.s:1348 .text.Ymodem_ReceiveToW25Qxx:000002b0 $d
  6003. UNDEFINED SYMBOLS
  6004. HAL_GetTick
  6005. __aeabi_uidiv
  6006. __aeabi_uidivmod
  6007. W25qxx_WritePage
  6008. w25qxx
  6009. strlen
  6010. strtoul
  6011. W25qxx_EraseSector