nrf51_bitfields.h 336 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140
  1. /*
  2. Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
  3. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without modification,
  5. are permitted provided that the following conditions are met:
  6. 1. Redistributions of source code must retain the above copyright notice, this
  7. list of conditions and the following disclaimer.
  8. 2. Redistributions in binary form, except as embedded into a Nordic
  9. Semiconductor ASA integrated circuit in a product or a software update for
  10. such product, must reproduce the above copyright notice, this list of
  11. conditions and the following disclaimer in the documentation and/or other
  12. materials provided with the distribution.
  13. 3. Neither the name of Nordic Semiconductor ASA nor the names of its
  14. contributors may be used to endorse or promote products derived from this
  15. software without specific prior written permission.
  16. 4. This software, with or without modification, must only be used with a
  17. Nordic Semiconductor ASA integrated circuit.
  18. 5. Any software provided in binary form under this license must not be reverse
  19. engineered, decompiled, modified and/or disassembled.
  20. THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
  21. OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  22. OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
  23. DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
  24. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  25. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  26. GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  29. OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30. */
  31. #ifndef __NRF51_BITS_H
  32. #define __NRF51_BITS_H
  33. /*lint ++flb "Enter library region" */
  34. /* Peripheral: AAR */
  35. /* Description: Accelerated Address Resolver. */
  36. /* Register: AAR_INTENSET */
  37. /* Description: Interrupt enable set register. */
  38. /* Bit 2 : Enable interrupt on NOTRESOLVED event. */
  39. #define AAR_INTENSET_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */
  40. #define AAR_INTENSET_NOTRESOLVED_Msk (0x1UL << AAR_INTENSET_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */
  41. #define AAR_INTENSET_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  42. #define AAR_INTENSET_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  43. #define AAR_INTENSET_NOTRESOLVED_Set (1UL) /*!< Enable interrupt on write. */
  44. /* Bit 1 : Enable interrupt on RESOLVED event. */
  45. #define AAR_INTENSET_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */
  46. #define AAR_INTENSET_RESOLVED_Msk (0x1UL << AAR_INTENSET_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */
  47. #define AAR_INTENSET_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  48. #define AAR_INTENSET_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  49. #define AAR_INTENSET_RESOLVED_Set (1UL) /*!< Enable interrupt on write. */
  50. /* Bit 0 : Enable interrupt on END event. */
  51. #define AAR_INTENSET_END_Pos (0UL) /*!< Position of END field. */
  52. #define AAR_INTENSET_END_Msk (0x1UL << AAR_INTENSET_END_Pos) /*!< Bit mask of END field. */
  53. #define AAR_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  54. #define AAR_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  55. #define AAR_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  56. /* Register: AAR_INTENCLR */
  57. /* Description: Interrupt enable clear register. */
  58. /* Bit 2 : Disable interrupt on NOTRESOLVED event. */
  59. #define AAR_INTENCLR_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */
  60. #define AAR_INTENCLR_NOTRESOLVED_Msk (0x1UL << AAR_INTENCLR_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */
  61. #define AAR_INTENCLR_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  62. #define AAR_INTENCLR_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  63. #define AAR_INTENCLR_NOTRESOLVED_Clear (1UL) /*!< Disable interrupt on write. */
  64. /* Bit 1 : Disable interrupt on RESOLVED event. */
  65. #define AAR_INTENCLR_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */
  66. #define AAR_INTENCLR_RESOLVED_Msk (0x1UL << AAR_INTENCLR_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */
  67. #define AAR_INTENCLR_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  68. #define AAR_INTENCLR_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  69. #define AAR_INTENCLR_RESOLVED_Clear (1UL) /*!< Disable interrupt on write. */
  70. /* Bit 0 : Disable interrupt on ENDKSGEN event. */
  71. #define AAR_INTENCLR_END_Pos (0UL) /*!< Position of END field. */
  72. #define AAR_INTENCLR_END_Msk (0x1UL << AAR_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  73. #define AAR_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  74. #define AAR_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  75. #define AAR_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  76. /* Register: AAR_STATUS */
  77. /* Description: Resolution status. */
  78. /* Bits 3..0 : The IRK used last time an address was resolved. */
  79. #define AAR_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  80. #define AAR_STATUS_STATUS_Msk (0xFUL << AAR_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */
  81. /* Register: AAR_ENABLE */
  82. /* Description: Enable AAR. */
  83. /* Bits 1..0 : Enable AAR. */
  84. #define AAR_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  85. #define AAR_ENABLE_ENABLE_Msk (0x3UL << AAR_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  86. #define AAR_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled AAR. */
  87. #define AAR_ENABLE_ENABLE_Enabled (0x03UL) /*!< Enable AAR. */
  88. /* Register: AAR_NIRK */
  89. /* Description: Number of Identity root Keys in the IRK data structure. */
  90. /* Bits 4..0 : Number of Identity root Keys in the IRK data structure. */
  91. #define AAR_NIRK_NIRK_Pos (0UL) /*!< Position of NIRK field. */
  92. #define AAR_NIRK_NIRK_Msk (0x1FUL << AAR_NIRK_NIRK_Pos) /*!< Bit mask of NIRK field. */
  93. /* Register: AAR_POWER */
  94. /* Description: Peripheral power control. */
  95. /* Bit 0 : Peripheral power control. */
  96. #define AAR_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  97. #define AAR_POWER_POWER_Msk (0x1UL << AAR_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  98. #define AAR_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  99. #define AAR_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  100. /* Peripheral: ADC */
  101. /* Description: Analog to digital converter. */
  102. /* Register: ADC_INTENSET */
  103. /* Description: Interrupt enable set register. */
  104. /* Bit 0 : Enable interrupt on END event. */
  105. #define ADC_INTENSET_END_Pos (0UL) /*!< Position of END field. */
  106. #define ADC_INTENSET_END_Msk (0x1UL << ADC_INTENSET_END_Pos) /*!< Bit mask of END field. */
  107. #define ADC_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  108. #define ADC_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  109. #define ADC_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  110. /* Register: ADC_INTENCLR */
  111. /* Description: Interrupt enable clear register. */
  112. /* Bit 0 : Disable interrupt on END event. */
  113. #define ADC_INTENCLR_END_Pos (0UL) /*!< Position of END field. */
  114. #define ADC_INTENCLR_END_Msk (0x1UL << ADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  115. #define ADC_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  116. #define ADC_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  117. #define ADC_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  118. /* Register: ADC_BUSY */
  119. /* Description: ADC busy register. */
  120. /* Bit 0 : ADC busy register. */
  121. #define ADC_BUSY_BUSY_Pos (0UL) /*!< Position of BUSY field. */
  122. #define ADC_BUSY_BUSY_Msk (0x1UL << ADC_BUSY_BUSY_Pos) /*!< Bit mask of BUSY field. */
  123. #define ADC_BUSY_BUSY_Ready (0UL) /*!< No ongoing ADC conversion is taking place. ADC is ready. */
  124. #define ADC_BUSY_BUSY_Busy (1UL) /*!< An ADC conversion is taking place. ADC is busy. */
  125. /* Register: ADC_ENABLE */
  126. /* Description: ADC enable. */
  127. /* Bits 1..0 : ADC enable. */
  128. #define ADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  129. #define ADC_ENABLE_ENABLE_Msk (0x3UL << ADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  130. #define ADC_ENABLE_ENABLE_Disabled (0x00UL) /*!< ADC is disabled. */
  131. #define ADC_ENABLE_ENABLE_Enabled (0x01UL) /*!< ADC is enabled. If an analog input pin is selected as source of the conversion, the selected pin is configured as an analog input. */
  132. /* Register: ADC_CONFIG */
  133. /* Description: ADC configuration register. */
  134. /* Bits 17..16 : ADC external reference pin selection. */
  135. #define ADC_CONFIG_EXTREFSEL_Pos (16UL) /*!< Position of EXTREFSEL field. */
  136. #define ADC_CONFIG_EXTREFSEL_Msk (0x3UL << ADC_CONFIG_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
  137. #define ADC_CONFIG_EXTREFSEL_None (0UL) /*!< Analog external reference inputs disabled. */
  138. #define ADC_CONFIG_EXTREFSEL_AnalogReference0 (1UL) /*!< Use analog reference 0 as reference. */
  139. #define ADC_CONFIG_EXTREFSEL_AnalogReference1 (2UL) /*!< Use analog reference 1 as reference. */
  140. /* Bits 15..8 : ADC analog pin selection. */
  141. #define ADC_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
  142. #define ADC_CONFIG_PSEL_Msk (0xFFUL << ADC_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
  143. #define ADC_CONFIG_PSEL_Disabled (0UL) /*!< Analog input pins disabled. */
  144. #define ADC_CONFIG_PSEL_AnalogInput0 (1UL) /*!< Use analog input 0 as analog input. */
  145. #define ADC_CONFIG_PSEL_AnalogInput1 (2UL) /*!< Use analog input 1 as analog input. */
  146. #define ADC_CONFIG_PSEL_AnalogInput2 (4UL) /*!< Use analog input 2 as analog input. */
  147. #define ADC_CONFIG_PSEL_AnalogInput3 (8UL) /*!< Use analog input 3 as analog input. */
  148. #define ADC_CONFIG_PSEL_AnalogInput4 (16UL) /*!< Use analog input 4 as analog input. */
  149. #define ADC_CONFIG_PSEL_AnalogInput5 (32UL) /*!< Use analog input 5 as analog input. */
  150. #define ADC_CONFIG_PSEL_AnalogInput6 (64UL) /*!< Use analog input 6 as analog input. */
  151. #define ADC_CONFIG_PSEL_AnalogInput7 (128UL) /*!< Use analog input 7 as analog input. */
  152. /* Bits 6..5 : ADC reference selection. */
  153. #define ADC_CONFIG_REFSEL_Pos (5UL) /*!< Position of REFSEL field. */
  154. #define ADC_CONFIG_REFSEL_Msk (0x3UL << ADC_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  155. #define ADC_CONFIG_REFSEL_VBG (0x00UL) /*!< Use internal 1.2V bandgap voltage as reference for conversion. */
  156. #define ADC_CONFIG_REFSEL_External (0x01UL) /*!< Use external source configured by EXTREFSEL as reference for conversion. */
  157. #define ADC_CONFIG_REFSEL_SupplyOneHalfPrescaling (0x02UL) /*!< Use supply voltage with 1/2 prescaling as reference for conversion. Only usable when supply voltage is between 1.7V and 2.6V. */
  158. #define ADC_CONFIG_REFSEL_SupplyOneThirdPrescaling (0x03UL) /*!< Use supply voltage with 1/3 prescaling as reference for conversion. Only usable when supply voltage is between 2.5V and 3.6V. */
  159. /* Bits 4..2 : ADC input selection. */
  160. #define ADC_CONFIG_INPSEL_Pos (2UL) /*!< Position of INPSEL field. */
  161. #define ADC_CONFIG_INPSEL_Msk (0x7UL << ADC_CONFIG_INPSEL_Pos) /*!< Bit mask of INPSEL field. */
  162. #define ADC_CONFIG_INPSEL_AnalogInputNoPrescaling (0x00UL) /*!< Analog input specified by PSEL with no prescaling used as input for the conversion. */
  163. #define ADC_CONFIG_INPSEL_AnalogInputTwoThirdsPrescaling (0x01UL) /*!< Analog input specified by PSEL with 2/3 prescaling used as input for the conversion. */
  164. #define ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling (0x02UL) /*!< Analog input specified by PSEL with 1/3 prescaling used as input for the conversion. */
  165. #define ADC_CONFIG_INPSEL_SupplyTwoThirdsPrescaling (0x05UL) /*!< Supply voltage with 2/3 prescaling used as input for the conversion. */
  166. #define ADC_CONFIG_INPSEL_SupplyOneThirdPrescaling (0x06UL) /*!< Supply voltage with 1/3 prescaling used as input for the conversion. */
  167. /* Bits 1..0 : ADC resolution. */
  168. #define ADC_CONFIG_RES_Pos (0UL) /*!< Position of RES field. */
  169. #define ADC_CONFIG_RES_Msk (0x3UL << ADC_CONFIG_RES_Pos) /*!< Bit mask of RES field. */
  170. #define ADC_CONFIG_RES_8bit (0x00UL) /*!< 8bit ADC resolution. */
  171. #define ADC_CONFIG_RES_9bit (0x01UL) /*!< 9bit ADC resolution. */
  172. #define ADC_CONFIG_RES_10bit (0x02UL) /*!< 10bit ADC resolution. */
  173. /* Register: ADC_RESULT */
  174. /* Description: Result of ADC conversion. */
  175. /* Bits 9..0 : Result of ADC conversion. */
  176. #define ADC_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
  177. #define ADC_RESULT_RESULT_Msk (0x3FFUL << ADC_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
  178. /* Register: ADC_POWER */
  179. /* Description: Peripheral power control. */
  180. /* Bit 0 : Peripheral power control. */
  181. #define ADC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  182. #define ADC_POWER_POWER_Msk (0x1UL << ADC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  183. #define ADC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  184. #define ADC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  185. /* Peripheral: CCM */
  186. /* Description: AES CCM Mode Encryption. */
  187. /* Register: CCM_SHORTS */
  188. /* Description: Shortcuts for the CCM. */
  189. /* Bit 0 : Shortcut between ENDKSGEN event and CRYPT task. */
  190. #define CCM_SHORTS_ENDKSGEN_CRYPT_Pos (0UL) /*!< Position of ENDKSGEN_CRYPT field. */
  191. #define CCM_SHORTS_ENDKSGEN_CRYPT_Msk (0x1UL << CCM_SHORTS_ENDKSGEN_CRYPT_Pos) /*!< Bit mask of ENDKSGEN_CRYPT field. */
  192. #define CCM_SHORTS_ENDKSGEN_CRYPT_Disabled (0UL) /*!< Shortcut disabled. */
  193. #define CCM_SHORTS_ENDKSGEN_CRYPT_Enabled (1UL) /*!< Shortcut enabled. */
  194. /* Register: CCM_INTENSET */
  195. /* Description: Interrupt enable set register. */
  196. /* Bit 2 : Enable interrupt on ERROR event. */
  197. #define CCM_INTENSET_ERROR_Pos (2UL) /*!< Position of ERROR field. */
  198. #define CCM_INTENSET_ERROR_Msk (0x1UL << CCM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  199. #define CCM_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  200. #define CCM_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  201. #define CCM_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
  202. /* Bit 1 : Enable interrupt on ENDCRYPT event. */
  203. #define CCM_INTENSET_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
  204. #define CCM_INTENSET_ENDCRYPT_Msk (0x1UL << CCM_INTENSET_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
  205. #define CCM_INTENSET_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */
  206. #define CCM_INTENSET_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */
  207. #define CCM_INTENSET_ENDCRYPT_Set (1UL) /*!< Enable interrupt on write. */
  208. /* Bit 0 : Enable interrupt on ENDKSGEN event. */
  209. #define CCM_INTENSET_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
  210. #define CCM_INTENSET_ENDKSGEN_Msk (0x1UL << CCM_INTENSET_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
  211. #define CCM_INTENSET_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */
  212. #define CCM_INTENSET_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */
  213. #define CCM_INTENSET_ENDKSGEN_Set (1UL) /*!< Enable interrupt on write. */
  214. /* Register: CCM_INTENCLR */
  215. /* Description: Interrupt enable clear register. */
  216. /* Bit 2 : Disable interrupt on ERROR event. */
  217. #define CCM_INTENCLR_ERROR_Pos (2UL) /*!< Position of ERROR field. */
  218. #define CCM_INTENCLR_ERROR_Msk (0x1UL << CCM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  219. #define CCM_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  220. #define CCM_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  221. #define CCM_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
  222. /* Bit 1 : Disable interrupt on ENDCRYPT event. */
  223. #define CCM_INTENCLR_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
  224. #define CCM_INTENCLR_ENDCRYPT_Msk (0x1UL << CCM_INTENCLR_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
  225. #define CCM_INTENCLR_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */
  226. #define CCM_INTENCLR_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */
  227. #define CCM_INTENCLR_ENDCRYPT_Clear (1UL) /*!< Disable interrupt on write. */
  228. /* Bit 0 : Disable interrupt on ENDKSGEN event. */
  229. #define CCM_INTENCLR_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
  230. #define CCM_INTENCLR_ENDKSGEN_Msk (0x1UL << CCM_INTENCLR_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
  231. #define CCM_INTENCLR_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */
  232. #define CCM_INTENCLR_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */
  233. #define CCM_INTENCLR_ENDKSGEN_Clear (1UL) /*!< Disable interrupt on write. */
  234. /* Register: CCM_MICSTATUS */
  235. /* Description: CCM RX MIC check result. */
  236. /* Bit 0 : Result of the MIC check performed during the previous CCM RX STARTCRYPT */
  237. #define CCM_MICSTATUS_MICSTATUS_Pos (0UL) /*!< Position of MICSTATUS field. */
  238. #define CCM_MICSTATUS_MICSTATUS_Msk (0x1UL << CCM_MICSTATUS_MICSTATUS_Pos) /*!< Bit mask of MICSTATUS field. */
  239. #define CCM_MICSTATUS_MICSTATUS_CheckFailed (0UL) /*!< MIC check failed. */
  240. #define CCM_MICSTATUS_MICSTATUS_CheckPassed (1UL) /*!< MIC check passed. */
  241. /* Register: CCM_ENABLE */
  242. /* Description: CCM enable. */
  243. /* Bits 1..0 : CCM enable. */
  244. #define CCM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  245. #define CCM_ENABLE_ENABLE_Msk (0x3UL << CCM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  246. #define CCM_ENABLE_ENABLE_Disabled (0x00UL) /*!< CCM is disabled. */
  247. #define CCM_ENABLE_ENABLE_Enabled (0x02UL) /*!< CCM is enabled. */
  248. /* Register: CCM_MODE */
  249. /* Description: Operation mode. */
  250. /* Bit 0 : CCM mode operation. */
  251. #define CCM_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  252. #define CCM_MODE_MODE_Msk (0x1UL << CCM_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  253. #define CCM_MODE_MODE_Encryption (0UL) /*!< CCM mode TX */
  254. #define CCM_MODE_MODE_Decryption (1UL) /*!< CCM mode TX */
  255. /* Register: CCM_POWER */
  256. /* Description: Peripheral power control. */
  257. /* Bit 0 : Peripheral power control. */
  258. #define CCM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  259. #define CCM_POWER_POWER_Msk (0x1UL << CCM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  260. #define CCM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  261. #define CCM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  262. /* Peripheral: CLOCK */
  263. /* Description: Clock control. */
  264. /* Register: CLOCK_INTENSET */
  265. /* Description: Interrupt enable set register. */
  266. /* Bit 4 : Enable interrupt on CTTO event. */
  267. #define CLOCK_INTENSET_CTTO_Pos (4UL) /*!< Position of CTTO field. */
  268. #define CLOCK_INTENSET_CTTO_Msk (0x1UL << CLOCK_INTENSET_CTTO_Pos) /*!< Bit mask of CTTO field. */
  269. #define CLOCK_INTENSET_CTTO_Disabled (0UL) /*!< Interrupt disabled. */
  270. #define CLOCK_INTENSET_CTTO_Enabled (1UL) /*!< Interrupt enabled. */
  271. #define CLOCK_INTENSET_CTTO_Set (1UL) /*!< Enable interrupt on write. */
  272. /* Bit 3 : Enable interrupt on DONE event. */
  273. #define CLOCK_INTENSET_DONE_Pos (3UL) /*!< Position of DONE field. */
  274. #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */
  275. #define CLOCK_INTENSET_DONE_Disabled (0UL) /*!< Interrupt disabled. */
  276. #define CLOCK_INTENSET_DONE_Enabled (1UL) /*!< Interrupt enabled. */
  277. #define CLOCK_INTENSET_DONE_Set (1UL) /*!< Enable interrupt on write. */
  278. /* Bit 1 : Enable interrupt on LFCLKSTARTED event. */
  279. #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
  280. #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
  281. #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  282. #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  283. #define CLOCK_INTENSET_LFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */
  284. /* Bit 0 : Enable interrupt on HFCLKSTARTED event. */
  285. #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
  286. #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
  287. #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  288. #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  289. #define CLOCK_INTENSET_HFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */
  290. /* Register: CLOCK_INTENCLR */
  291. /* Description: Interrupt enable clear register. */
  292. /* Bit 4 : Disable interrupt on CTTO event. */
  293. #define CLOCK_INTENCLR_CTTO_Pos (4UL) /*!< Position of CTTO field. */
  294. #define CLOCK_INTENCLR_CTTO_Msk (0x1UL << CLOCK_INTENCLR_CTTO_Pos) /*!< Bit mask of CTTO field. */
  295. #define CLOCK_INTENCLR_CTTO_Disabled (0UL) /*!< Interrupt disabled. */
  296. #define CLOCK_INTENCLR_CTTO_Enabled (1UL) /*!< Interrupt enabled. */
  297. #define CLOCK_INTENCLR_CTTO_Clear (1UL) /*!< Disable interrupt on write. */
  298. /* Bit 3 : Disable interrupt on DONE event. */
  299. #define CLOCK_INTENCLR_DONE_Pos (3UL) /*!< Position of DONE field. */
  300. #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */
  301. #define CLOCK_INTENCLR_DONE_Disabled (0UL) /*!< Interrupt disabled. */
  302. #define CLOCK_INTENCLR_DONE_Enabled (1UL) /*!< Interrupt enabled. */
  303. #define CLOCK_INTENCLR_DONE_Clear (1UL) /*!< Disable interrupt on write. */
  304. /* Bit 1 : Disable interrupt on LFCLKSTARTED event. */
  305. #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
  306. #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
  307. #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  308. #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  309. #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */
  310. /* Bit 0 : Disable interrupt on HFCLKSTARTED event. */
  311. #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
  312. #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
  313. #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  314. #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  315. #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */
  316. /* Register: CLOCK_HFCLKRUN */
  317. /* Description: Task HFCLKSTART trigger status. */
  318. /* Bit 0 : Task HFCLKSTART trigger status. */
  319. #define CLOCK_HFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  320. #define CLOCK_HFCLKRUN_STATUS_Msk (0x1UL << CLOCK_HFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */
  321. #define CLOCK_HFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task HFCLKSTART has not been triggered. */
  322. #define CLOCK_HFCLKRUN_STATUS_Triggered (1UL) /*!< Task HFCLKSTART has been triggered. */
  323. /* Register: CLOCK_HFCLKSTAT */
  324. /* Description: High frequency clock status. */
  325. /* Bit 16 : State for the HFCLK. */
  326. #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
  327. #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
  328. #define CLOCK_HFCLKSTAT_STATE_NotRunning (0UL) /*!< HFCLK clock not running. */
  329. #define CLOCK_HFCLKSTAT_STATE_Running (1UL) /*!< HFCLK clock running. */
  330. /* Bit 0 : Active clock source for the HF clock. */
  331. #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
  332. #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
  333. #define CLOCK_HFCLKSTAT_SRC_RC (0UL) /*!< Internal 16MHz RC oscillator running and generating the HFCLK clock. */
  334. #define CLOCK_HFCLKSTAT_SRC_Xtal (1UL) /*!< External 16MHz/32MHz crystal oscillator running and generating the HFCLK clock. */
  335. /* Register: CLOCK_LFCLKRUN */
  336. /* Description: Task LFCLKSTART triggered status. */
  337. /* Bit 0 : Task LFCLKSTART triggered status. */
  338. #define CLOCK_LFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  339. #define CLOCK_LFCLKRUN_STATUS_Msk (0x1UL << CLOCK_LFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */
  340. #define CLOCK_LFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task LFCLKSTART has not been triggered. */
  341. #define CLOCK_LFCLKRUN_STATUS_Triggered (1UL) /*!< Task LFCLKSTART has been triggered. */
  342. /* Register: CLOCK_LFCLKSTAT */
  343. /* Description: Low frequency clock status. */
  344. /* Bit 16 : State for the LF clock. */
  345. #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
  346. #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
  347. #define CLOCK_LFCLKSTAT_STATE_NotRunning (0UL) /*!< LFCLK clock not running. */
  348. #define CLOCK_LFCLKSTAT_STATE_Running (1UL) /*!< LFCLK clock running. */
  349. /* Bits 1..0 : Active clock source for the LF clock. */
  350. #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
  351. #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
  352. #define CLOCK_LFCLKSTAT_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator running and generating the LFCLK clock. */
  353. #define CLOCK_LFCLKSTAT_SRC_Xtal (1UL) /*!< External 32KiHz crystal oscillator running and generating the LFCLK clock. */
  354. #define CLOCK_LFCLKSTAT_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from the HFCLK running and generating the LFCLK clock. */
  355. /* Register: CLOCK_LFCLKSRCCOPY */
  356. /* Description: Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */
  357. /* Bits 1..0 : Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */
  358. #define CLOCK_LFCLKSRCCOPY_SRC_Pos (0UL) /*!< Position of SRC field. */
  359. #define CLOCK_LFCLKSRCCOPY_SRC_Msk (0x3UL << CLOCK_LFCLKSRCCOPY_SRC_Pos) /*!< Bit mask of SRC field. */
  360. #define CLOCK_LFCLKSRCCOPY_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */
  361. #define CLOCK_LFCLKSRCCOPY_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */
  362. #define CLOCK_LFCLKSRCCOPY_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */
  363. /* Register: CLOCK_LFCLKSRC */
  364. /* Description: Clock source for the LFCLK clock. */
  365. /* Bits 1..0 : Clock source. */
  366. #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */
  367. #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */
  368. #define CLOCK_LFCLKSRC_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */
  369. #define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */
  370. #define CLOCK_LFCLKSRC_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */
  371. /* Register: CLOCK_CTIV */
  372. /* Description: Calibration timer interval. */
  373. /* Bits 6..0 : Calibration timer interval in 0.25s resolution. */
  374. #define CLOCK_CTIV_CTIV_Pos (0UL) /*!< Position of CTIV field. */
  375. #define CLOCK_CTIV_CTIV_Msk (0x7FUL << CLOCK_CTIV_CTIV_Pos) /*!< Bit mask of CTIV field. */
  376. /* Register: CLOCK_XTALFREQ */
  377. /* Description: Crystal frequency. */
  378. /* Bits 7..0 : External Xtal frequency selection. */
  379. #define CLOCK_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */
  380. #define CLOCK_XTALFREQ_XTALFREQ_Msk (0xFFUL << CLOCK_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */
  381. #define CLOCK_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz xtal is used as source for the HFCLK oscillator. */
  382. #define CLOCK_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz xtal is used as source for the HFCLK oscillator. */
  383. /* Peripheral: ECB */
  384. /* Description: AES ECB Mode Encryption. */
  385. /* Register: ECB_INTENSET */
  386. /* Description: Interrupt enable set register. */
  387. /* Bit 1 : Enable interrupt on ERRORECB event. */
  388. #define ECB_INTENSET_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
  389. #define ECB_INTENSET_ERRORECB_Msk (0x1UL << ECB_INTENSET_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
  390. #define ECB_INTENSET_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */
  391. #define ECB_INTENSET_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */
  392. #define ECB_INTENSET_ERRORECB_Set (1UL) /*!< Enable interrupt on write. */
  393. /* Bit 0 : Enable interrupt on ENDECB event. */
  394. #define ECB_INTENSET_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
  395. #define ECB_INTENSET_ENDECB_Msk (0x1UL << ECB_INTENSET_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
  396. #define ECB_INTENSET_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */
  397. #define ECB_INTENSET_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */
  398. #define ECB_INTENSET_ENDECB_Set (1UL) /*!< Enable interrupt on write. */
  399. /* Register: ECB_INTENCLR */
  400. /* Description: Interrupt enable clear register. */
  401. /* Bit 1 : Disable interrupt on ERRORECB event. */
  402. #define ECB_INTENCLR_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
  403. #define ECB_INTENCLR_ERRORECB_Msk (0x1UL << ECB_INTENCLR_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
  404. #define ECB_INTENCLR_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */
  405. #define ECB_INTENCLR_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */
  406. #define ECB_INTENCLR_ERRORECB_Clear (1UL) /*!< Disable interrupt on write. */
  407. /* Bit 0 : Disable interrupt on ENDECB event. */
  408. #define ECB_INTENCLR_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
  409. #define ECB_INTENCLR_ENDECB_Msk (0x1UL << ECB_INTENCLR_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
  410. #define ECB_INTENCLR_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */
  411. #define ECB_INTENCLR_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */
  412. #define ECB_INTENCLR_ENDECB_Clear (1UL) /*!< Disable interrupt on write. */
  413. /* Register: ECB_POWER */
  414. /* Description: Peripheral power control. */
  415. /* Bit 0 : Peripheral power control. */
  416. #define ECB_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  417. #define ECB_POWER_POWER_Msk (0x1UL << ECB_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  418. #define ECB_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  419. #define ECB_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  420. /* Peripheral: FICR */
  421. /* Description: Factory Information Configuration. */
  422. /* Register: FICR_PPFC */
  423. /* Description: Pre-programmed factory code present. */
  424. /* Bits 7..0 : Pre-programmed factory code present. */
  425. #define FICR_PPFC_PPFC_Pos (0UL) /*!< Position of PPFC field. */
  426. #define FICR_PPFC_PPFC_Msk (0xFFUL << FICR_PPFC_PPFC_Pos) /*!< Bit mask of PPFC field. */
  427. #define FICR_PPFC_PPFC_Present (0x00UL) /*!< Present. */
  428. #define FICR_PPFC_PPFC_NotPresent (0xFFUL) /*!< Not present. */
  429. /* Register: FICR_CONFIGID */
  430. /* Description: Configuration identifier. */
  431. /* Bits 31..16 : Firmware Identification Number pre-loaded into the flash. */
  432. #define FICR_CONFIGID_FWID_Pos (16UL) /*!< Position of FWID field. */
  433. #define FICR_CONFIGID_FWID_Msk (0xFFFFUL << FICR_CONFIGID_FWID_Pos) /*!< Bit mask of FWID field. */
  434. /* Bits 15..0 : Hardware Identification Number. */
  435. #define FICR_CONFIGID_HWID_Pos (0UL) /*!< Position of HWID field. */
  436. #define FICR_CONFIGID_HWID_Msk (0xFFFFUL << FICR_CONFIGID_HWID_Pos) /*!< Bit mask of HWID field. */
  437. /* Register: FICR_DEVICEADDRTYPE */
  438. /* Description: Device address type. */
  439. /* Bit 0 : Device address type. */
  440. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos (0UL) /*!< Position of DEVICEADDRTYPE field. */
  441. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk (0x1UL << FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos) /*!< Bit mask of DEVICEADDRTYPE field. */
  442. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public (0UL) /*!< Public address. */
  443. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random (1UL) /*!< Random address. */
  444. /* Register: FICR_OVERRIDEEN */
  445. /* Description: Radio calibration override enable. */
  446. /* Bit 3 : Override default values for BLE_1Mbit mode. */
  447. #define FICR_OVERRIDEEN_BLE_1MBIT_Pos (3UL) /*!< Position of BLE_1MBIT field. */
  448. #define FICR_OVERRIDEEN_BLE_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_BLE_1MBIT_Pos) /*!< Bit mask of BLE_1MBIT field. */
  449. #define FICR_OVERRIDEEN_BLE_1MBIT_Override (0UL) /*!< Override the default values for BLE_1Mbit mode. */
  450. #define FICR_OVERRIDEEN_BLE_1MBIT_NotOverride (1UL) /*!< Do not override the default values for BLE_1Mbit mode. */
  451. /* Bit 0 : Override default values for NRF_1Mbit mode. */
  452. #define FICR_OVERRIDEEN_NRF_1MBIT_Pos (0UL) /*!< Position of NRF_1MBIT field. */
  453. #define FICR_OVERRIDEEN_NRF_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_NRF_1MBIT_Pos) /*!< Bit mask of NRF_1MBIT field. */
  454. #define FICR_OVERRIDEEN_NRF_1MBIT_Override (0UL) /*!< Override the default values for NRF_1Mbit mode. */
  455. #define FICR_OVERRIDEEN_NRF_1MBIT_NotOverride (1UL) /*!< Do not override the default values for NRF_1Mbit mode. */
  456. /* Peripheral: GPIO */
  457. /* Description: General purpose input and output. */
  458. /* Register: GPIO_OUT */
  459. /* Description: Write GPIO port. */
  460. /* Bit 31 : Pin 31. */
  461. #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  462. #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  463. #define GPIO_OUT_PIN31_Low (0UL) /*!< Pin driver is low. */
  464. #define GPIO_OUT_PIN31_High (1UL) /*!< Pin driver is high. */
  465. /* Bit 30 : Pin 30. */
  466. #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  467. #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  468. #define GPIO_OUT_PIN30_Low (0UL) /*!< Pin driver is low. */
  469. #define GPIO_OUT_PIN30_High (1UL) /*!< Pin driver is high. */
  470. /* Bit 29 : Pin 29. */
  471. #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  472. #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  473. #define GPIO_OUT_PIN29_Low (0UL) /*!< Pin driver is low. */
  474. #define GPIO_OUT_PIN29_High (1UL) /*!< Pin driver is high. */
  475. /* Bit 28 : Pin 28. */
  476. #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  477. #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  478. #define GPIO_OUT_PIN28_Low (0UL) /*!< Pin driver is low. */
  479. #define GPIO_OUT_PIN28_High (1UL) /*!< Pin driver is high. */
  480. /* Bit 27 : Pin 27. */
  481. #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  482. #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  483. #define GPIO_OUT_PIN27_Low (0UL) /*!< Pin driver is low. */
  484. #define GPIO_OUT_PIN27_High (1UL) /*!< Pin driver is high. */
  485. /* Bit 26 : Pin 26. */
  486. #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  487. #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  488. #define GPIO_OUT_PIN26_Low (0UL) /*!< Pin driver is low. */
  489. #define GPIO_OUT_PIN26_High (1UL) /*!< Pin driver is high. */
  490. /* Bit 25 : Pin 25. */
  491. #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  492. #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  493. #define GPIO_OUT_PIN25_Low (0UL) /*!< Pin driver is low. */
  494. #define GPIO_OUT_PIN25_High (1UL) /*!< Pin driver is high. */
  495. /* Bit 24 : Pin 24. */
  496. #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  497. #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  498. #define GPIO_OUT_PIN24_Low (0UL) /*!< Pin driver is low. */
  499. #define GPIO_OUT_PIN24_High (1UL) /*!< Pin driver is high. */
  500. /* Bit 23 : Pin 23. */
  501. #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  502. #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  503. #define GPIO_OUT_PIN23_Low (0UL) /*!< Pin driver is low. */
  504. #define GPIO_OUT_PIN23_High (1UL) /*!< Pin driver is high. */
  505. /* Bit 22 : Pin 22. */
  506. #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  507. #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  508. #define GPIO_OUT_PIN22_Low (0UL) /*!< Pin driver is low. */
  509. #define GPIO_OUT_PIN22_High (1UL) /*!< Pin driver is high. */
  510. /* Bit 21 : Pin 21. */
  511. #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  512. #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  513. #define GPIO_OUT_PIN21_Low (0UL) /*!< Pin driver is low. */
  514. #define GPIO_OUT_PIN21_High (1UL) /*!< Pin driver is high. */
  515. /* Bit 20 : Pin 20. */
  516. #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  517. #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  518. #define GPIO_OUT_PIN20_Low (0UL) /*!< Pin driver is low. */
  519. #define GPIO_OUT_PIN20_High (1UL) /*!< Pin driver is high. */
  520. /* Bit 19 : Pin 19. */
  521. #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  522. #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  523. #define GPIO_OUT_PIN19_Low (0UL) /*!< Pin driver is low. */
  524. #define GPIO_OUT_PIN19_High (1UL) /*!< Pin driver is high. */
  525. /* Bit 18 : Pin 18. */
  526. #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  527. #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  528. #define GPIO_OUT_PIN18_Low (0UL) /*!< Pin driver is low. */
  529. #define GPIO_OUT_PIN18_High (1UL) /*!< Pin driver is high. */
  530. /* Bit 17 : Pin 17. */
  531. #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  532. #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  533. #define GPIO_OUT_PIN17_Low (0UL) /*!< Pin driver is low. */
  534. #define GPIO_OUT_PIN17_High (1UL) /*!< Pin driver is high. */
  535. /* Bit 16 : Pin 16. */
  536. #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  537. #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  538. #define GPIO_OUT_PIN16_Low (0UL) /*!< Pin driver is low. */
  539. #define GPIO_OUT_PIN16_High (1UL) /*!< Pin driver is high. */
  540. /* Bit 15 : Pin 15. */
  541. #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  542. #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  543. #define GPIO_OUT_PIN15_Low (0UL) /*!< Pin driver is low. */
  544. #define GPIO_OUT_PIN15_High (1UL) /*!< Pin driver is high. */
  545. /* Bit 14 : Pin 14. */
  546. #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  547. #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  548. #define GPIO_OUT_PIN14_Low (0UL) /*!< Pin driver is low. */
  549. #define GPIO_OUT_PIN14_High (1UL) /*!< Pin driver is high. */
  550. /* Bit 13 : Pin 13. */
  551. #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  552. #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  553. #define GPIO_OUT_PIN13_Low (0UL) /*!< Pin driver is low. */
  554. #define GPIO_OUT_PIN13_High (1UL) /*!< Pin driver is high. */
  555. /* Bit 12 : Pin 12. */
  556. #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  557. #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  558. #define GPIO_OUT_PIN12_Low (0UL) /*!< Pin driver is low. */
  559. #define GPIO_OUT_PIN12_High (1UL) /*!< Pin driver is high. */
  560. /* Bit 11 : Pin 11. */
  561. #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  562. #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  563. #define GPIO_OUT_PIN11_Low (0UL) /*!< Pin driver is low. */
  564. #define GPIO_OUT_PIN11_High (1UL) /*!< Pin driver is high. */
  565. /* Bit 10 : Pin 10. */
  566. #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  567. #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  568. #define GPIO_OUT_PIN10_Low (0UL) /*!< Pin driver is low. */
  569. #define GPIO_OUT_PIN10_High (1UL) /*!< Pin driver is high. */
  570. /* Bit 9 : Pin 9. */
  571. #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  572. #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  573. #define GPIO_OUT_PIN9_Low (0UL) /*!< Pin driver is low. */
  574. #define GPIO_OUT_PIN9_High (1UL) /*!< Pin driver is high. */
  575. /* Bit 8 : Pin 8. */
  576. #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  577. #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  578. #define GPIO_OUT_PIN8_Low (0UL) /*!< Pin driver is low. */
  579. #define GPIO_OUT_PIN8_High (1UL) /*!< Pin driver is high. */
  580. /* Bit 7 : Pin 7. */
  581. #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  582. #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  583. #define GPIO_OUT_PIN7_Low (0UL) /*!< Pin driver is low. */
  584. #define GPIO_OUT_PIN7_High (1UL) /*!< Pin driver is high. */
  585. /* Bit 6 : Pin 6. */
  586. #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  587. #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  588. #define GPIO_OUT_PIN6_Low (0UL) /*!< Pin driver is low. */
  589. #define GPIO_OUT_PIN6_High (1UL) /*!< Pin driver is high. */
  590. /* Bit 5 : Pin 5. */
  591. #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  592. #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  593. #define GPIO_OUT_PIN5_Low (0UL) /*!< Pin driver is low. */
  594. #define GPIO_OUT_PIN5_High (1UL) /*!< Pin driver is high. */
  595. /* Bit 4 : Pin 4. */
  596. #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  597. #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  598. #define GPIO_OUT_PIN4_Low (0UL) /*!< Pin driver is low. */
  599. #define GPIO_OUT_PIN4_High (1UL) /*!< Pin driver is high. */
  600. /* Bit 3 : Pin 3. */
  601. #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  602. #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  603. #define GPIO_OUT_PIN3_Low (0UL) /*!< Pin driver is low. */
  604. #define GPIO_OUT_PIN3_High (1UL) /*!< Pin driver is high. */
  605. /* Bit 2 : Pin 2. */
  606. #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  607. #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  608. #define GPIO_OUT_PIN2_Low (0UL) /*!< Pin driver is low. */
  609. #define GPIO_OUT_PIN2_High (1UL) /*!< Pin driver is high. */
  610. /* Bit 1 : Pin 1. */
  611. #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  612. #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  613. #define GPIO_OUT_PIN1_Low (0UL) /*!< Pin driver is low. */
  614. #define GPIO_OUT_PIN1_High (1UL) /*!< Pin driver is high. */
  615. /* Bit 0 : Pin 0. */
  616. #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  617. #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  618. #define GPIO_OUT_PIN0_Low (0UL) /*!< Pin driver is low. */
  619. #define GPIO_OUT_PIN0_High (1UL) /*!< Pin driver is high. */
  620. /* Register: GPIO_OUTSET */
  621. /* Description: Set individual bits in GPIO port. */
  622. /* Bit 31 : Pin 31. */
  623. #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  624. #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  625. #define GPIO_OUTSET_PIN31_Low (0UL) /*!< Pin driver is low. */
  626. #define GPIO_OUTSET_PIN31_High (1UL) /*!< Pin driver is high. */
  627. #define GPIO_OUTSET_PIN31_Set (1UL) /*!< Set pin driver high. */
  628. /* Bit 30 : Pin 30. */
  629. #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  630. #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  631. #define GPIO_OUTSET_PIN30_Low (0UL) /*!< Pin driver is low. */
  632. #define GPIO_OUTSET_PIN30_High (1UL) /*!< Pin driver is high. */
  633. #define GPIO_OUTSET_PIN30_Set (1UL) /*!< Set pin driver high. */
  634. /* Bit 29 : Pin 29. */
  635. #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  636. #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  637. #define GPIO_OUTSET_PIN29_Low (0UL) /*!< Pin driver is low. */
  638. #define GPIO_OUTSET_PIN29_High (1UL) /*!< Pin driver is high. */
  639. #define GPIO_OUTSET_PIN29_Set (1UL) /*!< Set pin driver high. */
  640. /* Bit 28 : Pin 28. */
  641. #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  642. #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  643. #define GPIO_OUTSET_PIN28_Low (0UL) /*!< Pin driver is low. */
  644. #define GPIO_OUTSET_PIN28_High (1UL) /*!< Pin driver is high. */
  645. #define GPIO_OUTSET_PIN28_Set (1UL) /*!< Set pin driver high. */
  646. /* Bit 27 : Pin 27. */
  647. #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  648. #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  649. #define GPIO_OUTSET_PIN27_Low (0UL) /*!< Pin driver is low. */
  650. #define GPIO_OUTSET_PIN27_High (1UL) /*!< Pin driver is high. */
  651. #define GPIO_OUTSET_PIN27_Set (1UL) /*!< Set pin driver high. */
  652. /* Bit 26 : Pin 26. */
  653. #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  654. #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  655. #define GPIO_OUTSET_PIN26_Low (0UL) /*!< Pin driver is low. */
  656. #define GPIO_OUTSET_PIN26_High (1UL) /*!< Pin driver is high. */
  657. #define GPIO_OUTSET_PIN26_Set (1UL) /*!< Set pin driver high. */
  658. /* Bit 25 : Pin 25. */
  659. #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  660. #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  661. #define GPIO_OUTSET_PIN25_Low (0UL) /*!< Pin driver is low. */
  662. #define GPIO_OUTSET_PIN25_High (1UL) /*!< Pin driver is high. */
  663. #define GPIO_OUTSET_PIN25_Set (1UL) /*!< Set pin driver high. */
  664. /* Bit 24 : Pin 24. */
  665. #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  666. #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  667. #define GPIO_OUTSET_PIN24_Low (0UL) /*!< Pin driver is low. */
  668. #define GPIO_OUTSET_PIN24_High (1UL) /*!< Pin driver is high. */
  669. #define GPIO_OUTSET_PIN24_Set (1UL) /*!< Set pin driver high. */
  670. /* Bit 23 : Pin 23. */
  671. #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  672. #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  673. #define GPIO_OUTSET_PIN23_Low (0UL) /*!< Pin driver is low. */
  674. #define GPIO_OUTSET_PIN23_High (1UL) /*!< Pin driver is high. */
  675. #define GPIO_OUTSET_PIN23_Set (1UL) /*!< Set pin driver high. */
  676. /* Bit 22 : Pin 22. */
  677. #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  678. #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  679. #define GPIO_OUTSET_PIN22_Low (0UL) /*!< Pin driver is low. */
  680. #define GPIO_OUTSET_PIN22_High (1UL) /*!< Pin driver is high. */
  681. #define GPIO_OUTSET_PIN22_Set (1UL) /*!< Set pin driver high. */
  682. /* Bit 21 : Pin 21. */
  683. #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  684. #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  685. #define GPIO_OUTSET_PIN21_Low (0UL) /*!< Pin driver is low. */
  686. #define GPIO_OUTSET_PIN21_High (1UL) /*!< Pin driver is high. */
  687. #define GPIO_OUTSET_PIN21_Set (1UL) /*!< Set pin driver high. */
  688. /* Bit 20 : Pin 20. */
  689. #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  690. #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  691. #define GPIO_OUTSET_PIN20_Low (0UL) /*!< Pin driver is low. */
  692. #define GPIO_OUTSET_PIN20_High (1UL) /*!< Pin driver is high. */
  693. #define GPIO_OUTSET_PIN20_Set (1UL) /*!< Set pin driver high. */
  694. /* Bit 19 : Pin 19. */
  695. #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  696. #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  697. #define GPIO_OUTSET_PIN19_Low (0UL) /*!< Pin driver is low. */
  698. #define GPIO_OUTSET_PIN19_High (1UL) /*!< Pin driver is high. */
  699. #define GPIO_OUTSET_PIN19_Set (1UL) /*!< Set pin driver high. */
  700. /* Bit 18 : Pin 18. */
  701. #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  702. #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  703. #define GPIO_OUTSET_PIN18_Low (0UL) /*!< Pin driver is low. */
  704. #define GPIO_OUTSET_PIN18_High (1UL) /*!< Pin driver is high. */
  705. #define GPIO_OUTSET_PIN18_Set (1UL) /*!< Set pin driver high. */
  706. /* Bit 17 : Pin 17. */
  707. #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  708. #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  709. #define GPIO_OUTSET_PIN17_Low (0UL) /*!< Pin driver is low. */
  710. #define GPIO_OUTSET_PIN17_High (1UL) /*!< Pin driver is high. */
  711. #define GPIO_OUTSET_PIN17_Set (1UL) /*!< Set pin driver high. */
  712. /* Bit 16 : Pin 16. */
  713. #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  714. #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  715. #define GPIO_OUTSET_PIN16_Low (0UL) /*!< Pin driver is low. */
  716. #define GPIO_OUTSET_PIN16_High (1UL) /*!< Pin driver is high. */
  717. #define GPIO_OUTSET_PIN16_Set (1UL) /*!< Set pin driver high. */
  718. /* Bit 15 : Pin 15. */
  719. #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  720. #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  721. #define GPIO_OUTSET_PIN15_Low (0UL) /*!< Pin driver is low. */
  722. #define GPIO_OUTSET_PIN15_High (1UL) /*!< Pin driver is high. */
  723. #define GPIO_OUTSET_PIN15_Set (1UL) /*!< Set pin driver high. */
  724. /* Bit 14 : Pin 14. */
  725. #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  726. #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  727. #define GPIO_OUTSET_PIN14_Low (0UL) /*!< Pin driver is low. */
  728. #define GPIO_OUTSET_PIN14_High (1UL) /*!< Pin driver is high. */
  729. #define GPIO_OUTSET_PIN14_Set (1UL) /*!< Set pin driver high. */
  730. /* Bit 13 : Pin 13. */
  731. #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  732. #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  733. #define GPIO_OUTSET_PIN13_Low (0UL) /*!< Pin driver is low. */
  734. #define GPIO_OUTSET_PIN13_High (1UL) /*!< Pin driver is high. */
  735. #define GPIO_OUTSET_PIN13_Set (1UL) /*!< Set pin driver high. */
  736. /* Bit 12 : Pin 12. */
  737. #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  738. #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  739. #define GPIO_OUTSET_PIN12_Low (0UL) /*!< Pin driver is low. */
  740. #define GPIO_OUTSET_PIN12_High (1UL) /*!< Pin driver is high. */
  741. #define GPIO_OUTSET_PIN12_Set (1UL) /*!< Set pin driver high. */
  742. /* Bit 11 : Pin 11. */
  743. #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  744. #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  745. #define GPIO_OUTSET_PIN11_Low (0UL) /*!< Pin driver is low. */
  746. #define GPIO_OUTSET_PIN11_High (1UL) /*!< Pin driver is high. */
  747. #define GPIO_OUTSET_PIN11_Set (1UL) /*!< Set pin driver high. */
  748. /* Bit 10 : Pin 10. */
  749. #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  750. #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  751. #define GPIO_OUTSET_PIN10_Low (0UL) /*!< Pin driver is low. */
  752. #define GPIO_OUTSET_PIN10_High (1UL) /*!< Pin driver is high. */
  753. #define GPIO_OUTSET_PIN10_Set (1UL) /*!< Set pin driver high. */
  754. /* Bit 9 : Pin 9. */
  755. #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  756. #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  757. #define GPIO_OUTSET_PIN9_Low (0UL) /*!< Pin driver is low. */
  758. #define GPIO_OUTSET_PIN9_High (1UL) /*!< Pin driver is high. */
  759. #define GPIO_OUTSET_PIN9_Set (1UL) /*!< Set pin driver high. */
  760. /* Bit 8 : Pin 8. */
  761. #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  762. #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  763. #define GPIO_OUTSET_PIN8_Low (0UL) /*!< Pin driver is low. */
  764. #define GPIO_OUTSET_PIN8_High (1UL) /*!< Pin driver is high. */
  765. #define GPIO_OUTSET_PIN8_Set (1UL) /*!< Set pin driver high. */
  766. /* Bit 7 : Pin 7. */
  767. #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  768. #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  769. #define GPIO_OUTSET_PIN7_Low (0UL) /*!< Pin driver is low. */
  770. #define GPIO_OUTSET_PIN7_High (1UL) /*!< Pin driver is high. */
  771. #define GPIO_OUTSET_PIN7_Set (1UL) /*!< Set pin driver high. */
  772. /* Bit 6 : Pin 6. */
  773. #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  774. #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  775. #define GPIO_OUTSET_PIN6_Low (0UL) /*!< Pin driver is low. */
  776. #define GPIO_OUTSET_PIN6_High (1UL) /*!< Pin driver is high. */
  777. #define GPIO_OUTSET_PIN6_Set (1UL) /*!< Set pin driver high. */
  778. /* Bit 5 : Pin 5. */
  779. #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  780. #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  781. #define GPIO_OUTSET_PIN5_Low (0UL) /*!< Pin driver is low. */
  782. #define GPIO_OUTSET_PIN5_High (1UL) /*!< Pin driver is high. */
  783. #define GPIO_OUTSET_PIN5_Set (1UL) /*!< Set pin driver high. */
  784. /* Bit 4 : Pin 4. */
  785. #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  786. #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  787. #define GPIO_OUTSET_PIN4_Low (0UL) /*!< Pin driver is low. */
  788. #define GPIO_OUTSET_PIN4_High (1UL) /*!< Pin driver is high. */
  789. #define GPIO_OUTSET_PIN4_Set (1UL) /*!< Set pin driver high. */
  790. /* Bit 3 : Pin 3. */
  791. #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  792. #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  793. #define GPIO_OUTSET_PIN3_Low (0UL) /*!< Pin driver is low. */
  794. #define GPIO_OUTSET_PIN3_High (1UL) /*!< Pin driver is high. */
  795. #define GPIO_OUTSET_PIN3_Set (1UL) /*!< Set pin driver high. */
  796. /* Bit 2 : Pin 2. */
  797. #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  798. #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  799. #define GPIO_OUTSET_PIN2_Low (0UL) /*!< Pin driver is low. */
  800. #define GPIO_OUTSET_PIN2_High (1UL) /*!< Pin driver is high. */
  801. #define GPIO_OUTSET_PIN2_Set (1UL) /*!< Set pin driver high. */
  802. /* Bit 1 : Pin 1. */
  803. #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  804. #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  805. #define GPIO_OUTSET_PIN1_Low (0UL) /*!< Pin driver is low. */
  806. #define GPIO_OUTSET_PIN1_High (1UL) /*!< Pin driver is high. */
  807. #define GPIO_OUTSET_PIN1_Set (1UL) /*!< Set pin driver high. */
  808. /* Bit 0 : Pin 0. */
  809. #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  810. #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  811. #define GPIO_OUTSET_PIN0_Low (0UL) /*!< Pin driver is low. */
  812. #define GPIO_OUTSET_PIN0_High (1UL) /*!< Pin driver is high. */
  813. #define GPIO_OUTSET_PIN0_Set (1UL) /*!< Set pin driver high. */
  814. /* Register: GPIO_OUTCLR */
  815. /* Description: Clear individual bits in GPIO port. */
  816. /* Bit 31 : Pin 31. */
  817. #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  818. #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  819. #define GPIO_OUTCLR_PIN31_Low (0UL) /*!< Pin driver is low. */
  820. #define GPIO_OUTCLR_PIN31_High (1UL) /*!< Pin driver is high. */
  821. #define GPIO_OUTCLR_PIN31_Clear (1UL) /*!< Set pin driver low. */
  822. /* Bit 30 : Pin 30. */
  823. #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  824. #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  825. #define GPIO_OUTCLR_PIN30_Low (0UL) /*!< Pin driver is low. */
  826. #define GPIO_OUTCLR_PIN30_High (1UL) /*!< Pin driver is high. */
  827. #define GPIO_OUTCLR_PIN30_Clear (1UL) /*!< Set pin driver low. */
  828. /* Bit 29 : Pin 29. */
  829. #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  830. #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  831. #define GPIO_OUTCLR_PIN29_Low (0UL) /*!< Pin driver is low. */
  832. #define GPIO_OUTCLR_PIN29_High (1UL) /*!< Pin driver is high. */
  833. #define GPIO_OUTCLR_PIN29_Clear (1UL) /*!< Set pin driver low. */
  834. /* Bit 28 : Pin 28. */
  835. #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  836. #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  837. #define GPIO_OUTCLR_PIN28_Low (0UL) /*!< Pin driver is low. */
  838. #define GPIO_OUTCLR_PIN28_High (1UL) /*!< Pin driver is high. */
  839. #define GPIO_OUTCLR_PIN28_Clear (1UL) /*!< Set pin driver low. */
  840. /* Bit 27 : Pin 27. */
  841. #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  842. #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  843. #define GPIO_OUTCLR_PIN27_Low (0UL) /*!< Pin driver is low. */
  844. #define GPIO_OUTCLR_PIN27_High (1UL) /*!< Pin driver is high. */
  845. #define GPIO_OUTCLR_PIN27_Clear (1UL) /*!< Set pin driver low. */
  846. /* Bit 26 : Pin 26. */
  847. #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  848. #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  849. #define GPIO_OUTCLR_PIN26_Low (0UL) /*!< Pin driver is low. */
  850. #define GPIO_OUTCLR_PIN26_High (1UL) /*!< Pin driver is high. */
  851. #define GPIO_OUTCLR_PIN26_Clear (1UL) /*!< Set pin driver low. */
  852. /* Bit 25 : Pin 25. */
  853. #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  854. #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  855. #define GPIO_OUTCLR_PIN25_Low (0UL) /*!< Pin driver is low. */
  856. #define GPIO_OUTCLR_PIN25_High (1UL) /*!< Pin driver is high. */
  857. #define GPIO_OUTCLR_PIN25_Clear (1UL) /*!< Set pin driver low. */
  858. /* Bit 24 : Pin 24. */
  859. #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  860. #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  861. #define GPIO_OUTCLR_PIN24_Low (0UL) /*!< Pin driver is low. */
  862. #define GPIO_OUTCLR_PIN24_High (1UL) /*!< Pin driver is high. */
  863. #define GPIO_OUTCLR_PIN24_Clear (1UL) /*!< Set pin driver low. */
  864. /* Bit 23 : Pin 23. */
  865. #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  866. #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  867. #define GPIO_OUTCLR_PIN23_Low (0UL) /*!< Pin driver is low. */
  868. #define GPIO_OUTCLR_PIN23_High (1UL) /*!< Pin driver is high. */
  869. #define GPIO_OUTCLR_PIN23_Clear (1UL) /*!< Set pin driver low. */
  870. /* Bit 22 : Pin 22. */
  871. #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  872. #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  873. #define GPIO_OUTCLR_PIN22_Low (0UL) /*!< Pin driver is low. */
  874. #define GPIO_OUTCLR_PIN22_High (1UL) /*!< Pin driver is high. */
  875. #define GPIO_OUTCLR_PIN22_Clear (1UL) /*!< Set pin driver low. */
  876. /* Bit 21 : Pin 21. */
  877. #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  878. #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  879. #define GPIO_OUTCLR_PIN21_Low (0UL) /*!< Pin driver is low. */
  880. #define GPIO_OUTCLR_PIN21_High (1UL) /*!< Pin driver is high. */
  881. #define GPIO_OUTCLR_PIN21_Clear (1UL) /*!< Set pin driver low. */
  882. /* Bit 20 : Pin 20. */
  883. #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  884. #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  885. #define GPIO_OUTCLR_PIN20_Low (0UL) /*!< Pin driver is low. */
  886. #define GPIO_OUTCLR_PIN20_High (1UL) /*!< Pin driver is high. */
  887. #define GPIO_OUTCLR_PIN20_Clear (1UL) /*!< Set pin driver low. */
  888. /* Bit 19 : Pin 19. */
  889. #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  890. #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  891. #define GPIO_OUTCLR_PIN19_Low (0UL) /*!< Pin driver is low. */
  892. #define GPIO_OUTCLR_PIN19_High (1UL) /*!< Pin driver is high. */
  893. #define GPIO_OUTCLR_PIN19_Clear (1UL) /*!< Set pin driver low. */
  894. /* Bit 18 : Pin 18. */
  895. #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  896. #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  897. #define GPIO_OUTCLR_PIN18_Low (0UL) /*!< Pin driver is low. */
  898. #define GPIO_OUTCLR_PIN18_High (1UL) /*!< Pin driver is high. */
  899. #define GPIO_OUTCLR_PIN18_Clear (1UL) /*!< Set pin driver low. */
  900. /* Bit 17 : Pin 17. */
  901. #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  902. #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  903. #define GPIO_OUTCLR_PIN17_Low (0UL) /*!< Pin driver is low. */
  904. #define GPIO_OUTCLR_PIN17_High (1UL) /*!< Pin driver is high. */
  905. #define GPIO_OUTCLR_PIN17_Clear (1UL) /*!< Set pin driver low. */
  906. /* Bit 16 : Pin 16. */
  907. #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  908. #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  909. #define GPIO_OUTCLR_PIN16_Low (0UL) /*!< Pin driver is low. */
  910. #define GPIO_OUTCLR_PIN16_High (1UL) /*!< Pin driver is high. */
  911. #define GPIO_OUTCLR_PIN16_Clear (1UL) /*!< Set pin driver low. */
  912. /* Bit 15 : Pin 15. */
  913. #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  914. #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  915. #define GPIO_OUTCLR_PIN15_Low (0UL) /*!< Pin driver is low. */
  916. #define GPIO_OUTCLR_PIN15_High (1UL) /*!< Pin driver is high. */
  917. #define GPIO_OUTCLR_PIN15_Clear (1UL) /*!< Set pin driver low. */
  918. /* Bit 14 : Pin 14. */
  919. #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  920. #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  921. #define GPIO_OUTCLR_PIN14_Low (0UL) /*!< Pin driver is low. */
  922. #define GPIO_OUTCLR_PIN14_High (1UL) /*!< Pin driver is high. */
  923. #define GPIO_OUTCLR_PIN14_Clear (1UL) /*!< Set pin driver low. */
  924. /* Bit 13 : Pin 13. */
  925. #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  926. #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  927. #define GPIO_OUTCLR_PIN13_Low (0UL) /*!< Pin driver is low. */
  928. #define GPIO_OUTCLR_PIN13_High (1UL) /*!< Pin driver is high. */
  929. #define GPIO_OUTCLR_PIN13_Clear (1UL) /*!< Set pin driver low. */
  930. /* Bit 12 : Pin 12. */
  931. #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  932. #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  933. #define GPIO_OUTCLR_PIN12_Low (0UL) /*!< Pin driver is low. */
  934. #define GPIO_OUTCLR_PIN12_High (1UL) /*!< Pin driver is high. */
  935. #define GPIO_OUTCLR_PIN12_Clear (1UL) /*!< Set pin driver low. */
  936. /* Bit 11 : Pin 11. */
  937. #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  938. #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  939. #define GPIO_OUTCLR_PIN11_Low (0UL) /*!< Pin driver is low. */
  940. #define GPIO_OUTCLR_PIN11_High (1UL) /*!< Pin driver is high. */
  941. #define GPIO_OUTCLR_PIN11_Clear (1UL) /*!< Set pin driver low. */
  942. /* Bit 10 : Pin 10. */
  943. #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  944. #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  945. #define GPIO_OUTCLR_PIN10_Low (0UL) /*!< Pin driver is low. */
  946. #define GPIO_OUTCLR_PIN10_High (1UL) /*!< Pin driver is high. */
  947. #define GPIO_OUTCLR_PIN10_Clear (1UL) /*!< Set pin driver low. */
  948. /* Bit 9 : Pin 9. */
  949. #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  950. #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  951. #define GPIO_OUTCLR_PIN9_Low (0UL) /*!< Pin driver is low. */
  952. #define GPIO_OUTCLR_PIN9_High (1UL) /*!< Pin driver is high. */
  953. #define GPIO_OUTCLR_PIN9_Clear (1UL) /*!< Set pin driver low. */
  954. /* Bit 8 : Pin 8. */
  955. #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  956. #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  957. #define GPIO_OUTCLR_PIN8_Low (0UL) /*!< Pin driver is low. */
  958. #define GPIO_OUTCLR_PIN8_High (1UL) /*!< Pin driver is high. */
  959. #define GPIO_OUTCLR_PIN8_Clear (1UL) /*!< Set pin driver low. */
  960. /* Bit 7 : Pin 7. */
  961. #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  962. #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  963. #define GPIO_OUTCLR_PIN7_Low (0UL) /*!< Pin driver is low. */
  964. #define GPIO_OUTCLR_PIN7_High (1UL) /*!< Pin driver is high. */
  965. #define GPIO_OUTCLR_PIN7_Clear (1UL) /*!< Set pin driver low. */
  966. /* Bit 6 : Pin 6. */
  967. #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  968. #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  969. #define GPIO_OUTCLR_PIN6_Low (0UL) /*!< Pin driver is low. */
  970. #define GPIO_OUTCLR_PIN6_High (1UL) /*!< Pin driver is high. */
  971. #define GPIO_OUTCLR_PIN6_Clear (1UL) /*!< Set pin driver low. */
  972. /* Bit 5 : Pin 5. */
  973. #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  974. #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  975. #define GPIO_OUTCLR_PIN5_Low (0UL) /*!< Pin driver is low. */
  976. #define GPIO_OUTCLR_PIN5_High (1UL) /*!< Pin driver is high. */
  977. #define GPIO_OUTCLR_PIN5_Clear (1UL) /*!< Set pin driver low. */
  978. /* Bit 4 : Pin 4. */
  979. #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  980. #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  981. #define GPIO_OUTCLR_PIN4_Low (0UL) /*!< Pin driver is low. */
  982. #define GPIO_OUTCLR_PIN4_High (1UL) /*!< Pin driver is high. */
  983. #define GPIO_OUTCLR_PIN4_Clear (1UL) /*!< Set pin driver low. */
  984. /* Bit 3 : Pin 3. */
  985. #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  986. #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  987. #define GPIO_OUTCLR_PIN3_Low (0UL) /*!< Pin driver is low. */
  988. #define GPIO_OUTCLR_PIN3_High (1UL) /*!< Pin driver is high. */
  989. #define GPIO_OUTCLR_PIN3_Clear (1UL) /*!< Set pin driver low. */
  990. /* Bit 2 : Pin 2. */
  991. #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  992. #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  993. #define GPIO_OUTCLR_PIN2_Low (0UL) /*!< Pin driver is low. */
  994. #define GPIO_OUTCLR_PIN2_High (1UL) /*!< Pin driver is high. */
  995. #define GPIO_OUTCLR_PIN2_Clear (1UL) /*!< Set pin driver low. */
  996. /* Bit 1 : Pin 1. */
  997. #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  998. #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  999. #define GPIO_OUTCLR_PIN1_Low (0UL) /*!< Pin driver is low. */
  1000. #define GPIO_OUTCLR_PIN1_High (1UL) /*!< Pin driver is high. */
  1001. #define GPIO_OUTCLR_PIN1_Clear (1UL) /*!< Set pin driver low. */
  1002. /* Bit 0 : Pin 0. */
  1003. #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1004. #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1005. #define GPIO_OUTCLR_PIN0_Low (0UL) /*!< Pin driver is low. */
  1006. #define GPIO_OUTCLR_PIN0_High (1UL) /*!< Pin driver is high. */
  1007. #define GPIO_OUTCLR_PIN0_Clear (1UL) /*!< Set pin driver low. */
  1008. /* Register: GPIO_IN */
  1009. /* Description: Read GPIO port. */
  1010. /* Bit 31 : Pin 31. */
  1011. #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1012. #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1013. #define GPIO_IN_PIN31_Low (0UL) /*!< Pin input is low. */
  1014. #define GPIO_IN_PIN31_High (1UL) /*!< Pin input is high. */
  1015. /* Bit 30 : Pin 30. */
  1016. #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1017. #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1018. #define GPIO_IN_PIN30_Low (0UL) /*!< Pin input is low. */
  1019. #define GPIO_IN_PIN30_High (1UL) /*!< Pin input is high. */
  1020. /* Bit 29 : Pin 29. */
  1021. #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1022. #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1023. #define GPIO_IN_PIN29_Low (0UL) /*!< Pin input is low. */
  1024. #define GPIO_IN_PIN29_High (1UL) /*!< Pin input is high. */
  1025. /* Bit 28 : Pin 28. */
  1026. #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1027. #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1028. #define GPIO_IN_PIN28_Low (0UL) /*!< Pin input is low. */
  1029. #define GPIO_IN_PIN28_High (1UL) /*!< Pin input is high. */
  1030. /* Bit 27 : Pin 27. */
  1031. #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1032. #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1033. #define GPIO_IN_PIN27_Low (0UL) /*!< Pin input is low. */
  1034. #define GPIO_IN_PIN27_High (1UL) /*!< Pin input is high. */
  1035. /* Bit 26 : Pin 26. */
  1036. #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1037. #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1038. #define GPIO_IN_PIN26_Low (0UL) /*!< Pin input is low. */
  1039. #define GPIO_IN_PIN26_High (1UL) /*!< Pin input is high. */
  1040. /* Bit 25 : Pin 25. */
  1041. #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1042. #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1043. #define GPIO_IN_PIN25_Low (0UL) /*!< Pin input is low. */
  1044. #define GPIO_IN_PIN25_High (1UL) /*!< Pin input is high. */
  1045. /* Bit 24 : Pin 24. */
  1046. #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1047. #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1048. #define GPIO_IN_PIN24_Low (0UL) /*!< Pin input is low. */
  1049. #define GPIO_IN_PIN24_High (1UL) /*!< Pin input is high. */
  1050. /* Bit 23 : Pin 23. */
  1051. #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1052. #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1053. #define GPIO_IN_PIN23_Low (0UL) /*!< Pin input is low. */
  1054. #define GPIO_IN_PIN23_High (1UL) /*!< Pin input is high. */
  1055. /* Bit 22 : Pin 22. */
  1056. #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1057. #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1058. #define GPIO_IN_PIN22_Low (0UL) /*!< Pin input is low. */
  1059. #define GPIO_IN_PIN22_High (1UL) /*!< Pin input is high. */
  1060. /* Bit 21 : Pin 21. */
  1061. #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1062. #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1063. #define GPIO_IN_PIN21_Low (0UL) /*!< Pin input is low. */
  1064. #define GPIO_IN_PIN21_High (1UL) /*!< Pin input is high. */
  1065. /* Bit 20 : Pin 20. */
  1066. #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1067. #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1068. #define GPIO_IN_PIN20_Low (0UL) /*!< Pin input is low. */
  1069. #define GPIO_IN_PIN20_High (1UL) /*!< Pin input is high. */
  1070. /* Bit 19 : Pin 19. */
  1071. #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1072. #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1073. #define GPIO_IN_PIN19_Low (0UL) /*!< Pin input is low. */
  1074. #define GPIO_IN_PIN19_High (1UL) /*!< Pin input is high. */
  1075. /* Bit 18 : Pin 18. */
  1076. #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1077. #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1078. #define GPIO_IN_PIN18_Low (0UL) /*!< Pin input is low. */
  1079. #define GPIO_IN_PIN18_High (1UL) /*!< Pin input is high. */
  1080. /* Bit 17 : Pin 17. */
  1081. #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1082. #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1083. #define GPIO_IN_PIN17_Low (0UL) /*!< Pin input is low. */
  1084. #define GPIO_IN_PIN17_High (1UL) /*!< Pin input is high. */
  1085. /* Bit 16 : Pin 16. */
  1086. #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1087. #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1088. #define GPIO_IN_PIN16_Low (0UL) /*!< Pin input is low. */
  1089. #define GPIO_IN_PIN16_High (1UL) /*!< Pin input is high. */
  1090. /* Bit 15 : Pin 15. */
  1091. #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1092. #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1093. #define GPIO_IN_PIN15_Low (0UL) /*!< Pin input is low. */
  1094. #define GPIO_IN_PIN15_High (1UL) /*!< Pin input is high. */
  1095. /* Bit 14 : Pin 14. */
  1096. #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1097. #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1098. #define GPIO_IN_PIN14_Low (0UL) /*!< Pin input is low. */
  1099. #define GPIO_IN_PIN14_High (1UL) /*!< Pin input is high. */
  1100. /* Bit 13 : Pin 13. */
  1101. #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1102. #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1103. #define GPIO_IN_PIN13_Low (0UL) /*!< Pin input is low. */
  1104. #define GPIO_IN_PIN13_High (1UL) /*!< Pin input is high. */
  1105. /* Bit 12 : Pin 12. */
  1106. #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1107. #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1108. #define GPIO_IN_PIN12_Low (0UL) /*!< Pin input is low. */
  1109. #define GPIO_IN_PIN12_High (1UL) /*!< Pin input is high. */
  1110. /* Bit 11 : Pin 11. */
  1111. #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1112. #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1113. #define GPIO_IN_PIN11_Low (0UL) /*!< Pin input is low. */
  1114. #define GPIO_IN_PIN11_High (1UL) /*!< Pin input is high. */
  1115. /* Bit 10 : Pin 10. */
  1116. #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1117. #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1118. #define GPIO_IN_PIN10_Low (0UL) /*!< Pin input is low. */
  1119. #define GPIO_IN_PIN10_High (1UL) /*!< Pin input is high. */
  1120. /* Bit 9 : Pin 9. */
  1121. #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1122. #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1123. #define GPIO_IN_PIN9_Low (0UL) /*!< Pin input is low. */
  1124. #define GPIO_IN_PIN9_High (1UL) /*!< Pin input is high. */
  1125. /* Bit 8 : Pin 8. */
  1126. #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1127. #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1128. #define GPIO_IN_PIN8_Low (0UL) /*!< Pin input is low. */
  1129. #define GPIO_IN_PIN8_High (1UL) /*!< Pin input is high. */
  1130. /* Bit 7 : Pin 7. */
  1131. #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1132. #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1133. #define GPIO_IN_PIN7_Low (0UL) /*!< Pin input is low. */
  1134. #define GPIO_IN_PIN7_High (1UL) /*!< Pin input is high. */
  1135. /* Bit 6 : Pin 6. */
  1136. #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1137. #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1138. #define GPIO_IN_PIN6_Low (0UL) /*!< Pin input is low. */
  1139. #define GPIO_IN_PIN6_High (1UL) /*!< Pin input is high. */
  1140. /* Bit 5 : Pin 5. */
  1141. #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1142. #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1143. #define GPIO_IN_PIN5_Low (0UL) /*!< Pin input is low. */
  1144. #define GPIO_IN_PIN5_High (1UL) /*!< Pin input is high. */
  1145. /* Bit 4 : Pin 4. */
  1146. #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1147. #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1148. #define GPIO_IN_PIN4_Low (0UL) /*!< Pin input is low. */
  1149. #define GPIO_IN_PIN4_High (1UL) /*!< Pin input is high. */
  1150. /* Bit 3 : Pin 3. */
  1151. #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1152. #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1153. #define GPIO_IN_PIN3_Low (0UL) /*!< Pin input is low. */
  1154. #define GPIO_IN_PIN3_High (1UL) /*!< Pin input is high. */
  1155. /* Bit 2 : Pin 2. */
  1156. #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1157. #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1158. #define GPIO_IN_PIN2_Low (0UL) /*!< Pin input is low. */
  1159. #define GPIO_IN_PIN2_High (1UL) /*!< Pin input is high. */
  1160. /* Bit 1 : Pin 1. */
  1161. #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1162. #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1163. #define GPIO_IN_PIN1_Low (0UL) /*!< Pin input is low. */
  1164. #define GPIO_IN_PIN1_High (1UL) /*!< Pin input is high. */
  1165. /* Bit 0 : Pin 0. */
  1166. #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1167. #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1168. #define GPIO_IN_PIN0_Low (0UL) /*!< Pin input is low. */
  1169. #define GPIO_IN_PIN0_High (1UL) /*!< Pin input is high. */
  1170. /* Register: GPIO_DIR */
  1171. /* Description: Direction of GPIO pins. */
  1172. /* Bit 31 : Pin 31. */
  1173. #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1174. #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1175. #define GPIO_DIR_PIN31_Input (0UL) /*!< Pin set as input. */
  1176. #define GPIO_DIR_PIN31_Output (1UL) /*!< Pin set as output. */
  1177. /* Bit 30 : Pin 30. */
  1178. #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1179. #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1180. #define GPIO_DIR_PIN30_Input (0UL) /*!< Pin set as input. */
  1181. #define GPIO_DIR_PIN30_Output (1UL) /*!< Pin set as output. */
  1182. /* Bit 29 : Pin 29. */
  1183. #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1184. #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1185. #define GPIO_DIR_PIN29_Input (0UL) /*!< Pin set as input. */
  1186. #define GPIO_DIR_PIN29_Output (1UL) /*!< Pin set as output. */
  1187. /* Bit 28 : Pin 28. */
  1188. #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1189. #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1190. #define GPIO_DIR_PIN28_Input (0UL) /*!< Pin set as input. */
  1191. #define GPIO_DIR_PIN28_Output (1UL) /*!< Pin set as output. */
  1192. /* Bit 27 : Pin 27. */
  1193. #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1194. #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1195. #define GPIO_DIR_PIN27_Input (0UL) /*!< Pin set as input. */
  1196. #define GPIO_DIR_PIN27_Output (1UL) /*!< Pin set as output. */
  1197. /* Bit 26 : Pin 26. */
  1198. #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1199. #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1200. #define GPIO_DIR_PIN26_Input (0UL) /*!< Pin set as input. */
  1201. #define GPIO_DIR_PIN26_Output (1UL) /*!< Pin set as output. */
  1202. /* Bit 25 : Pin 25. */
  1203. #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1204. #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1205. #define GPIO_DIR_PIN25_Input (0UL) /*!< Pin set as input. */
  1206. #define GPIO_DIR_PIN25_Output (1UL) /*!< Pin set as output. */
  1207. /* Bit 24 : Pin 24. */
  1208. #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1209. #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1210. #define GPIO_DIR_PIN24_Input (0UL) /*!< Pin set as input. */
  1211. #define GPIO_DIR_PIN24_Output (1UL) /*!< Pin set as output. */
  1212. /* Bit 23 : Pin 23. */
  1213. #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1214. #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1215. #define GPIO_DIR_PIN23_Input (0UL) /*!< Pin set as input. */
  1216. #define GPIO_DIR_PIN23_Output (1UL) /*!< Pin set as output. */
  1217. /* Bit 22 : Pin 22. */
  1218. #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1219. #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1220. #define GPIO_DIR_PIN22_Input (0UL) /*!< Pin set as input. */
  1221. #define GPIO_DIR_PIN22_Output (1UL) /*!< Pin set as output. */
  1222. /* Bit 21 : Pin 21. */
  1223. #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1224. #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1225. #define GPIO_DIR_PIN21_Input (0UL) /*!< Pin set as input. */
  1226. #define GPIO_DIR_PIN21_Output (1UL) /*!< Pin set as output. */
  1227. /* Bit 20 : Pin 20. */
  1228. #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1229. #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1230. #define GPIO_DIR_PIN20_Input (0UL) /*!< Pin set as input. */
  1231. #define GPIO_DIR_PIN20_Output (1UL) /*!< Pin set as output. */
  1232. /* Bit 19 : Pin 19. */
  1233. #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1234. #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1235. #define GPIO_DIR_PIN19_Input (0UL) /*!< Pin set as input. */
  1236. #define GPIO_DIR_PIN19_Output (1UL) /*!< Pin set as output. */
  1237. /* Bit 18 : Pin 18. */
  1238. #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1239. #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1240. #define GPIO_DIR_PIN18_Input (0UL) /*!< Pin set as input. */
  1241. #define GPIO_DIR_PIN18_Output (1UL) /*!< Pin set as output. */
  1242. /* Bit 17 : Pin 17. */
  1243. #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1244. #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1245. #define GPIO_DIR_PIN17_Input (0UL) /*!< Pin set as input. */
  1246. #define GPIO_DIR_PIN17_Output (1UL) /*!< Pin set as output. */
  1247. /* Bit 16 : Pin 16. */
  1248. #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1249. #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1250. #define GPIO_DIR_PIN16_Input (0UL) /*!< Pin set as input. */
  1251. #define GPIO_DIR_PIN16_Output (1UL) /*!< Pin set as output. */
  1252. /* Bit 15 : Pin 15. */
  1253. #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1254. #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1255. #define GPIO_DIR_PIN15_Input (0UL) /*!< Pin set as input. */
  1256. #define GPIO_DIR_PIN15_Output (1UL) /*!< Pin set as output. */
  1257. /* Bit 14 : Pin 14. */
  1258. #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1259. #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1260. #define GPIO_DIR_PIN14_Input (0UL) /*!< Pin set as input. */
  1261. #define GPIO_DIR_PIN14_Output (1UL) /*!< Pin set as output. */
  1262. /* Bit 13 : Pin 13. */
  1263. #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1264. #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1265. #define GPIO_DIR_PIN13_Input (0UL) /*!< Pin set as input. */
  1266. #define GPIO_DIR_PIN13_Output (1UL) /*!< Pin set as output. */
  1267. /* Bit 12 : Pin 12. */
  1268. #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1269. #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1270. #define GPIO_DIR_PIN12_Input (0UL) /*!< Pin set as input. */
  1271. #define GPIO_DIR_PIN12_Output (1UL) /*!< Pin set as output. */
  1272. /* Bit 11 : Pin 11. */
  1273. #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1274. #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1275. #define GPIO_DIR_PIN11_Input (0UL) /*!< Pin set as input. */
  1276. #define GPIO_DIR_PIN11_Output (1UL) /*!< Pin set as output. */
  1277. /* Bit 10 : Pin 10. */
  1278. #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1279. #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1280. #define GPIO_DIR_PIN10_Input (0UL) /*!< Pin set as input. */
  1281. #define GPIO_DIR_PIN10_Output (1UL) /*!< Pin set as output. */
  1282. /* Bit 9 : Pin 9. */
  1283. #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1284. #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1285. #define GPIO_DIR_PIN9_Input (0UL) /*!< Pin set as input. */
  1286. #define GPIO_DIR_PIN9_Output (1UL) /*!< Pin set as output. */
  1287. /* Bit 8 : Pin 8. */
  1288. #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1289. #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1290. #define GPIO_DIR_PIN8_Input (0UL) /*!< Pin set as input. */
  1291. #define GPIO_DIR_PIN8_Output (1UL) /*!< Pin set as output. */
  1292. /* Bit 7 : Pin 7. */
  1293. #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1294. #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1295. #define GPIO_DIR_PIN7_Input (0UL) /*!< Pin set as input. */
  1296. #define GPIO_DIR_PIN7_Output (1UL) /*!< Pin set as output. */
  1297. /* Bit 6 : Pin 6. */
  1298. #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1299. #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1300. #define GPIO_DIR_PIN6_Input (0UL) /*!< Pin set as input. */
  1301. #define GPIO_DIR_PIN6_Output (1UL) /*!< Pin set as output. */
  1302. /* Bit 5 : Pin 5. */
  1303. #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1304. #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1305. #define GPIO_DIR_PIN5_Input (0UL) /*!< Pin set as input. */
  1306. #define GPIO_DIR_PIN5_Output (1UL) /*!< Pin set as output. */
  1307. /* Bit 4 : Pin 4. */
  1308. #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1309. #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1310. #define GPIO_DIR_PIN4_Input (0UL) /*!< Pin set as input. */
  1311. #define GPIO_DIR_PIN4_Output (1UL) /*!< Pin set as output. */
  1312. /* Bit 3 : Pin 3. */
  1313. #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1314. #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1315. #define GPIO_DIR_PIN3_Input (0UL) /*!< Pin set as input. */
  1316. #define GPIO_DIR_PIN3_Output (1UL) /*!< Pin set as output. */
  1317. /* Bit 2 : Pin 2. */
  1318. #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1319. #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1320. #define GPIO_DIR_PIN2_Input (0UL) /*!< Pin set as input. */
  1321. #define GPIO_DIR_PIN2_Output (1UL) /*!< Pin set as output. */
  1322. /* Bit 1 : Pin 1. */
  1323. #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1324. #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1325. #define GPIO_DIR_PIN1_Input (0UL) /*!< Pin set as input. */
  1326. #define GPIO_DIR_PIN1_Output (1UL) /*!< Pin set as output. */
  1327. /* Bit 0 : Pin 0. */
  1328. #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1329. #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1330. #define GPIO_DIR_PIN0_Input (0UL) /*!< Pin set as input. */
  1331. #define GPIO_DIR_PIN0_Output (1UL) /*!< Pin set as output. */
  1332. /* Register: GPIO_DIRSET */
  1333. /* Description: DIR set register. */
  1334. /* Bit 31 : Set as output pin 31. */
  1335. #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1336. #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1337. #define GPIO_DIRSET_PIN31_Input (0UL) /*!< Pin set as input. */
  1338. #define GPIO_DIRSET_PIN31_Output (1UL) /*!< Pin set as output. */
  1339. #define GPIO_DIRSET_PIN31_Set (1UL) /*!< Set pin as output. */
  1340. /* Bit 30 : Set as output pin 30. */
  1341. #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1342. #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1343. #define GPIO_DIRSET_PIN30_Input (0UL) /*!< Pin set as input. */
  1344. #define GPIO_DIRSET_PIN30_Output (1UL) /*!< Pin set as output. */
  1345. #define GPIO_DIRSET_PIN30_Set (1UL) /*!< Set pin as output. */
  1346. /* Bit 29 : Set as output pin 29. */
  1347. #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1348. #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1349. #define GPIO_DIRSET_PIN29_Input (0UL) /*!< Pin set as input. */
  1350. #define GPIO_DIRSET_PIN29_Output (1UL) /*!< Pin set as output. */
  1351. #define GPIO_DIRSET_PIN29_Set (1UL) /*!< Set pin as output. */
  1352. /* Bit 28 : Set as output pin 28. */
  1353. #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1354. #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1355. #define GPIO_DIRSET_PIN28_Input (0UL) /*!< Pin set as input. */
  1356. #define GPIO_DIRSET_PIN28_Output (1UL) /*!< Pin set as output. */
  1357. #define GPIO_DIRSET_PIN28_Set (1UL) /*!< Set pin as output. */
  1358. /* Bit 27 : Set as output pin 27. */
  1359. #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1360. #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1361. #define GPIO_DIRSET_PIN27_Input (0UL) /*!< Pin set as input. */
  1362. #define GPIO_DIRSET_PIN27_Output (1UL) /*!< Pin set as output. */
  1363. #define GPIO_DIRSET_PIN27_Set (1UL) /*!< Set pin as output. */
  1364. /* Bit 26 : Set as output pin 26. */
  1365. #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1366. #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1367. #define GPIO_DIRSET_PIN26_Input (0UL) /*!< Pin set as input. */
  1368. #define GPIO_DIRSET_PIN26_Output (1UL) /*!< Pin set as output. */
  1369. #define GPIO_DIRSET_PIN26_Set (1UL) /*!< Set pin as output. */
  1370. /* Bit 25 : Set as output pin 25. */
  1371. #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1372. #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1373. #define GPIO_DIRSET_PIN25_Input (0UL) /*!< Pin set as input. */
  1374. #define GPIO_DIRSET_PIN25_Output (1UL) /*!< Pin set as output. */
  1375. #define GPIO_DIRSET_PIN25_Set (1UL) /*!< Set pin as output. */
  1376. /* Bit 24 : Set as output pin 24. */
  1377. #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1378. #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1379. #define GPIO_DIRSET_PIN24_Input (0UL) /*!< Pin set as input. */
  1380. #define GPIO_DIRSET_PIN24_Output (1UL) /*!< Pin set as output. */
  1381. #define GPIO_DIRSET_PIN24_Set (1UL) /*!< Set pin as output. */
  1382. /* Bit 23 : Set as output pin 23. */
  1383. #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1384. #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1385. #define GPIO_DIRSET_PIN23_Input (0UL) /*!< Pin set as input. */
  1386. #define GPIO_DIRSET_PIN23_Output (1UL) /*!< Pin set as output. */
  1387. #define GPIO_DIRSET_PIN23_Set (1UL) /*!< Set pin as output. */
  1388. /* Bit 22 : Set as output pin 22. */
  1389. #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1390. #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1391. #define GPIO_DIRSET_PIN22_Input (0UL) /*!< Pin set as input. */
  1392. #define GPIO_DIRSET_PIN22_Output (1UL) /*!< Pin set as output. */
  1393. #define GPIO_DIRSET_PIN22_Set (1UL) /*!< Set pin as output. */
  1394. /* Bit 21 : Set as output pin 21. */
  1395. #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1396. #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1397. #define GPIO_DIRSET_PIN21_Input (0UL) /*!< Pin set as input. */
  1398. #define GPIO_DIRSET_PIN21_Output (1UL) /*!< Pin set as output. */
  1399. #define GPIO_DIRSET_PIN21_Set (1UL) /*!< Set pin as output. */
  1400. /* Bit 20 : Set as output pin 20. */
  1401. #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1402. #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1403. #define GPIO_DIRSET_PIN20_Input (0UL) /*!< Pin set as input. */
  1404. #define GPIO_DIRSET_PIN20_Output (1UL) /*!< Pin set as output. */
  1405. #define GPIO_DIRSET_PIN20_Set (1UL) /*!< Set pin as output. */
  1406. /* Bit 19 : Set as output pin 19. */
  1407. #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1408. #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1409. #define GPIO_DIRSET_PIN19_Input (0UL) /*!< Pin set as input. */
  1410. #define GPIO_DIRSET_PIN19_Output (1UL) /*!< Pin set as output. */
  1411. #define GPIO_DIRSET_PIN19_Set (1UL) /*!< Set pin as output. */
  1412. /* Bit 18 : Set as output pin 18. */
  1413. #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1414. #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1415. #define GPIO_DIRSET_PIN18_Input (0UL) /*!< Pin set as input. */
  1416. #define GPIO_DIRSET_PIN18_Output (1UL) /*!< Pin set as output. */
  1417. #define GPIO_DIRSET_PIN18_Set (1UL) /*!< Set pin as output. */
  1418. /* Bit 17 : Set as output pin 17. */
  1419. #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1420. #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1421. #define GPIO_DIRSET_PIN17_Input (0UL) /*!< Pin set as input. */
  1422. #define GPIO_DIRSET_PIN17_Output (1UL) /*!< Pin set as output. */
  1423. #define GPIO_DIRSET_PIN17_Set (1UL) /*!< Set pin as output. */
  1424. /* Bit 16 : Set as output pin 16. */
  1425. #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1426. #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1427. #define GPIO_DIRSET_PIN16_Input (0UL) /*!< Pin set as input. */
  1428. #define GPIO_DIRSET_PIN16_Output (1UL) /*!< Pin set as output. */
  1429. #define GPIO_DIRSET_PIN16_Set (1UL) /*!< Set pin as output. */
  1430. /* Bit 15 : Set as output pin 15. */
  1431. #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1432. #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1433. #define GPIO_DIRSET_PIN15_Input (0UL) /*!< Pin set as input. */
  1434. #define GPIO_DIRSET_PIN15_Output (1UL) /*!< Pin set as output. */
  1435. #define GPIO_DIRSET_PIN15_Set (1UL) /*!< Set pin as output. */
  1436. /* Bit 14 : Set as output pin 14. */
  1437. #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1438. #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1439. #define GPIO_DIRSET_PIN14_Input (0UL) /*!< Pin set as input. */
  1440. #define GPIO_DIRSET_PIN14_Output (1UL) /*!< Pin set as output. */
  1441. #define GPIO_DIRSET_PIN14_Set (1UL) /*!< Set pin as output. */
  1442. /* Bit 13 : Set as output pin 13. */
  1443. #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1444. #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1445. #define GPIO_DIRSET_PIN13_Input (0UL) /*!< Pin set as input. */
  1446. #define GPIO_DIRSET_PIN13_Output (1UL) /*!< Pin set as output. */
  1447. #define GPIO_DIRSET_PIN13_Set (1UL) /*!< Set pin as output. */
  1448. /* Bit 12 : Set as output pin 12. */
  1449. #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1450. #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1451. #define GPIO_DIRSET_PIN12_Input (0UL) /*!< Pin set as input. */
  1452. #define GPIO_DIRSET_PIN12_Output (1UL) /*!< Pin set as output. */
  1453. #define GPIO_DIRSET_PIN12_Set (1UL) /*!< Set pin as output. */
  1454. /* Bit 11 : Set as output pin 11. */
  1455. #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1456. #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1457. #define GPIO_DIRSET_PIN11_Input (0UL) /*!< Pin set as input. */
  1458. #define GPIO_DIRSET_PIN11_Output (1UL) /*!< Pin set as output. */
  1459. #define GPIO_DIRSET_PIN11_Set (1UL) /*!< Set pin as output. */
  1460. /* Bit 10 : Set as output pin 10. */
  1461. #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1462. #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1463. #define GPIO_DIRSET_PIN10_Input (0UL) /*!< Pin set as input. */
  1464. #define GPIO_DIRSET_PIN10_Output (1UL) /*!< Pin set as output. */
  1465. #define GPIO_DIRSET_PIN10_Set (1UL) /*!< Set pin as output. */
  1466. /* Bit 9 : Set as output pin 9. */
  1467. #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1468. #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1469. #define GPIO_DIRSET_PIN9_Input (0UL) /*!< Pin set as input. */
  1470. #define GPIO_DIRSET_PIN9_Output (1UL) /*!< Pin set as output. */
  1471. #define GPIO_DIRSET_PIN9_Set (1UL) /*!< Set pin as output. */
  1472. /* Bit 8 : Set as output pin 8. */
  1473. #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1474. #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1475. #define GPIO_DIRSET_PIN8_Input (0UL) /*!< Pin set as input. */
  1476. #define GPIO_DIRSET_PIN8_Output (1UL) /*!< Pin set as output. */
  1477. #define GPIO_DIRSET_PIN8_Set (1UL) /*!< Set pin as output. */
  1478. /* Bit 7 : Set as output pin 7. */
  1479. #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1480. #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1481. #define GPIO_DIRSET_PIN7_Input (0UL) /*!< Pin set as input. */
  1482. #define GPIO_DIRSET_PIN7_Output (1UL) /*!< Pin set as output. */
  1483. #define GPIO_DIRSET_PIN7_Set (1UL) /*!< Set pin as output. */
  1484. /* Bit 6 : Set as output pin 6. */
  1485. #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1486. #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1487. #define GPIO_DIRSET_PIN6_Input (0UL) /*!< Pin set as input. */
  1488. #define GPIO_DIRSET_PIN6_Output (1UL) /*!< Pin set as output. */
  1489. #define GPIO_DIRSET_PIN6_Set (1UL) /*!< Set pin as output. */
  1490. /* Bit 5 : Set as output pin 5. */
  1491. #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1492. #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1493. #define GPIO_DIRSET_PIN5_Input (0UL) /*!< Pin set as input. */
  1494. #define GPIO_DIRSET_PIN5_Output (1UL) /*!< Pin set as output. */
  1495. #define GPIO_DIRSET_PIN5_Set (1UL) /*!< Set pin as output. */
  1496. /* Bit 4 : Set as output pin 4. */
  1497. #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1498. #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1499. #define GPIO_DIRSET_PIN4_Input (0UL) /*!< Pin set as input. */
  1500. #define GPIO_DIRSET_PIN4_Output (1UL) /*!< Pin set as output. */
  1501. #define GPIO_DIRSET_PIN4_Set (1UL) /*!< Set pin as output. */
  1502. /* Bit 3 : Set as output pin 3. */
  1503. #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1504. #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1505. #define GPIO_DIRSET_PIN3_Input (0UL) /*!< Pin set as input. */
  1506. #define GPIO_DIRSET_PIN3_Output (1UL) /*!< Pin set as output. */
  1507. #define GPIO_DIRSET_PIN3_Set (1UL) /*!< Set pin as output. */
  1508. /* Bit 2 : Set as output pin 2. */
  1509. #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1510. #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1511. #define GPIO_DIRSET_PIN2_Input (0UL) /*!< Pin set as input. */
  1512. #define GPIO_DIRSET_PIN2_Output (1UL) /*!< Pin set as output. */
  1513. #define GPIO_DIRSET_PIN2_Set (1UL) /*!< Set pin as output. */
  1514. /* Bit 1 : Set as output pin 1. */
  1515. #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1516. #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1517. #define GPIO_DIRSET_PIN1_Input (0UL) /*!< Pin set as input. */
  1518. #define GPIO_DIRSET_PIN1_Output (1UL) /*!< Pin set as output. */
  1519. #define GPIO_DIRSET_PIN1_Set (1UL) /*!< Set pin as output. */
  1520. /* Bit 0 : Set as output pin 0. */
  1521. #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1522. #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1523. #define GPIO_DIRSET_PIN0_Input (0UL) /*!< Pin set as input. */
  1524. #define GPIO_DIRSET_PIN0_Output (1UL) /*!< Pin set as output. */
  1525. #define GPIO_DIRSET_PIN0_Set (1UL) /*!< Set pin as output. */
  1526. /* Register: GPIO_DIRCLR */
  1527. /* Description: DIR clear register. */
  1528. /* Bit 31 : Set as input pin 31. */
  1529. #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1530. #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1531. #define GPIO_DIRCLR_PIN31_Input (0UL) /*!< Pin set as input. */
  1532. #define GPIO_DIRCLR_PIN31_Output (1UL) /*!< Pin set as output. */
  1533. #define GPIO_DIRCLR_PIN31_Clear (1UL) /*!< Set pin as input. */
  1534. /* Bit 30 : Set as input pin 30. */
  1535. #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1536. #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1537. #define GPIO_DIRCLR_PIN30_Input (0UL) /*!< Pin set as input. */
  1538. #define GPIO_DIRCLR_PIN30_Output (1UL) /*!< Pin set as output. */
  1539. #define GPIO_DIRCLR_PIN30_Clear (1UL) /*!< Set pin as input. */
  1540. /* Bit 29 : Set as input pin 29. */
  1541. #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1542. #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1543. #define GPIO_DIRCLR_PIN29_Input (0UL) /*!< Pin set as input. */
  1544. #define GPIO_DIRCLR_PIN29_Output (1UL) /*!< Pin set as output. */
  1545. #define GPIO_DIRCLR_PIN29_Clear (1UL) /*!< Set pin as input. */
  1546. /* Bit 28 : Set as input pin 28. */
  1547. #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1548. #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1549. #define GPIO_DIRCLR_PIN28_Input (0UL) /*!< Pin set as input. */
  1550. #define GPIO_DIRCLR_PIN28_Output (1UL) /*!< Pin set as output. */
  1551. #define GPIO_DIRCLR_PIN28_Clear (1UL) /*!< Set pin as input. */
  1552. /* Bit 27 : Set as input pin 27. */
  1553. #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1554. #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1555. #define GPIO_DIRCLR_PIN27_Input (0UL) /*!< Pin set as input. */
  1556. #define GPIO_DIRCLR_PIN27_Output (1UL) /*!< Pin set as output. */
  1557. #define GPIO_DIRCLR_PIN27_Clear (1UL) /*!< Set pin as input. */
  1558. /* Bit 26 : Set as input pin 26. */
  1559. #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1560. #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1561. #define GPIO_DIRCLR_PIN26_Input (0UL) /*!< Pin set as input. */
  1562. #define GPIO_DIRCLR_PIN26_Output (1UL) /*!< Pin set as output. */
  1563. #define GPIO_DIRCLR_PIN26_Clear (1UL) /*!< Set pin as input. */
  1564. /* Bit 25 : Set as input pin 25. */
  1565. #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1566. #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1567. #define GPIO_DIRCLR_PIN25_Input (0UL) /*!< Pin set as input. */
  1568. #define GPIO_DIRCLR_PIN25_Output (1UL) /*!< Pin set as output. */
  1569. #define GPIO_DIRCLR_PIN25_Clear (1UL) /*!< Set pin as input. */
  1570. /* Bit 24 : Set as input pin 24. */
  1571. #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1572. #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1573. #define GPIO_DIRCLR_PIN24_Input (0UL) /*!< Pin set as input. */
  1574. #define GPIO_DIRCLR_PIN24_Output (1UL) /*!< Pin set as output. */
  1575. #define GPIO_DIRCLR_PIN24_Clear (1UL) /*!< Set pin as input. */
  1576. /* Bit 23 : Set as input pin 23. */
  1577. #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1578. #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1579. #define GPIO_DIRCLR_PIN23_Input (0UL) /*!< Pin set as input. */
  1580. #define GPIO_DIRCLR_PIN23_Output (1UL) /*!< Pin set as output. */
  1581. #define GPIO_DIRCLR_PIN23_Clear (1UL) /*!< Set pin as input. */
  1582. /* Bit 22 : Set as input pin 22. */
  1583. #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1584. #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1585. #define GPIO_DIRCLR_PIN22_Input (0UL) /*!< Pin set as input. */
  1586. #define GPIO_DIRCLR_PIN22_Output (1UL) /*!< Pin set as output. */
  1587. #define GPIO_DIRCLR_PIN22_Clear (1UL) /*!< Set pin as input. */
  1588. /* Bit 21 : Set as input pin 21. */
  1589. #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1590. #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1591. #define GPIO_DIRCLR_PIN21_Input (0UL) /*!< Pin set as input. */
  1592. #define GPIO_DIRCLR_PIN21_Output (1UL) /*!< Pin set as output. */
  1593. #define GPIO_DIRCLR_PIN21_Clear (1UL) /*!< Set pin as input. */
  1594. /* Bit 20 : Set as input pin 20. */
  1595. #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1596. #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1597. #define GPIO_DIRCLR_PIN20_Input (0UL) /*!< Pin set as input. */
  1598. #define GPIO_DIRCLR_PIN20_Output (1UL) /*!< Pin set as output. */
  1599. #define GPIO_DIRCLR_PIN20_Clear (1UL) /*!< Set pin as input. */
  1600. /* Bit 19 : Set as input pin 19. */
  1601. #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1602. #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1603. #define GPIO_DIRCLR_PIN19_Input (0UL) /*!< Pin set as input. */
  1604. #define GPIO_DIRCLR_PIN19_Output (1UL) /*!< Pin set as output. */
  1605. #define GPIO_DIRCLR_PIN19_Clear (1UL) /*!< Set pin as input. */
  1606. /* Bit 18 : Set as input pin 18. */
  1607. #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1608. #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1609. #define GPIO_DIRCLR_PIN18_Input (0UL) /*!< Pin set as input. */
  1610. #define GPIO_DIRCLR_PIN18_Output (1UL) /*!< Pin set as output. */
  1611. #define GPIO_DIRCLR_PIN18_Clear (1UL) /*!< Set pin as input. */
  1612. /* Bit 17 : Set as input pin 17. */
  1613. #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1614. #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1615. #define GPIO_DIRCLR_PIN17_Input (0UL) /*!< Pin set as input. */
  1616. #define GPIO_DIRCLR_PIN17_Output (1UL) /*!< Pin set as output. */
  1617. #define GPIO_DIRCLR_PIN17_Clear (1UL) /*!< Set pin as input. */
  1618. /* Bit 16 : Set as input pin 16. */
  1619. #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1620. #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1621. #define GPIO_DIRCLR_PIN16_Input (0UL) /*!< Pin set as input. */
  1622. #define GPIO_DIRCLR_PIN16_Output (1UL) /*!< Pin set as output. */
  1623. #define GPIO_DIRCLR_PIN16_Clear (1UL) /*!< Set pin as input. */
  1624. /* Bit 15 : Set as input pin 15. */
  1625. #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1626. #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1627. #define GPIO_DIRCLR_PIN15_Input (0UL) /*!< Pin set as input. */
  1628. #define GPIO_DIRCLR_PIN15_Output (1UL) /*!< Pin set as output. */
  1629. #define GPIO_DIRCLR_PIN15_Clear (1UL) /*!< Set pin as input. */
  1630. /* Bit 14 : Set as input pin 14. */
  1631. #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1632. #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1633. #define GPIO_DIRCLR_PIN14_Input (0UL) /*!< Pin set as input. */
  1634. #define GPIO_DIRCLR_PIN14_Output (1UL) /*!< Pin set as output. */
  1635. #define GPIO_DIRCLR_PIN14_Clear (1UL) /*!< Set pin as input. */
  1636. /* Bit 13 : Set as input pin 13. */
  1637. #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1638. #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1639. #define GPIO_DIRCLR_PIN13_Input (0UL) /*!< Pin set as input. */
  1640. #define GPIO_DIRCLR_PIN13_Output (1UL) /*!< Pin set as output. */
  1641. #define GPIO_DIRCLR_PIN13_Clear (1UL) /*!< Set pin as input. */
  1642. /* Bit 12 : Set as input pin 12. */
  1643. #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1644. #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1645. #define GPIO_DIRCLR_PIN12_Input (0UL) /*!< Pin set as input. */
  1646. #define GPIO_DIRCLR_PIN12_Output (1UL) /*!< Pin set as output. */
  1647. #define GPIO_DIRCLR_PIN12_Clear (1UL) /*!< Set pin as input. */
  1648. /* Bit 11 : Set as input pin 11. */
  1649. #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1650. #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1651. #define GPIO_DIRCLR_PIN11_Input (0UL) /*!< Pin set as input. */
  1652. #define GPIO_DIRCLR_PIN11_Output (1UL) /*!< Pin set as output. */
  1653. #define GPIO_DIRCLR_PIN11_Clear (1UL) /*!< Set pin as input. */
  1654. /* Bit 10 : Set as input pin 10. */
  1655. #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1656. #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1657. #define GPIO_DIRCLR_PIN10_Input (0UL) /*!< Pin set as input. */
  1658. #define GPIO_DIRCLR_PIN10_Output (1UL) /*!< Pin set as output. */
  1659. #define GPIO_DIRCLR_PIN10_Clear (1UL) /*!< Set pin as input. */
  1660. /* Bit 9 : Set as input pin 9. */
  1661. #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1662. #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1663. #define GPIO_DIRCLR_PIN9_Input (0UL) /*!< Pin set as input. */
  1664. #define GPIO_DIRCLR_PIN9_Output (1UL) /*!< Pin set as output. */
  1665. #define GPIO_DIRCLR_PIN9_Clear (1UL) /*!< Set pin as input. */
  1666. /* Bit 8 : Set as input pin 8. */
  1667. #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1668. #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1669. #define GPIO_DIRCLR_PIN8_Input (0UL) /*!< Pin set as input. */
  1670. #define GPIO_DIRCLR_PIN8_Output (1UL) /*!< Pin set as output. */
  1671. #define GPIO_DIRCLR_PIN8_Clear (1UL) /*!< Set pin as input. */
  1672. /* Bit 7 : Set as input pin 7. */
  1673. #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1674. #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1675. #define GPIO_DIRCLR_PIN7_Input (0UL) /*!< Pin set as input. */
  1676. #define GPIO_DIRCLR_PIN7_Output (1UL) /*!< Pin set as output. */
  1677. #define GPIO_DIRCLR_PIN7_Clear (1UL) /*!< Set pin as input. */
  1678. /* Bit 6 : Set as input pin 6. */
  1679. #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1680. #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1681. #define GPIO_DIRCLR_PIN6_Input (0UL) /*!< Pin set as input. */
  1682. #define GPIO_DIRCLR_PIN6_Output (1UL) /*!< Pin set as output. */
  1683. #define GPIO_DIRCLR_PIN6_Clear (1UL) /*!< Set pin as input. */
  1684. /* Bit 5 : Set as input pin 5. */
  1685. #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1686. #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1687. #define GPIO_DIRCLR_PIN5_Input (0UL) /*!< Pin set as input. */
  1688. #define GPIO_DIRCLR_PIN5_Output (1UL) /*!< Pin set as output. */
  1689. #define GPIO_DIRCLR_PIN5_Clear (1UL) /*!< Set pin as input. */
  1690. /* Bit 4 : Set as input pin 4. */
  1691. #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1692. #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1693. #define GPIO_DIRCLR_PIN4_Input (0UL) /*!< Pin set as input. */
  1694. #define GPIO_DIRCLR_PIN4_Output (1UL) /*!< Pin set as output. */
  1695. #define GPIO_DIRCLR_PIN4_Clear (1UL) /*!< Set pin as input. */
  1696. /* Bit 3 : Set as input pin 3. */
  1697. #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1698. #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1699. #define GPIO_DIRCLR_PIN3_Input (0UL) /*!< Pin set as input. */
  1700. #define GPIO_DIRCLR_PIN3_Output (1UL) /*!< Pin set as output. */
  1701. #define GPIO_DIRCLR_PIN3_Clear (1UL) /*!< Set pin as input. */
  1702. /* Bit 2 : Set as input pin 2. */
  1703. #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1704. #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1705. #define GPIO_DIRCLR_PIN2_Input (0UL) /*!< Pin set as input. */
  1706. #define GPIO_DIRCLR_PIN2_Output (1UL) /*!< Pin set as output. */
  1707. #define GPIO_DIRCLR_PIN2_Clear (1UL) /*!< Set pin as input. */
  1708. /* Bit 1 : Set as input pin 1. */
  1709. #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1710. #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1711. #define GPIO_DIRCLR_PIN1_Input (0UL) /*!< Pin set as input. */
  1712. #define GPIO_DIRCLR_PIN1_Output (1UL) /*!< Pin set as output. */
  1713. #define GPIO_DIRCLR_PIN1_Clear (1UL) /*!< Set pin as input. */
  1714. /* Bit 0 : Set as input pin 0. */
  1715. #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1716. #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1717. #define GPIO_DIRCLR_PIN0_Input (0UL) /*!< Pin set as input. */
  1718. #define GPIO_DIRCLR_PIN0_Output (1UL) /*!< Pin set as output. */
  1719. #define GPIO_DIRCLR_PIN0_Clear (1UL) /*!< Set pin as input. */
  1720. /* Register: GPIO_PIN_CNF */
  1721. /* Description: Configuration of GPIO pins. */
  1722. /* Bits 17..16 : Pin sensing mechanism. */
  1723. #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */
  1724. #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */
  1725. #define GPIO_PIN_CNF_SENSE_Disabled (0x00UL) /*!< Disabled. */
  1726. #define GPIO_PIN_CNF_SENSE_High (0x02UL) /*!< Wakeup on high level. */
  1727. #define GPIO_PIN_CNF_SENSE_Low (0x03UL) /*!< Wakeup on low level. */
  1728. /* Bits 10..8 : Drive configuration. */
  1729. #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */
  1730. #define GPIO_PIN_CNF_DRIVE_Msk (0x7UL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */
  1731. #define GPIO_PIN_CNF_DRIVE_S0S1 (0x00UL) /*!< Standard '0', Standard '1'. */
  1732. #define GPIO_PIN_CNF_DRIVE_H0S1 (0x01UL) /*!< High '0', Standard '1'. */
  1733. #define GPIO_PIN_CNF_DRIVE_S0H1 (0x02UL) /*!< Standard '0', High '1'. */
  1734. #define GPIO_PIN_CNF_DRIVE_H0H1 (0x03UL) /*!< High '0', High '1'. */
  1735. #define GPIO_PIN_CNF_DRIVE_D0S1 (0x04UL) /*!< Disconnected '0', Standard '1'. */
  1736. #define GPIO_PIN_CNF_DRIVE_D0H1 (0x05UL) /*!< Disconnected '0', High '1'. */
  1737. #define GPIO_PIN_CNF_DRIVE_S0D1 (0x06UL) /*!< Standard '0', Disconnected '1'. */
  1738. #define GPIO_PIN_CNF_DRIVE_H0D1 (0x07UL) /*!< High '0', Disconnected '1'. */
  1739. /* Bits 3..2 : Pull-up or -down configuration. */
  1740. #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */
  1741. #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */
  1742. #define GPIO_PIN_CNF_PULL_Disabled (0x00UL) /*!< No pull. */
  1743. #define GPIO_PIN_CNF_PULL_Pulldown (0x01UL) /*!< Pulldown on pin. */
  1744. #define GPIO_PIN_CNF_PULL_Pullup (0x03UL) /*!< Pullup on pin. */
  1745. /* Bit 1 : Connect or disconnect input path. */
  1746. #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */
  1747. #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */
  1748. #define GPIO_PIN_CNF_INPUT_Connect (0UL) /*!< Connect input pin. */
  1749. #define GPIO_PIN_CNF_INPUT_Disconnect (1UL) /*!< Disconnect input pin. */
  1750. /* Bit 0 : Pin direction. */
  1751. #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */
  1752. #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */
  1753. #define GPIO_PIN_CNF_DIR_Input (0UL) /*!< Configure pin as an input pin. */
  1754. #define GPIO_PIN_CNF_DIR_Output (1UL) /*!< Configure pin as an output pin. */
  1755. /* Peripheral: GPIOTE */
  1756. /* Description: GPIO tasks and events. */
  1757. /* Register: GPIOTE_INTENSET */
  1758. /* Description: Interrupt enable set register. */
  1759. /* Bit 31 : Enable interrupt on PORT event. */
  1760. #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */
  1761. #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */
  1762. #define GPIOTE_INTENSET_PORT_Disabled (0UL) /*!< Interrupt disabled. */
  1763. #define GPIOTE_INTENSET_PORT_Enabled (1UL) /*!< Interrupt enabled. */
  1764. #define GPIOTE_INTENSET_PORT_Set (1UL) /*!< Enable interrupt on write. */
  1765. /* Bit 3 : Enable interrupt on IN[3] event. */
  1766. #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */
  1767. #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */
  1768. #define GPIOTE_INTENSET_IN3_Disabled (0UL) /*!< Interrupt disabled. */
  1769. #define GPIOTE_INTENSET_IN3_Enabled (1UL) /*!< Interrupt enabled. */
  1770. #define GPIOTE_INTENSET_IN3_Set (1UL) /*!< Enable interrupt on write. */
  1771. /* Bit 2 : Enable interrupt on IN[2] event. */
  1772. #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */
  1773. #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */
  1774. #define GPIOTE_INTENSET_IN2_Disabled (0UL) /*!< Interrupt disabled. */
  1775. #define GPIOTE_INTENSET_IN2_Enabled (1UL) /*!< Interrupt enabled. */
  1776. #define GPIOTE_INTENSET_IN2_Set (1UL) /*!< Enable interrupt on write. */
  1777. /* Bit 1 : Enable interrupt on IN[1] event. */
  1778. #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */
  1779. #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */
  1780. #define GPIOTE_INTENSET_IN1_Disabled (0UL) /*!< Interrupt disabled. */
  1781. #define GPIOTE_INTENSET_IN1_Enabled (1UL) /*!< Interrupt enabled. */
  1782. #define GPIOTE_INTENSET_IN1_Set (1UL) /*!< Enable interrupt on write. */
  1783. /* Bit 0 : Enable interrupt on IN[0] event. */
  1784. #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */
  1785. #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */
  1786. #define GPIOTE_INTENSET_IN0_Disabled (0UL) /*!< Interrupt disabled. */
  1787. #define GPIOTE_INTENSET_IN0_Enabled (1UL) /*!< Interrupt enabled. */
  1788. #define GPIOTE_INTENSET_IN0_Set (1UL) /*!< Enable interrupt on write. */
  1789. /* Register: GPIOTE_INTENCLR */
  1790. /* Description: Interrupt enable clear register. */
  1791. /* Bit 31 : Disable interrupt on PORT event. */
  1792. #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */
  1793. #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */
  1794. #define GPIOTE_INTENCLR_PORT_Disabled (0UL) /*!< Interrupt disabled. */
  1795. #define GPIOTE_INTENCLR_PORT_Enabled (1UL) /*!< Interrupt enabled. */
  1796. #define GPIOTE_INTENCLR_PORT_Clear (1UL) /*!< Disable interrupt on write. */
  1797. /* Bit 3 : Disable interrupt on IN[3] event. */
  1798. #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */
  1799. #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */
  1800. #define GPIOTE_INTENCLR_IN3_Disabled (0UL) /*!< Interrupt disabled. */
  1801. #define GPIOTE_INTENCLR_IN3_Enabled (1UL) /*!< Interrupt enabled. */
  1802. #define GPIOTE_INTENCLR_IN3_Clear (1UL) /*!< Disable interrupt on write. */
  1803. /* Bit 2 : Disable interrupt on IN[2] event. */
  1804. #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */
  1805. #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */
  1806. #define GPIOTE_INTENCLR_IN2_Disabled (0UL) /*!< Interrupt disabled. */
  1807. #define GPIOTE_INTENCLR_IN2_Enabled (1UL) /*!< Interrupt enabled. */
  1808. #define GPIOTE_INTENCLR_IN2_Clear (1UL) /*!< Disable interrupt on write. */
  1809. /* Bit 1 : Disable interrupt on IN[1] event. */
  1810. #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */
  1811. #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */
  1812. #define GPIOTE_INTENCLR_IN1_Disabled (0UL) /*!< Interrupt disabled. */
  1813. #define GPIOTE_INTENCLR_IN1_Enabled (1UL) /*!< Interrupt enabled. */
  1814. #define GPIOTE_INTENCLR_IN1_Clear (1UL) /*!< Disable interrupt on write. */
  1815. /* Bit 0 : Disable interrupt on IN[0] event. */
  1816. #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */
  1817. #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */
  1818. #define GPIOTE_INTENCLR_IN0_Disabled (0UL) /*!< Interrupt disabled. */
  1819. #define GPIOTE_INTENCLR_IN0_Enabled (1UL) /*!< Interrupt enabled. */
  1820. #define GPIOTE_INTENCLR_IN0_Clear (1UL) /*!< Disable interrupt on write. */
  1821. /* Register: GPIOTE_CONFIG */
  1822. /* Description: Channel configuration registers. */
  1823. /* Bit 20 : Initial value of the output when the GPIOTE channel is configured as a Task. */
  1824. #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */
  1825. #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */
  1826. #define GPIOTE_CONFIG_OUTINIT_Low (0UL) /*!< Initial low output when in task mode. */
  1827. #define GPIOTE_CONFIG_OUTINIT_High (1UL) /*!< Initial high output when in task mode. */
  1828. /* Bits 17..16 : Effects on output when in Task mode, or events on input that generates an event. */
  1829. #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */
  1830. #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */
  1831. #define GPIOTE_CONFIG_POLARITY_None (0x00UL) /*!< No task or event. */
  1832. #define GPIOTE_CONFIG_POLARITY_LoToHi (0x01UL) /*!< Low to high. */
  1833. #define GPIOTE_CONFIG_POLARITY_HiToLo (0x02UL) /*!< High to low. */
  1834. #define GPIOTE_CONFIG_POLARITY_Toggle (0x03UL) /*!< Toggle. */
  1835. /* Bits 12..8 : Pin select. */
  1836. #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
  1837. #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
  1838. /* Bits 1..0 : Mode */
  1839. #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */
  1840. #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */
  1841. #define GPIOTE_CONFIG_MODE_Disabled (0x00UL) /*!< Disabled. */
  1842. #define GPIOTE_CONFIG_MODE_Event (0x01UL) /*!< Channel configure in event mode. */
  1843. #define GPIOTE_CONFIG_MODE_Task (0x03UL) /*!< Channel configure in task mode. */
  1844. /* Register: GPIOTE_POWER */
  1845. /* Description: Peripheral power control. */
  1846. /* Bit 0 : Peripheral power control. */
  1847. #define GPIOTE_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  1848. #define GPIOTE_POWER_POWER_Msk (0x1UL << GPIOTE_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  1849. #define GPIOTE_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  1850. #define GPIOTE_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  1851. /* Peripheral: LPCOMP */
  1852. /* Description: Low power comparator. */
  1853. /* Register: LPCOMP_SHORTS */
  1854. /* Description: Shortcuts for the LPCOMP. */
  1855. /* Bit 4 : Shortcut between CROSS event and STOP task. */
  1856. #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */
  1857. #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */
  1858. #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  1859. #define LPCOMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  1860. /* Bit 3 : Shortcut between UP event and STOP task. */
  1861. #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */
  1862. #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */
  1863. #define LPCOMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  1864. #define LPCOMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  1865. /* Bit 2 : Shortcut between DOWN event and STOP task. */
  1866. #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */
  1867. #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */
  1868. #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  1869. #define LPCOMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  1870. /* Bit 1 : Shortcut between RADY event and STOP task. */
  1871. #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */
  1872. #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */
  1873. #define LPCOMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  1874. #define LPCOMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  1875. /* Bit 0 : Shortcut between READY event and SAMPLE task. */
  1876. #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */
  1877. #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */
  1878. #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Shortcut disabled. */
  1879. #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Shortcut enabled. */
  1880. /* Register: LPCOMP_INTENSET */
  1881. /* Description: Interrupt enable set register. */
  1882. /* Bit 3 : Enable interrupt on CROSS event. */
  1883. #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  1884. #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */
  1885. #define LPCOMP_INTENSET_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
  1886. #define LPCOMP_INTENSET_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
  1887. #define LPCOMP_INTENSET_CROSS_Set (1UL) /*!< Enable interrupt on write. */
  1888. /* Bit 2 : Enable interrupt on UP event. */
  1889. #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */
  1890. #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */
  1891. #define LPCOMP_INTENSET_UP_Disabled (0UL) /*!< Interrupt disabled. */
  1892. #define LPCOMP_INTENSET_UP_Enabled (1UL) /*!< Interrupt enabled. */
  1893. #define LPCOMP_INTENSET_UP_Set (1UL) /*!< Enable interrupt on write. */
  1894. /* Bit 1 : Enable interrupt on DOWN event. */
  1895. #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  1896. #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */
  1897. #define LPCOMP_INTENSET_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
  1898. #define LPCOMP_INTENSET_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
  1899. #define LPCOMP_INTENSET_DOWN_Set (1UL) /*!< Enable interrupt on write. */
  1900. /* Bit 0 : Enable interrupt on READY event. */
  1901. #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  1902. #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  1903. #define LPCOMP_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
  1904. #define LPCOMP_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
  1905. #define LPCOMP_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
  1906. /* Register: LPCOMP_INTENCLR */
  1907. /* Description: Interrupt enable clear register. */
  1908. /* Bit 3 : Disable interrupt on CROSS event. */
  1909. #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  1910. #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */
  1911. #define LPCOMP_INTENCLR_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
  1912. #define LPCOMP_INTENCLR_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
  1913. #define LPCOMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable interrupt on write. */
  1914. /* Bit 2 : Disable interrupt on UP event. */
  1915. #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */
  1916. #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */
  1917. #define LPCOMP_INTENCLR_UP_Disabled (0UL) /*!< Interrupt disabled. */
  1918. #define LPCOMP_INTENCLR_UP_Enabled (1UL) /*!< Interrupt enabled. */
  1919. #define LPCOMP_INTENCLR_UP_Clear (1UL) /*!< Disable interrupt on write. */
  1920. /* Bit 1 : Disable interrupt on DOWN event. */
  1921. #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  1922. #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */
  1923. #define LPCOMP_INTENCLR_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
  1924. #define LPCOMP_INTENCLR_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
  1925. #define LPCOMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable interrupt on write. */
  1926. /* Bit 0 : Disable interrupt on READY event. */
  1927. #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  1928. #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  1929. #define LPCOMP_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
  1930. #define LPCOMP_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
  1931. #define LPCOMP_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
  1932. /* Register: LPCOMP_RESULT */
  1933. /* Description: Result of last compare. */
  1934. /* Bit 0 : Result of last compare. Decision point SAMPLE task. */
  1935. #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
  1936. #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
  1937. #define LPCOMP_RESULT_RESULT_Below (0UL) /*!< Input voltage is bellow the reference threshold. */
  1938. #define LPCOMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold. */
  1939. /* Register: LPCOMP_ENABLE */
  1940. /* Description: Enable the LPCOMP. */
  1941. /* Bits 1..0 : Enable or disable LPCOMP. */
  1942. #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  1943. #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  1944. #define LPCOMP_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled LPCOMP. */
  1945. #define LPCOMP_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable LPCOMP. */
  1946. /* Register: LPCOMP_PSEL */
  1947. /* Description: Input pin select. */
  1948. /* Bits 2..0 : Analog input pin select. */
  1949. #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */
  1950. #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */
  1951. #define LPCOMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< Use analog input 0 as analog input. */
  1952. #define LPCOMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< Use analog input 1 as analog input. */
  1953. #define LPCOMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< Use analog input 2 as analog input. */
  1954. #define LPCOMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< Use analog input 3 as analog input. */
  1955. #define LPCOMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< Use analog input 4 as analog input. */
  1956. #define LPCOMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< Use analog input 5 as analog input. */
  1957. #define LPCOMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< Use analog input 6 as analog input. */
  1958. #define LPCOMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< Use analog input 7 as analog input. */
  1959. /* Register: LPCOMP_REFSEL */
  1960. /* Description: Reference select. */
  1961. /* Bits 2..0 : Reference select. */
  1962. #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */
  1963. #define LPCOMP_REFSEL_REFSEL_Msk (0x7UL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  1964. #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling (0UL) /*!< Use supply with a 1/8 prescaler as reference. */
  1965. #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling (1UL) /*!< Use supply with a 2/8 prescaler as reference. */
  1966. #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling (2UL) /*!< Use supply with a 3/8 prescaler as reference. */
  1967. #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling (3UL) /*!< Use supply with a 4/8 prescaler as reference. */
  1968. #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling (4UL) /*!< Use supply with a 5/8 prescaler as reference. */
  1969. #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling (5UL) /*!< Use supply with a 6/8 prescaler as reference. */
  1970. #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling (6UL) /*!< Use supply with a 7/8 prescaler as reference. */
  1971. #define LPCOMP_REFSEL_REFSEL_ARef (7UL) /*!< Use external analog reference as reference. */
  1972. /* Register: LPCOMP_EXTREFSEL */
  1973. /* Description: External reference select. */
  1974. /* Bit 0 : External analog reference pin selection. */
  1975. #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */
  1976. #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
  1977. #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use analog reference 0 as reference. */
  1978. #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use analog reference 1 as reference. */
  1979. /* Register: LPCOMP_ANADETECT */
  1980. /* Description: Analog detect configuration. */
  1981. /* Bits 1..0 : Analog detect configuration. */
  1982. #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */
  1983. #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */
  1984. #define LPCOMP_ANADETECT_ANADETECT_Cross (0UL) /*!< Generate ANADETEC on crossing, both upwards and downwards crossing. */
  1985. #define LPCOMP_ANADETECT_ANADETECT_Up (1UL) /*!< Generate ANADETEC on upwards crossing only. */
  1986. #define LPCOMP_ANADETECT_ANADETECT_Down (2UL) /*!< Generate ANADETEC on downwards crossing only. */
  1987. /* Register: LPCOMP_POWER */
  1988. /* Description: Peripheral power control. */
  1989. /* Bit 0 : Peripheral power control. */
  1990. #define LPCOMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  1991. #define LPCOMP_POWER_POWER_Msk (0x1UL << LPCOMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  1992. #define LPCOMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  1993. #define LPCOMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  1994. /* Peripheral: MPU */
  1995. /* Description: Memory Protection Unit. */
  1996. /* Register: MPU_PERR0 */
  1997. /* Description: Configuration of peripherals in mpu regions. */
  1998. /* Bit 31 : PPI region configuration. */
  1999. #define MPU_PERR0_PPI_Pos (31UL) /*!< Position of PPI field. */
  2000. #define MPU_PERR0_PPI_Msk (0x1UL << MPU_PERR0_PPI_Pos) /*!< Bit mask of PPI field. */
  2001. #define MPU_PERR0_PPI_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2002. #define MPU_PERR0_PPI_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2003. /* Bit 30 : NVMC region configuration. */
  2004. #define MPU_PERR0_NVMC_Pos (30UL) /*!< Position of NVMC field. */
  2005. #define MPU_PERR0_NVMC_Msk (0x1UL << MPU_PERR0_NVMC_Pos) /*!< Bit mask of NVMC field. */
  2006. #define MPU_PERR0_NVMC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2007. #define MPU_PERR0_NVMC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2008. /* Bit 19 : LPCOMP region configuration. */
  2009. #define MPU_PERR0_LPCOMP_Pos (19UL) /*!< Position of LPCOMP field. */
  2010. #define MPU_PERR0_LPCOMP_Msk (0x1UL << MPU_PERR0_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */
  2011. #define MPU_PERR0_LPCOMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2012. #define MPU_PERR0_LPCOMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2013. /* Bit 18 : QDEC region configuration. */
  2014. #define MPU_PERR0_QDEC_Pos (18UL) /*!< Position of QDEC field. */
  2015. #define MPU_PERR0_QDEC_Msk (0x1UL << MPU_PERR0_QDEC_Pos) /*!< Bit mask of QDEC field. */
  2016. #define MPU_PERR0_QDEC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2017. #define MPU_PERR0_QDEC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2018. /* Bit 17 : RTC1 region configuration. */
  2019. #define MPU_PERR0_RTC1_Pos (17UL) /*!< Position of RTC1 field. */
  2020. #define MPU_PERR0_RTC1_Msk (0x1UL << MPU_PERR0_RTC1_Pos) /*!< Bit mask of RTC1 field. */
  2021. #define MPU_PERR0_RTC1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2022. #define MPU_PERR0_RTC1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2023. /* Bit 16 : WDT region configuration. */
  2024. #define MPU_PERR0_WDT_Pos (16UL) /*!< Position of WDT field. */
  2025. #define MPU_PERR0_WDT_Msk (0x1UL << MPU_PERR0_WDT_Pos) /*!< Bit mask of WDT field. */
  2026. #define MPU_PERR0_WDT_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2027. #define MPU_PERR0_WDT_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2028. /* Bit 15 : CCM and AAR region configuration. */
  2029. #define MPU_PERR0_CCM_AAR_Pos (15UL) /*!< Position of CCM_AAR field. */
  2030. #define MPU_PERR0_CCM_AAR_Msk (0x1UL << MPU_PERR0_CCM_AAR_Pos) /*!< Bit mask of CCM_AAR field. */
  2031. #define MPU_PERR0_CCM_AAR_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2032. #define MPU_PERR0_CCM_AAR_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2033. /* Bit 14 : ECB region configuration. */
  2034. #define MPU_PERR0_ECB_Pos (14UL) /*!< Position of ECB field. */
  2035. #define MPU_PERR0_ECB_Msk (0x1UL << MPU_PERR0_ECB_Pos) /*!< Bit mask of ECB field. */
  2036. #define MPU_PERR0_ECB_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2037. #define MPU_PERR0_ECB_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2038. /* Bit 13 : RNG region configuration. */
  2039. #define MPU_PERR0_RNG_Pos (13UL) /*!< Position of RNG field. */
  2040. #define MPU_PERR0_RNG_Msk (0x1UL << MPU_PERR0_RNG_Pos) /*!< Bit mask of RNG field. */
  2041. #define MPU_PERR0_RNG_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2042. #define MPU_PERR0_RNG_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2043. /* Bit 12 : TEMP region configuration. */
  2044. #define MPU_PERR0_TEMP_Pos (12UL) /*!< Position of TEMP field. */
  2045. #define MPU_PERR0_TEMP_Msk (0x1UL << MPU_PERR0_TEMP_Pos) /*!< Bit mask of TEMP field. */
  2046. #define MPU_PERR0_TEMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2047. #define MPU_PERR0_TEMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2048. /* Bit 11 : RTC0 region configuration. */
  2049. #define MPU_PERR0_RTC0_Pos (11UL) /*!< Position of RTC0 field. */
  2050. #define MPU_PERR0_RTC0_Msk (0x1UL << MPU_PERR0_RTC0_Pos) /*!< Bit mask of RTC0 field. */
  2051. #define MPU_PERR0_RTC0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2052. #define MPU_PERR0_RTC0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2053. /* Bit 10 : TIMER2 region configuration. */
  2054. #define MPU_PERR0_TIMER2_Pos (10UL) /*!< Position of TIMER2 field. */
  2055. #define MPU_PERR0_TIMER2_Msk (0x1UL << MPU_PERR0_TIMER2_Pos) /*!< Bit mask of TIMER2 field. */
  2056. #define MPU_PERR0_TIMER2_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2057. #define MPU_PERR0_TIMER2_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2058. /* Bit 9 : TIMER1 region configuration. */
  2059. #define MPU_PERR0_TIMER1_Pos (9UL) /*!< Position of TIMER1 field. */
  2060. #define MPU_PERR0_TIMER1_Msk (0x1UL << MPU_PERR0_TIMER1_Pos) /*!< Bit mask of TIMER1 field. */
  2061. #define MPU_PERR0_TIMER1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2062. #define MPU_PERR0_TIMER1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2063. /* Bit 8 : TIMER0 region configuration. */
  2064. #define MPU_PERR0_TIMER0_Pos (8UL) /*!< Position of TIMER0 field. */
  2065. #define MPU_PERR0_TIMER0_Msk (0x1UL << MPU_PERR0_TIMER0_Pos) /*!< Bit mask of TIMER0 field. */
  2066. #define MPU_PERR0_TIMER0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2067. #define MPU_PERR0_TIMER0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2068. /* Bit 7 : ADC region configuration. */
  2069. #define MPU_PERR0_ADC_Pos (7UL) /*!< Position of ADC field. */
  2070. #define MPU_PERR0_ADC_Msk (0x1UL << MPU_PERR0_ADC_Pos) /*!< Bit mask of ADC field. */
  2071. #define MPU_PERR0_ADC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2072. #define MPU_PERR0_ADC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2073. /* Bit 6 : GPIOTE region configuration. */
  2074. #define MPU_PERR0_GPIOTE_Pos (6UL) /*!< Position of GPIOTE field. */
  2075. #define MPU_PERR0_GPIOTE_Msk (0x1UL << MPU_PERR0_GPIOTE_Pos) /*!< Bit mask of GPIOTE field. */
  2076. #define MPU_PERR0_GPIOTE_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2077. #define MPU_PERR0_GPIOTE_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2078. /* Bit 4 : SPI1 and TWI1 region configuration. */
  2079. #define MPU_PERR0_SPI1_TWI1_Pos (4UL) /*!< Position of SPI1_TWI1 field. */
  2080. #define MPU_PERR0_SPI1_TWI1_Msk (0x1UL << MPU_PERR0_SPI1_TWI1_Pos) /*!< Bit mask of SPI1_TWI1 field. */
  2081. #define MPU_PERR0_SPI1_TWI1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2082. #define MPU_PERR0_SPI1_TWI1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2083. /* Bit 3 : SPI0 and TWI0 region configuration. */
  2084. #define MPU_PERR0_SPI0_TWI0_Pos (3UL) /*!< Position of SPI0_TWI0 field. */
  2085. #define MPU_PERR0_SPI0_TWI0_Msk (0x1UL << MPU_PERR0_SPI0_TWI0_Pos) /*!< Bit mask of SPI0_TWI0 field. */
  2086. #define MPU_PERR0_SPI0_TWI0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2087. #define MPU_PERR0_SPI0_TWI0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2088. /* Bit 2 : UART0 region configuration. */
  2089. #define MPU_PERR0_UART0_Pos (2UL) /*!< Position of UART0 field. */
  2090. #define MPU_PERR0_UART0_Msk (0x1UL << MPU_PERR0_UART0_Pos) /*!< Bit mask of UART0 field. */
  2091. #define MPU_PERR0_UART0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2092. #define MPU_PERR0_UART0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2093. /* Bit 1 : RADIO region configuration. */
  2094. #define MPU_PERR0_RADIO_Pos (1UL) /*!< Position of RADIO field. */
  2095. #define MPU_PERR0_RADIO_Msk (0x1UL << MPU_PERR0_RADIO_Pos) /*!< Bit mask of RADIO field. */
  2096. #define MPU_PERR0_RADIO_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2097. #define MPU_PERR0_RADIO_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2098. /* Bit 0 : POWER_CLOCK region configuration. */
  2099. #define MPU_PERR0_POWER_CLOCK_Pos (0UL) /*!< Position of POWER_CLOCK field. */
  2100. #define MPU_PERR0_POWER_CLOCK_Msk (0x1UL << MPU_PERR0_POWER_CLOCK_Pos) /*!< Bit mask of POWER_CLOCK field. */
  2101. #define MPU_PERR0_POWER_CLOCK_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2102. #define MPU_PERR0_POWER_CLOCK_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2103. /* Register: MPU_PROTENSET0 */
  2104. /* Description: Erase and write protection bit enable set register. */
  2105. /* Bit 31 : Protection enable for region 31. */
  2106. #define MPU_PROTENSET0_PROTREG31_Pos (31UL) /*!< Position of PROTREG31 field. */
  2107. #define MPU_PROTENSET0_PROTREG31_Msk (0x1UL << MPU_PROTENSET0_PROTREG31_Pos) /*!< Bit mask of PROTREG31 field. */
  2108. #define MPU_PROTENSET0_PROTREG31_Disabled (0UL) /*!< Protection disabled. */
  2109. #define MPU_PROTENSET0_PROTREG31_Enabled (1UL) /*!< Protection enabled. */
  2110. #define MPU_PROTENSET0_PROTREG31_Set (1UL) /*!< Enable protection on write. */
  2111. /* Bit 30 : Protection enable for region 30. */
  2112. #define MPU_PROTENSET0_PROTREG30_Pos (30UL) /*!< Position of PROTREG30 field. */
  2113. #define MPU_PROTENSET0_PROTREG30_Msk (0x1UL << MPU_PROTENSET0_PROTREG30_Pos) /*!< Bit mask of PROTREG30 field. */
  2114. #define MPU_PROTENSET0_PROTREG30_Disabled (0UL) /*!< Protection disabled. */
  2115. #define MPU_PROTENSET0_PROTREG30_Enabled (1UL) /*!< Protection enabled. */
  2116. #define MPU_PROTENSET0_PROTREG30_Set (1UL) /*!< Enable protection on write. */
  2117. /* Bit 29 : Protection enable for region 29. */
  2118. #define MPU_PROTENSET0_PROTREG29_Pos (29UL) /*!< Position of PROTREG29 field. */
  2119. #define MPU_PROTENSET0_PROTREG29_Msk (0x1UL << MPU_PROTENSET0_PROTREG29_Pos) /*!< Bit mask of PROTREG29 field. */
  2120. #define MPU_PROTENSET0_PROTREG29_Disabled (0UL) /*!< Protection disabled. */
  2121. #define MPU_PROTENSET0_PROTREG29_Enabled (1UL) /*!< Protection enabled. */
  2122. #define MPU_PROTENSET0_PROTREG29_Set (1UL) /*!< Enable protection on write. */
  2123. /* Bit 28 : Protection enable for region 28. */
  2124. #define MPU_PROTENSET0_PROTREG28_Pos (28UL) /*!< Position of PROTREG28 field. */
  2125. #define MPU_PROTENSET0_PROTREG28_Msk (0x1UL << MPU_PROTENSET0_PROTREG28_Pos) /*!< Bit mask of PROTREG28 field. */
  2126. #define MPU_PROTENSET0_PROTREG28_Disabled (0UL) /*!< Protection disabled. */
  2127. #define MPU_PROTENSET0_PROTREG28_Enabled (1UL) /*!< Protection enabled. */
  2128. #define MPU_PROTENSET0_PROTREG28_Set (1UL) /*!< Enable protection on write. */
  2129. /* Bit 27 : Protection enable for region 27. */
  2130. #define MPU_PROTENSET0_PROTREG27_Pos (27UL) /*!< Position of PROTREG27 field. */
  2131. #define MPU_PROTENSET0_PROTREG27_Msk (0x1UL << MPU_PROTENSET0_PROTREG27_Pos) /*!< Bit mask of PROTREG27 field. */
  2132. #define MPU_PROTENSET0_PROTREG27_Disabled (0UL) /*!< Protection disabled. */
  2133. #define MPU_PROTENSET0_PROTREG27_Enabled (1UL) /*!< Protection enabled. */
  2134. #define MPU_PROTENSET0_PROTREG27_Set (1UL) /*!< Enable protection on write. */
  2135. /* Bit 26 : Protection enable for region 26. */
  2136. #define MPU_PROTENSET0_PROTREG26_Pos (26UL) /*!< Position of PROTREG26 field. */
  2137. #define MPU_PROTENSET0_PROTREG26_Msk (0x1UL << MPU_PROTENSET0_PROTREG26_Pos) /*!< Bit mask of PROTREG26 field. */
  2138. #define MPU_PROTENSET0_PROTREG26_Disabled (0UL) /*!< Protection disabled. */
  2139. #define MPU_PROTENSET0_PROTREG26_Enabled (1UL) /*!< Protection enabled. */
  2140. #define MPU_PROTENSET0_PROTREG26_Set (1UL) /*!< Enable protection on write. */
  2141. /* Bit 25 : Protection enable for region 25. */
  2142. #define MPU_PROTENSET0_PROTREG25_Pos (25UL) /*!< Position of PROTREG25 field. */
  2143. #define MPU_PROTENSET0_PROTREG25_Msk (0x1UL << MPU_PROTENSET0_PROTREG25_Pos) /*!< Bit mask of PROTREG25 field. */
  2144. #define MPU_PROTENSET0_PROTREG25_Disabled (0UL) /*!< Protection disabled. */
  2145. #define MPU_PROTENSET0_PROTREG25_Enabled (1UL) /*!< Protection enabled. */
  2146. #define MPU_PROTENSET0_PROTREG25_Set (1UL) /*!< Enable protection on write. */
  2147. /* Bit 24 : Protection enable for region 24. */
  2148. #define MPU_PROTENSET0_PROTREG24_Pos (24UL) /*!< Position of PROTREG24 field. */
  2149. #define MPU_PROTENSET0_PROTREG24_Msk (0x1UL << MPU_PROTENSET0_PROTREG24_Pos) /*!< Bit mask of PROTREG24 field. */
  2150. #define MPU_PROTENSET0_PROTREG24_Disabled (0UL) /*!< Protection disabled. */
  2151. #define MPU_PROTENSET0_PROTREG24_Enabled (1UL) /*!< Protection enabled. */
  2152. #define MPU_PROTENSET0_PROTREG24_Set (1UL) /*!< Enable protection on write. */
  2153. /* Bit 23 : Protection enable for region 23. */
  2154. #define MPU_PROTENSET0_PROTREG23_Pos (23UL) /*!< Position of PROTREG23 field. */
  2155. #define MPU_PROTENSET0_PROTREG23_Msk (0x1UL << MPU_PROTENSET0_PROTREG23_Pos) /*!< Bit mask of PROTREG23 field. */
  2156. #define MPU_PROTENSET0_PROTREG23_Disabled (0UL) /*!< Protection disabled. */
  2157. #define MPU_PROTENSET0_PROTREG23_Enabled (1UL) /*!< Protection enabled. */
  2158. #define MPU_PROTENSET0_PROTREG23_Set (1UL) /*!< Enable protection on write. */
  2159. /* Bit 22 : Protection enable for region 22. */
  2160. #define MPU_PROTENSET0_PROTREG22_Pos (22UL) /*!< Position of PROTREG22 field. */
  2161. #define MPU_PROTENSET0_PROTREG22_Msk (0x1UL << MPU_PROTENSET0_PROTREG22_Pos) /*!< Bit mask of PROTREG22 field. */
  2162. #define MPU_PROTENSET0_PROTREG22_Disabled (0UL) /*!< Protection disabled. */
  2163. #define MPU_PROTENSET0_PROTREG22_Enabled (1UL) /*!< Protection enabled. */
  2164. #define MPU_PROTENSET0_PROTREG22_Set (1UL) /*!< Enable protection on write. */
  2165. /* Bit 21 : Protection enable for region 21. */
  2166. #define MPU_PROTENSET0_PROTREG21_Pos (21UL) /*!< Position of PROTREG21 field. */
  2167. #define MPU_PROTENSET0_PROTREG21_Msk (0x1UL << MPU_PROTENSET0_PROTREG21_Pos) /*!< Bit mask of PROTREG21 field. */
  2168. #define MPU_PROTENSET0_PROTREG21_Disabled (0UL) /*!< Protection disabled. */
  2169. #define MPU_PROTENSET0_PROTREG21_Enabled (1UL) /*!< Protection enabled. */
  2170. #define MPU_PROTENSET0_PROTREG21_Set (1UL) /*!< Enable protection on write. */
  2171. /* Bit 20 : Protection enable for region 20. */
  2172. #define MPU_PROTENSET0_PROTREG20_Pos (20UL) /*!< Position of PROTREG20 field. */
  2173. #define MPU_PROTENSET0_PROTREG20_Msk (0x1UL << MPU_PROTENSET0_PROTREG20_Pos) /*!< Bit mask of PROTREG20 field. */
  2174. #define MPU_PROTENSET0_PROTREG20_Disabled (0UL) /*!< Protection disabled. */
  2175. #define MPU_PROTENSET0_PROTREG20_Enabled (1UL) /*!< Protection enabled. */
  2176. #define MPU_PROTENSET0_PROTREG20_Set (1UL) /*!< Enable protection on write. */
  2177. /* Bit 19 : Protection enable for region 19. */
  2178. #define MPU_PROTENSET0_PROTREG19_Pos (19UL) /*!< Position of PROTREG19 field. */
  2179. #define MPU_PROTENSET0_PROTREG19_Msk (0x1UL << MPU_PROTENSET0_PROTREG19_Pos) /*!< Bit mask of PROTREG19 field. */
  2180. #define MPU_PROTENSET0_PROTREG19_Disabled (0UL) /*!< Protection disabled. */
  2181. #define MPU_PROTENSET0_PROTREG19_Enabled (1UL) /*!< Protection enabled. */
  2182. #define MPU_PROTENSET0_PROTREG19_Set (1UL) /*!< Enable protection on write. */
  2183. /* Bit 18 : Protection enable for region 18. */
  2184. #define MPU_PROTENSET0_PROTREG18_Pos (18UL) /*!< Position of PROTREG18 field. */
  2185. #define MPU_PROTENSET0_PROTREG18_Msk (0x1UL << MPU_PROTENSET0_PROTREG18_Pos) /*!< Bit mask of PROTREG18 field. */
  2186. #define MPU_PROTENSET0_PROTREG18_Disabled (0UL) /*!< Protection disabled. */
  2187. #define MPU_PROTENSET0_PROTREG18_Enabled (1UL) /*!< Protection enabled. */
  2188. #define MPU_PROTENSET0_PROTREG18_Set (1UL) /*!< Enable protection on write. */
  2189. /* Bit 17 : Protection enable for region 17. */
  2190. #define MPU_PROTENSET0_PROTREG17_Pos (17UL) /*!< Position of PROTREG17 field. */
  2191. #define MPU_PROTENSET0_PROTREG17_Msk (0x1UL << MPU_PROTENSET0_PROTREG17_Pos) /*!< Bit mask of PROTREG17 field. */
  2192. #define MPU_PROTENSET0_PROTREG17_Disabled (0UL) /*!< Protection disabled. */
  2193. #define MPU_PROTENSET0_PROTREG17_Enabled (1UL) /*!< Protection enabled. */
  2194. #define MPU_PROTENSET0_PROTREG17_Set (1UL) /*!< Enable protection on write. */
  2195. /* Bit 16 : Protection enable for region 16. */
  2196. #define MPU_PROTENSET0_PROTREG16_Pos (16UL) /*!< Position of PROTREG16 field. */
  2197. #define MPU_PROTENSET0_PROTREG16_Msk (0x1UL << MPU_PROTENSET0_PROTREG16_Pos) /*!< Bit mask of PROTREG16 field. */
  2198. #define MPU_PROTENSET0_PROTREG16_Disabled (0UL) /*!< Protection disabled. */
  2199. #define MPU_PROTENSET0_PROTREG16_Enabled (1UL) /*!< Protection enabled. */
  2200. #define MPU_PROTENSET0_PROTREG16_Set (1UL) /*!< Enable protection on write. */
  2201. /* Bit 15 : Protection enable for region 15. */
  2202. #define MPU_PROTENSET0_PROTREG15_Pos (15UL) /*!< Position of PROTREG15 field. */
  2203. #define MPU_PROTENSET0_PROTREG15_Msk (0x1UL << MPU_PROTENSET0_PROTREG15_Pos) /*!< Bit mask of PROTREG15 field. */
  2204. #define MPU_PROTENSET0_PROTREG15_Disabled (0UL) /*!< Protection disabled. */
  2205. #define MPU_PROTENSET0_PROTREG15_Enabled (1UL) /*!< Protection enabled. */
  2206. #define MPU_PROTENSET0_PROTREG15_Set (1UL) /*!< Enable protection on write. */
  2207. /* Bit 14 : Protection enable for region 14. */
  2208. #define MPU_PROTENSET0_PROTREG14_Pos (14UL) /*!< Position of PROTREG14 field. */
  2209. #define MPU_PROTENSET0_PROTREG14_Msk (0x1UL << MPU_PROTENSET0_PROTREG14_Pos) /*!< Bit mask of PROTREG14 field. */
  2210. #define MPU_PROTENSET0_PROTREG14_Disabled (0UL) /*!< Protection disabled. */
  2211. #define MPU_PROTENSET0_PROTREG14_Enabled (1UL) /*!< Protection enabled. */
  2212. #define MPU_PROTENSET0_PROTREG14_Set (1UL) /*!< Enable protection on write. */
  2213. /* Bit 13 : Protection enable for region 13. */
  2214. #define MPU_PROTENSET0_PROTREG13_Pos (13UL) /*!< Position of PROTREG13 field. */
  2215. #define MPU_PROTENSET0_PROTREG13_Msk (0x1UL << MPU_PROTENSET0_PROTREG13_Pos) /*!< Bit mask of PROTREG13 field. */
  2216. #define MPU_PROTENSET0_PROTREG13_Disabled (0UL) /*!< Protection disabled. */
  2217. #define MPU_PROTENSET0_PROTREG13_Enabled (1UL) /*!< Protection enabled. */
  2218. #define MPU_PROTENSET0_PROTREG13_Set (1UL) /*!< Enable protection on write. */
  2219. /* Bit 12 : Protection enable for region 12. */
  2220. #define MPU_PROTENSET0_PROTREG12_Pos (12UL) /*!< Position of PROTREG12 field. */
  2221. #define MPU_PROTENSET0_PROTREG12_Msk (0x1UL << MPU_PROTENSET0_PROTREG12_Pos) /*!< Bit mask of PROTREG12 field. */
  2222. #define MPU_PROTENSET0_PROTREG12_Disabled (0UL) /*!< Protection disabled. */
  2223. #define MPU_PROTENSET0_PROTREG12_Enabled (1UL) /*!< Protection enabled. */
  2224. #define MPU_PROTENSET0_PROTREG12_Set (1UL) /*!< Enable protection on write. */
  2225. /* Bit 11 : Protection enable for region 11. */
  2226. #define MPU_PROTENSET0_PROTREG11_Pos (11UL) /*!< Position of PROTREG11 field. */
  2227. #define MPU_PROTENSET0_PROTREG11_Msk (0x1UL << MPU_PROTENSET0_PROTREG11_Pos) /*!< Bit mask of PROTREG11 field. */
  2228. #define MPU_PROTENSET0_PROTREG11_Disabled (0UL) /*!< Protection disabled. */
  2229. #define MPU_PROTENSET0_PROTREG11_Enabled (1UL) /*!< Protection enabled. */
  2230. #define MPU_PROTENSET0_PROTREG11_Set (1UL) /*!< Enable protection on write. */
  2231. /* Bit 10 : Protection enable for region 10. */
  2232. #define MPU_PROTENSET0_PROTREG10_Pos (10UL) /*!< Position of PROTREG10 field. */
  2233. #define MPU_PROTENSET0_PROTREG10_Msk (0x1UL << MPU_PROTENSET0_PROTREG10_Pos) /*!< Bit mask of PROTREG10 field. */
  2234. #define MPU_PROTENSET0_PROTREG10_Disabled (0UL) /*!< Protection disabled. */
  2235. #define MPU_PROTENSET0_PROTREG10_Enabled (1UL) /*!< Protection enabled. */
  2236. #define MPU_PROTENSET0_PROTREG10_Set (1UL) /*!< Enable protection on write. */
  2237. /* Bit 9 : Protection enable for region 9. */
  2238. #define MPU_PROTENSET0_PROTREG9_Pos (9UL) /*!< Position of PROTREG9 field. */
  2239. #define MPU_PROTENSET0_PROTREG9_Msk (0x1UL << MPU_PROTENSET0_PROTREG9_Pos) /*!< Bit mask of PROTREG9 field. */
  2240. #define MPU_PROTENSET0_PROTREG9_Disabled (0UL) /*!< Protection disabled. */
  2241. #define MPU_PROTENSET0_PROTREG9_Enabled (1UL) /*!< Protection enabled. */
  2242. #define MPU_PROTENSET0_PROTREG9_Set (1UL) /*!< Enable protection on write. */
  2243. /* Bit 8 : Protection enable for region 8. */
  2244. #define MPU_PROTENSET0_PROTREG8_Pos (8UL) /*!< Position of PROTREG8 field. */
  2245. #define MPU_PROTENSET0_PROTREG8_Msk (0x1UL << MPU_PROTENSET0_PROTREG8_Pos) /*!< Bit mask of PROTREG8 field. */
  2246. #define MPU_PROTENSET0_PROTREG8_Disabled (0UL) /*!< Protection disabled. */
  2247. #define MPU_PROTENSET0_PROTREG8_Enabled (1UL) /*!< Protection enabled. */
  2248. #define MPU_PROTENSET0_PROTREG8_Set (1UL) /*!< Enable protection on write. */
  2249. /* Bit 7 : Protection enable for region 7. */
  2250. #define MPU_PROTENSET0_PROTREG7_Pos (7UL) /*!< Position of PROTREG7 field. */
  2251. #define MPU_PROTENSET0_PROTREG7_Msk (0x1UL << MPU_PROTENSET0_PROTREG7_Pos) /*!< Bit mask of PROTREG7 field. */
  2252. #define MPU_PROTENSET0_PROTREG7_Disabled (0UL) /*!< Protection disabled. */
  2253. #define MPU_PROTENSET0_PROTREG7_Enabled (1UL) /*!< Protection enabled. */
  2254. #define MPU_PROTENSET0_PROTREG7_Set (1UL) /*!< Enable protection on write. */
  2255. /* Bit 6 : Protection enable for region 6. */
  2256. #define MPU_PROTENSET0_PROTREG6_Pos (6UL) /*!< Position of PROTREG6 field. */
  2257. #define MPU_PROTENSET0_PROTREG6_Msk (0x1UL << MPU_PROTENSET0_PROTREG6_Pos) /*!< Bit mask of PROTREG6 field. */
  2258. #define MPU_PROTENSET0_PROTREG6_Disabled (0UL) /*!< Protection disabled. */
  2259. #define MPU_PROTENSET0_PROTREG6_Enabled (1UL) /*!< Protection enabled. */
  2260. #define MPU_PROTENSET0_PROTREG6_Set (1UL) /*!< Enable protection on write. */
  2261. /* Bit 5 : Protection enable for region 5. */
  2262. #define MPU_PROTENSET0_PROTREG5_Pos (5UL) /*!< Position of PROTREG5 field. */
  2263. #define MPU_PROTENSET0_PROTREG5_Msk (0x1UL << MPU_PROTENSET0_PROTREG5_Pos) /*!< Bit mask of PROTREG5 field. */
  2264. #define MPU_PROTENSET0_PROTREG5_Disabled (0UL) /*!< Protection disabled. */
  2265. #define MPU_PROTENSET0_PROTREG5_Enabled (1UL) /*!< Protection enabled. */
  2266. #define MPU_PROTENSET0_PROTREG5_Set (1UL) /*!< Enable protection on write. */
  2267. /* Bit 4 : Protection enable for region 4. */
  2268. #define MPU_PROTENSET0_PROTREG4_Pos (4UL) /*!< Position of PROTREG4 field. */
  2269. #define MPU_PROTENSET0_PROTREG4_Msk (0x1UL << MPU_PROTENSET0_PROTREG4_Pos) /*!< Bit mask of PROTREG4 field. */
  2270. #define MPU_PROTENSET0_PROTREG4_Disabled (0UL) /*!< Protection disabled. */
  2271. #define MPU_PROTENSET0_PROTREG4_Enabled (1UL) /*!< Protection enabled. */
  2272. #define MPU_PROTENSET0_PROTREG4_Set (1UL) /*!< Enable protection on write. */
  2273. /* Bit 3 : Protection enable for region 3. */
  2274. #define MPU_PROTENSET0_PROTREG3_Pos (3UL) /*!< Position of PROTREG3 field. */
  2275. #define MPU_PROTENSET0_PROTREG3_Msk (0x1UL << MPU_PROTENSET0_PROTREG3_Pos) /*!< Bit mask of PROTREG3 field. */
  2276. #define MPU_PROTENSET0_PROTREG3_Disabled (0UL) /*!< Protection disabled. */
  2277. #define MPU_PROTENSET0_PROTREG3_Enabled (1UL) /*!< Protection enabled. */
  2278. #define MPU_PROTENSET0_PROTREG3_Set (1UL) /*!< Enable protection on write. */
  2279. /* Bit 2 : Protection enable for region 2. */
  2280. #define MPU_PROTENSET0_PROTREG2_Pos (2UL) /*!< Position of PROTREG2 field. */
  2281. #define MPU_PROTENSET0_PROTREG2_Msk (0x1UL << MPU_PROTENSET0_PROTREG2_Pos) /*!< Bit mask of PROTREG2 field. */
  2282. #define MPU_PROTENSET0_PROTREG2_Disabled (0UL) /*!< Protection disabled. */
  2283. #define MPU_PROTENSET0_PROTREG2_Enabled (1UL) /*!< Protection enabled. */
  2284. #define MPU_PROTENSET0_PROTREG2_Set (1UL) /*!< Enable protection on write. */
  2285. /* Bit 1 : Protection enable for region 1. */
  2286. #define MPU_PROTENSET0_PROTREG1_Pos (1UL) /*!< Position of PROTREG1 field. */
  2287. #define MPU_PROTENSET0_PROTREG1_Msk (0x1UL << MPU_PROTENSET0_PROTREG1_Pos) /*!< Bit mask of PROTREG1 field. */
  2288. #define MPU_PROTENSET0_PROTREG1_Disabled (0UL) /*!< Protection disabled. */
  2289. #define MPU_PROTENSET0_PROTREG1_Enabled (1UL) /*!< Protection enabled. */
  2290. #define MPU_PROTENSET0_PROTREG1_Set (1UL) /*!< Enable protection on write. */
  2291. /* Bit 0 : Protection enable for region 0. */
  2292. #define MPU_PROTENSET0_PROTREG0_Pos (0UL) /*!< Position of PROTREG0 field. */
  2293. #define MPU_PROTENSET0_PROTREG0_Msk (0x1UL << MPU_PROTENSET0_PROTREG0_Pos) /*!< Bit mask of PROTREG0 field. */
  2294. #define MPU_PROTENSET0_PROTREG0_Disabled (0UL) /*!< Protection disabled. */
  2295. #define MPU_PROTENSET0_PROTREG0_Enabled (1UL) /*!< Protection enabled. */
  2296. #define MPU_PROTENSET0_PROTREG0_Set (1UL) /*!< Enable protection on write. */
  2297. /* Register: MPU_PROTENSET1 */
  2298. /* Description: Erase and write protection bit enable set register. */
  2299. /* Bit 31 : Protection enable for region 63. */
  2300. #define MPU_PROTENSET1_PROTREG63_Pos (31UL) /*!< Position of PROTREG63 field. */
  2301. #define MPU_PROTENSET1_PROTREG63_Msk (0x1UL << MPU_PROTENSET1_PROTREG63_Pos) /*!< Bit mask of PROTREG63 field. */
  2302. #define MPU_PROTENSET1_PROTREG63_Disabled (0UL) /*!< Protection disabled. */
  2303. #define MPU_PROTENSET1_PROTREG63_Enabled (1UL) /*!< Protection enabled. */
  2304. #define MPU_PROTENSET1_PROTREG63_Set (1UL) /*!< Enable protection on write. */
  2305. /* Bit 30 : Protection enable for region 62. */
  2306. #define MPU_PROTENSET1_PROTREG62_Pos (30UL) /*!< Position of PROTREG62 field. */
  2307. #define MPU_PROTENSET1_PROTREG62_Msk (0x1UL << MPU_PROTENSET1_PROTREG62_Pos) /*!< Bit mask of PROTREG62 field. */
  2308. #define MPU_PROTENSET1_PROTREG62_Disabled (0UL) /*!< Protection disabled. */
  2309. #define MPU_PROTENSET1_PROTREG62_Enabled (1UL) /*!< Protection enabled. */
  2310. #define MPU_PROTENSET1_PROTREG62_Set (1UL) /*!< Enable protection on write. */
  2311. /* Bit 29 : Protection enable for region 61. */
  2312. #define MPU_PROTENSET1_PROTREG61_Pos (29UL) /*!< Position of PROTREG61 field. */
  2313. #define MPU_PROTENSET1_PROTREG61_Msk (0x1UL << MPU_PROTENSET1_PROTREG61_Pos) /*!< Bit mask of PROTREG61 field. */
  2314. #define MPU_PROTENSET1_PROTREG61_Disabled (0UL) /*!< Protection disabled. */
  2315. #define MPU_PROTENSET1_PROTREG61_Enabled (1UL) /*!< Protection enabled. */
  2316. #define MPU_PROTENSET1_PROTREG61_Set (1UL) /*!< Enable protection on write. */
  2317. /* Bit 28 : Protection enable for region 60. */
  2318. #define MPU_PROTENSET1_PROTREG60_Pos (28UL) /*!< Position of PROTREG60 field. */
  2319. #define MPU_PROTENSET1_PROTREG60_Msk (0x1UL << MPU_PROTENSET1_PROTREG60_Pos) /*!< Bit mask of PROTREG60 field. */
  2320. #define MPU_PROTENSET1_PROTREG60_Disabled (0UL) /*!< Protection disabled. */
  2321. #define MPU_PROTENSET1_PROTREG60_Enabled (1UL) /*!< Protection enabled. */
  2322. #define MPU_PROTENSET1_PROTREG60_Set (1UL) /*!< Enable protection on write. */
  2323. /* Bit 27 : Protection enable for region 59. */
  2324. #define MPU_PROTENSET1_PROTREG59_Pos (27UL) /*!< Position of PROTREG59 field. */
  2325. #define MPU_PROTENSET1_PROTREG59_Msk (0x1UL << MPU_PROTENSET1_PROTREG59_Pos) /*!< Bit mask of PROTREG59 field. */
  2326. #define MPU_PROTENSET1_PROTREG59_Disabled (0UL) /*!< Protection disabled. */
  2327. #define MPU_PROTENSET1_PROTREG59_Enabled (1UL) /*!< Protection enabled. */
  2328. #define MPU_PROTENSET1_PROTREG59_Set (1UL) /*!< Enable protection on write. */
  2329. /* Bit 26 : Protection enable for region 58. */
  2330. #define MPU_PROTENSET1_PROTREG58_Pos (26UL) /*!< Position of PROTREG58 field. */
  2331. #define MPU_PROTENSET1_PROTREG58_Msk (0x1UL << MPU_PROTENSET1_PROTREG58_Pos) /*!< Bit mask of PROTREG58 field. */
  2332. #define MPU_PROTENSET1_PROTREG58_Disabled (0UL) /*!< Protection disabled. */
  2333. #define MPU_PROTENSET1_PROTREG58_Enabled (1UL) /*!< Protection enabled. */
  2334. #define MPU_PROTENSET1_PROTREG58_Set (1UL) /*!< Enable protection on write. */
  2335. /* Bit 25 : Protection enable for region 57. */
  2336. #define MPU_PROTENSET1_PROTREG57_Pos (25UL) /*!< Position of PROTREG57 field. */
  2337. #define MPU_PROTENSET1_PROTREG57_Msk (0x1UL << MPU_PROTENSET1_PROTREG57_Pos) /*!< Bit mask of PROTREG57 field. */
  2338. #define MPU_PROTENSET1_PROTREG57_Disabled (0UL) /*!< Protection disabled. */
  2339. #define MPU_PROTENSET1_PROTREG57_Enabled (1UL) /*!< Protection enabled. */
  2340. #define MPU_PROTENSET1_PROTREG57_Set (1UL) /*!< Enable protection on write. */
  2341. /* Bit 24 : Protection enable for region 56. */
  2342. #define MPU_PROTENSET1_PROTREG56_Pos (24UL) /*!< Position of PROTREG56 field. */
  2343. #define MPU_PROTENSET1_PROTREG56_Msk (0x1UL << MPU_PROTENSET1_PROTREG56_Pos) /*!< Bit mask of PROTREG56 field. */
  2344. #define MPU_PROTENSET1_PROTREG56_Disabled (0UL) /*!< Protection disabled. */
  2345. #define MPU_PROTENSET1_PROTREG56_Enabled (1UL) /*!< Protection enabled. */
  2346. #define MPU_PROTENSET1_PROTREG56_Set (1UL) /*!< Enable protection on write. */
  2347. /* Bit 23 : Protection enable for region 55. */
  2348. #define MPU_PROTENSET1_PROTREG55_Pos (23UL) /*!< Position of PROTREG55 field. */
  2349. #define MPU_PROTENSET1_PROTREG55_Msk (0x1UL << MPU_PROTENSET1_PROTREG55_Pos) /*!< Bit mask of PROTREG55 field. */
  2350. #define MPU_PROTENSET1_PROTREG55_Disabled (0UL) /*!< Protection disabled. */
  2351. #define MPU_PROTENSET1_PROTREG55_Enabled (1UL) /*!< Protection enabled. */
  2352. #define MPU_PROTENSET1_PROTREG55_Set (1UL) /*!< Enable protection on write. */
  2353. /* Bit 22 : Protection enable for region 54. */
  2354. #define MPU_PROTENSET1_PROTREG54_Pos (22UL) /*!< Position of PROTREG54 field. */
  2355. #define MPU_PROTENSET1_PROTREG54_Msk (0x1UL << MPU_PROTENSET1_PROTREG54_Pos) /*!< Bit mask of PROTREG54 field. */
  2356. #define MPU_PROTENSET1_PROTREG54_Disabled (0UL) /*!< Protection disabled. */
  2357. #define MPU_PROTENSET1_PROTREG54_Enabled (1UL) /*!< Protection enabled. */
  2358. #define MPU_PROTENSET1_PROTREG54_Set (1UL) /*!< Enable protection on write. */
  2359. /* Bit 21 : Protection enable for region 53. */
  2360. #define MPU_PROTENSET1_PROTREG53_Pos (21UL) /*!< Position of PROTREG53 field. */
  2361. #define MPU_PROTENSET1_PROTREG53_Msk (0x1UL << MPU_PROTENSET1_PROTREG53_Pos) /*!< Bit mask of PROTREG53 field. */
  2362. #define MPU_PROTENSET1_PROTREG53_Disabled (0UL) /*!< Protection disabled. */
  2363. #define MPU_PROTENSET1_PROTREG53_Enabled (1UL) /*!< Protection enabled. */
  2364. #define MPU_PROTENSET1_PROTREG53_Set (1UL) /*!< Enable protection on write. */
  2365. /* Bit 20 : Protection enable for region 52. */
  2366. #define MPU_PROTENSET1_PROTREG52_Pos (20UL) /*!< Position of PROTREG52 field. */
  2367. #define MPU_PROTENSET1_PROTREG52_Msk (0x1UL << MPU_PROTENSET1_PROTREG52_Pos) /*!< Bit mask of PROTREG52 field. */
  2368. #define MPU_PROTENSET1_PROTREG52_Disabled (0UL) /*!< Protection disabled. */
  2369. #define MPU_PROTENSET1_PROTREG52_Enabled (1UL) /*!< Protection enabled. */
  2370. #define MPU_PROTENSET1_PROTREG52_Set (1UL) /*!< Enable protection on write. */
  2371. /* Bit 19 : Protection enable for region 51. */
  2372. #define MPU_PROTENSET1_PROTREG51_Pos (19UL) /*!< Position of PROTREG51 field. */
  2373. #define MPU_PROTENSET1_PROTREG51_Msk (0x1UL << MPU_PROTENSET1_PROTREG51_Pos) /*!< Bit mask of PROTREG51 field. */
  2374. #define MPU_PROTENSET1_PROTREG51_Disabled (0UL) /*!< Protection disabled. */
  2375. #define MPU_PROTENSET1_PROTREG51_Enabled (1UL) /*!< Protection enabled. */
  2376. #define MPU_PROTENSET1_PROTREG51_Set (1UL) /*!< Enable protection on write. */
  2377. /* Bit 18 : Protection enable for region 50. */
  2378. #define MPU_PROTENSET1_PROTREG50_Pos (18UL) /*!< Position of PROTREG50 field. */
  2379. #define MPU_PROTENSET1_PROTREG50_Msk (0x1UL << MPU_PROTENSET1_PROTREG50_Pos) /*!< Bit mask of PROTREG50 field. */
  2380. #define MPU_PROTENSET1_PROTREG50_Disabled (0UL) /*!< Protection disabled. */
  2381. #define MPU_PROTENSET1_PROTREG50_Enabled (1UL) /*!< Protection enabled. */
  2382. #define MPU_PROTENSET1_PROTREG50_Set (1UL) /*!< Enable protection on write. */
  2383. /* Bit 17 : Protection enable for region 49. */
  2384. #define MPU_PROTENSET1_PROTREG49_Pos (17UL) /*!< Position of PROTREG49 field. */
  2385. #define MPU_PROTENSET1_PROTREG49_Msk (0x1UL << MPU_PROTENSET1_PROTREG49_Pos) /*!< Bit mask of PROTREG49 field. */
  2386. #define MPU_PROTENSET1_PROTREG49_Disabled (0UL) /*!< Protection disabled. */
  2387. #define MPU_PROTENSET1_PROTREG49_Enabled (1UL) /*!< Protection enabled. */
  2388. #define MPU_PROTENSET1_PROTREG49_Set (1UL) /*!< Enable protection on write. */
  2389. /* Bit 16 : Protection enable for region 48. */
  2390. #define MPU_PROTENSET1_PROTREG48_Pos (16UL) /*!< Position of PROTREG48 field. */
  2391. #define MPU_PROTENSET1_PROTREG48_Msk (0x1UL << MPU_PROTENSET1_PROTREG48_Pos) /*!< Bit mask of PROTREG48 field. */
  2392. #define MPU_PROTENSET1_PROTREG48_Disabled (0UL) /*!< Protection disabled. */
  2393. #define MPU_PROTENSET1_PROTREG48_Enabled (1UL) /*!< Protection enabled. */
  2394. #define MPU_PROTENSET1_PROTREG48_Set (1UL) /*!< Enable protection on write. */
  2395. /* Bit 15 : Protection enable for region 47. */
  2396. #define MPU_PROTENSET1_PROTREG47_Pos (15UL) /*!< Position of PROTREG47 field. */
  2397. #define MPU_PROTENSET1_PROTREG47_Msk (0x1UL << MPU_PROTENSET1_PROTREG47_Pos) /*!< Bit mask of PROTREG47 field. */
  2398. #define MPU_PROTENSET1_PROTREG47_Disabled (0UL) /*!< Protection disabled. */
  2399. #define MPU_PROTENSET1_PROTREG47_Enabled (1UL) /*!< Protection enabled. */
  2400. #define MPU_PROTENSET1_PROTREG47_Set (1UL) /*!< Enable protection on write. */
  2401. /* Bit 14 : Protection enable for region 46. */
  2402. #define MPU_PROTENSET1_PROTREG46_Pos (14UL) /*!< Position of PROTREG46 field. */
  2403. #define MPU_PROTENSET1_PROTREG46_Msk (0x1UL << MPU_PROTENSET1_PROTREG46_Pos) /*!< Bit mask of PROTREG46 field. */
  2404. #define MPU_PROTENSET1_PROTREG46_Disabled (0UL) /*!< Protection disabled. */
  2405. #define MPU_PROTENSET1_PROTREG46_Enabled (1UL) /*!< Protection enabled. */
  2406. #define MPU_PROTENSET1_PROTREG46_Set (1UL) /*!< Enable protection on write. */
  2407. /* Bit 13 : Protection enable for region 45. */
  2408. #define MPU_PROTENSET1_PROTREG45_Pos (13UL) /*!< Position of PROTREG45 field. */
  2409. #define MPU_PROTENSET1_PROTREG45_Msk (0x1UL << MPU_PROTENSET1_PROTREG45_Pos) /*!< Bit mask of PROTREG45 field. */
  2410. #define MPU_PROTENSET1_PROTREG45_Disabled (0UL) /*!< Protection disabled. */
  2411. #define MPU_PROTENSET1_PROTREG45_Enabled (1UL) /*!< Protection enabled. */
  2412. #define MPU_PROTENSET1_PROTREG45_Set (1UL) /*!< Enable protection on write. */
  2413. /* Bit 12 : Protection enable for region 44. */
  2414. #define MPU_PROTENSET1_PROTREG44_Pos (12UL) /*!< Position of PROTREG44 field. */
  2415. #define MPU_PROTENSET1_PROTREG44_Msk (0x1UL << MPU_PROTENSET1_PROTREG44_Pos) /*!< Bit mask of PROTREG44 field. */
  2416. #define MPU_PROTENSET1_PROTREG44_Disabled (0UL) /*!< Protection disabled. */
  2417. #define MPU_PROTENSET1_PROTREG44_Enabled (1UL) /*!< Protection enabled. */
  2418. #define MPU_PROTENSET1_PROTREG44_Set (1UL) /*!< Enable protection on write. */
  2419. /* Bit 11 : Protection enable for region 43. */
  2420. #define MPU_PROTENSET1_PROTREG43_Pos (11UL) /*!< Position of PROTREG43 field. */
  2421. #define MPU_PROTENSET1_PROTREG43_Msk (0x1UL << MPU_PROTENSET1_PROTREG43_Pos) /*!< Bit mask of PROTREG43 field. */
  2422. #define MPU_PROTENSET1_PROTREG43_Disabled (0UL) /*!< Protection disabled. */
  2423. #define MPU_PROTENSET1_PROTREG43_Enabled (1UL) /*!< Protection enabled. */
  2424. #define MPU_PROTENSET1_PROTREG43_Set (1UL) /*!< Enable protection on write. */
  2425. /* Bit 10 : Protection enable for region 42. */
  2426. #define MPU_PROTENSET1_PROTREG42_Pos (10UL) /*!< Position of PROTREG42 field. */
  2427. #define MPU_PROTENSET1_PROTREG42_Msk (0x1UL << MPU_PROTENSET1_PROTREG42_Pos) /*!< Bit mask of PROTREG42 field. */
  2428. #define MPU_PROTENSET1_PROTREG42_Disabled (0UL) /*!< Protection disabled. */
  2429. #define MPU_PROTENSET1_PROTREG42_Enabled (1UL) /*!< Protection enabled. */
  2430. #define MPU_PROTENSET1_PROTREG42_Set (1UL) /*!< Enable protection on write. */
  2431. /* Bit 9 : Protection enable for region 41. */
  2432. #define MPU_PROTENSET1_PROTREG41_Pos (9UL) /*!< Position of PROTREG41 field. */
  2433. #define MPU_PROTENSET1_PROTREG41_Msk (0x1UL << MPU_PROTENSET1_PROTREG41_Pos) /*!< Bit mask of PROTREG41 field. */
  2434. #define MPU_PROTENSET1_PROTREG41_Disabled (0UL) /*!< Protection disabled. */
  2435. #define MPU_PROTENSET1_PROTREG41_Enabled (1UL) /*!< Protection enabled. */
  2436. #define MPU_PROTENSET1_PROTREG41_Set (1UL) /*!< Enable protection on write. */
  2437. /* Bit 8 : Protection enable for region 40. */
  2438. #define MPU_PROTENSET1_PROTREG40_Pos (8UL) /*!< Position of PROTREG40 field. */
  2439. #define MPU_PROTENSET1_PROTREG40_Msk (0x1UL << MPU_PROTENSET1_PROTREG40_Pos) /*!< Bit mask of PROTREG40 field. */
  2440. #define MPU_PROTENSET1_PROTREG40_Disabled (0UL) /*!< Protection disabled. */
  2441. #define MPU_PROTENSET1_PROTREG40_Enabled (1UL) /*!< Protection enabled. */
  2442. #define MPU_PROTENSET1_PROTREG40_Set (1UL) /*!< Enable protection on write. */
  2443. /* Bit 7 : Protection enable for region 39. */
  2444. #define MPU_PROTENSET1_PROTREG39_Pos (7UL) /*!< Position of PROTREG39 field. */
  2445. #define MPU_PROTENSET1_PROTREG39_Msk (0x1UL << MPU_PROTENSET1_PROTREG39_Pos) /*!< Bit mask of PROTREG39 field. */
  2446. #define MPU_PROTENSET1_PROTREG39_Disabled (0UL) /*!< Protection disabled. */
  2447. #define MPU_PROTENSET1_PROTREG39_Enabled (1UL) /*!< Protection enabled. */
  2448. #define MPU_PROTENSET1_PROTREG39_Set (1UL) /*!< Enable protection on write. */
  2449. /* Bit 6 : Protection enable for region 38. */
  2450. #define MPU_PROTENSET1_PROTREG38_Pos (6UL) /*!< Position of PROTREG38 field. */
  2451. #define MPU_PROTENSET1_PROTREG38_Msk (0x1UL << MPU_PROTENSET1_PROTREG38_Pos) /*!< Bit mask of PROTREG38 field. */
  2452. #define MPU_PROTENSET1_PROTREG38_Disabled (0UL) /*!< Protection disabled. */
  2453. #define MPU_PROTENSET1_PROTREG38_Enabled (1UL) /*!< Protection enabled. */
  2454. #define MPU_PROTENSET1_PROTREG38_Set (1UL) /*!< Enable protection on write. */
  2455. /* Bit 5 : Protection enable for region 37. */
  2456. #define MPU_PROTENSET1_PROTREG37_Pos (5UL) /*!< Position of PROTREG37 field. */
  2457. #define MPU_PROTENSET1_PROTREG37_Msk (0x1UL << MPU_PROTENSET1_PROTREG37_Pos) /*!< Bit mask of PROTREG37 field. */
  2458. #define MPU_PROTENSET1_PROTREG37_Disabled (0UL) /*!< Protection disabled. */
  2459. #define MPU_PROTENSET1_PROTREG37_Enabled (1UL) /*!< Protection enabled. */
  2460. #define MPU_PROTENSET1_PROTREG37_Set (1UL) /*!< Enable protection on write. */
  2461. /* Bit 4 : Protection enable for region 36. */
  2462. #define MPU_PROTENSET1_PROTREG36_Pos (4UL) /*!< Position of PROTREG36 field. */
  2463. #define MPU_PROTENSET1_PROTREG36_Msk (0x1UL << MPU_PROTENSET1_PROTREG36_Pos) /*!< Bit mask of PROTREG36 field. */
  2464. #define MPU_PROTENSET1_PROTREG36_Disabled (0UL) /*!< Protection disabled. */
  2465. #define MPU_PROTENSET1_PROTREG36_Enabled (1UL) /*!< Protection enabled. */
  2466. #define MPU_PROTENSET1_PROTREG36_Set (1UL) /*!< Enable protection on write. */
  2467. /* Bit 3 : Protection enable for region 35. */
  2468. #define MPU_PROTENSET1_PROTREG35_Pos (3UL) /*!< Position of PROTREG35 field. */
  2469. #define MPU_PROTENSET1_PROTREG35_Msk (0x1UL << MPU_PROTENSET1_PROTREG35_Pos) /*!< Bit mask of PROTREG35 field. */
  2470. #define MPU_PROTENSET1_PROTREG35_Disabled (0UL) /*!< Protection disabled. */
  2471. #define MPU_PROTENSET1_PROTREG35_Enabled (1UL) /*!< Protection enabled. */
  2472. #define MPU_PROTENSET1_PROTREG35_Set (1UL) /*!< Enable protection on write. */
  2473. /* Bit 2 : Protection enable for region 34. */
  2474. #define MPU_PROTENSET1_PROTREG34_Pos (2UL) /*!< Position of PROTREG34 field. */
  2475. #define MPU_PROTENSET1_PROTREG34_Msk (0x1UL << MPU_PROTENSET1_PROTREG34_Pos) /*!< Bit mask of PROTREG34 field. */
  2476. #define MPU_PROTENSET1_PROTREG34_Disabled (0UL) /*!< Protection disabled. */
  2477. #define MPU_PROTENSET1_PROTREG34_Enabled (1UL) /*!< Protection enabled. */
  2478. #define MPU_PROTENSET1_PROTREG34_Set (1UL) /*!< Enable protection on write. */
  2479. /* Bit 1 : Protection enable for region 33. */
  2480. #define MPU_PROTENSET1_PROTREG33_Pos (1UL) /*!< Position of PROTREG33 field. */
  2481. #define MPU_PROTENSET1_PROTREG33_Msk (0x1UL << MPU_PROTENSET1_PROTREG33_Pos) /*!< Bit mask of PROTREG33 field. */
  2482. #define MPU_PROTENSET1_PROTREG33_Disabled (0UL) /*!< Protection disabled. */
  2483. #define MPU_PROTENSET1_PROTREG33_Enabled (1UL) /*!< Protection enabled. */
  2484. #define MPU_PROTENSET1_PROTREG33_Set (1UL) /*!< Enable protection on write. */
  2485. /* Bit 0 : Protection enable for region 32. */
  2486. #define MPU_PROTENSET1_PROTREG32_Pos (0UL) /*!< Position of PROTREG32 field. */
  2487. #define MPU_PROTENSET1_PROTREG32_Msk (0x1UL << MPU_PROTENSET1_PROTREG32_Pos) /*!< Bit mask of PROTREG32 field. */
  2488. #define MPU_PROTENSET1_PROTREG32_Disabled (0UL) /*!< Protection disabled. */
  2489. #define MPU_PROTENSET1_PROTREG32_Enabled (1UL) /*!< Protection enabled. */
  2490. #define MPU_PROTENSET1_PROTREG32_Set (1UL) /*!< Enable protection on write. */
  2491. /* Register: MPU_DISABLEINDEBUG */
  2492. /* Description: Disable erase and write protection mechanism in debug mode. */
  2493. /* Bit 0 : Disable protection mechanism in debug mode. */
  2494. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos (0UL) /*!< Position of DISABLEINDEBUG field. */
  2495. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Msk (0x1UL << MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos) /*!< Bit mask of DISABLEINDEBUG field. */
  2496. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Enabled (0UL) /*!< Protection enabled. */
  2497. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Disabled (1UL) /*!< Protection disabled. */
  2498. /* Register: MPU_PROTBLOCKSIZE */
  2499. /* Description: Erase and write protection block size. */
  2500. /* Bits 1..0 : Erase and write protection block size. */
  2501. #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos (0UL) /*!< Position of PROTBLOCKSIZE field. */
  2502. #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Msk (0x3UL << MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos) /*!< Bit mask of PROTBLOCKSIZE field. */
  2503. #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_4k (0UL) /*!< Erase and write protection block size is 4k. */
  2504. /* Peripheral: NVMC */
  2505. /* Description: Non Volatile Memory Controller. */
  2506. /* Register: NVMC_READY */
  2507. /* Description: Ready flag. */
  2508. /* Bit 0 : NVMC ready. */
  2509. #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */
  2510. #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */
  2511. #define NVMC_READY_READY_Busy (0UL) /*!< NVMC is busy (on-going write or erase operation). */
  2512. #define NVMC_READY_READY_Ready (1UL) /*!< NVMC is ready. */
  2513. /* Register: NVMC_CONFIG */
  2514. /* Description: Configuration register. */
  2515. /* Bits 1..0 : Program write enable. */
  2516. #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */
  2517. #define NVMC_CONFIG_WEN_Msk (0x3UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */
  2518. #define NVMC_CONFIG_WEN_Ren (0x00UL) /*!< Read only access. */
  2519. #define NVMC_CONFIG_WEN_Wen (0x01UL) /*!< Write enabled. */
  2520. #define NVMC_CONFIG_WEN_Een (0x02UL) /*!< Erase enabled. */
  2521. /* Register: NVMC_ERASEALL */
  2522. /* Description: Register for erasing all non-volatile user memory. */
  2523. /* Bit 0 : Starts the erasing of all user NVM (code region 0/1 and UICR registers). */
  2524. #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */
  2525. #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */
  2526. #define NVMC_ERASEALL_ERASEALL_NoOperation (0UL) /*!< No operation. */
  2527. #define NVMC_ERASEALL_ERASEALL_Erase (1UL) /*!< Start chip erase. */
  2528. /* Register: NVMC_ERASEUICR */
  2529. /* Description: Register for start erasing User Information Congfiguration Registers. */
  2530. /* Bit 0 : It can only be used when all contents of code region 1 are erased. */
  2531. #define NVMC_ERASEUICR_ERASEUICR_Pos (0UL) /*!< Position of ERASEUICR field. */
  2532. #define NVMC_ERASEUICR_ERASEUICR_Msk (0x1UL << NVMC_ERASEUICR_ERASEUICR_Pos) /*!< Bit mask of ERASEUICR field. */
  2533. #define NVMC_ERASEUICR_ERASEUICR_NoOperation (0UL) /*!< No operation. */
  2534. #define NVMC_ERASEUICR_ERASEUICR_Erase (1UL) /*!< Start UICR erase. */
  2535. /* Peripheral: POWER */
  2536. /* Description: Power Control. */
  2537. /* Register: POWER_INTENSET */
  2538. /* Description: Interrupt enable set register. */
  2539. /* Bit 2 : Enable interrupt on POFWARN event. */
  2540. #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
  2541. #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
  2542. #define POWER_INTENSET_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */
  2543. #define POWER_INTENSET_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */
  2544. #define POWER_INTENSET_POFWARN_Set (1UL) /*!< Enable interrupt on write. */
  2545. /* Register: POWER_INTENCLR */
  2546. /* Description: Interrupt enable clear register. */
  2547. /* Bit 2 : Disable interrupt on POFWARN event. */
  2548. #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
  2549. #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
  2550. #define POWER_INTENCLR_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */
  2551. #define POWER_INTENCLR_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */
  2552. #define POWER_INTENCLR_POFWARN_Clear (1UL) /*!< Disable interrupt on write. */
  2553. /* Register: POWER_RESETREAS */
  2554. /* Description: Reset reason. */
  2555. /* Bit 18 : Reset from wake-up from OFF mode detected by entering into debug interface mode. */
  2556. #define POWER_RESETREAS_DIF_Pos (18UL) /*!< Position of DIF field. */
  2557. #define POWER_RESETREAS_DIF_Msk (0x1UL << POWER_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */
  2558. #define POWER_RESETREAS_DIF_NotDetected (0UL) /*!< Reset not detected. */
  2559. #define POWER_RESETREAS_DIF_Detected (1UL) /*!< Reset detected. */
  2560. /* Bit 17 : Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP. */
  2561. #define POWER_RESETREAS_LPCOMP_Pos (17UL) /*!< Position of LPCOMP field. */
  2562. #define POWER_RESETREAS_LPCOMP_Msk (0x1UL << POWER_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */
  2563. #define POWER_RESETREAS_LPCOMP_NotDetected (0UL) /*!< Reset not detected. */
  2564. #define POWER_RESETREAS_LPCOMP_Detected (1UL) /*!< Reset detected. */
  2565. /* Bit 16 : Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO. */
  2566. #define POWER_RESETREAS_OFF_Pos (16UL) /*!< Position of OFF field. */
  2567. #define POWER_RESETREAS_OFF_Msk (0x1UL << POWER_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */
  2568. #define POWER_RESETREAS_OFF_NotDetected (0UL) /*!< Reset not detected. */
  2569. #define POWER_RESETREAS_OFF_Detected (1UL) /*!< Reset detected. */
  2570. /* Bit 3 : Reset from CPU lock-up detected. */
  2571. #define POWER_RESETREAS_LOCKUP_Pos (3UL) /*!< Position of LOCKUP field. */
  2572. #define POWER_RESETREAS_LOCKUP_Msk (0x1UL << POWER_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */
  2573. #define POWER_RESETREAS_LOCKUP_NotDetected (0UL) /*!< Reset not detected. */
  2574. #define POWER_RESETREAS_LOCKUP_Detected (1UL) /*!< Reset detected. */
  2575. /* Bit 2 : Reset from AIRCR.SYSRESETREQ detected. */
  2576. #define POWER_RESETREAS_SREQ_Pos (2UL) /*!< Position of SREQ field. */
  2577. #define POWER_RESETREAS_SREQ_Msk (0x1UL << POWER_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */
  2578. #define POWER_RESETREAS_SREQ_NotDetected (0UL) /*!< Reset not detected. */
  2579. #define POWER_RESETREAS_SREQ_Detected (1UL) /*!< Reset detected. */
  2580. /* Bit 1 : Reset from watchdog detected. */
  2581. #define POWER_RESETREAS_DOG_Pos (1UL) /*!< Position of DOG field. */
  2582. #define POWER_RESETREAS_DOG_Msk (0x1UL << POWER_RESETREAS_DOG_Pos) /*!< Bit mask of DOG field. */
  2583. #define POWER_RESETREAS_DOG_NotDetected (0UL) /*!< Reset not detected. */
  2584. #define POWER_RESETREAS_DOG_Detected (1UL) /*!< Reset detected. */
  2585. /* Bit 0 : Reset from pin-reset detected. */
  2586. #define POWER_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */
  2587. #define POWER_RESETREAS_RESETPIN_Msk (0x1UL << POWER_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */
  2588. #define POWER_RESETREAS_RESETPIN_NotDetected (0UL) /*!< Reset not detected. */
  2589. #define POWER_RESETREAS_RESETPIN_Detected (1UL) /*!< Reset detected. */
  2590. /* Register: POWER_RAMSTATUS */
  2591. /* Description: Ram status register. */
  2592. /* Bit 3 : RAM block 3 status. */
  2593. #define POWER_RAMSTATUS_RAMBLOCK3_Pos (3UL) /*!< Position of RAMBLOCK3 field. */
  2594. #define POWER_RAMSTATUS_RAMBLOCK3_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK3_Pos) /*!< Bit mask of RAMBLOCK3 field. */
  2595. #define POWER_RAMSTATUS_RAMBLOCK3_Off (0UL) /*!< RAM block 3 is off or powering up. */
  2596. #define POWER_RAMSTATUS_RAMBLOCK3_On (1UL) /*!< RAM block 3 is on. */
  2597. /* Bit 2 : RAM block 2 status. */
  2598. #define POWER_RAMSTATUS_RAMBLOCK2_Pos (2UL) /*!< Position of RAMBLOCK2 field. */
  2599. #define POWER_RAMSTATUS_RAMBLOCK2_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK2_Pos) /*!< Bit mask of RAMBLOCK2 field. */
  2600. #define POWER_RAMSTATUS_RAMBLOCK2_Off (0UL) /*!< RAM block 2 is off or powering up. */
  2601. #define POWER_RAMSTATUS_RAMBLOCK2_On (1UL) /*!< RAM block 2 is on. */
  2602. /* Bit 1 : RAM block 1 status. */
  2603. #define POWER_RAMSTATUS_RAMBLOCK1_Pos (1UL) /*!< Position of RAMBLOCK1 field. */
  2604. #define POWER_RAMSTATUS_RAMBLOCK1_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK1_Pos) /*!< Bit mask of RAMBLOCK1 field. */
  2605. #define POWER_RAMSTATUS_RAMBLOCK1_Off (0UL) /*!< RAM block 1 is off or powering up. */
  2606. #define POWER_RAMSTATUS_RAMBLOCK1_On (1UL) /*!< RAM block 1 is on. */
  2607. /* Bit 0 : RAM block 0 status. */
  2608. #define POWER_RAMSTATUS_RAMBLOCK0_Pos (0UL) /*!< Position of RAMBLOCK0 field. */
  2609. #define POWER_RAMSTATUS_RAMBLOCK0_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK0_Pos) /*!< Bit mask of RAMBLOCK0 field. */
  2610. #define POWER_RAMSTATUS_RAMBLOCK0_Off (0UL) /*!< RAM block 0 is off or powering up. */
  2611. #define POWER_RAMSTATUS_RAMBLOCK0_On (1UL) /*!< RAM block 0 is on. */
  2612. /* Register: POWER_SYSTEMOFF */
  2613. /* Description: System off register. */
  2614. /* Bit 0 : Enter system off mode. */
  2615. #define POWER_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */
  2616. #define POWER_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << POWER_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */
  2617. #define POWER_SYSTEMOFF_SYSTEMOFF_Enter (1UL) /*!< Enter system off mode. */
  2618. /* Register: POWER_POFCON */
  2619. /* Description: Power failure configuration. */
  2620. /* Bits 2..1 : Set threshold level. */
  2621. #define POWER_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */
  2622. #define POWER_POFCON_THRESHOLD_Msk (0x3UL << POWER_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */
  2623. #define POWER_POFCON_THRESHOLD_V21 (0x00UL) /*!< Set threshold to 2.1Volts. */
  2624. #define POWER_POFCON_THRESHOLD_V23 (0x01UL) /*!< Set threshold to 2.3Volts. */
  2625. #define POWER_POFCON_THRESHOLD_V25 (0x02UL) /*!< Set threshold to 2.5Volts. */
  2626. #define POWER_POFCON_THRESHOLD_V27 (0x03UL) /*!< Set threshold to 2.7Volts. */
  2627. /* Bit 0 : Power failure comparator enable. */
  2628. #define POWER_POFCON_POF_Pos (0UL) /*!< Position of POF field. */
  2629. #define POWER_POFCON_POF_Msk (0x1UL << POWER_POFCON_POF_Pos) /*!< Bit mask of POF field. */
  2630. #define POWER_POFCON_POF_Disabled (0UL) /*!< Disabled. */
  2631. #define POWER_POFCON_POF_Enabled (1UL) /*!< Enabled. */
  2632. /* Register: POWER_GPREGRET */
  2633. /* Description: General purpose retention register. This register is a retained register. */
  2634. /* Bits 7..0 : General purpose retention register. */
  2635. #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */
  2636. #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */
  2637. /* Register: POWER_RAMON */
  2638. /* Description: Ram on/off. */
  2639. /* Bit 17 : RAM block 1 behaviour in OFF mode. */
  2640. #define POWER_RAMON_OFFRAM1_Pos (17UL) /*!< Position of OFFRAM1 field. */
  2641. #define POWER_RAMON_OFFRAM1_Msk (0x1UL << POWER_RAMON_OFFRAM1_Pos) /*!< Bit mask of OFFRAM1 field. */
  2642. #define POWER_RAMON_OFFRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in OFF mode. */
  2643. #define POWER_RAMON_OFFRAM1_RAM1On (1UL) /*!< RAM block 1 ON in OFF mode. */
  2644. /* Bit 16 : RAM block 0 behaviour in OFF mode. */
  2645. #define POWER_RAMON_OFFRAM0_Pos (16UL) /*!< Position of OFFRAM0 field. */
  2646. #define POWER_RAMON_OFFRAM0_Msk (0x1UL << POWER_RAMON_OFFRAM0_Pos) /*!< Bit mask of OFFRAM0 field. */
  2647. #define POWER_RAMON_OFFRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in OFF mode. */
  2648. #define POWER_RAMON_OFFRAM0_RAM0On (1UL) /*!< RAM block 0 ON in OFF mode. */
  2649. /* Bit 1 : RAM block 1 behaviour in ON mode. */
  2650. #define POWER_RAMON_ONRAM1_Pos (1UL) /*!< Position of ONRAM1 field. */
  2651. #define POWER_RAMON_ONRAM1_Msk (0x1UL << POWER_RAMON_ONRAM1_Pos) /*!< Bit mask of ONRAM1 field. */
  2652. #define POWER_RAMON_ONRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in ON mode. */
  2653. #define POWER_RAMON_ONRAM1_RAM1On (1UL) /*!< RAM block 1 ON in ON mode. */
  2654. /* Bit 0 : RAM block 0 behaviour in ON mode. */
  2655. #define POWER_RAMON_ONRAM0_Pos (0UL) /*!< Position of ONRAM0 field. */
  2656. #define POWER_RAMON_ONRAM0_Msk (0x1UL << POWER_RAMON_ONRAM0_Pos) /*!< Bit mask of ONRAM0 field. */
  2657. #define POWER_RAMON_ONRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in ON mode. */
  2658. #define POWER_RAMON_ONRAM0_RAM0On (1UL) /*!< RAM block 0 ON in ON mode. */
  2659. /* Register: POWER_RESET */
  2660. /* Description: Pin reset functionality configuration register. This register is a retained register. */
  2661. /* Bit 0 : Enable or disable pin reset in debug interface mode. */
  2662. #define POWER_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */
  2663. #define POWER_RESET_RESET_Msk (0x1UL << POWER_RESET_RESET_Pos) /*!< Bit mask of RESET field. */
  2664. #define POWER_RESET_RESET_Disabled (0UL) /*!< Pin reset in debug interface mode disabled. */
  2665. #define POWER_RESET_RESET_Enabled (1UL) /*!< Pin reset in debug interface mode enabled. */
  2666. /* Register: POWER_RAMONB */
  2667. /* Description: Ram on/off. */
  2668. /* Bit 17 : RAM block 3 behaviour in OFF mode. */
  2669. #define POWER_RAMONB_OFFRAM3_Pos (17UL) /*!< Position of OFFRAM3 field. */
  2670. #define POWER_RAMONB_OFFRAM3_Msk (0x1UL << POWER_RAMONB_OFFRAM3_Pos) /*!< Bit mask of OFFRAM3 field. */
  2671. #define POWER_RAMONB_OFFRAM3_RAM3Off (0UL) /*!< RAM block 3 OFF in OFF mode. */
  2672. #define POWER_RAMONB_OFFRAM3_RAM3On (1UL) /*!< RAM block 3 ON in OFF mode. */
  2673. /* Bit 16 : RAM block 2 behaviour in OFF mode. */
  2674. #define POWER_RAMONB_OFFRAM2_Pos (16UL) /*!< Position of OFFRAM2 field. */
  2675. #define POWER_RAMONB_OFFRAM2_Msk (0x1UL << POWER_RAMONB_OFFRAM2_Pos) /*!< Bit mask of OFFRAM2 field. */
  2676. #define POWER_RAMONB_OFFRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in OFF mode. */
  2677. #define POWER_RAMONB_OFFRAM2_RAM2On (1UL) /*!< RAM block 2 ON in OFF mode. */
  2678. /* Bit 1 : RAM block 3 behaviour in ON mode. */
  2679. #define POWER_RAMONB_ONRAM3_Pos (1UL) /*!< Position of ONRAM3 field. */
  2680. #define POWER_RAMONB_ONRAM3_Msk (0x1UL << POWER_RAMONB_ONRAM3_Pos) /*!< Bit mask of ONRAM3 field. */
  2681. #define POWER_RAMONB_ONRAM3_RAM3Off (0UL) /*!< RAM block 33 OFF in ON mode. */
  2682. #define POWER_RAMONB_ONRAM3_RAM3On (1UL) /*!< RAM block 3 ON in ON mode. */
  2683. /* Bit 0 : RAM block 2 behaviour in ON mode. */
  2684. #define POWER_RAMONB_ONRAM2_Pos (0UL) /*!< Position of ONRAM2 field. */
  2685. #define POWER_RAMONB_ONRAM2_Msk (0x1UL << POWER_RAMONB_ONRAM2_Pos) /*!< Bit mask of ONRAM2 field. */
  2686. #define POWER_RAMONB_ONRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in ON mode. */
  2687. #define POWER_RAMONB_ONRAM2_RAM2On (1UL) /*!< RAM block 2 ON in ON mode. */
  2688. /* Register: POWER_DCDCEN */
  2689. /* Description: DCDC converter enable configuration register. */
  2690. /* Bit 0 : Enable DCDC converter. */
  2691. #define POWER_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */
  2692. #define POWER_DCDCEN_DCDCEN_Msk (0x1UL << POWER_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */
  2693. #define POWER_DCDCEN_DCDCEN_Disabled (0UL) /*!< DCDC converter disabled. */
  2694. #define POWER_DCDCEN_DCDCEN_Enabled (1UL) /*!< DCDC converter enabled. */
  2695. /* Register: POWER_DCDCFORCE */
  2696. /* Description: DCDC power-up force register. */
  2697. /* Bit 1 : DCDC power-up force on. */
  2698. #define POWER_DCDCFORCE_FORCEON_Pos (1UL) /*!< Position of FORCEON field. */
  2699. #define POWER_DCDCFORCE_FORCEON_Msk (0x1UL << POWER_DCDCFORCE_FORCEON_Pos) /*!< Bit mask of FORCEON field. */
  2700. #define POWER_DCDCFORCE_FORCEON_NoForce (0UL) /*!< No force. */
  2701. #define POWER_DCDCFORCE_FORCEON_Force (1UL) /*!< Force. */
  2702. /* Bit 0 : DCDC power-up force off. */
  2703. #define POWER_DCDCFORCE_FORCEOFF_Pos (0UL) /*!< Position of FORCEOFF field. */
  2704. #define POWER_DCDCFORCE_FORCEOFF_Msk (0x1UL << POWER_DCDCFORCE_FORCEOFF_Pos) /*!< Bit mask of FORCEOFF field. */
  2705. #define POWER_DCDCFORCE_FORCEOFF_NoForce (0UL) /*!< No force. */
  2706. #define POWER_DCDCFORCE_FORCEOFF_Force (1UL) /*!< Force. */
  2707. /* Peripheral: PPI */
  2708. /* Description: PPI controller. */
  2709. /* Register: PPI_CHEN */
  2710. /* Description: Channel enable. */
  2711. /* Bit 31 : Enable PPI channel 31. */
  2712. #define PPI_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */
  2713. #define PPI_CHEN_CH31_Msk (0x1UL << PPI_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */
  2714. #define PPI_CHEN_CH31_Disabled (0UL) /*!< Channel disabled. */
  2715. #define PPI_CHEN_CH31_Enabled (1UL) /*!< Channel enabled. */
  2716. /* Bit 30 : Enable PPI channel 30. */
  2717. #define PPI_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */
  2718. #define PPI_CHEN_CH30_Msk (0x1UL << PPI_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */
  2719. #define PPI_CHEN_CH30_Disabled (0UL) /*!< Channel disabled. */
  2720. #define PPI_CHEN_CH30_Enabled (1UL) /*!< Channel enabled. */
  2721. /* Bit 29 : Enable PPI channel 29. */
  2722. #define PPI_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */
  2723. #define PPI_CHEN_CH29_Msk (0x1UL << PPI_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */
  2724. #define PPI_CHEN_CH29_Disabled (0UL) /*!< Channel disabled. */
  2725. #define PPI_CHEN_CH29_Enabled (1UL) /*!< Channel enabled. */
  2726. /* Bit 28 : Enable PPI channel 28. */
  2727. #define PPI_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */
  2728. #define PPI_CHEN_CH28_Msk (0x1UL << PPI_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */
  2729. #define PPI_CHEN_CH28_Disabled (0UL) /*!< Channel disabled. */
  2730. #define PPI_CHEN_CH28_Enabled (1UL) /*!< Channel enabled. */
  2731. /* Bit 27 : Enable PPI channel 27. */
  2732. #define PPI_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */
  2733. #define PPI_CHEN_CH27_Msk (0x1UL << PPI_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */
  2734. #define PPI_CHEN_CH27_Disabled (0UL) /*!< Channel disabled. */
  2735. #define PPI_CHEN_CH27_Enabled (1UL) /*!< Channel enabled. */
  2736. /* Bit 26 : Enable PPI channel 26. */
  2737. #define PPI_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */
  2738. #define PPI_CHEN_CH26_Msk (0x1UL << PPI_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */
  2739. #define PPI_CHEN_CH26_Disabled (0UL) /*!< Channel disabled. */
  2740. #define PPI_CHEN_CH26_Enabled (1UL) /*!< Channel enabled. */
  2741. /* Bit 25 : Enable PPI channel 25. */
  2742. #define PPI_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */
  2743. #define PPI_CHEN_CH25_Msk (0x1UL << PPI_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */
  2744. #define PPI_CHEN_CH25_Disabled (0UL) /*!< Channel disabled. */
  2745. #define PPI_CHEN_CH25_Enabled (1UL) /*!< Channel enabled. */
  2746. /* Bit 24 : Enable PPI channel 24. */
  2747. #define PPI_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */
  2748. #define PPI_CHEN_CH24_Msk (0x1UL << PPI_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */
  2749. #define PPI_CHEN_CH24_Disabled (0UL) /*!< Channel disabled. */
  2750. #define PPI_CHEN_CH24_Enabled (1UL) /*!< Channel enabled. */
  2751. /* Bit 23 : Enable PPI channel 23. */
  2752. #define PPI_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */
  2753. #define PPI_CHEN_CH23_Msk (0x1UL << PPI_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */
  2754. #define PPI_CHEN_CH23_Disabled (0UL) /*!< Channel disabled. */
  2755. #define PPI_CHEN_CH23_Enabled (1UL) /*!< Channel enabled. */
  2756. /* Bit 22 : Enable PPI channel 22. */
  2757. #define PPI_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */
  2758. #define PPI_CHEN_CH22_Msk (0x1UL << PPI_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */
  2759. #define PPI_CHEN_CH22_Disabled (0UL) /*!< Channel disabled. */
  2760. #define PPI_CHEN_CH22_Enabled (1UL) /*!< Channel enabled. */
  2761. /* Bit 21 : Enable PPI channel 21. */
  2762. #define PPI_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */
  2763. #define PPI_CHEN_CH21_Msk (0x1UL << PPI_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */
  2764. #define PPI_CHEN_CH21_Disabled (0UL) /*!< Channel disabled. */
  2765. #define PPI_CHEN_CH21_Enabled (1UL) /*!< Channel enabled. */
  2766. /* Bit 20 : Enable PPI channel 20. */
  2767. #define PPI_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */
  2768. #define PPI_CHEN_CH20_Msk (0x1UL << PPI_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */
  2769. #define PPI_CHEN_CH20_Disabled (0UL) /*!< Channel disabled. */
  2770. #define PPI_CHEN_CH20_Enabled (1UL) /*!< Channel enabled. */
  2771. /* Bit 15 : Enable PPI channel 15. */
  2772. #define PPI_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */
  2773. #define PPI_CHEN_CH15_Msk (0x1UL << PPI_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */
  2774. #define PPI_CHEN_CH15_Disabled (0UL) /*!< Channel disabled. */
  2775. #define PPI_CHEN_CH15_Enabled (1UL) /*!< Channel enabled. */
  2776. /* Bit 14 : Enable PPI channel 14. */
  2777. #define PPI_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */
  2778. #define PPI_CHEN_CH14_Msk (0x1UL << PPI_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */
  2779. #define PPI_CHEN_CH14_Disabled (0UL) /*!< Channel disabled. */
  2780. #define PPI_CHEN_CH14_Enabled (1UL) /*!< Channel enabled. */
  2781. /* Bit 13 : Enable PPI channel 13. */
  2782. #define PPI_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */
  2783. #define PPI_CHEN_CH13_Msk (0x1UL << PPI_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */
  2784. #define PPI_CHEN_CH13_Disabled (0UL) /*!< Channel disabled. */
  2785. #define PPI_CHEN_CH13_Enabled (1UL) /*!< Channel enabled. */
  2786. /* Bit 12 : Enable PPI channel 12. */
  2787. #define PPI_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */
  2788. #define PPI_CHEN_CH12_Msk (0x1UL << PPI_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */
  2789. #define PPI_CHEN_CH12_Disabled (0UL) /*!< Channel disabled. */
  2790. #define PPI_CHEN_CH12_Enabled (1UL) /*!< Channel enabled. */
  2791. /* Bit 11 : Enable PPI channel 11. */
  2792. #define PPI_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */
  2793. #define PPI_CHEN_CH11_Msk (0x1UL << PPI_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */
  2794. #define PPI_CHEN_CH11_Disabled (0UL) /*!< Channel disabled. */
  2795. #define PPI_CHEN_CH11_Enabled (1UL) /*!< Channel enabled. */
  2796. /* Bit 10 : Enable PPI channel 10. */
  2797. #define PPI_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */
  2798. #define PPI_CHEN_CH10_Msk (0x1UL << PPI_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */
  2799. #define PPI_CHEN_CH10_Disabled (0UL) /*!< Channel disabled. */
  2800. #define PPI_CHEN_CH10_Enabled (1UL) /*!< Channel enabled. */
  2801. /* Bit 9 : Enable PPI channel 9. */
  2802. #define PPI_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */
  2803. #define PPI_CHEN_CH9_Msk (0x1UL << PPI_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */
  2804. #define PPI_CHEN_CH9_Disabled (0UL) /*!< Channel disabled. */
  2805. #define PPI_CHEN_CH9_Enabled (1UL) /*!< Channel enabled. */
  2806. /* Bit 8 : Enable PPI channel 8. */
  2807. #define PPI_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */
  2808. #define PPI_CHEN_CH8_Msk (0x1UL << PPI_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */
  2809. #define PPI_CHEN_CH8_Disabled (0UL) /*!< Channel disabled. */
  2810. #define PPI_CHEN_CH8_Enabled (1UL) /*!< Channel enabled. */
  2811. /* Bit 7 : Enable PPI channel 7. */
  2812. #define PPI_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */
  2813. #define PPI_CHEN_CH7_Msk (0x1UL << PPI_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */
  2814. #define PPI_CHEN_CH7_Disabled (0UL) /*!< Channel disabled. */
  2815. #define PPI_CHEN_CH7_Enabled (1UL) /*!< Channel enabled. */
  2816. /* Bit 6 : Enable PPI channel 6. */
  2817. #define PPI_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */
  2818. #define PPI_CHEN_CH6_Msk (0x1UL << PPI_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */
  2819. #define PPI_CHEN_CH6_Disabled (0UL) /*!< Channel disabled. */
  2820. #define PPI_CHEN_CH6_Enabled (1UL) /*!< Channel enabled. */
  2821. /* Bit 5 : Enable PPI channel 5. */
  2822. #define PPI_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */
  2823. #define PPI_CHEN_CH5_Msk (0x1UL << PPI_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */
  2824. #define PPI_CHEN_CH5_Disabled (0UL) /*!< Channel disabled. */
  2825. #define PPI_CHEN_CH5_Enabled (1UL) /*!< Channel enabled. */
  2826. /* Bit 4 : Enable PPI channel 4. */
  2827. #define PPI_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */
  2828. #define PPI_CHEN_CH4_Msk (0x1UL << PPI_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */
  2829. #define PPI_CHEN_CH4_Disabled (0UL) /*!< Channel disabled. */
  2830. #define PPI_CHEN_CH4_Enabled (1UL) /*!< Channel enabled. */
  2831. /* Bit 3 : Enable PPI channel 3. */
  2832. #define PPI_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */
  2833. #define PPI_CHEN_CH3_Msk (0x1UL << PPI_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */
  2834. #define PPI_CHEN_CH3_Disabled (0UL) /*!< Channel disabled */
  2835. #define PPI_CHEN_CH3_Enabled (1UL) /*!< Channel enabled */
  2836. /* Bit 2 : Enable PPI channel 2. */
  2837. #define PPI_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */
  2838. #define PPI_CHEN_CH2_Msk (0x1UL << PPI_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */
  2839. #define PPI_CHEN_CH2_Disabled (0UL) /*!< Channel disabled. */
  2840. #define PPI_CHEN_CH2_Enabled (1UL) /*!< Channel enabled. */
  2841. /* Bit 1 : Enable PPI channel 1. */
  2842. #define PPI_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */
  2843. #define PPI_CHEN_CH1_Msk (0x1UL << PPI_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */
  2844. #define PPI_CHEN_CH1_Disabled (0UL) /*!< Channel disabled. */
  2845. #define PPI_CHEN_CH1_Enabled (1UL) /*!< Channel enabled. */
  2846. /* Bit 0 : Enable PPI channel 0. */
  2847. #define PPI_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */
  2848. #define PPI_CHEN_CH0_Msk (0x1UL << PPI_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */
  2849. #define PPI_CHEN_CH0_Disabled (0UL) /*!< Channel disabled. */
  2850. #define PPI_CHEN_CH0_Enabled (1UL) /*!< Channel enabled. */
  2851. /* Register: PPI_CHENSET */
  2852. /* Description: Channel enable set. */
  2853. /* Bit 31 : Enable PPI channel 31. */
  2854. #define PPI_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */
  2855. #define PPI_CHENSET_CH31_Msk (0x1UL << PPI_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */
  2856. #define PPI_CHENSET_CH31_Disabled (0UL) /*!< Channel disabled. */
  2857. #define PPI_CHENSET_CH31_Enabled (1UL) /*!< Channel enabled. */
  2858. #define PPI_CHENSET_CH31_Set (1UL) /*!< Enable channel on write. */
  2859. /* Bit 30 : Enable PPI channel 30. */
  2860. #define PPI_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */
  2861. #define PPI_CHENSET_CH30_Msk (0x1UL << PPI_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */
  2862. #define PPI_CHENSET_CH30_Disabled (0UL) /*!< Channel disabled. */
  2863. #define PPI_CHENSET_CH30_Enabled (1UL) /*!< Channel enabled. */
  2864. #define PPI_CHENSET_CH30_Set (1UL) /*!< Enable channel on write. */
  2865. /* Bit 29 : Enable PPI channel 29. */
  2866. #define PPI_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */
  2867. #define PPI_CHENSET_CH29_Msk (0x1UL << PPI_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */
  2868. #define PPI_CHENSET_CH29_Disabled (0UL) /*!< Channel disabled. */
  2869. #define PPI_CHENSET_CH29_Enabled (1UL) /*!< Channel enabled. */
  2870. #define PPI_CHENSET_CH29_Set (1UL) /*!< Enable channel on write. */
  2871. /* Bit 28 : Enable PPI channel 28. */
  2872. #define PPI_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */
  2873. #define PPI_CHENSET_CH28_Msk (0x1UL << PPI_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */
  2874. #define PPI_CHENSET_CH28_Disabled (0UL) /*!< Channel disabled. */
  2875. #define PPI_CHENSET_CH28_Enabled (1UL) /*!< Channel enabled. */
  2876. #define PPI_CHENSET_CH28_Set (1UL) /*!< Enable channel on write. */
  2877. /* Bit 27 : Enable PPI channel 27. */
  2878. #define PPI_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */
  2879. #define PPI_CHENSET_CH27_Msk (0x1UL << PPI_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */
  2880. #define PPI_CHENSET_CH27_Disabled (0UL) /*!< Channel disabled. */
  2881. #define PPI_CHENSET_CH27_Enabled (1UL) /*!< Channel enabled. */
  2882. #define PPI_CHENSET_CH27_Set (1UL) /*!< Enable channel on write. */
  2883. /* Bit 26 : Enable PPI channel 26. */
  2884. #define PPI_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */
  2885. #define PPI_CHENSET_CH26_Msk (0x1UL << PPI_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */
  2886. #define PPI_CHENSET_CH26_Disabled (0UL) /*!< Channel disabled. */
  2887. #define PPI_CHENSET_CH26_Enabled (1UL) /*!< Channel enabled. */
  2888. #define PPI_CHENSET_CH26_Set (1UL) /*!< Enable channel on write. */
  2889. /* Bit 25 : Enable PPI channel 25. */
  2890. #define PPI_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */
  2891. #define PPI_CHENSET_CH25_Msk (0x1UL << PPI_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */
  2892. #define PPI_CHENSET_CH25_Disabled (0UL) /*!< Channel disabled. */
  2893. #define PPI_CHENSET_CH25_Enabled (1UL) /*!< Channel enabled. */
  2894. #define PPI_CHENSET_CH25_Set (1UL) /*!< Enable channel on write. */
  2895. /* Bit 24 : Enable PPI channel 24. */
  2896. #define PPI_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */
  2897. #define PPI_CHENSET_CH24_Msk (0x1UL << PPI_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */
  2898. #define PPI_CHENSET_CH24_Disabled (0UL) /*!< Channel disabled. */
  2899. #define PPI_CHENSET_CH24_Enabled (1UL) /*!< Channel enabled. */
  2900. #define PPI_CHENSET_CH24_Set (1UL) /*!< Enable channel on write. */
  2901. /* Bit 23 : Enable PPI channel 23. */
  2902. #define PPI_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */
  2903. #define PPI_CHENSET_CH23_Msk (0x1UL << PPI_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */
  2904. #define PPI_CHENSET_CH23_Disabled (0UL) /*!< Channel disabled. */
  2905. #define PPI_CHENSET_CH23_Enabled (1UL) /*!< Channel enabled. */
  2906. #define PPI_CHENSET_CH23_Set (1UL) /*!< Enable channel on write. */
  2907. /* Bit 22 : Enable PPI channel 22. */
  2908. #define PPI_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */
  2909. #define PPI_CHENSET_CH22_Msk (0x1UL << PPI_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */
  2910. #define PPI_CHENSET_CH22_Disabled (0UL) /*!< Channel disabled. */
  2911. #define PPI_CHENSET_CH22_Enabled (1UL) /*!< Channel enabled. */
  2912. #define PPI_CHENSET_CH22_Set (1UL) /*!< Enable channel on write. */
  2913. /* Bit 21 : Enable PPI channel 21. */
  2914. #define PPI_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */
  2915. #define PPI_CHENSET_CH21_Msk (0x1UL << PPI_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */
  2916. #define PPI_CHENSET_CH21_Disabled (0UL) /*!< Channel disabled. */
  2917. #define PPI_CHENSET_CH21_Enabled (1UL) /*!< Channel enabled. */
  2918. #define PPI_CHENSET_CH21_Set (1UL) /*!< Enable channel on write. */
  2919. /* Bit 20 : Enable PPI channel 20. */
  2920. #define PPI_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */
  2921. #define PPI_CHENSET_CH20_Msk (0x1UL << PPI_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */
  2922. #define PPI_CHENSET_CH20_Disabled (0UL) /*!< Channel disabled. */
  2923. #define PPI_CHENSET_CH20_Enabled (1UL) /*!< Channel enabled. */
  2924. #define PPI_CHENSET_CH20_Set (1UL) /*!< Enable channel on write. */
  2925. /* Bit 15 : Enable PPI channel 15. */
  2926. #define PPI_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */
  2927. #define PPI_CHENSET_CH15_Msk (0x1UL << PPI_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */
  2928. #define PPI_CHENSET_CH15_Disabled (0UL) /*!< Channel disabled. */
  2929. #define PPI_CHENSET_CH15_Enabled (1UL) /*!< Channel enabled. */
  2930. #define PPI_CHENSET_CH15_Set (1UL) /*!< Enable channel on write. */
  2931. /* Bit 14 : Enable PPI channel 14. */
  2932. #define PPI_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */
  2933. #define PPI_CHENSET_CH14_Msk (0x1UL << PPI_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */
  2934. #define PPI_CHENSET_CH14_Disabled (0UL) /*!< Channel disabled. */
  2935. #define PPI_CHENSET_CH14_Enabled (1UL) /*!< Channel enabled. */
  2936. #define PPI_CHENSET_CH14_Set (1UL) /*!< Enable channel on write. */
  2937. /* Bit 13 : Enable PPI channel 13. */
  2938. #define PPI_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */
  2939. #define PPI_CHENSET_CH13_Msk (0x1UL << PPI_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */
  2940. #define PPI_CHENSET_CH13_Disabled (0UL) /*!< Channel disabled. */
  2941. #define PPI_CHENSET_CH13_Enabled (1UL) /*!< Channel enabled. */
  2942. #define PPI_CHENSET_CH13_Set (1UL) /*!< Enable channel on write. */
  2943. /* Bit 12 : Enable PPI channel 12. */
  2944. #define PPI_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */
  2945. #define PPI_CHENSET_CH12_Msk (0x1UL << PPI_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */
  2946. #define PPI_CHENSET_CH12_Disabled (0UL) /*!< Channel disabled. */
  2947. #define PPI_CHENSET_CH12_Enabled (1UL) /*!< Channel enabled. */
  2948. #define PPI_CHENSET_CH12_Set (1UL) /*!< Enable channel on write. */
  2949. /* Bit 11 : Enable PPI channel 11. */
  2950. #define PPI_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */
  2951. #define PPI_CHENSET_CH11_Msk (0x1UL << PPI_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */
  2952. #define PPI_CHENSET_CH11_Disabled (0UL) /*!< Channel disabled. */
  2953. #define PPI_CHENSET_CH11_Enabled (1UL) /*!< Channel enabled. */
  2954. #define PPI_CHENSET_CH11_Set (1UL) /*!< Enable channel on write. */
  2955. /* Bit 10 : Enable PPI channel 10. */
  2956. #define PPI_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */
  2957. #define PPI_CHENSET_CH10_Msk (0x1UL << PPI_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */
  2958. #define PPI_CHENSET_CH10_Disabled (0UL) /*!< Channel disabled. */
  2959. #define PPI_CHENSET_CH10_Enabled (1UL) /*!< Channel enabled. */
  2960. #define PPI_CHENSET_CH10_Set (1UL) /*!< Enable channel on write. */
  2961. /* Bit 9 : Enable PPI channel 9. */
  2962. #define PPI_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */
  2963. #define PPI_CHENSET_CH9_Msk (0x1UL << PPI_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */
  2964. #define PPI_CHENSET_CH9_Disabled (0UL) /*!< Channel disabled. */
  2965. #define PPI_CHENSET_CH9_Enabled (1UL) /*!< Channel enabled. */
  2966. #define PPI_CHENSET_CH9_Set (1UL) /*!< Enable channel on write. */
  2967. /* Bit 8 : Enable PPI channel 8. */
  2968. #define PPI_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */
  2969. #define PPI_CHENSET_CH8_Msk (0x1UL << PPI_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */
  2970. #define PPI_CHENSET_CH8_Disabled (0UL) /*!< Channel disabled. */
  2971. #define PPI_CHENSET_CH8_Enabled (1UL) /*!< Channel enabled. */
  2972. #define PPI_CHENSET_CH8_Set (1UL) /*!< Enable channel on write. */
  2973. /* Bit 7 : Enable PPI channel 7. */
  2974. #define PPI_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */
  2975. #define PPI_CHENSET_CH7_Msk (0x1UL << PPI_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */
  2976. #define PPI_CHENSET_CH7_Disabled (0UL) /*!< Channel disabled. */
  2977. #define PPI_CHENSET_CH7_Enabled (1UL) /*!< Channel enabled. */
  2978. #define PPI_CHENSET_CH7_Set (1UL) /*!< Enable channel on write. */
  2979. /* Bit 6 : Enable PPI channel 6. */
  2980. #define PPI_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */
  2981. #define PPI_CHENSET_CH6_Msk (0x1UL << PPI_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */
  2982. #define PPI_CHENSET_CH6_Disabled (0UL) /*!< Channel disabled. */
  2983. #define PPI_CHENSET_CH6_Enabled (1UL) /*!< Channel enabled. */
  2984. #define PPI_CHENSET_CH6_Set (1UL) /*!< Enable channel on write. */
  2985. /* Bit 5 : Enable PPI channel 5. */
  2986. #define PPI_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */
  2987. #define PPI_CHENSET_CH5_Msk (0x1UL << PPI_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */
  2988. #define PPI_CHENSET_CH5_Disabled (0UL) /*!< Channel disabled. */
  2989. #define PPI_CHENSET_CH5_Enabled (1UL) /*!< Channel enabled. */
  2990. #define PPI_CHENSET_CH5_Set (1UL) /*!< Enable channel on write. */
  2991. /* Bit 4 : Enable PPI channel 4. */
  2992. #define PPI_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */
  2993. #define PPI_CHENSET_CH4_Msk (0x1UL << PPI_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */
  2994. #define PPI_CHENSET_CH4_Disabled (0UL) /*!< Channel disabled. */
  2995. #define PPI_CHENSET_CH4_Enabled (1UL) /*!< Channel enabled. */
  2996. #define PPI_CHENSET_CH4_Set (1UL) /*!< Enable channel on write. */
  2997. /* Bit 3 : Enable PPI channel 3. */
  2998. #define PPI_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */
  2999. #define PPI_CHENSET_CH3_Msk (0x1UL << PPI_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */
  3000. #define PPI_CHENSET_CH3_Disabled (0UL) /*!< Channel disabled. */
  3001. #define PPI_CHENSET_CH3_Enabled (1UL) /*!< Channel enabled. */
  3002. #define PPI_CHENSET_CH3_Set (1UL) /*!< Enable channel on write. */
  3003. /* Bit 2 : Enable PPI channel 2. */
  3004. #define PPI_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3005. #define PPI_CHENSET_CH2_Msk (0x1UL << PPI_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */
  3006. #define PPI_CHENSET_CH2_Disabled (0UL) /*!< Channel disabled. */
  3007. #define PPI_CHENSET_CH2_Enabled (1UL) /*!< Channel enabled. */
  3008. #define PPI_CHENSET_CH2_Set (1UL) /*!< Enable channel on write. */
  3009. /* Bit 1 : Enable PPI channel 1. */
  3010. #define PPI_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3011. #define PPI_CHENSET_CH1_Msk (0x1UL << PPI_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */
  3012. #define PPI_CHENSET_CH1_Disabled (0UL) /*!< Channel disabled. */
  3013. #define PPI_CHENSET_CH1_Enabled (1UL) /*!< Channel enabled. */
  3014. #define PPI_CHENSET_CH1_Set (1UL) /*!< Enable channel on write. */
  3015. /* Bit 0 : Enable PPI channel 0. */
  3016. #define PPI_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3017. #define PPI_CHENSET_CH0_Msk (0x1UL << PPI_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */
  3018. #define PPI_CHENSET_CH0_Disabled (0UL) /*!< Channel disabled. */
  3019. #define PPI_CHENSET_CH0_Enabled (1UL) /*!< Channel enabled. */
  3020. #define PPI_CHENSET_CH0_Set (1UL) /*!< Enable channel on write. */
  3021. /* Register: PPI_CHENCLR */
  3022. /* Description: Channel enable clear. */
  3023. /* Bit 31 : Disable PPI channel 31. */
  3024. #define PPI_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */
  3025. #define PPI_CHENCLR_CH31_Msk (0x1UL << PPI_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */
  3026. #define PPI_CHENCLR_CH31_Disabled (0UL) /*!< Channel disabled. */
  3027. #define PPI_CHENCLR_CH31_Enabled (1UL) /*!< Channel enabled. */
  3028. #define PPI_CHENCLR_CH31_Clear (1UL) /*!< Disable channel on write. */
  3029. /* Bit 30 : Disable PPI channel 30. */
  3030. #define PPI_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */
  3031. #define PPI_CHENCLR_CH30_Msk (0x1UL << PPI_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */
  3032. #define PPI_CHENCLR_CH30_Disabled (0UL) /*!< Channel disabled. */
  3033. #define PPI_CHENCLR_CH30_Enabled (1UL) /*!< Channel enabled. */
  3034. #define PPI_CHENCLR_CH30_Clear (1UL) /*!< Disable channel on write. */
  3035. /* Bit 29 : Disable PPI channel 29. */
  3036. #define PPI_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */
  3037. #define PPI_CHENCLR_CH29_Msk (0x1UL << PPI_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */
  3038. #define PPI_CHENCLR_CH29_Disabled (0UL) /*!< Channel disabled. */
  3039. #define PPI_CHENCLR_CH29_Enabled (1UL) /*!< Channel enabled. */
  3040. #define PPI_CHENCLR_CH29_Clear (1UL) /*!< Disable channel on write. */
  3041. /* Bit 28 : Disable PPI channel 28. */
  3042. #define PPI_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */
  3043. #define PPI_CHENCLR_CH28_Msk (0x1UL << PPI_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */
  3044. #define PPI_CHENCLR_CH28_Disabled (0UL) /*!< Channel disabled. */
  3045. #define PPI_CHENCLR_CH28_Enabled (1UL) /*!< Channel enabled. */
  3046. #define PPI_CHENCLR_CH28_Clear (1UL) /*!< Disable channel on write. */
  3047. /* Bit 27 : Disable PPI channel 27. */
  3048. #define PPI_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */
  3049. #define PPI_CHENCLR_CH27_Msk (0x1UL << PPI_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */
  3050. #define PPI_CHENCLR_CH27_Disabled (0UL) /*!< Channel disabled. */
  3051. #define PPI_CHENCLR_CH27_Enabled (1UL) /*!< Channel enabled. */
  3052. #define PPI_CHENCLR_CH27_Clear (1UL) /*!< Disable channel on write. */
  3053. /* Bit 26 : Disable PPI channel 26. */
  3054. #define PPI_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */
  3055. #define PPI_CHENCLR_CH26_Msk (0x1UL << PPI_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */
  3056. #define PPI_CHENCLR_CH26_Disabled (0UL) /*!< Channel disabled. */
  3057. #define PPI_CHENCLR_CH26_Enabled (1UL) /*!< Channel enabled. */
  3058. #define PPI_CHENCLR_CH26_Clear (1UL) /*!< Disable channel on write. */
  3059. /* Bit 25 : Disable PPI channel 25. */
  3060. #define PPI_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */
  3061. #define PPI_CHENCLR_CH25_Msk (0x1UL << PPI_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */
  3062. #define PPI_CHENCLR_CH25_Disabled (0UL) /*!< Channel disabled. */
  3063. #define PPI_CHENCLR_CH25_Enabled (1UL) /*!< Channel enabled. */
  3064. #define PPI_CHENCLR_CH25_Clear (1UL) /*!< Disable channel on write. */
  3065. /* Bit 24 : Disable PPI channel 24. */
  3066. #define PPI_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */
  3067. #define PPI_CHENCLR_CH24_Msk (0x1UL << PPI_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */
  3068. #define PPI_CHENCLR_CH24_Disabled (0UL) /*!< Channel disabled. */
  3069. #define PPI_CHENCLR_CH24_Enabled (1UL) /*!< Channel enabled. */
  3070. #define PPI_CHENCLR_CH24_Clear (1UL) /*!< Disable channel on write. */
  3071. /* Bit 23 : Disable PPI channel 23. */
  3072. #define PPI_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */
  3073. #define PPI_CHENCLR_CH23_Msk (0x1UL << PPI_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */
  3074. #define PPI_CHENCLR_CH23_Disabled (0UL) /*!< Channel disabled. */
  3075. #define PPI_CHENCLR_CH23_Enabled (1UL) /*!< Channel enabled. */
  3076. #define PPI_CHENCLR_CH23_Clear (1UL) /*!< Disable channel on write. */
  3077. /* Bit 22 : Disable PPI channel 22. */
  3078. #define PPI_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */
  3079. #define PPI_CHENCLR_CH22_Msk (0x1UL << PPI_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */
  3080. #define PPI_CHENCLR_CH22_Disabled (0UL) /*!< Channel disabled. */
  3081. #define PPI_CHENCLR_CH22_Enabled (1UL) /*!< Channel enabled. */
  3082. #define PPI_CHENCLR_CH22_Clear (1UL) /*!< Disable channel on write. */
  3083. /* Bit 21 : Disable PPI channel 21. */
  3084. #define PPI_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */
  3085. #define PPI_CHENCLR_CH21_Msk (0x1UL << PPI_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */
  3086. #define PPI_CHENCLR_CH21_Disabled (0UL) /*!< Channel disabled. */
  3087. #define PPI_CHENCLR_CH21_Enabled (1UL) /*!< Channel enabled. */
  3088. #define PPI_CHENCLR_CH21_Clear (1UL) /*!< Disable channel on write. */
  3089. /* Bit 20 : Disable PPI channel 20. */
  3090. #define PPI_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */
  3091. #define PPI_CHENCLR_CH20_Msk (0x1UL << PPI_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */
  3092. #define PPI_CHENCLR_CH20_Disabled (0UL) /*!< Channel disabled. */
  3093. #define PPI_CHENCLR_CH20_Enabled (1UL) /*!< Channel enabled. */
  3094. #define PPI_CHENCLR_CH20_Clear (1UL) /*!< Disable channel on write. */
  3095. /* Bit 15 : Disable PPI channel 15. */
  3096. #define PPI_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */
  3097. #define PPI_CHENCLR_CH15_Msk (0x1UL << PPI_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */
  3098. #define PPI_CHENCLR_CH15_Disabled (0UL) /*!< Channel disabled. */
  3099. #define PPI_CHENCLR_CH15_Enabled (1UL) /*!< Channel enabled. */
  3100. #define PPI_CHENCLR_CH15_Clear (1UL) /*!< Disable channel on write. */
  3101. /* Bit 14 : Disable PPI channel 14. */
  3102. #define PPI_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */
  3103. #define PPI_CHENCLR_CH14_Msk (0x1UL << PPI_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */
  3104. #define PPI_CHENCLR_CH14_Disabled (0UL) /*!< Channel disabled. */
  3105. #define PPI_CHENCLR_CH14_Enabled (1UL) /*!< Channel enabled. */
  3106. #define PPI_CHENCLR_CH14_Clear (1UL) /*!< Disable channel on write. */
  3107. /* Bit 13 : Disable PPI channel 13. */
  3108. #define PPI_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */
  3109. #define PPI_CHENCLR_CH13_Msk (0x1UL << PPI_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */
  3110. #define PPI_CHENCLR_CH13_Disabled (0UL) /*!< Channel disabled. */
  3111. #define PPI_CHENCLR_CH13_Enabled (1UL) /*!< Channel enabled. */
  3112. #define PPI_CHENCLR_CH13_Clear (1UL) /*!< Disable channel on write. */
  3113. /* Bit 12 : Disable PPI channel 12. */
  3114. #define PPI_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */
  3115. #define PPI_CHENCLR_CH12_Msk (0x1UL << PPI_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */
  3116. #define PPI_CHENCLR_CH12_Disabled (0UL) /*!< Channel disabled. */
  3117. #define PPI_CHENCLR_CH12_Enabled (1UL) /*!< Channel enabled. */
  3118. #define PPI_CHENCLR_CH12_Clear (1UL) /*!< Disable channel on write. */
  3119. /* Bit 11 : Disable PPI channel 11. */
  3120. #define PPI_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */
  3121. #define PPI_CHENCLR_CH11_Msk (0x1UL << PPI_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */
  3122. #define PPI_CHENCLR_CH11_Disabled (0UL) /*!< Channel disabled. */
  3123. #define PPI_CHENCLR_CH11_Enabled (1UL) /*!< Channel enabled. */
  3124. #define PPI_CHENCLR_CH11_Clear (1UL) /*!< Disable channel on write. */
  3125. /* Bit 10 : Disable PPI channel 10. */
  3126. #define PPI_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */
  3127. #define PPI_CHENCLR_CH10_Msk (0x1UL << PPI_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */
  3128. #define PPI_CHENCLR_CH10_Disabled (0UL) /*!< Channel disabled. */
  3129. #define PPI_CHENCLR_CH10_Enabled (1UL) /*!< Channel enabled. */
  3130. #define PPI_CHENCLR_CH10_Clear (1UL) /*!< Disable channel on write. */
  3131. /* Bit 9 : Disable PPI channel 9. */
  3132. #define PPI_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */
  3133. #define PPI_CHENCLR_CH9_Msk (0x1UL << PPI_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */
  3134. #define PPI_CHENCLR_CH9_Disabled (0UL) /*!< Channel disabled. */
  3135. #define PPI_CHENCLR_CH9_Enabled (1UL) /*!< Channel enabled. */
  3136. #define PPI_CHENCLR_CH9_Clear (1UL) /*!< Disable channel on write. */
  3137. /* Bit 8 : Disable PPI channel 8. */
  3138. #define PPI_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */
  3139. #define PPI_CHENCLR_CH8_Msk (0x1UL << PPI_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */
  3140. #define PPI_CHENCLR_CH8_Disabled (0UL) /*!< Channel disabled. */
  3141. #define PPI_CHENCLR_CH8_Enabled (1UL) /*!< Channel enabled. */
  3142. #define PPI_CHENCLR_CH8_Clear (1UL) /*!< Disable channel on write. */
  3143. /* Bit 7 : Disable PPI channel 7. */
  3144. #define PPI_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */
  3145. #define PPI_CHENCLR_CH7_Msk (0x1UL << PPI_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */
  3146. #define PPI_CHENCLR_CH7_Disabled (0UL) /*!< Channel disabled. */
  3147. #define PPI_CHENCLR_CH7_Enabled (1UL) /*!< Channel enabled. */
  3148. #define PPI_CHENCLR_CH7_Clear (1UL) /*!< Disable channel on write. */
  3149. /* Bit 6 : Disable PPI channel 6. */
  3150. #define PPI_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */
  3151. #define PPI_CHENCLR_CH6_Msk (0x1UL << PPI_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */
  3152. #define PPI_CHENCLR_CH6_Disabled (0UL) /*!< Channel disabled. */
  3153. #define PPI_CHENCLR_CH6_Enabled (1UL) /*!< Channel enabled. */
  3154. #define PPI_CHENCLR_CH6_Clear (1UL) /*!< Disable channel on write. */
  3155. /* Bit 5 : Disable PPI channel 5. */
  3156. #define PPI_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */
  3157. #define PPI_CHENCLR_CH5_Msk (0x1UL << PPI_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */
  3158. #define PPI_CHENCLR_CH5_Disabled (0UL) /*!< Channel disabled. */
  3159. #define PPI_CHENCLR_CH5_Enabled (1UL) /*!< Channel enabled. */
  3160. #define PPI_CHENCLR_CH5_Clear (1UL) /*!< Disable channel on write. */
  3161. /* Bit 4 : Disable PPI channel 4. */
  3162. #define PPI_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */
  3163. #define PPI_CHENCLR_CH4_Msk (0x1UL << PPI_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */
  3164. #define PPI_CHENCLR_CH4_Disabled (0UL) /*!< Channel disabled. */
  3165. #define PPI_CHENCLR_CH4_Enabled (1UL) /*!< Channel enabled. */
  3166. #define PPI_CHENCLR_CH4_Clear (1UL) /*!< Disable channel on write. */
  3167. /* Bit 3 : Disable PPI channel 3. */
  3168. #define PPI_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */
  3169. #define PPI_CHENCLR_CH3_Msk (0x1UL << PPI_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */
  3170. #define PPI_CHENCLR_CH3_Disabled (0UL) /*!< Channel disabled. */
  3171. #define PPI_CHENCLR_CH3_Enabled (1UL) /*!< Channel enabled. */
  3172. #define PPI_CHENCLR_CH3_Clear (1UL) /*!< Disable channel on write. */
  3173. /* Bit 2 : Disable PPI channel 2. */
  3174. #define PPI_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3175. #define PPI_CHENCLR_CH2_Msk (0x1UL << PPI_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */
  3176. #define PPI_CHENCLR_CH2_Disabled (0UL) /*!< Channel disabled. */
  3177. #define PPI_CHENCLR_CH2_Enabled (1UL) /*!< Channel enabled. */
  3178. #define PPI_CHENCLR_CH2_Clear (1UL) /*!< Disable channel on write. */
  3179. /* Bit 1 : Disable PPI channel 1. */
  3180. #define PPI_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3181. #define PPI_CHENCLR_CH1_Msk (0x1UL << PPI_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */
  3182. #define PPI_CHENCLR_CH1_Disabled (0UL) /*!< Channel disabled. */
  3183. #define PPI_CHENCLR_CH1_Enabled (1UL) /*!< Channel enabled. */
  3184. #define PPI_CHENCLR_CH1_Clear (1UL) /*!< Disable channel on write. */
  3185. /* Bit 0 : Disable PPI channel 0. */
  3186. #define PPI_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3187. #define PPI_CHENCLR_CH0_Msk (0x1UL << PPI_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */
  3188. #define PPI_CHENCLR_CH0_Disabled (0UL) /*!< Channel disabled. */
  3189. #define PPI_CHENCLR_CH0_Enabled (1UL) /*!< Channel enabled. */
  3190. #define PPI_CHENCLR_CH0_Clear (1UL) /*!< Disable channel on write. */
  3191. /* Register: PPI_CHG */
  3192. /* Description: Channel group configuration. */
  3193. /* Bit 31 : Include CH31 in channel group. */
  3194. #define PPI_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */
  3195. #define PPI_CHG_CH31_Msk (0x1UL << PPI_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */
  3196. #define PPI_CHG_CH31_Excluded (0UL) /*!< Channel excluded. */
  3197. #define PPI_CHG_CH31_Included (1UL) /*!< Channel included. */
  3198. /* Bit 30 : Include CH30 in channel group. */
  3199. #define PPI_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */
  3200. #define PPI_CHG_CH30_Msk (0x1UL << PPI_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */
  3201. #define PPI_CHG_CH30_Excluded (0UL) /*!< Channel excluded. */
  3202. #define PPI_CHG_CH30_Included (1UL) /*!< Channel included. */
  3203. /* Bit 29 : Include CH29 in channel group. */
  3204. #define PPI_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */
  3205. #define PPI_CHG_CH29_Msk (0x1UL << PPI_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */
  3206. #define PPI_CHG_CH29_Excluded (0UL) /*!< Channel excluded. */
  3207. #define PPI_CHG_CH29_Included (1UL) /*!< Channel included. */
  3208. /* Bit 28 : Include CH28 in channel group. */
  3209. #define PPI_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */
  3210. #define PPI_CHG_CH28_Msk (0x1UL << PPI_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */
  3211. #define PPI_CHG_CH28_Excluded (0UL) /*!< Channel excluded. */
  3212. #define PPI_CHG_CH28_Included (1UL) /*!< Channel included. */
  3213. /* Bit 27 : Include CH27 in channel group. */
  3214. #define PPI_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */
  3215. #define PPI_CHG_CH27_Msk (0x1UL << PPI_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */
  3216. #define PPI_CHG_CH27_Excluded (0UL) /*!< Channel excluded. */
  3217. #define PPI_CHG_CH27_Included (1UL) /*!< Channel included. */
  3218. /* Bit 26 : Include CH26 in channel group. */
  3219. #define PPI_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */
  3220. #define PPI_CHG_CH26_Msk (0x1UL << PPI_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */
  3221. #define PPI_CHG_CH26_Excluded (0UL) /*!< Channel excluded. */
  3222. #define PPI_CHG_CH26_Included (1UL) /*!< Channel included. */
  3223. /* Bit 25 : Include CH25 in channel group. */
  3224. #define PPI_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */
  3225. #define PPI_CHG_CH25_Msk (0x1UL << PPI_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */
  3226. #define PPI_CHG_CH25_Excluded (0UL) /*!< Channel excluded. */
  3227. #define PPI_CHG_CH25_Included (1UL) /*!< Channel included. */
  3228. /* Bit 24 : Include CH24 in channel group. */
  3229. #define PPI_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */
  3230. #define PPI_CHG_CH24_Msk (0x1UL << PPI_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */
  3231. #define PPI_CHG_CH24_Excluded (0UL) /*!< Channel excluded. */
  3232. #define PPI_CHG_CH24_Included (1UL) /*!< Channel included. */
  3233. /* Bit 23 : Include CH23 in channel group. */
  3234. #define PPI_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */
  3235. #define PPI_CHG_CH23_Msk (0x1UL << PPI_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */
  3236. #define PPI_CHG_CH23_Excluded (0UL) /*!< Channel excluded. */
  3237. #define PPI_CHG_CH23_Included (1UL) /*!< Channel included. */
  3238. /* Bit 22 : Include CH22 in channel group. */
  3239. #define PPI_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */
  3240. #define PPI_CHG_CH22_Msk (0x1UL << PPI_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */
  3241. #define PPI_CHG_CH22_Excluded (0UL) /*!< Channel excluded. */
  3242. #define PPI_CHG_CH22_Included (1UL) /*!< Channel included. */
  3243. /* Bit 21 : Include CH21 in channel group. */
  3244. #define PPI_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */
  3245. #define PPI_CHG_CH21_Msk (0x1UL << PPI_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */
  3246. #define PPI_CHG_CH21_Excluded (0UL) /*!< Channel excluded. */
  3247. #define PPI_CHG_CH21_Included (1UL) /*!< Channel included. */
  3248. /* Bit 20 : Include CH20 in channel group. */
  3249. #define PPI_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */
  3250. #define PPI_CHG_CH20_Msk (0x1UL << PPI_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */
  3251. #define PPI_CHG_CH20_Excluded (0UL) /*!< Channel excluded. */
  3252. #define PPI_CHG_CH20_Included (1UL) /*!< Channel included. */
  3253. /* Bit 15 : Include CH15 in channel group. */
  3254. #define PPI_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */
  3255. #define PPI_CHG_CH15_Msk (0x1UL << PPI_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */
  3256. #define PPI_CHG_CH15_Excluded (0UL) /*!< Channel excluded. */
  3257. #define PPI_CHG_CH15_Included (1UL) /*!< Channel included. */
  3258. /* Bit 14 : Include CH14 in channel group. */
  3259. #define PPI_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */
  3260. #define PPI_CHG_CH14_Msk (0x1UL << PPI_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */
  3261. #define PPI_CHG_CH14_Excluded (0UL) /*!< Channel excluded. */
  3262. #define PPI_CHG_CH14_Included (1UL) /*!< Channel included. */
  3263. /* Bit 13 : Include CH13 in channel group. */
  3264. #define PPI_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */
  3265. #define PPI_CHG_CH13_Msk (0x1UL << PPI_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */
  3266. #define PPI_CHG_CH13_Excluded (0UL) /*!< Channel excluded. */
  3267. #define PPI_CHG_CH13_Included (1UL) /*!< Channel included. */
  3268. /* Bit 12 : Include CH12 in channel group. */
  3269. #define PPI_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */
  3270. #define PPI_CHG_CH12_Msk (0x1UL << PPI_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */
  3271. #define PPI_CHG_CH12_Excluded (0UL) /*!< Channel excluded. */
  3272. #define PPI_CHG_CH12_Included (1UL) /*!< Channel included. */
  3273. /* Bit 11 : Include CH11 in channel group. */
  3274. #define PPI_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */
  3275. #define PPI_CHG_CH11_Msk (0x1UL << PPI_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */
  3276. #define PPI_CHG_CH11_Excluded (0UL) /*!< Channel excluded. */
  3277. #define PPI_CHG_CH11_Included (1UL) /*!< Channel included. */
  3278. /* Bit 10 : Include CH10 in channel group. */
  3279. #define PPI_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */
  3280. #define PPI_CHG_CH10_Msk (0x1UL << PPI_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */
  3281. #define PPI_CHG_CH10_Excluded (0UL) /*!< Channel excluded. */
  3282. #define PPI_CHG_CH10_Included (1UL) /*!< Channel included. */
  3283. /* Bit 9 : Include CH9 in channel group. */
  3284. #define PPI_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */
  3285. #define PPI_CHG_CH9_Msk (0x1UL << PPI_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */
  3286. #define PPI_CHG_CH9_Excluded (0UL) /*!< Channel excluded. */
  3287. #define PPI_CHG_CH9_Included (1UL) /*!< Channel included. */
  3288. /* Bit 8 : Include CH8 in channel group. */
  3289. #define PPI_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */
  3290. #define PPI_CHG_CH8_Msk (0x1UL << PPI_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */
  3291. #define PPI_CHG_CH8_Excluded (0UL) /*!< Channel excluded. */
  3292. #define PPI_CHG_CH8_Included (1UL) /*!< Channel included. */
  3293. /* Bit 7 : Include CH7 in channel group. */
  3294. #define PPI_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */
  3295. #define PPI_CHG_CH7_Msk (0x1UL << PPI_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */
  3296. #define PPI_CHG_CH7_Excluded (0UL) /*!< Channel excluded. */
  3297. #define PPI_CHG_CH7_Included (1UL) /*!< Channel included. */
  3298. /* Bit 6 : Include CH6 in channel group. */
  3299. #define PPI_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */
  3300. #define PPI_CHG_CH6_Msk (0x1UL << PPI_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */
  3301. #define PPI_CHG_CH6_Excluded (0UL) /*!< Channel excluded. */
  3302. #define PPI_CHG_CH6_Included (1UL) /*!< Channel included. */
  3303. /* Bit 5 : Include CH5 in channel group. */
  3304. #define PPI_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */
  3305. #define PPI_CHG_CH5_Msk (0x1UL << PPI_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */
  3306. #define PPI_CHG_CH5_Excluded (0UL) /*!< Channel excluded. */
  3307. #define PPI_CHG_CH5_Included (1UL) /*!< Channel included. */
  3308. /* Bit 4 : Include CH4 in channel group. */
  3309. #define PPI_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */
  3310. #define PPI_CHG_CH4_Msk (0x1UL << PPI_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */
  3311. #define PPI_CHG_CH4_Excluded (0UL) /*!< Channel excluded. */
  3312. #define PPI_CHG_CH4_Included (1UL) /*!< Channel included. */
  3313. /* Bit 3 : Include CH3 in channel group. */
  3314. #define PPI_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */
  3315. #define PPI_CHG_CH3_Msk (0x1UL << PPI_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */
  3316. #define PPI_CHG_CH3_Excluded (0UL) /*!< Channel excluded. */
  3317. #define PPI_CHG_CH3_Included (1UL) /*!< Channel included. */
  3318. /* Bit 2 : Include CH2 in channel group. */
  3319. #define PPI_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3320. #define PPI_CHG_CH2_Msk (0x1UL << PPI_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */
  3321. #define PPI_CHG_CH2_Excluded (0UL) /*!< Channel excluded. */
  3322. #define PPI_CHG_CH2_Included (1UL) /*!< Channel included. */
  3323. /* Bit 1 : Include CH1 in channel group. */
  3324. #define PPI_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3325. #define PPI_CHG_CH1_Msk (0x1UL << PPI_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */
  3326. #define PPI_CHG_CH1_Excluded (0UL) /*!< Channel excluded. */
  3327. #define PPI_CHG_CH1_Included (1UL) /*!< Channel included. */
  3328. /* Bit 0 : Include CH0 in channel group. */
  3329. #define PPI_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3330. #define PPI_CHG_CH0_Msk (0x1UL << PPI_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */
  3331. #define PPI_CHG_CH0_Excluded (0UL) /*!< Channel excluded. */
  3332. #define PPI_CHG_CH0_Included (1UL) /*!< Channel included. */
  3333. /* Peripheral: QDEC */
  3334. /* Description: Rotary decoder. */
  3335. /* Register: QDEC_SHORTS */
  3336. /* Description: Shortcuts for the QDEC. */
  3337. /* Bit 1 : Shortcut between SAMPLERDY event and STOP task. */
  3338. #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */
  3339. #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */
  3340. #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  3341. #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  3342. /* Bit 0 : Shortcut between REPORTRDY event and READCLRACC task. */
  3343. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */
  3344. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */
  3345. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0UL) /*!< Shortcut disabled. */
  3346. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (1UL) /*!< Shortcut enabled. */
  3347. /* Register: QDEC_INTENSET */
  3348. /* Description: Interrupt enable set register. */
  3349. /* Bit 2 : Enable interrupt on ACCOF event. */
  3350. #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
  3351. #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
  3352. #define QDEC_INTENSET_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */
  3353. #define QDEC_INTENSET_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */
  3354. #define QDEC_INTENSET_ACCOF_Set (1UL) /*!< Enable interrupt on write. */
  3355. /* Bit 1 : Enable interrupt on REPORTRDY event. */
  3356. #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
  3357. #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
  3358. #define QDEC_INTENSET_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */
  3359. #define QDEC_INTENSET_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */
  3360. #define QDEC_INTENSET_REPORTRDY_Set (1UL) /*!< Enable interrupt on write. */
  3361. /* Bit 0 : Enable interrupt on SAMPLERDY event. */
  3362. #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
  3363. #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
  3364. #define QDEC_INTENSET_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */
  3365. #define QDEC_INTENSET_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */
  3366. #define QDEC_INTENSET_SAMPLERDY_Set (1UL) /*!< Enable interrupt on write. */
  3367. /* Register: QDEC_INTENCLR */
  3368. /* Description: Interrupt enable clear register. */
  3369. /* Bit 2 : Disable interrupt on ACCOF event. */
  3370. #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
  3371. #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
  3372. #define QDEC_INTENCLR_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */
  3373. #define QDEC_INTENCLR_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */
  3374. #define QDEC_INTENCLR_ACCOF_Clear (1UL) /*!< Disable interrupt on write. */
  3375. /* Bit 1 : Disable interrupt on REPORTRDY event. */
  3376. #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
  3377. #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
  3378. #define QDEC_INTENCLR_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */
  3379. #define QDEC_INTENCLR_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */
  3380. #define QDEC_INTENCLR_REPORTRDY_Clear (1UL) /*!< Disable interrupt on write. */
  3381. /* Bit 0 : Disable interrupt on SAMPLERDY event. */
  3382. #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
  3383. #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
  3384. #define QDEC_INTENCLR_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */
  3385. #define QDEC_INTENCLR_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */
  3386. #define QDEC_INTENCLR_SAMPLERDY_Clear (1UL) /*!< Disable interrupt on write. */
  3387. /* Register: QDEC_ENABLE */
  3388. /* Description: Enable the QDEC. */
  3389. /* Bit 0 : Enable or disable QDEC. */
  3390. #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  3391. #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  3392. #define QDEC_ENABLE_ENABLE_Disabled (0UL) /*!< Disabled QDEC. */
  3393. #define QDEC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable QDEC. */
  3394. /* Register: QDEC_LEDPOL */
  3395. /* Description: LED output pin polarity. */
  3396. /* Bit 0 : LED output pin polarity. */
  3397. #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */
  3398. #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */
  3399. #define QDEC_LEDPOL_LEDPOL_ActiveLow (0UL) /*!< LED output is active low. */
  3400. #define QDEC_LEDPOL_LEDPOL_ActiveHigh (1UL) /*!< LED output is active high. */
  3401. /* Register: QDEC_SAMPLEPER */
  3402. /* Description: Sample period. */
  3403. /* Bits 2..0 : Sample period. */
  3404. #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */
  3405. #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0x7UL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */
  3406. #define QDEC_SAMPLEPER_SAMPLEPER_128us (0x00UL) /*!< 128us sample period. */
  3407. #define QDEC_SAMPLEPER_SAMPLEPER_256us (0x01UL) /*!< 256us sample period. */
  3408. #define QDEC_SAMPLEPER_SAMPLEPER_512us (0x02UL) /*!< 512us sample period. */
  3409. #define QDEC_SAMPLEPER_SAMPLEPER_1024us (0x03UL) /*!< 1024us sample period. */
  3410. #define QDEC_SAMPLEPER_SAMPLEPER_2048us (0x04UL) /*!< 2048us sample period. */
  3411. #define QDEC_SAMPLEPER_SAMPLEPER_4096us (0x05UL) /*!< 4096us sample period. */
  3412. #define QDEC_SAMPLEPER_SAMPLEPER_8192us (0x06UL) /*!< 8192us sample period. */
  3413. #define QDEC_SAMPLEPER_SAMPLEPER_16384us (0x07UL) /*!< 16384us sample period. */
  3414. /* Register: QDEC_SAMPLE */
  3415. /* Description: Motion sample value. */
  3416. /* Bits 31..0 : Last sample taken in compliment to 2. */
  3417. #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */
  3418. #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */
  3419. /* Register: QDEC_REPORTPER */
  3420. /* Description: Number of samples to generate an EVENT_REPORTRDY. */
  3421. /* Bits 2..0 : Number of samples to generate an EVENT_REPORTRDY. */
  3422. #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */
  3423. #define QDEC_REPORTPER_REPORTPER_Msk (0x7UL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */
  3424. #define QDEC_REPORTPER_REPORTPER_10Smpl (0x00UL) /*!< 10 samples per report. */
  3425. #define QDEC_REPORTPER_REPORTPER_40Smpl (0x01UL) /*!< 40 samples per report. */
  3426. #define QDEC_REPORTPER_REPORTPER_80Smpl (0x02UL) /*!< 80 samples per report. */
  3427. #define QDEC_REPORTPER_REPORTPER_120Smpl (0x03UL) /*!< 120 samples per report. */
  3428. #define QDEC_REPORTPER_REPORTPER_160Smpl (0x04UL) /*!< 160 samples per report. */
  3429. #define QDEC_REPORTPER_REPORTPER_200Smpl (0x05UL) /*!< 200 samples per report. */
  3430. #define QDEC_REPORTPER_REPORTPER_240Smpl (0x06UL) /*!< 240 samples per report. */
  3431. #define QDEC_REPORTPER_REPORTPER_280Smpl (0x07UL) /*!< 280 samples per report. */
  3432. /* Register: QDEC_DBFEN */
  3433. /* Description: Enable debouncer input filters. */
  3434. /* Bit 0 : Enable debounce input filters. */
  3435. #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */
  3436. #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */
  3437. #define QDEC_DBFEN_DBFEN_Disabled (0UL) /*!< Debounce input filters disabled. */
  3438. #define QDEC_DBFEN_DBFEN_Enabled (1UL) /*!< Debounce input filters enabled. */
  3439. /* Register: QDEC_LEDPRE */
  3440. /* Description: Time LED is switched ON before the sample. */
  3441. /* Bits 8..0 : Period in us the LED in switched on prior to sampling. */
  3442. #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */
  3443. #define QDEC_LEDPRE_LEDPRE_Msk (0x1FFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */
  3444. /* Register: QDEC_ACCDBL */
  3445. /* Description: Accumulated double (error) transitions register. */
  3446. /* Bits 3..0 : Accumulated double (error) transitions. */
  3447. #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */
  3448. #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */
  3449. /* Register: QDEC_ACCDBLREAD */
  3450. /* Description: Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. */
  3451. /* Bits 3..0 : Snapshot of accumulated double (error) transitions. */
  3452. #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */
  3453. #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */
  3454. /* Register: QDEC_POWER */
  3455. /* Description: Peripheral power control. */
  3456. /* Bit 0 : Peripheral power control. */
  3457. #define QDEC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  3458. #define QDEC_POWER_POWER_Msk (0x1UL << QDEC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  3459. #define QDEC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  3460. #define QDEC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  3461. /* Peripheral: RADIO */
  3462. /* Description: The radio. */
  3463. /* Register: RADIO_SHORTS */
  3464. /* Description: Shortcuts for the radio. */
  3465. /* Bit 8 : Shortcut between DISABLED event and RSSISTOP task. */
  3466. #define RADIO_SHORTS_DISABLED_RSSISTOP_Pos (8UL) /*!< Position of DISABLED_RSSISTOP field. */
  3467. #define RADIO_SHORTS_DISABLED_RSSISTOP_Msk (0x1UL << RADIO_SHORTS_DISABLED_RSSISTOP_Pos) /*!< Bit mask of DISABLED_RSSISTOP field. */
  3468. #define RADIO_SHORTS_DISABLED_RSSISTOP_Disabled (0UL) /*!< Shortcut disabled. */
  3469. #define RADIO_SHORTS_DISABLED_RSSISTOP_Enabled (1UL) /*!< Shortcut enabled. */
  3470. /* Bit 6 : Shortcut between ADDRESS event and BCSTART task. */
  3471. #define RADIO_SHORTS_ADDRESS_BCSTART_Pos (6UL) /*!< Position of ADDRESS_BCSTART field. */
  3472. #define RADIO_SHORTS_ADDRESS_BCSTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_BCSTART_Pos) /*!< Bit mask of ADDRESS_BCSTART field. */
  3473. #define RADIO_SHORTS_ADDRESS_BCSTART_Disabled (0UL) /*!< Shortcut disabled. */
  3474. #define RADIO_SHORTS_ADDRESS_BCSTART_Enabled (1UL) /*!< Shortcut enabled. */
  3475. /* Bit 5 : Shortcut between END event and START task. */
  3476. #define RADIO_SHORTS_END_START_Pos (5UL) /*!< Position of END_START field. */
  3477. #define RADIO_SHORTS_END_START_Msk (0x1UL << RADIO_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */
  3478. #define RADIO_SHORTS_END_START_Disabled (0UL) /*!< Shortcut disabled. */
  3479. #define RADIO_SHORTS_END_START_Enabled (1UL) /*!< Shortcut enabled. */
  3480. /* Bit 4 : Shortcut between ADDRESS event and RSSISTART task. */
  3481. #define RADIO_SHORTS_ADDRESS_RSSISTART_Pos (4UL) /*!< Position of ADDRESS_RSSISTART field. */
  3482. #define RADIO_SHORTS_ADDRESS_RSSISTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_RSSISTART_Pos) /*!< Bit mask of ADDRESS_RSSISTART field. */
  3483. #define RADIO_SHORTS_ADDRESS_RSSISTART_Disabled (0UL) /*!< Shortcut disabled. */
  3484. #define RADIO_SHORTS_ADDRESS_RSSISTART_Enabled (1UL) /*!< Shortcut enabled. */
  3485. /* Bit 3 : Shortcut between DISABLED event and RXEN task. */
  3486. #define RADIO_SHORTS_DISABLED_RXEN_Pos (3UL) /*!< Position of DISABLED_RXEN field. */
  3487. #define RADIO_SHORTS_DISABLED_RXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_RXEN_Pos) /*!< Bit mask of DISABLED_RXEN field. */
  3488. #define RADIO_SHORTS_DISABLED_RXEN_Disabled (0UL) /*!< Shortcut disabled. */
  3489. #define RADIO_SHORTS_DISABLED_RXEN_Enabled (1UL) /*!< Shortcut enabled. */
  3490. /* Bit 2 : Shortcut between DISABLED event and TXEN task. */
  3491. #define RADIO_SHORTS_DISABLED_TXEN_Pos (2UL) /*!< Position of DISABLED_TXEN field. */
  3492. #define RADIO_SHORTS_DISABLED_TXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_TXEN_Pos) /*!< Bit mask of DISABLED_TXEN field. */
  3493. #define RADIO_SHORTS_DISABLED_TXEN_Disabled (0UL) /*!< Shortcut disabled. */
  3494. #define RADIO_SHORTS_DISABLED_TXEN_Enabled (1UL) /*!< Shortcut enabled. */
  3495. /* Bit 1 : Shortcut between END event and DISABLE task. */
  3496. #define RADIO_SHORTS_END_DISABLE_Pos (1UL) /*!< Position of END_DISABLE field. */
  3497. #define RADIO_SHORTS_END_DISABLE_Msk (0x1UL << RADIO_SHORTS_END_DISABLE_Pos) /*!< Bit mask of END_DISABLE field. */
  3498. #define RADIO_SHORTS_END_DISABLE_Disabled (0UL) /*!< Shortcut disabled. */
  3499. #define RADIO_SHORTS_END_DISABLE_Enabled (1UL) /*!< Shortcut enabled. */
  3500. /* Bit 0 : Shortcut between READY event and START task. */
  3501. #define RADIO_SHORTS_READY_START_Pos (0UL) /*!< Position of READY_START field. */
  3502. #define RADIO_SHORTS_READY_START_Msk (0x1UL << RADIO_SHORTS_READY_START_Pos) /*!< Bit mask of READY_START field. */
  3503. #define RADIO_SHORTS_READY_START_Disabled (0UL) /*!< Shortcut disabled. */
  3504. #define RADIO_SHORTS_READY_START_Enabled (1UL) /*!< Shortcut enabled. */
  3505. /* Register: RADIO_INTENSET */
  3506. /* Description: Interrupt enable set register. */
  3507. /* Bit 10 : Enable interrupt on BCMATCH event. */
  3508. #define RADIO_INTENSET_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
  3509. #define RADIO_INTENSET_BCMATCH_Msk (0x1UL << RADIO_INTENSET_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
  3510. #define RADIO_INTENSET_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  3511. #define RADIO_INTENSET_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  3512. #define RADIO_INTENSET_BCMATCH_Set (1UL) /*!< Enable interrupt on write. */
  3513. /* Bit 7 : Enable interrupt on RSSIEND event. */
  3514. #define RADIO_INTENSET_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
  3515. #define RADIO_INTENSET_RSSIEND_Msk (0x1UL << RADIO_INTENSET_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
  3516. #define RADIO_INTENSET_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */
  3517. #define RADIO_INTENSET_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */
  3518. #define RADIO_INTENSET_RSSIEND_Set (1UL) /*!< Enable interrupt on write. */
  3519. /* Bit 6 : Enable interrupt on DEVMISS event. */
  3520. #define RADIO_INTENSET_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
  3521. #define RADIO_INTENSET_DEVMISS_Msk (0x1UL << RADIO_INTENSET_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
  3522. #define RADIO_INTENSET_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */
  3523. #define RADIO_INTENSET_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */
  3524. #define RADIO_INTENSET_DEVMISS_Set (1UL) /*!< Enable interrupt on write. */
  3525. /* Bit 5 : Enable interrupt on DEVMATCH event. */
  3526. #define RADIO_INTENSET_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
  3527. #define RADIO_INTENSET_DEVMATCH_Msk (0x1UL << RADIO_INTENSET_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
  3528. #define RADIO_INTENSET_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  3529. #define RADIO_INTENSET_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  3530. #define RADIO_INTENSET_DEVMATCH_Set (1UL) /*!< Enable interrupt on write. */
  3531. /* Bit 4 : Enable interrupt on DISABLED event. */
  3532. #define RADIO_INTENSET_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
  3533. #define RADIO_INTENSET_DISABLED_Msk (0x1UL << RADIO_INTENSET_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
  3534. #define RADIO_INTENSET_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */
  3535. #define RADIO_INTENSET_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */
  3536. #define RADIO_INTENSET_DISABLED_Set (1UL) /*!< Enable interrupt on write. */
  3537. /* Bit 3 : Enable interrupt on END event. */
  3538. #define RADIO_INTENSET_END_Pos (3UL) /*!< Position of END field. */
  3539. #define RADIO_INTENSET_END_Msk (0x1UL << RADIO_INTENSET_END_Pos) /*!< Bit mask of END field. */
  3540. #define RADIO_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  3541. #define RADIO_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  3542. #define RADIO_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  3543. /* Bit 2 : Enable interrupt on PAYLOAD event. */
  3544. #define RADIO_INTENSET_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
  3545. #define RADIO_INTENSET_PAYLOAD_Msk (0x1UL << RADIO_INTENSET_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
  3546. #define RADIO_INTENSET_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */
  3547. #define RADIO_INTENSET_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */
  3548. #define RADIO_INTENSET_PAYLOAD_Set (1UL) /*!< Enable interrupt on write. */
  3549. /* Bit 1 : Enable interrupt on ADDRESS event. */
  3550. #define RADIO_INTENSET_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
  3551. #define RADIO_INTENSET_ADDRESS_Msk (0x1UL << RADIO_INTENSET_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  3552. #define RADIO_INTENSET_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */
  3553. #define RADIO_INTENSET_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */
  3554. #define RADIO_INTENSET_ADDRESS_Set (1UL) /*!< Enable interrupt on write. */
  3555. /* Bit 0 : Enable interrupt on READY event. */
  3556. #define RADIO_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  3557. #define RADIO_INTENSET_READY_Msk (0x1UL << RADIO_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  3558. #define RADIO_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
  3559. #define RADIO_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
  3560. #define RADIO_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
  3561. /* Register: RADIO_INTENCLR */
  3562. /* Description: Interrupt enable clear register. */
  3563. /* Bit 10 : Disable interrupt on BCMATCH event. */
  3564. #define RADIO_INTENCLR_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
  3565. #define RADIO_INTENCLR_BCMATCH_Msk (0x1UL << RADIO_INTENCLR_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
  3566. #define RADIO_INTENCLR_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  3567. #define RADIO_INTENCLR_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  3568. #define RADIO_INTENCLR_BCMATCH_Clear (1UL) /*!< Disable interrupt on write. */
  3569. /* Bit 7 : Disable interrupt on RSSIEND event. */
  3570. #define RADIO_INTENCLR_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
  3571. #define RADIO_INTENCLR_RSSIEND_Msk (0x1UL << RADIO_INTENCLR_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
  3572. #define RADIO_INTENCLR_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */
  3573. #define RADIO_INTENCLR_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */
  3574. #define RADIO_INTENCLR_RSSIEND_Clear (1UL) /*!< Disable interrupt on write. */
  3575. /* Bit 6 : Disable interrupt on DEVMISS event. */
  3576. #define RADIO_INTENCLR_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
  3577. #define RADIO_INTENCLR_DEVMISS_Msk (0x1UL << RADIO_INTENCLR_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
  3578. #define RADIO_INTENCLR_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */
  3579. #define RADIO_INTENCLR_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */
  3580. #define RADIO_INTENCLR_DEVMISS_Clear (1UL) /*!< Disable interrupt on write. */
  3581. /* Bit 5 : Disable interrupt on DEVMATCH event. */
  3582. #define RADIO_INTENCLR_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
  3583. #define RADIO_INTENCLR_DEVMATCH_Msk (0x1UL << RADIO_INTENCLR_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
  3584. #define RADIO_INTENCLR_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  3585. #define RADIO_INTENCLR_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  3586. #define RADIO_INTENCLR_DEVMATCH_Clear (1UL) /*!< Disable interrupt on write. */
  3587. /* Bit 4 : Disable interrupt on DISABLED event. */
  3588. #define RADIO_INTENCLR_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
  3589. #define RADIO_INTENCLR_DISABLED_Msk (0x1UL << RADIO_INTENCLR_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
  3590. #define RADIO_INTENCLR_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */
  3591. #define RADIO_INTENCLR_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */
  3592. #define RADIO_INTENCLR_DISABLED_Clear (1UL) /*!< Disable interrupt on write. */
  3593. /* Bit 3 : Disable interrupt on END event. */
  3594. #define RADIO_INTENCLR_END_Pos (3UL) /*!< Position of END field. */
  3595. #define RADIO_INTENCLR_END_Msk (0x1UL << RADIO_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  3596. #define RADIO_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  3597. #define RADIO_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  3598. #define RADIO_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  3599. /* Bit 2 : Disable interrupt on PAYLOAD event. */
  3600. #define RADIO_INTENCLR_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
  3601. #define RADIO_INTENCLR_PAYLOAD_Msk (0x1UL << RADIO_INTENCLR_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
  3602. #define RADIO_INTENCLR_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */
  3603. #define RADIO_INTENCLR_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */
  3604. #define RADIO_INTENCLR_PAYLOAD_Clear (1UL) /*!< Disable interrupt on write. */
  3605. /* Bit 1 : Disable interrupt on ADDRESS event. */
  3606. #define RADIO_INTENCLR_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
  3607. #define RADIO_INTENCLR_ADDRESS_Msk (0x1UL << RADIO_INTENCLR_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  3608. #define RADIO_INTENCLR_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */
  3609. #define RADIO_INTENCLR_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */
  3610. #define RADIO_INTENCLR_ADDRESS_Clear (1UL) /*!< Disable interrupt on write. */
  3611. /* Bit 0 : Disable interrupt on READY event. */
  3612. #define RADIO_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  3613. #define RADIO_INTENCLR_READY_Msk (0x1UL << RADIO_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  3614. #define RADIO_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
  3615. #define RADIO_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
  3616. #define RADIO_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
  3617. /* Register: RADIO_CRCSTATUS */
  3618. /* Description: CRC status of received packet. */
  3619. /* Bit 0 : CRC status of received packet. */
  3620. #define RADIO_CRCSTATUS_CRCSTATUS_Pos (0UL) /*!< Position of CRCSTATUS field. */
  3621. #define RADIO_CRCSTATUS_CRCSTATUS_Msk (0x1UL << RADIO_CRCSTATUS_CRCSTATUS_Pos) /*!< Bit mask of CRCSTATUS field. */
  3622. #define RADIO_CRCSTATUS_CRCSTATUS_CRCError (0UL) /*!< Packet received with CRC error. */
  3623. #define RADIO_CRCSTATUS_CRCSTATUS_CRCOk (1UL) /*!< Packet received with CRC ok. */
  3624. /* Register: RADIO_RXMATCH */
  3625. /* Description: Received address. */
  3626. /* Bits 2..0 : Logical address in which previous packet was received. */
  3627. #define RADIO_RXMATCH_RXMATCH_Pos (0UL) /*!< Position of RXMATCH field. */
  3628. #define RADIO_RXMATCH_RXMATCH_Msk (0x7UL << RADIO_RXMATCH_RXMATCH_Pos) /*!< Bit mask of RXMATCH field. */
  3629. /* Register: RADIO_RXCRC */
  3630. /* Description: Received CRC. */
  3631. /* Bits 23..0 : CRC field of previously received packet. */
  3632. #define RADIO_RXCRC_RXCRC_Pos (0UL) /*!< Position of RXCRC field. */
  3633. #define RADIO_RXCRC_RXCRC_Msk (0xFFFFFFUL << RADIO_RXCRC_RXCRC_Pos) /*!< Bit mask of RXCRC field. */
  3634. /* Register: RADIO_DAI */
  3635. /* Description: Device address match index. */
  3636. /* Bits 2..0 : Index (n) of device address (see DAB[n] and DAP[n]) that obtained an address match. */
  3637. #define RADIO_DAI_DAI_Pos (0UL) /*!< Position of DAI field. */
  3638. #define RADIO_DAI_DAI_Msk (0x7UL << RADIO_DAI_DAI_Pos) /*!< Bit mask of DAI field. */
  3639. /* Register: RADIO_FREQUENCY */
  3640. /* Description: Frequency. */
  3641. /* Bits 6..0 : Radio channel frequency offset in MHz: RF Frequency = 2400 + FREQUENCY (MHz). Decision point: TXEN or RXEN task. */
  3642. #define RADIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  3643. #define RADIO_FREQUENCY_FREQUENCY_Msk (0x7FUL << RADIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  3644. /* Register: RADIO_TXPOWER */
  3645. /* Description: Output power. */
  3646. /* Bits 7..0 : Radio output power. Decision point: TXEN task. */
  3647. #define RADIO_TXPOWER_TXPOWER_Pos (0UL) /*!< Position of TXPOWER field. */
  3648. #define RADIO_TXPOWER_TXPOWER_Msk (0xFFUL << RADIO_TXPOWER_TXPOWER_Pos) /*!< Bit mask of TXPOWER field. */
  3649. #define RADIO_TXPOWER_TXPOWER_0dBm (0x00UL) /*!< 0dBm. */
  3650. #define RADIO_TXPOWER_TXPOWER_Pos4dBm (0x04UL) /*!< +4dBm. */
  3651. #define RADIO_TXPOWER_TXPOWER_Neg30dBm (0xD8UL) /*!< -30dBm. */
  3652. #define RADIO_TXPOWER_TXPOWER_Neg20dBm (0xECUL) /*!< -20dBm. */
  3653. #define RADIO_TXPOWER_TXPOWER_Neg16dBm (0xF0UL) /*!< -16dBm. */
  3654. #define RADIO_TXPOWER_TXPOWER_Neg12dBm (0xF4UL) /*!< -12dBm. */
  3655. #define RADIO_TXPOWER_TXPOWER_Neg8dBm (0xF8UL) /*!< -8dBm. */
  3656. #define RADIO_TXPOWER_TXPOWER_Neg4dBm (0xFCUL) /*!< -4dBm. */
  3657. /* Register: RADIO_MODE */
  3658. /* Description: Data rate and modulation. */
  3659. /* Bits 1..0 : Radio data rate and modulation setting. Decision point: TXEN or RXEN task. */
  3660. #define RADIO_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  3661. #define RADIO_MODE_MODE_Msk (0x3UL << RADIO_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  3662. #define RADIO_MODE_MODE_Nrf_1Mbit (0x00UL) /*!< 1Mbit/s Nordic propietary radio mode. */
  3663. #define RADIO_MODE_MODE_Nrf_2Mbit (0x01UL) /*!< 2Mbit/s Nordic propietary radio mode. */
  3664. #define RADIO_MODE_MODE_Nrf_250Kbit (0x02UL) /*!< 250kbit/s Nordic propietary radio mode. */
  3665. #define RADIO_MODE_MODE_Ble_1Mbit (0x03UL) /*!< 1Mbit/s Bluetooth Low Energy */
  3666. /* Register: RADIO_PCNF0 */
  3667. /* Description: Packet configuration 0. */
  3668. /* Bits 19..16 : Length of S1 field in number of bits. Decision point: START task. */
  3669. #define RADIO_PCNF0_S1LEN_Pos (16UL) /*!< Position of S1LEN field. */
  3670. #define RADIO_PCNF0_S1LEN_Msk (0xFUL << RADIO_PCNF0_S1LEN_Pos) /*!< Bit mask of S1LEN field. */
  3671. /* Bit 8 : Length of S0 field in number of bytes. Decision point: START task. */
  3672. #define RADIO_PCNF0_S0LEN_Pos (8UL) /*!< Position of S0LEN field. */
  3673. #define RADIO_PCNF0_S0LEN_Msk (0x1UL << RADIO_PCNF0_S0LEN_Pos) /*!< Bit mask of S0LEN field. */
  3674. /* Bits 3..0 : Length of length field in number of bits. Decision point: START task. */
  3675. #define RADIO_PCNF0_LFLEN_Pos (0UL) /*!< Position of LFLEN field. */
  3676. #define RADIO_PCNF0_LFLEN_Msk (0xFUL << RADIO_PCNF0_LFLEN_Pos) /*!< Bit mask of LFLEN field. */
  3677. /* Register: RADIO_PCNF1 */
  3678. /* Description: Packet configuration 1. */
  3679. /* Bit 25 : Packet whitening enable. */
  3680. #define RADIO_PCNF1_WHITEEN_Pos (25UL) /*!< Position of WHITEEN field. */
  3681. #define RADIO_PCNF1_WHITEEN_Msk (0x1UL << RADIO_PCNF1_WHITEEN_Pos) /*!< Bit mask of WHITEEN field. */
  3682. #define RADIO_PCNF1_WHITEEN_Disabled (0UL) /*!< Whitening disabled. */
  3683. #define RADIO_PCNF1_WHITEEN_Enabled (1UL) /*!< Whitening enabled. */
  3684. /* Bit 24 : On air endianness of packet length field. Decision point: START task. */
  3685. #define RADIO_PCNF1_ENDIAN_Pos (24UL) /*!< Position of ENDIAN field. */
  3686. #define RADIO_PCNF1_ENDIAN_Msk (0x1UL << RADIO_PCNF1_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */
  3687. #define RADIO_PCNF1_ENDIAN_Little (0UL) /*!< Least significant bit on air first */
  3688. #define RADIO_PCNF1_ENDIAN_Big (1UL) /*!< Most significant bit on air first */
  3689. /* Bits 18..16 : Base address length in number of bytes. Decision point: START task. */
  3690. #define RADIO_PCNF1_BALEN_Pos (16UL) /*!< Position of BALEN field. */
  3691. #define RADIO_PCNF1_BALEN_Msk (0x7UL << RADIO_PCNF1_BALEN_Pos) /*!< Bit mask of BALEN field. */
  3692. /* Bits 15..8 : Static length in number of bytes. Decision point: START task. */
  3693. #define RADIO_PCNF1_STATLEN_Pos (8UL) /*!< Position of STATLEN field. */
  3694. #define RADIO_PCNF1_STATLEN_Msk (0xFFUL << RADIO_PCNF1_STATLEN_Pos) /*!< Bit mask of STATLEN field. */
  3695. /* Bits 7..0 : Maximum length of packet payload in number of bytes. */
  3696. #define RADIO_PCNF1_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */
  3697. #define RADIO_PCNF1_MAXLEN_Msk (0xFFUL << RADIO_PCNF1_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */
  3698. /* Register: RADIO_PREFIX0 */
  3699. /* Description: Prefixes bytes for logical addresses 0 to 3. */
  3700. /* Bits 31..24 : Address prefix 3. Decision point: START task. */
  3701. #define RADIO_PREFIX0_AP3_Pos (24UL) /*!< Position of AP3 field. */
  3702. #define RADIO_PREFIX0_AP3_Msk (0xFFUL << RADIO_PREFIX0_AP3_Pos) /*!< Bit mask of AP3 field. */
  3703. /* Bits 23..16 : Address prefix 2. Decision point: START task. */
  3704. #define RADIO_PREFIX0_AP2_Pos (16UL) /*!< Position of AP2 field. */
  3705. #define RADIO_PREFIX0_AP2_Msk (0xFFUL << RADIO_PREFIX0_AP2_Pos) /*!< Bit mask of AP2 field. */
  3706. /* Bits 15..8 : Address prefix 1. Decision point: START task. */
  3707. #define RADIO_PREFIX0_AP1_Pos (8UL) /*!< Position of AP1 field. */
  3708. #define RADIO_PREFIX0_AP1_Msk (0xFFUL << RADIO_PREFIX0_AP1_Pos) /*!< Bit mask of AP1 field. */
  3709. /* Bits 7..0 : Address prefix 0. Decision point: START task. */
  3710. #define RADIO_PREFIX0_AP0_Pos (0UL) /*!< Position of AP0 field. */
  3711. #define RADIO_PREFIX0_AP0_Msk (0xFFUL << RADIO_PREFIX0_AP0_Pos) /*!< Bit mask of AP0 field. */
  3712. /* Register: RADIO_PREFIX1 */
  3713. /* Description: Prefixes bytes for logical addresses 4 to 7. */
  3714. /* Bits 31..24 : Address prefix 7. Decision point: START task. */
  3715. #define RADIO_PREFIX1_AP7_Pos (24UL) /*!< Position of AP7 field. */
  3716. #define RADIO_PREFIX1_AP7_Msk (0xFFUL << RADIO_PREFIX1_AP7_Pos) /*!< Bit mask of AP7 field. */
  3717. /* Bits 23..16 : Address prefix 6. Decision point: START task. */
  3718. #define RADIO_PREFIX1_AP6_Pos (16UL) /*!< Position of AP6 field. */
  3719. #define RADIO_PREFIX1_AP6_Msk (0xFFUL << RADIO_PREFIX1_AP6_Pos) /*!< Bit mask of AP6 field. */
  3720. /* Bits 15..8 : Address prefix 5. Decision point: START task. */
  3721. #define RADIO_PREFIX1_AP5_Pos (8UL) /*!< Position of AP5 field. */
  3722. #define RADIO_PREFIX1_AP5_Msk (0xFFUL << RADIO_PREFIX1_AP5_Pos) /*!< Bit mask of AP5 field. */
  3723. /* Bits 7..0 : Address prefix 4. Decision point: START task. */
  3724. #define RADIO_PREFIX1_AP4_Pos (0UL) /*!< Position of AP4 field. */
  3725. #define RADIO_PREFIX1_AP4_Msk (0xFFUL << RADIO_PREFIX1_AP4_Pos) /*!< Bit mask of AP4 field. */
  3726. /* Register: RADIO_TXADDRESS */
  3727. /* Description: Transmit address select. */
  3728. /* Bits 2..0 : Logical address to be used when transmitting a packet. Decision point: START task. */
  3729. #define RADIO_TXADDRESS_TXADDRESS_Pos (0UL) /*!< Position of TXADDRESS field. */
  3730. #define RADIO_TXADDRESS_TXADDRESS_Msk (0x7UL << RADIO_TXADDRESS_TXADDRESS_Pos) /*!< Bit mask of TXADDRESS field. */
  3731. /* Register: RADIO_RXADDRESSES */
  3732. /* Description: Receive address select. */
  3733. /* Bit 7 : Enable reception on logical address 7. Decision point: START task. */
  3734. #define RADIO_RXADDRESSES_ADDR7_Pos (7UL) /*!< Position of ADDR7 field. */
  3735. #define RADIO_RXADDRESSES_ADDR7_Msk (0x1UL << RADIO_RXADDRESSES_ADDR7_Pos) /*!< Bit mask of ADDR7 field. */
  3736. #define RADIO_RXADDRESSES_ADDR7_Disabled (0UL) /*!< Reception disabled. */
  3737. #define RADIO_RXADDRESSES_ADDR7_Enabled (1UL) /*!< Reception enabled. */
  3738. /* Bit 6 : Enable reception on logical address 6. Decision point: START task. */
  3739. #define RADIO_RXADDRESSES_ADDR6_Pos (6UL) /*!< Position of ADDR6 field. */
  3740. #define RADIO_RXADDRESSES_ADDR6_Msk (0x1UL << RADIO_RXADDRESSES_ADDR6_Pos) /*!< Bit mask of ADDR6 field. */
  3741. #define RADIO_RXADDRESSES_ADDR6_Disabled (0UL) /*!< Reception disabled. */
  3742. #define RADIO_RXADDRESSES_ADDR6_Enabled (1UL) /*!< Reception enabled. */
  3743. /* Bit 5 : Enable reception on logical address 5. Decision point: START task. */
  3744. #define RADIO_RXADDRESSES_ADDR5_Pos (5UL) /*!< Position of ADDR5 field. */
  3745. #define RADIO_RXADDRESSES_ADDR5_Msk (0x1UL << RADIO_RXADDRESSES_ADDR5_Pos) /*!< Bit mask of ADDR5 field. */
  3746. #define RADIO_RXADDRESSES_ADDR5_Disabled (0UL) /*!< Reception disabled. */
  3747. #define RADIO_RXADDRESSES_ADDR5_Enabled (1UL) /*!< Reception enabled. */
  3748. /* Bit 4 : Enable reception on logical address 4. Decision point: START task. */
  3749. #define RADIO_RXADDRESSES_ADDR4_Pos (4UL) /*!< Position of ADDR4 field. */
  3750. #define RADIO_RXADDRESSES_ADDR4_Msk (0x1UL << RADIO_RXADDRESSES_ADDR4_Pos) /*!< Bit mask of ADDR4 field. */
  3751. #define RADIO_RXADDRESSES_ADDR4_Disabled (0UL) /*!< Reception disabled. */
  3752. #define RADIO_RXADDRESSES_ADDR4_Enabled (1UL) /*!< Reception enabled. */
  3753. /* Bit 3 : Enable reception on logical address 3. Decision point: START task. */
  3754. #define RADIO_RXADDRESSES_ADDR3_Pos (3UL) /*!< Position of ADDR3 field. */
  3755. #define RADIO_RXADDRESSES_ADDR3_Msk (0x1UL << RADIO_RXADDRESSES_ADDR3_Pos) /*!< Bit mask of ADDR3 field. */
  3756. #define RADIO_RXADDRESSES_ADDR3_Disabled (0UL) /*!< Reception disabled. */
  3757. #define RADIO_RXADDRESSES_ADDR3_Enabled (1UL) /*!< Reception enabled. */
  3758. /* Bit 2 : Enable reception on logical address 2. Decision point: START task. */
  3759. #define RADIO_RXADDRESSES_ADDR2_Pos (2UL) /*!< Position of ADDR2 field. */
  3760. #define RADIO_RXADDRESSES_ADDR2_Msk (0x1UL << RADIO_RXADDRESSES_ADDR2_Pos) /*!< Bit mask of ADDR2 field. */
  3761. #define RADIO_RXADDRESSES_ADDR2_Disabled (0UL) /*!< Reception disabled. */
  3762. #define RADIO_RXADDRESSES_ADDR2_Enabled (1UL) /*!< Reception enabled. */
  3763. /* Bit 1 : Enable reception on logical address 1. Decision point: START task. */
  3764. #define RADIO_RXADDRESSES_ADDR1_Pos (1UL) /*!< Position of ADDR1 field. */
  3765. #define RADIO_RXADDRESSES_ADDR1_Msk (0x1UL << RADIO_RXADDRESSES_ADDR1_Pos) /*!< Bit mask of ADDR1 field. */
  3766. #define RADIO_RXADDRESSES_ADDR1_Disabled (0UL) /*!< Reception disabled. */
  3767. #define RADIO_RXADDRESSES_ADDR1_Enabled (1UL) /*!< Reception enabled. */
  3768. /* Bit 0 : Enable reception on logical address 0. Decision point: START task. */
  3769. #define RADIO_RXADDRESSES_ADDR0_Pos (0UL) /*!< Position of ADDR0 field. */
  3770. #define RADIO_RXADDRESSES_ADDR0_Msk (0x1UL << RADIO_RXADDRESSES_ADDR0_Pos) /*!< Bit mask of ADDR0 field. */
  3771. #define RADIO_RXADDRESSES_ADDR0_Disabled (0UL) /*!< Reception disabled. */
  3772. #define RADIO_RXADDRESSES_ADDR0_Enabled (1UL) /*!< Reception enabled. */
  3773. /* Register: RADIO_CRCCNF */
  3774. /* Description: CRC configuration. */
  3775. /* Bit 8 : Leave packet address field out of the CRC calculation. Decision point: START task. */
  3776. #define RADIO_CRCCNF_SKIPADDR_Pos (8UL) /*!< Position of SKIPADDR field. */
  3777. #define RADIO_CRCCNF_SKIPADDR_Msk (0x1UL << RADIO_CRCCNF_SKIPADDR_Pos) /*!< Bit mask of SKIPADDR field. */
  3778. #define RADIO_CRCCNF_SKIPADDR_Include (0UL) /*!< Include packet address in CRC calculation. */
  3779. #define RADIO_CRCCNF_SKIPADDR_Skip (1UL) /*!< Packet address is skipped in CRC calculation. The CRC calculation will start at the first byte after the address. */
  3780. /* Bits 1..0 : CRC length. Decision point: START task. */
  3781. #define RADIO_CRCCNF_LEN_Pos (0UL) /*!< Position of LEN field. */
  3782. #define RADIO_CRCCNF_LEN_Msk (0x3UL << RADIO_CRCCNF_LEN_Pos) /*!< Bit mask of LEN field. */
  3783. #define RADIO_CRCCNF_LEN_Disabled (0UL) /*!< CRC calculation disabled. */
  3784. #define RADIO_CRCCNF_LEN_One (1UL) /*!< One byte long CRC. */
  3785. #define RADIO_CRCCNF_LEN_Two (2UL) /*!< Two bytes long CRC. */
  3786. #define RADIO_CRCCNF_LEN_Three (3UL) /*!< Three bytes long CRC. */
  3787. /* Register: RADIO_CRCPOLY */
  3788. /* Description: CRC polynomial. */
  3789. /* Bits 23..0 : CRC polynomial. Decision point: START task. */
  3790. #define RADIO_CRCPOLY_CRCPOLY_Pos (0UL) /*!< Position of CRCPOLY field. */
  3791. #define RADIO_CRCPOLY_CRCPOLY_Msk (0xFFFFFFUL << RADIO_CRCPOLY_CRCPOLY_Pos) /*!< Bit mask of CRCPOLY field. */
  3792. /* Register: RADIO_CRCINIT */
  3793. /* Description: CRC initial value. */
  3794. /* Bits 23..0 : Initial value for CRC calculation. Decision point: START task. */
  3795. #define RADIO_CRCINIT_CRCINIT_Pos (0UL) /*!< Position of CRCINIT field. */
  3796. #define RADIO_CRCINIT_CRCINIT_Msk (0xFFFFFFUL << RADIO_CRCINIT_CRCINIT_Pos) /*!< Bit mask of CRCINIT field. */
  3797. /* Register: RADIO_TEST */
  3798. /* Description: Test features enable register. */
  3799. /* Bit 1 : PLL lock. Decision point: TXEN or RXEN task. */
  3800. #define RADIO_TEST_PLLLOCK_Pos (1UL) /*!< Position of PLLLOCK field. */
  3801. #define RADIO_TEST_PLLLOCK_Msk (0x1UL << RADIO_TEST_PLLLOCK_Pos) /*!< Bit mask of PLLLOCK field. */
  3802. #define RADIO_TEST_PLLLOCK_Disabled (0UL) /*!< PLL lock disabled. */
  3803. #define RADIO_TEST_PLLLOCK_Enabled (1UL) /*!< PLL lock enabled. */
  3804. /* Bit 0 : Constant carrier. Decision point: TXEN task. */
  3805. #define RADIO_TEST_CONSTCARRIER_Pos (0UL) /*!< Position of CONSTCARRIER field. */
  3806. #define RADIO_TEST_CONSTCARRIER_Msk (0x1UL << RADIO_TEST_CONSTCARRIER_Pos) /*!< Bit mask of CONSTCARRIER field. */
  3807. #define RADIO_TEST_CONSTCARRIER_Disabled (0UL) /*!< Constant carrier disabled. */
  3808. #define RADIO_TEST_CONSTCARRIER_Enabled (1UL) /*!< Constant carrier enabled. */
  3809. /* Register: RADIO_TIFS */
  3810. /* Description: Inter Frame Spacing in microseconds. */
  3811. /* Bits 7..0 : Inter frame spacing in microseconds. Decision point: START rask */
  3812. #define RADIO_TIFS_TIFS_Pos (0UL) /*!< Position of TIFS field. */
  3813. #define RADIO_TIFS_TIFS_Msk (0xFFUL << RADIO_TIFS_TIFS_Pos) /*!< Bit mask of TIFS field. */
  3814. /* Register: RADIO_RSSISAMPLE */
  3815. /* Description: RSSI sample. */
  3816. /* Bits 6..0 : RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm */
  3817. #define RADIO_RSSISAMPLE_RSSISAMPLE_Pos (0UL) /*!< Position of RSSISAMPLE field. */
  3818. #define RADIO_RSSISAMPLE_RSSISAMPLE_Msk (0x7FUL << RADIO_RSSISAMPLE_RSSISAMPLE_Pos) /*!< Bit mask of RSSISAMPLE field. */
  3819. /* Register: RADIO_STATE */
  3820. /* Description: Current radio state. */
  3821. /* Bits 3..0 : Current radio state. */
  3822. #define RADIO_STATE_STATE_Pos (0UL) /*!< Position of STATE field. */
  3823. #define RADIO_STATE_STATE_Msk (0xFUL << RADIO_STATE_STATE_Pos) /*!< Bit mask of STATE field. */
  3824. #define RADIO_STATE_STATE_Disabled (0x00UL) /*!< Radio is in the Disabled state. */
  3825. #define RADIO_STATE_STATE_RxRu (0x01UL) /*!< Radio is in the Rx Ramp Up state. */
  3826. #define RADIO_STATE_STATE_RxIdle (0x02UL) /*!< Radio is in the Rx Idle state. */
  3827. #define RADIO_STATE_STATE_Rx (0x03UL) /*!< Radio is in the Rx state. */
  3828. #define RADIO_STATE_STATE_RxDisable (0x04UL) /*!< Radio is in the Rx Disable state. */
  3829. #define RADIO_STATE_STATE_TxRu (0x09UL) /*!< Radio is in the Tx Ramp Up state. */
  3830. #define RADIO_STATE_STATE_TxIdle (0x0AUL) /*!< Radio is in the Tx Idle state. */
  3831. #define RADIO_STATE_STATE_Tx (0x0BUL) /*!< Radio is in the Tx state. */
  3832. #define RADIO_STATE_STATE_TxDisable (0x0CUL) /*!< Radio is in the Tx Disable state. */
  3833. /* Register: RADIO_DATAWHITEIV */
  3834. /* Description: Data whitening initial value. */
  3835. /* Bits 6..0 : Data whitening initial value. Bit 0 corresponds to Position 0 of the LSFR, Bit 1 to position 5... Decision point: TXEN or RXEN task. */
  3836. #define RADIO_DATAWHITEIV_DATAWHITEIV_Pos (0UL) /*!< Position of DATAWHITEIV field. */
  3837. #define RADIO_DATAWHITEIV_DATAWHITEIV_Msk (0x7FUL << RADIO_DATAWHITEIV_DATAWHITEIV_Pos) /*!< Bit mask of DATAWHITEIV field. */
  3838. /* Register: RADIO_DAP */
  3839. /* Description: Device address prefix. */
  3840. /* Bits 15..0 : Device address prefix. */
  3841. #define RADIO_DAP_DAP_Pos (0UL) /*!< Position of DAP field. */
  3842. #define RADIO_DAP_DAP_Msk (0xFFFFUL << RADIO_DAP_DAP_Pos) /*!< Bit mask of DAP field. */
  3843. /* Register: RADIO_DACNF */
  3844. /* Description: Device address match configuration. */
  3845. /* Bit 15 : TxAdd for device address 7. */
  3846. #define RADIO_DACNF_TXADD7_Pos (15UL) /*!< Position of TXADD7 field. */
  3847. #define RADIO_DACNF_TXADD7_Msk (0x1UL << RADIO_DACNF_TXADD7_Pos) /*!< Bit mask of TXADD7 field. */
  3848. /* Bit 14 : TxAdd for device address 6. */
  3849. #define RADIO_DACNF_TXADD6_Pos (14UL) /*!< Position of TXADD6 field. */
  3850. #define RADIO_DACNF_TXADD6_Msk (0x1UL << RADIO_DACNF_TXADD6_Pos) /*!< Bit mask of TXADD6 field. */
  3851. /* Bit 13 : TxAdd for device address 5. */
  3852. #define RADIO_DACNF_TXADD5_Pos (13UL) /*!< Position of TXADD5 field. */
  3853. #define RADIO_DACNF_TXADD5_Msk (0x1UL << RADIO_DACNF_TXADD5_Pos) /*!< Bit mask of TXADD5 field. */
  3854. /* Bit 12 : TxAdd for device address 4. */
  3855. #define RADIO_DACNF_TXADD4_Pos (12UL) /*!< Position of TXADD4 field. */
  3856. #define RADIO_DACNF_TXADD4_Msk (0x1UL << RADIO_DACNF_TXADD4_Pos) /*!< Bit mask of TXADD4 field. */
  3857. /* Bit 11 : TxAdd for device address 3. */
  3858. #define RADIO_DACNF_TXADD3_Pos (11UL) /*!< Position of TXADD3 field. */
  3859. #define RADIO_DACNF_TXADD3_Msk (0x1UL << RADIO_DACNF_TXADD3_Pos) /*!< Bit mask of TXADD3 field. */
  3860. /* Bit 10 : TxAdd for device address 2. */
  3861. #define RADIO_DACNF_TXADD2_Pos (10UL) /*!< Position of TXADD2 field. */
  3862. #define RADIO_DACNF_TXADD2_Msk (0x1UL << RADIO_DACNF_TXADD2_Pos) /*!< Bit mask of TXADD2 field. */
  3863. /* Bit 9 : TxAdd for device address 1. */
  3864. #define RADIO_DACNF_TXADD1_Pos (9UL) /*!< Position of TXADD1 field. */
  3865. #define RADIO_DACNF_TXADD1_Msk (0x1UL << RADIO_DACNF_TXADD1_Pos) /*!< Bit mask of TXADD1 field. */
  3866. /* Bit 8 : TxAdd for device address 0. */
  3867. #define RADIO_DACNF_TXADD0_Pos (8UL) /*!< Position of TXADD0 field. */
  3868. #define RADIO_DACNF_TXADD0_Msk (0x1UL << RADIO_DACNF_TXADD0_Pos) /*!< Bit mask of TXADD0 field. */
  3869. /* Bit 7 : Enable or disable device address matching using device address 7. */
  3870. #define RADIO_DACNF_ENA7_Pos (7UL) /*!< Position of ENA7 field. */
  3871. #define RADIO_DACNF_ENA7_Msk (0x1UL << RADIO_DACNF_ENA7_Pos) /*!< Bit mask of ENA7 field. */
  3872. #define RADIO_DACNF_ENA7_Disabled (0UL) /*!< Disabled. */
  3873. #define RADIO_DACNF_ENA7_Enabled (1UL) /*!< Enabled. */
  3874. /* Bit 6 : Enable or disable device address matching using device address 6. */
  3875. #define RADIO_DACNF_ENA6_Pos (6UL) /*!< Position of ENA6 field. */
  3876. #define RADIO_DACNF_ENA6_Msk (0x1UL << RADIO_DACNF_ENA6_Pos) /*!< Bit mask of ENA6 field. */
  3877. #define RADIO_DACNF_ENA6_Disabled (0UL) /*!< Disabled. */
  3878. #define RADIO_DACNF_ENA6_Enabled (1UL) /*!< Enabled. */
  3879. /* Bit 5 : Enable or disable device address matching using device address 5. */
  3880. #define RADIO_DACNF_ENA5_Pos (5UL) /*!< Position of ENA5 field. */
  3881. #define RADIO_DACNF_ENA5_Msk (0x1UL << RADIO_DACNF_ENA5_Pos) /*!< Bit mask of ENA5 field. */
  3882. #define RADIO_DACNF_ENA5_Disabled (0UL) /*!< Disabled. */
  3883. #define RADIO_DACNF_ENA5_Enabled (1UL) /*!< Enabled. */
  3884. /* Bit 4 : Enable or disable device address matching using device address 4. */
  3885. #define RADIO_DACNF_ENA4_Pos (4UL) /*!< Position of ENA4 field. */
  3886. #define RADIO_DACNF_ENA4_Msk (0x1UL << RADIO_DACNF_ENA4_Pos) /*!< Bit mask of ENA4 field. */
  3887. #define RADIO_DACNF_ENA4_Disabled (0UL) /*!< Disabled. */
  3888. #define RADIO_DACNF_ENA4_Enabled (1UL) /*!< Enabled. */
  3889. /* Bit 3 : Enable or disable device address matching using device address 3. */
  3890. #define RADIO_DACNF_ENA3_Pos (3UL) /*!< Position of ENA3 field. */
  3891. #define RADIO_DACNF_ENA3_Msk (0x1UL << RADIO_DACNF_ENA3_Pos) /*!< Bit mask of ENA3 field. */
  3892. #define RADIO_DACNF_ENA3_Disabled (0UL) /*!< Disabled. */
  3893. #define RADIO_DACNF_ENA3_Enabled (1UL) /*!< Enabled. */
  3894. /* Bit 2 : Enable or disable device address matching using device address 2. */
  3895. #define RADIO_DACNF_ENA2_Pos (2UL) /*!< Position of ENA2 field. */
  3896. #define RADIO_DACNF_ENA2_Msk (0x1UL << RADIO_DACNF_ENA2_Pos) /*!< Bit mask of ENA2 field. */
  3897. #define RADIO_DACNF_ENA2_Disabled (0UL) /*!< Disabled. */
  3898. #define RADIO_DACNF_ENA2_Enabled (1UL) /*!< Enabled. */
  3899. /* Bit 1 : Enable or disable device address matching using device address 1. */
  3900. #define RADIO_DACNF_ENA1_Pos (1UL) /*!< Position of ENA1 field. */
  3901. #define RADIO_DACNF_ENA1_Msk (0x1UL << RADIO_DACNF_ENA1_Pos) /*!< Bit mask of ENA1 field. */
  3902. #define RADIO_DACNF_ENA1_Disabled (0UL) /*!< Disabled. */
  3903. #define RADIO_DACNF_ENA1_Enabled (1UL) /*!< Enabled. */
  3904. /* Bit 0 : Enable or disable device address matching using device address 0. */
  3905. #define RADIO_DACNF_ENA0_Pos (0UL) /*!< Position of ENA0 field. */
  3906. #define RADIO_DACNF_ENA0_Msk (0x1UL << RADIO_DACNF_ENA0_Pos) /*!< Bit mask of ENA0 field. */
  3907. #define RADIO_DACNF_ENA0_Disabled (0UL) /*!< Disabled. */
  3908. #define RADIO_DACNF_ENA0_Enabled (1UL) /*!< Enabled. */
  3909. /* Register: RADIO_OVERRIDE0 */
  3910. /* Description: Trim value override register 0. */
  3911. /* Bits 31..0 : Trim value override 0. */
  3912. #define RADIO_OVERRIDE0_OVERRIDE0_Pos (0UL) /*!< Position of OVERRIDE0 field. */
  3913. #define RADIO_OVERRIDE0_OVERRIDE0_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE0_OVERRIDE0_Pos) /*!< Bit mask of OVERRIDE0 field. */
  3914. /* Register: RADIO_OVERRIDE1 */
  3915. /* Description: Trim value override register 1. */
  3916. /* Bits 31..0 : Trim value override 1. */
  3917. #define RADIO_OVERRIDE1_OVERRIDE1_Pos (0UL) /*!< Position of OVERRIDE1 field. */
  3918. #define RADIO_OVERRIDE1_OVERRIDE1_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE1_OVERRIDE1_Pos) /*!< Bit mask of OVERRIDE1 field. */
  3919. /* Register: RADIO_OVERRIDE2 */
  3920. /* Description: Trim value override register 2. */
  3921. /* Bits 31..0 : Trim value override 2. */
  3922. #define RADIO_OVERRIDE2_OVERRIDE2_Pos (0UL) /*!< Position of OVERRIDE2 field. */
  3923. #define RADIO_OVERRIDE2_OVERRIDE2_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE2_OVERRIDE2_Pos) /*!< Bit mask of OVERRIDE2 field. */
  3924. /* Register: RADIO_OVERRIDE3 */
  3925. /* Description: Trim value override register 3. */
  3926. /* Bits 31..0 : Trim value override 3. */
  3927. #define RADIO_OVERRIDE3_OVERRIDE3_Pos (0UL) /*!< Position of OVERRIDE3 field. */
  3928. #define RADIO_OVERRIDE3_OVERRIDE3_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE3_OVERRIDE3_Pos) /*!< Bit mask of OVERRIDE3 field. */
  3929. /* Register: RADIO_OVERRIDE4 */
  3930. /* Description: Trim value override register 4. */
  3931. /* Bit 31 : Enable or disable override of default trim values. */
  3932. #define RADIO_OVERRIDE4_ENABLE_Pos (31UL) /*!< Position of ENABLE field. */
  3933. #define RADIO_OVERRIDE4_ENABLE_Msk (0x1UL << RADIO_OVERRIDE4_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  3934. #define RADIO_OVERRIDE4_ENABLE_Disabled (0UL) /*!< Override trim values disabled. */
  3935. #define RADIO_OVERRIDE4_ENABLE_Enabled (1UL) /*!< Override trim values enabled. */
  3936. /* Bits 27..0 : Trim value override 4. */
  3937. #define RADIO_OVERRIDE4_OVERRIDE4_Pos (0UL) /*!< Position of OVERRIDE4 field. */
  3938. #define RADIO_OVERRIDE4_OVERRIDE4_Msk (0xFFFFFFFUL << RADIO_OVERRIDE4_OVERRIDE4_Pos) /*!< Bit mask of OVERRIDE4 field. */
  3939. /* Register: RADIO_POWER */
  3940. /* Description: Peripheral power control. */
  3941. /* Bit 0 : Peripheral power control. */
  3942. #define RADIO_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  3943. #define RADIO_POWER_POWER_Msk (0x1UL << RADIO_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  3944. #define RADIO_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  3945. #define RADIO_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  3946. /* Peripheral: RNG */
  3947. /* Description: Random Number Generator. */
  3948. /* Register: RNG_SHORTS */
  3949. /* Description: Shortcuts for the RNG. */
  3950. /* Bit 0 : Shortcut between VALRDY event and STOP task. */
  3951. #define RNG_SHORTS_VALRDY_STOP_Pos (0UL) /*!< Position of VALRDY_STOP field. */
  3952. #define RNG_SHORTS_VALRDY_STOP_Msk (0x1UL << RNG_SHORTS_VALRDY_STOP_Pos) /*!< Bit mask of VALRDY_STOP field. */
  3953. #define RNG_SHORTS_VALRDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  3954. #define RNG_SHORTS_VALRDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  3955. /* Register: RNG_INTENSET */
  3956. /* Description: Interrupt enable set register */
  3957. /* Bit 0 : Enable interrupt on VALRDY event. */
  3958. #define RNG_INTENSET_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
  3959. #define RNG_INTENSET_VALRDY_Msk (0x1UL << RNG_INTENSET_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
  3960. #define RNG_INTENSET_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */
  3961. #define RNG_INTENSET_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */
  3962. #define RNG_INTENSET_VALRDY_Set (1UL) /*!< Enable interrupt on write. */
  3963. /* Register: RNG_INTENCLR */
  3964. /* Description: Interrupt enable clear register */
  3965. /* Bit 0 : Disable interrupt on VALRDY event. */
  3966. #define RNG_INTENCLR_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
  3967. #define RNG_INTENCLR_VALRDY_Msk (0x1UL << RNG_INTENCLR_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
  3968. #define RNG_INTENCLR_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */
  3969. #define RNG_INTENCLR_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */
  3970. #define RNG_INTENCLR_VALRDY_Clear (1UL) /*!< Disable interrupt on write. */
  3971. /* Register: RNG_CONFIG */
  3972. /* Description: Configuration register. */
  3973. /* Bit 0 : Digital error correction enable. */
  3974. #define RNG_CONFIG_DERCEN_Pos (0UL) /*!< Position of DERCEN field. */
  3975. #define RNG_CONFIG_DERCEN_Msk (0x1UL << RNG_CONFIG_DERCEN_Pos) /*!< Bit mask of DERCEN field. */
  3976. #define RNG_CONFIG_DERCEN_Disabled (0UL) /*!< Digital error correction disabled. */
  3977. #define RNG_CONFIG_DERCEN_Enabled (1UL) /*!< Digital error correction enabled. */
  3978. /* Register: RNG_VALUE */
  3979. /* Description: RNG random number. */
  3980. /* Bits 7..0 : Generated random number. */
  3981. #define RNG_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */
  3982. #define RNG_VALUE_VALUE_Msk (0xFFUL << RNG_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */
  3983. /* Register: RNG_POWER */
  3984. /* Description: Peripheral power control. */
  3985. /* Bit 0 : Peripheral power control. */
  3986. #define RNG_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  3987. #define RNG_POWER_POWER_Msk (0x1UL << RNG_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  3988. #define RNG_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  3989. #define RNG_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  3990. /* Peripheral: RTC */
  3991. /* Description: Real time counter 0. */
  3992. /* Register: RTC_INTENSET */
  3993. /* Description: Interrupt enable set register. */
  3994. /* Bit 19 : Enable interrupt on COMPARE[3] event. */
  3995. #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  3996. #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  3997. #define RTC_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  3998. #define RTC_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  3999. #define RTC_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */
  4000. /* Bit 18 : Enable interrupt on COMPARE[2] event. */
  4001. #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4002. #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4003. #define RTC_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  4004. #define RTC_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  4005. #define RTC_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */
  4006. /* Bit 17 : Enable interrupt on COMPARE[1] event. */
  4007. #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4008. #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4009. #define RTC_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  4010. #define RTC_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  4011. #define RTC_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */
  4012. /* Bit 16 : Enable interrupt on COMPARE[0] event. */
  4013. #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4014. #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4015. #define RTC_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  4016. #define RTC_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  4017. #define RTC_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */
  4018. /* Bit 1 : Enable interrupt on OVRFLW event. */
  4019. #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4020. #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4021. #define RTC_INTENSET_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */
  4022. #define RTC_INTENSET_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */
  4023. #define RTC_INTENSET_OVRFLW_Set (1UL) /*!< Enable interrupt on write. */
  4024. /* Bit 0 : Enable interrupt on TICK event. */
  4025. #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
  4026. #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
  4027. #define RTC_INTENSET_TICK_Disabled (0UL) /*!< Interrupt disabled. */
  4028. #define RTC_INTENSET_TICK_Enabled (1UL) /*!< Interrupt enabled. */
  4029. #define RTC_INTENSET_TICK_Set (1UL) /*!< Enable interrupt on write. */
  4030. /* Register: RTC_INTENCLR */
  4031. /* Description: Interrupt enable clear register. */
  4032. /* Bit 19 : Disable interrupt on COMPARE[3] event. */
  4033. #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4034. #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4035. #define RTC_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  4036. #define RTC_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  4037. #define RTC_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */
  4038. /* Bit 18 : Disable interrupt on COMPARE[2] event. */
  4039. #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4040. #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4041. #define RTC_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  4042. #define RTC_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  4043. #define RTC_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */
  4044. /* Bit 17 : Disable interrupt on COMPARE[1] event. */
  4045. #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4046. #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4047. #define RTC_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  4048. #define RTC_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  4049. #define RTC_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */
  4050. /* Bit 16 : Disable interrupt on COMPARE[0] event. */
  4051. #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4052. #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4053. #define RTC_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  4054. #define RTC_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  4055. #define RTC_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */
  4056. /* Bit 1 : Disable interrupt on OVRFLW event. */
  4057. #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4058. #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4059. #define RTC_INTENCLR_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */
  4060. #define RTC_INTENCLR_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */
  4061. #define RTC_INTENCLR_OVRFLW_Clear (1UL) /*!< Disable interrupt on write. */
  4062. /* Bit 0 : Disable interrupt on TICK event. */
  4063. #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
  4064. #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
  4065. #define RTC_INTENCLR_TICK_Disabled (0UL) /*!< Interrupt disabled. */
  4066. #define RTC_INTENCLR_TICK_Enabled (1UL) /*!< Interrupt enabled. */
  4067. #define RTC_INTENCLR_TICK_Clear (1UL) /*!< Disable interrupt on write. */
  4068. /* Register: RTC_EVTEN */
  4069. /* Description: Configures event enable routing to PPI for each RTC event. */
  4070. /* Bit 19 : COMPARE[3] event enable. */
  4071. #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4072. #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4073. #define RTC_EVTEN_COMPARE3_Disabled (0UL) /*!< Event disabled. */
  4074. #define RTC_EVTEN_COMPARE3_Enabled (1UL) /*!< Event enabled. */
  4075. /* Bit 18 : COMPARE[2] event enable. */
  4076. #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4077. #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4078. #define RTC_EVTEN_COMPARE2_Disabled (0UL) /*!< Event disabled. */
  4079. #define RTC_EVTEN_COMPARE2_Enabled (1UL) /*!< Event enabled. */
  4080. /* Bit 17 : COMPARE[1] event enable. */
  4081. #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4082. #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4083. #define RTC_EVTEN_COMPARE1_Disabled (0UL) /*!< Event disabled. */
  4084. #define RTC_EVTEN_COMPARE1_Enabled (1UL) /*!< Event enabled. */
  4085. /* Bit 16 : COMPARE[0] event enable. */
  4086. #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4087. #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4088. #define RTC_EVTEN_COMPARE0_Disabled (0UL) /*!< Event disabled. */
  4089. #define RTC_EVTEN_COMPARE0_Enabled (1UL) /*!< Event enabled. */
  4090. /* Bit 1 : OVRFLW event enable. */
  4091. #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4092. #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4093. #define RTC_EVTEN_OVRFLW_Disabled (0UL) /*!< Event disabled. */
  4094. #define RTC_EVTEN_OVRFLW_Enabled (1UL) /*!< Event enabled. */
  4095. /* Bit 0 : TICK event enable. */
  4096. #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */
  4097. #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */
  4098. #define RTC_EVTEN_TICK_Disabled (0UL) /*!< Event disabled. */
  4099. #define RTC_EVTEN_TICK_Enabled (1UL) /*!< Event enabled. */
  4100. /* Register: RTC_EVTENSET */
  4101. /* Description: Enable events routing to PPI. The reading of this register gives the value of EVTEN. */
  4102. /* Bit 19 : Enable routing to PPI of COMPARE[3] event. */
  4103. #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4104. #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4105. #define RTC_EVTENSET_COMPARE3_Disabled (0UL) /*!< Event disabled. */
  4106. #define RTC_EVTENSET_COMPARE3_Enabled (1UL) /*!< Event enabled. */
  4107. #define RTC_EVTENSET_COMPARE3_Set (1UL) /*!< Enable event on write. */
  4108. /* Bit 18 : Enable routing to PPI of COMPARE[2] event. */
  4109. #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4110. #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4111. #define RTC_EVTENSET_COMPARE2_Disabled (0UL) /*!< Event disabled. */
  4112. #define RTC_EVTENSET_COMPARE2_Enabled (1UL) /*!< Event enabled. */
  4113. #define RTC_EVTENSET_COMPARE2_Set (1UL) /*!< Enable event on write. */
  4114. /* Bit 17 : Enable routing to PPI of COMPARE[1] event. */
  4115. #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4116. #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4117. #define RTC_EVTENSET_COMPARE1_Disabled (0UL) /*!< Event disabled. */
  4118. #define RTC_EVTENSET_COMPARE1_Enabled (1UL) /*!< Event enabled. */
  4119. #define RTC_EVTENSET_COMPARE1_Set (1UL) /*!< Enable event on write. */
  4120. /* Bit 16 : Enable routing to PPI of COMPARE[0] event. */
  4121. #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4122. #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4123. #define RTC_EVTENSET_COMPARE0_Disabled (0UL) /*!< Event disabled. */
  4124. #define RTC_EVTENSET_COMPARE0_Enabled (1UL) /*!< Event enabled. */
  4125. #define RTC_EVTENSET_COMPARE0_Set (1UL) /*!< Enable event on write. */
  4126. /* Bit 1 : Enable routing to PPI of OVRFLW event. */
  4127. #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4128. #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4129. #define RTC_EVTENSET_OVRFLW_Disabled (0UL) /*!< Event disabled. */
  4130. #define RTC_EVTENSET_OVRFLW_Enabled (1UL) /*!< Event enabled. */
  4131. #define RTC_EVTENSET_OVRFLW_Set (1UL) /*!< Enable event on write. */
  4132. /* Bit 0 : Enable routing to PPI of TICK event. */
  4133. #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
  4134. #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
  4135. #define RTC_EVTENSET_TICK_Disabled (0UL) /*!< Event disabled. */
  4136. #define RTC_EVTENSET_TICK_Enabled (1UL) /*!< Event enabled. */
  4137. #define RTC_EVTENSET_TICK_Set (1UL) /*!< Enable event on write. */
  4138. /* Register: RTC_EVTENCLR */
  4139. /* Description: Disable events routing to PPI. The reading of this register gives the value of EVTEN. */
  4140. /* Bit 19 : Disable routing to PPI of COMPARE[3] event. */
  4141. #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4142. #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4143. #define RTC_EVTENCLR_COMPARE3_Disabled (0UL) /*!< Event disabled. */
  4144. #define RTC_EVTENCLR_COMPARE3_Enabled (1UL) /*!< Event enabled. */
  4145. #define RTC_EVTENCLR_COMPARE3_Clear (1UL) /*!< Disable event on write. */
  4146. /* Bit 18 : Disable routing to PPI of COMPARE[2] event. */
  4147. #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4148. #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4149. #define RTC_EVTENCLR_COMPARE2_Disabled (0UL) /*!< Event disabled. */
  4150. #define RTC_EVTENCLR_COMPARE2_Enabled (1UL) /*!< Event enabled. */
  4151. #define RTC_EVTENCLR_COMPARE2_Clear (1UL) /*!< Disable event on write. */
  4152. /* Bit 17 : Disable routing to PPI of COMPARE[1] event. */
  4153. #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4154. #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4155. #define RTC_EVTENCLR_COMPARE1_Disabled (0UL) /*!< Event disabled. */
  4156. #define RTC_EVTENCLR_COMPARE1_Enabled (1UL) /*!< Event enabled. */
  4157. #define RTC_EVTENCLR_COMPARE1_Clear (1UL) /*!< Disable event on write. */
  4158. /* Bit 16 : Disable routing to PPI of COMPARE[0] event. */
  4159. #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4160. #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4161. #define RTC_EVTENCLR_COMPARE0_Disabled (0UL) /*!< Event disabled. */
  4162. #define RTC_EVTENCLR_COMPARE0_Enabled (1UL) /*!< Event enabled. */
  4163. #define RTC_EVTENCLR_COMPARE0_Clear (1UL) /*!< Disable event on write. */
  4164. /* Bit 1 : Disable routing to PPI of OVRFLW event. */
  4165. #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4166. #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4167. #define RTC_EVTENCLR_OVRFLW_Disabled (0UL) /*!< Event disabled. */
  4168. #define RTC_EVTENCLR_OVRFLW_Enabled (1UL) /*!< Event enabled. */
  4169. #define RTC_EVTENCLR_OVRFLW_Clear (1UL) /*!< Disable event on write. */
  4170. /* Bit 0 : Disable routing to PPI of TICK event. */
  4171. #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
  4172. #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
  4173. #define RTC_EVTENCLR_TICK_Disabled (0UL) /*!< Event disabled. */
  4174. #define RTC_EVTENCLR_TICK_Enabled (1UL) /*!< Event enabled. */
  4175. #define RTC_EVTENCLR_TICK_Clear (1UL) /*!< Disable event on write. */
  4176. /* Register: RTC_COUNTER */
  4177. /* Description: Current COUNTER value. */
  4178. /* Bits 23..0 : Counter value. */
  4179. #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */
  4180. #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */
  4181. /* Register: RTC_PRESCALER */
  4182. /* Description: 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed. */
  4183. /* Bits 11..0 : RTC PRESCALER value. */
  4184. #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  4185. #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  4186. /* Register: RTC_CC */
  4187. /* Description: Capture/compare registers. */
  4188. /* Bits 23..0 : Compare value. */
  4189. #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */
  4190. #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */
  4191. /* Register: RTC_POWER */
  4192. /* Description: Peripheral power control. */
  4193. /* Bit 0 : Peripheral power control. */
  4194. #define RTC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4195. #define RTC_POWER_POWER_Msk (0x1UL << RTC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4196. #define RTC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4197. #define RTC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4198. /* Peripheral: SPI */
  4199. /* Description: SPI master 0. */
  4200. /* Register: SPI_INTENSET */
  4201. /* Description: Interrupt enable set register. */
  4202. /* Bit 2 : Enable interrupt on READY event. */
  4203. #define SPI_INTENSET_READY_Pos (2UL) /*!< Position of READY field. */
  4204. #define SPI_INTENSET_READY_Msk (0x1UL << SPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  4205. #define SPI_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
  4206. #define SPI_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
  4207. #define SPI_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
  4208. /* Register: SPI_INTENCLR */
  4209. /* Description: Interrupt enable clear register. */
  4210. /* Bit 2 : Disable interrupt on READY event. */
  4211. #define SPI_INTENCLR_READY_Pos (2UL) /*!< Position of READY field. */
  4212. #define SPI_INTENCLR_READY_Msk (0x1UL << SPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  4213. #define SPI_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
  4214. #define SPI_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
  4215. #define SPI_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
  4216. /* Register: SPI_ENABLE */
  4217. /* Description: Enable SPI. */
  4218. /* Bits 2..0 : Enable or disable SPI. */
  4219. #define SPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  4220. #define SPI_ENABLE_ENABLE_Msk (0x7UL << SPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4221. #define SPI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPI. */
  4222. #define SPI_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable SPI. */
  4223. /* Register: SPI_RXD */
  4224. /* Description: RX data. */
  4225. /* Bits 7..0 : RX data from last transfer. */
  4226. #define SPI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  4227. #define SPI_RXD_RXD_Msk (0xFFUL << SPI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  4228. /* Register: SPI_TXD */
  4229. /* Description: TX data. */
  4230. /* Bits 7..0 : TX data for next transfer. */
  4231. #define SPI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  4232. #define SPI_TXD_TXD_Msk (0xFFUL << SPI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  4233. /* Register: SPI_FREQUENCY */
  4234. /* Description: SPI frequency */
  4235. /* Bits 31..0 : SPI data rate. */
  4236. #define SPI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  4237. #define SPI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  4238. #define SPI_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125kbps. */
  4239. #define SPI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250kbps. */
  4240. #define SPI_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500kbps. */
  4241. #define SPI_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1Mbps. */
  4242. #define SPI_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2Mbps. */
  4243. #define SPI_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4Mbps. */
  4244. #define SPI_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8Mbps. */
  4245. /* Register: SPI_CONFIG */
  4246. /* Description: Configuration register. */
  4247. /* Bit 2 : Serial clock (SCK) polarity. */
  4248. #define SPI_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  4249. #define SPI_CONFIG_CPOL_Msk (0x1UL << SPI_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  4250. #define SPI_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
  4251. #define SPI_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
  4252. /* Bit 1 : Serial clock (SCK) phase. */
  4253. #define SPI_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  4254. #define SPI_CONFIG_CPHA_Msk (0x1UL << SPI_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  4255. #define SPI_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
  4256. #define SPI_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
  4257. /* Bit 0 : Bit order. */
  4258. #define SPI_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  4259. #define SPI_CONFIG_ORDER_Msk (0x1UL << SPI_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  4260. #define SPI_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
  4261. #define SPI_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
  4262. /* Register: SPI_POWER */
  4263. /* Description: Peripheral power control. */
  4264. /* Bit 0 : Peripheral power control. */
  4265. #define SPI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4266. #define SPI_POWER_POWER_Msk (0x1UL << SPI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4267. #define SPI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4268. #define SPI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4269. /* Peripheral: SPIS */
  4270. /* Description: SPI slave 1. */
  4271. /* Register: SPIS_SHORTS */
  4272. /* Description: Shortcuts for SPIS. */
  4273. /* Bit 2 : Shortcut between END event and the ACQUIRE task. */
  4274. #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */
  4275. #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */
  4276. #define SPIS_SHORTS_END_ACQUIRE_Disabled (0UL) /*!< Shortcut disabled. */
  4277. #define SPIS_SHORTS_END_ACQUIRE_Enabled (1UL) /*!< Shortcut enabled. */
  4278. /* Register: SPIS_INTENSET */
  4279. /* Description: Interrupt enable set register. */
  4280. /* Bit 10 : Enable interrupt on ACQUIRED event. */
  4281. #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
  4282. #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
  4283. #define SPIS_INTENSET_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */
  4284. #define SPIS_INTENSET_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */
  4285. #define SPIS_INTENSET_ACQUIRED_Set (1UL) /*!< Enable interrupt on write. */
  4286. /* Bit 4 : enable interrupt on ENDRX event. */
  4287. #define SPIS_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  4288. #define SPIS_INTENSET_ENDRX_Msk (0x1UL << SPIS_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  4289. #define SPIS_INTENSET_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */
  4290. #define SPIS_INTENSET_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */
  4291. #define SPIS_INTENSET_ENDRX_Set (1UL) /*!< Enable interrupt on write. */
  4292. /* Bit 1 : Enable interrupt on END event. */
  4293. #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */
  4294. #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */
  4295. #define SPIS_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  4296. #define SPIS_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  4297. #define SPIS_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  4298. /* Register: SPIS_INTENCLR */
  4299. /* Description: Interrupt enable clear register. */
  4300. /* Bit 10 : Disable interrupt on ACQUIRED event. */
  4301. #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
  4302. #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
  4303. #define SPIS_INTENCLR_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */
  4304. #define SPIS_INTENCLR_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */
  4305. #define SPIS_INTENCLR_ACQUIRED_Clear (1UL) /*!< Disable interrupt on write. */
  4306. /* Bit 4 : Disable interrupt on ENDRX event. */
  4307. #define SPIS_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  4308. #define SPIS_INTENCLR_ENDRX_Msk (0x1UL << SPIS_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  4309. #define SPIS_INTENCLR_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */
  4310. #define SPIS_INTENCLR_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */
  4311. #define SPIS_INTENCLR_ENDRX_Clear (1UL) /*!< Disable interrupt on write. */
  4312. /* Bit 1 : Disable interrupt on END event. */
  4313. #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */
  4314. #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  4315. #define SPIS_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  4316. #define SPIS_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  4317. #define SPIS_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  4318. /* Register: SPIS_SEMSTAT */
  4319. /* Description: Semaphore status. */
  4320. /* Bits 1..0 : Semaphore status. */
  4321. #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */
  4322. #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */
  4323. #define SPIS_SEMSTAT_SEMSTAT_Free (0x00UL) /*!< Semaphore is free. */
  4324. #define SPIS_SEMSTAT_SEMSTAT_CPU (0x01UL) /*!< Semaphore is assigned to the CPU. */
  4325. #define SPIS_SEMSTAT_SEMSTAT_SPIS (0x02UL) /*!< Semaphore is assigned to the SPIS. */
  4326. #define SPIS_SEMSTAT_SEMSTAT_CPUPending (0x03UL) /*!< Semaphore is assigned to the SPIS, but a handover to the CPU is pending. */
  4327. /* Register: SPIS_STATUS */
  4328. /* Description: Status from last transaction. */
  4329. /* Bit 1 : RX buffer overflow detected, and prevented. */
  4330. #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */
  4331. #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */
  4332. #define SPIS_STATUS_OVERFLOW_NotPresent (0UL) /*!< Error not present. */
  4333. #define SPIS_STATUS_OVERFLOW_Present (1UL) /*!< Error present. */
  4334. #define SPIS_STATUS_OVERFLOW_Clear (1UL) /*!< Clear on write. */
  4335. /* Bit 0 : TX buffer overread detected, and prevented. */
  4336. #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */
  4337. #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */
  4338. #define SPIS_STATUS_OVERREAD_NotPresent (0UL) /*!< Error not present. */
  4339. #define SPIS_STATUS_OVERREAD_Present (1UL) /*!< Error present. */
  4340. #define SPIS_STATUS_OVERREAD_Clear (1UL) /*!< Clear on write. */
  4341. /* Register: SPIS_ENABLE */
  4342. /* Description: Enable SPIS. */
  4343. /* Bits 2..0 : Enable or disable SPIS. */
  4344. #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  4345. #define SPIS_ENABLE_ENABLE_Msk (0x7UL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4346. #define SPIS_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIS. */
  4347. #define SPIS_ENABLE_ENABLE_Enabled (0x02UL) /*!< Enable SPIS. */
  4348. /* Register: SPIS_MAXRX */
  4349. /* Description: Maximum number of bytes in the receive buffer. */
  4350. /* Bits 7..0 : Maximum number of bytes in the receive buffer. */
  4351. #define SPIS_MAXRX_MAXRX_Pos (0UL) /*!< Position of MAXRX field. */
  4352. #define SPIS_MAXRX_MAXRX_Msk (0xFFUL << SPIS_MAXRX_MAXRX_Pos) /*!< Bit mask of MAXRX field. */
  4353. /* Register: SPIS_AMOUNTRX */
  4354. /* Description: Number of bytes received in last granted transaction. */
  4355. /* Bits 7..0 : Number of bytes received in last granted transaction. */
  4356. #define SPIS_AMOUNTRX_AMOUNTRX_Pos (0UL) /*!< Position of AMOUNTRX field. */
  4357. #define SPIS_AMOUNTRX_AMOUNTRX_Msk (0xFFUL << SPIS_AMOUNTRX_AMOUNTRX_Pos) /*!< Bit mask of AMOUNTRX field. */
  4358. /* Register: SPIS_MAXTX */
  4359. /* Description: Maximum number of bytes in the transmit buffer. */
  4360. /* Bits 7..0 : Maximum number of bytes in the transmit buffer. */
  4361. #define SPIS_MAXTX_MAXTX_Pos (0UL) /*!< Position of MAXTX field. */
  4362. #define SPIS_MAXTX_MAXTX_Msk (0xFFUL << SPIS_MAXTX_MAXTX_Pos) /*!< Bit mask of MAXTX field. */
  4363. /* Register: SPIS_AMOUNTTX */
  4364. /* Description: Number of bytes transmitted in last granted transaction. */
  4365. /* Bits 7..0 : Number of bytes transmitted in last granted transaction. */
  4366. #define SPIS_AMOUNTTX_AMOUNTTX_Pos (0UL) /*!< Position of AMOUNTTX field. */
  4367. #define SPIS_AMOUNTTX_AMOUNTTX_Msk (0xFFUL << SPIS_AMOUNTTX_AMOUNTTX_Pos) /*!< Bit mask of AMOUNTTX field. */
  4368. /* Register: SPIS_CONFIG */
  4369. /* Description: Configuration register. */
  4370. /* Bit 2 : Serial clock (SCK) polarity. */
  4371. #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  4372. #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  4373. #define SPIS_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
  4374. #define SPIS_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
  4375. /* Bit 1 : Serial clock (SCK) phase. */
  4376. #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  4377. #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  4378. #define SPIS_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
  4379. #define SPIS_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
  4380. /* Bit 0 : Bit order. */
  4381. #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  4382. #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  4383. #define SPIS_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
  4384. #define SPIS_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
  4385. /* Register: SPIS_DEF */
  4386. /* Description: Default character. */
  4387. /* Bits 7..0 : Default character. */
  4388. #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */
  4389. #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */
  4390. /* Register: SPIS_ORC */
  4391. /* Description: Over-read character. */
  4392. /* Bits 7..0 : Over-read character. */
  4393. #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
  4394. #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
  4395. /* Register: SPIS_POWER */
  4396. /* Description: Peripheral power control. */
  4397. /* Bit 0 : Peripheral power control. */
  4398. #define SPIS_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4399. #define SPIS_POWER_POWER_Msk (0x1UL << SPIS_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4400. #define SPIS_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4401. #define SPIS_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4402. /* Peripheral: TEMP */
  4403. /* Description: Temperature Sensor. */
  4404. /* Register: TEMP_INTENSET */
  4405. /* Description: Interrupt enable set register. */
  4406. /* Bit 0 : Enable interrupt on DATARDY event. */
  4407. #define TEMP_INTENSET_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
  4408. #define TEMP_INTENSET_DATARDY_Msk (0x1UL << TEMP_INTENSET_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
  4409. #define TEMP_INTENSET_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */
  4410. #define TEMP_INTENSET_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */
  4411. #define TEMP_INTENSET_DATARDY_Set (1UL) /*!< Enable interrupt on write. */
  4412. /* Register: TEMP_INTENCLR */
  4413. /* Description: Interrupt enable clear register. */
  4414. /* Bit 0 : Disable interrupt on DATARDY event. */
  4415. #define TEMP_INTENCLR_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
  4416. #define TEMP_INTENCLR_DATARDY_Msk (0x1UL << TEMP_INTENCLR_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
  4417. #define TEMP_INTENCLR_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */
  4418. #define TEMP_INTENCLR_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */
  4419. #define TEMP_INTENCLR_DATARDY_Clear (1UL) /*!< Disable interrupt on write. */
  4420. /* Register: TEMP_POWER */
  4421. /* Description: Peripheral power control. */
  4422. /* Bit 0 : Peripheral power control. */
  4423. #define TEMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4424. #define TEMP_POWER_POWER_Msk (0x1UL << TEMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4425. #define TEMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4426. #define TEMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4427. /* Peripheral: TIMER */
  4428. /* Description: Timer 0. */
  4429. /* Register: TIMER_SHORTS */
  4430. /* Description: Shortcuts for Timer. */
  4431. /* Bit 11 : Shortcut between CC[3] event and the STOP task. */
  4432. #define TIMER_SHORTS_COMPARE3_STOP_Pos (11UL) /*!< Position of COMPARE3_STOP field. */
  4433. #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */
  4434. #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  4435. #define TIMER_SHORTS_COMPARE3_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  4436. /* Bit 10 : Shortcut between CC[2] event and the STOP task. */
  4437. #define TIMER_SHORTS_COMPARE2_STOP_Pos (10UL) /*!< Position of COMPARE2_STOP field. */
  4438. #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */
  4439. #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  4440. #define TIMER_SHORTS_COMPARE2_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  4441. /* Bit 9 : Shortcut between CC[1] event and the STOP task. */
  4442. #define TIMER_SHORTS_COMPARE1_STOP_Pos (9UL) /*!< Position of COMPARE1_STOP field. */
  4443. #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */
  4444. #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  4445. #define TIMER_SHORTS_COMPARE1_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  4446. /* Bit 8 : Shortcut between CC[0] event and the STOP task. */
  4447. #define TIMER_SHORTS_COMPARE0_STOP_Pos (8UL) /*!< Position of COMPARE0_STOP field. */
  4448. #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */
  4449. #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  4450. #define TIMER_SHORTS_COMPARE0_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  4451. /* Bit 3 : Shortcut between CC[3] event and the CLEAR task. */
  4452. #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */
  4453. #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */
  4454. #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  4455. #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  4456. /* Bit 2 : Shortcut between CC[2] event and the CLEAR task. */
  4457. #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */
  4458. #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */
  4459. #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  4460. #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  4461. /* Bit 1 : Shortcut between CC[1] event and the CLEAR task. */
  4462. #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */
  4463. #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */
  4464. #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  4465. #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  4466. /* Bit 0 : Shortcut between CC[0] event and the CLEAR task. */
  4467. #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */
  4468. #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */
  4469. #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  4470. #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  4471. /* Register: TIMER_INTENSET */
  4472. /* Description: Interrupt enable set register. */
  4473. /* Bit 19 : Enable interrupt on COMPARE[3] */
  4474. #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4475. #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4476. #define TIMER_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  4477. #define TIMER_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  4478. #define TIMER_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */
  4479. /* Bit 18 : Enable interrupt on COMPARE[2] */
  4480. #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4481. #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4482. #define TIMER_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  4483. #define TIMER_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  4484. #define TIMER_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */
  4485. /* Bit 17 : Enable interrupt on COMPARE[1] */
  4486. #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4487. #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4488. #define TIMER_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  4489. #define TIMER_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  4490. #define TIMER_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */
  4491. /* Bit 16 : Enable interrupt on COMPARE[0] */
  4492. #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4493. #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4494. #define TIMER_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  4495. #define TIMER_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  4496. #define TIMER_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */
  4497. /* Register: TIMER_INTENCLR */
  4498. /* Description: Interrupt enable clear register. */
  4499. /* Bit 19 : Disable interrupt on COMPARE[3] */
  4500. #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4501. #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4502. #define TIMER_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  4503. #define TIMER_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  4504. #define TIMER_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */
  4505. /* Bit 18 : Disable interrupt on COMPARE[2] */
  4506. #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4507. #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4508. #define TIMER_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  4509. #define TIMER_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  4510. #define TIMER_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */
  4511. /* Bit 17 : Disable interrupt on COMPARE[1] */
  4512. #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4513. #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4514. #define TIMER_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  4515. #define TIMER_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  4516. #define TIMER_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */
  4517. /* Bit 16 : Disable interrupt on COMPARE[0] */
  4518. #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4519. #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4520. #define TIMER_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  4521. #define TIMER_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  4522. #define TIMER_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */
  4523. /* Register: TIMER_MODE */
  4524. /* Description: Timer Mode selection. */
  4525. /* Bit 0 : Select Normal or Counter mode. */
  4526. #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  4527. #define TIMER_MODE_MODE_Msk (0x1UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  4528. #define TIMER_MODE_MODE_Timer (0UL) /*!< Timer in Normal mode. */
  4529. #define TIMER_MODE_MODE_Counter (1UL) /*!< Timer in Counter mode. */
  4530. /* Register: TIMER_BITMODE */
  4531. /* Description: Sets timer behaviour. */
  4532. /* Bits 1..0 : Sets timer behaviour ro be like the implementation of a timer with width as indicated. */
  4533. #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */
  4534. #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */
  4535. #define TIMER_BITMODE_BITMODE_16Bit (0x00UL) /*!< 16-bit timer behaviour. */
  4536. #define TIMER_BITMODE_BITMODE_08Bit (0x01UL) /*!< 8-bit timer behaviour. */
  4537. #define TIMER_BITMODE_BITMODE_24Bit (0x02UL) /*!< 24-bit timer behaviour. */
  4538. #define TIMER_BITMODE_BITMODE_32Bit (0x03UL) /*!< 32-bit timer behaviour. */
  4539. /* Register: TIMER_PRESCALER */
  4540. /* Description: 4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE. */
  4541. /* Bits 3..0 : Timer PRESCALER value. Max value is 9. */
  4542. #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  4543. #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  4544. /* Register: TIMER_POWER */
  4545. /* Description: Peripheral power control. */
  4546. /* Bit 0 : Peripheral power control. */
  4547. #define TIMER_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4548. #define TIMER_POWER_POWER_Msk (0x1UL << TIMER_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4549. #define TIMER_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4550. #define TIMER_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4551. /* Peripheral: TWI */
  4552. /* Description: Two-wire interface master 0. */
  4553. /* Register: TWI_SHORTS */
  4554. /* Description: Shortcuts for TWI. */
  4555. /* Bit 1 : Shortcut between BB event and the STOP task. */
  4556. #define TWI_SHORTS_BB_STOP_Pos (1UL) /*!< Position of BB_STOP field. */
  4557. #define TWI_SHORTS_BB_STOP_Msk (0x1UL << TWI_SHORTS_BB_STOP_Pos) /*!< Bit mask of BB_STOP field. */
  4558. #define TWI_SHORTS_BB_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  4559. #define TWI_SHORTS_BB_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  4560. /* Bit 0 : Shortcut between BB event and the SUSPEND task. */
  4561. #define TWI_SHORTS_BB_SUSPEND_Pos (0UL) /*!< Position of BB_SUSPEND field. */
  4562. #define TWI_SHORTS_BB_SUSPEND_Msk (0x1UL << TWI_SHORTS_BB_SUSPEND_Pos) /*!< Bit mask of BB_SUSPEND field. */
  4563. #define TWI_SHORTS_BB_SUSPEND_Disabled (0UL) /*!< Shortcut disabled. */
  4564. #define TWI_SHORTS_BB_SUSPEND_Enabled (1UL) /*!< Shortcut enabled. */
  4565. /* Register: TWI_INTENSET */
  4566. /* Description: Interrupt enable set register. */
  4567. /* Bit 18 : Enable interrupt on SUSPENDED event. */
  4568. #define TWI_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  4569. #define TWI_INTENSET_SUSPENDED_Msk (0x1UL << TWI_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  4570. #define TWI_INTENSET_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */
  4571. #define TWI_INTENSET_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */
  4572. #define TWI_INTENSET_SUSPENDED_Set (1UL) /*!< Enable interrupt on write. */
  4573. /* Bit 14 : Enable interrupt on BB event. */
  4574. #define TWI_INTENSET_BB_Pos (14UL) /*!< Position of BB field. */
  4575. #define TWI_INTENSET_BB_Msk (0x1UL << TWI_INTENSET_BB_Pos) /*!< Bit mask of BB field. */
  4576. #define TWI_INTENSET_BB_Disabled (0UL) /*!< Interrupt disabled. */
  4577. #define TWI_INTENSET_BB_Enabled (1UL) /*!< Interrupt enabled. */
  4578. #define TWI_INTENSET_BB_Set (1UL) /*!< Enable interrupt on write. */
  4579. /* Bit 9 : Enable interrupt on ERROR event. */
  4580. #define TWI_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  4581. #define TWI_INTENSET_ERROR_Msk (0x1UL << TWI_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  4582. #define TWI_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  4583. #define TWI_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  4584. #define TWI_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
  4585. /* Bit 7 : Enable interrupt on TXDSENT event. */
  4586. #define TWI_INTENSET_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
  4587. #define TWI_INTENSET_TXDSENT_Msk (0x1UL << TWI_INTENSET_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
  4588. #define TWI_INTENSET_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */
  4589. #define TWI_INTENSET_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */
  4590. #define TWI_INTENSET_TXDSENT_Set (1UL) /*!< Enable interrupt on write. */
  4591. /* Bit 2 : Enable interrupt on READY event. */
  4592. #define TWI_INTENSET_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
  4593. #define TWI_INTENSET_RXDREADY_Msk (0x1UL << TWI_INTENSET_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
  4594. #define TWI_INTENSET_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */
  4595. #define TWI_INTENSET_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */
  4596. #define TWI_INTENSET_RXDREADY_Set (1UL) /*!< Enable interrupt on write. */
  4597. /* Bit 1 : Enable interrupt on STOPPED event. */
  4598. #define TWI_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  4599. #define TWI_INTENSET_STOPPED_Msk (0x1UL << TWI_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  4600. #define TWI_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
  4601. #define TWI_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
  4602. #define TWI_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */
  4603. /* Register: TWI_INTENCLR */
  4604. /* Description: Interrupt enable clear register. */
  4605. /* Bit 18 : Disable interrupt on SUSPENDED event. */
  4606. #define TWI_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  4607. #define TWI_INTENCLR_SUSPENDED_Msk (0x1UL << TWI_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  4608. #define TWI_INTENCLR_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */
  4609. #define TWI_INTENCLR_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */
  4610. #define TWI_INTENCLR_SUSPENDED_Clear (1UL) /*!< Disable interrupt on write. */
  4611. /* Bit 14 : Disable interrupt on BB event. */
  4612. #define TWI_INTENCLR_BB_Pos (14UL) /*!< Position of BB field. */
  4613. #define TWI_INTENCLR_BB_Msk (0x1UL << TWI_INTENCLR_BB_Pos) /*!< Bit mask of BB field. */
  4614. #define TWI_INTENCLR_BB_Disabled (0UL) /*!< Interrupt disabled. */
  4615. #define TWI_INTENCLR_BB_Enabled (1UL) /*!< Interrupt enabled. */
  4616. #define TWI_INTENCLR_BB_Clear (1UL) /*!< Disable interrupt on write. */
  4617. /* Bit 9 : Disable interrupt on ERROR event. */
  4618. #define TWI_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  4619. #define TWI_INTENCLR_ERROR_Msk (0x1UL << TWI_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  4620. #define TWI_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  4621. #define TWI_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  4622. #define TWI_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
  4623. /* Bit 7 : Disable interrupt on TXDSENT event. */
  4624. #define TWI_INTENCLR_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
  4625. #define TWI_INTENCLR_TXDSENT_Msk (0x1UL << TWI_INTENCLR_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
  4626. #define TWI_INTENCLR_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */
  4627. #define TWI_INTENCLR_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */
  4628. #define TWI_INTENCLR_TXDSENT_Clear (1UL) /*!< Disable interrupt on write. */
  4629. /* Bit 2 : Disable interrupt on RXDREADY event. */
  4630. #define TWI_INTENCLR_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
  4631. #define TWI_INTENCLR_RXDREADY_Msk (0x1UL << TWI_INTENCLR_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
  4632. #define TWI_INTENCLR_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */
  4633. #define TWI_INTENCLR_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */
  4634. #define TWI_INTENCLR_RXDREADY_Clear (1UL) /*!< Disable interrupt on write. */
  4635. /* Bit 1 : Disable interrupt on STOPPED event. */
  4636. #define TWI_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  4637. #define TWI_INTENCLR_STOPPED_Msk (0x1UL << TWI_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  4638. #define TWI_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
  4639. #define TWI_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
  4640. #define TWI_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */
  4641. /* Register: TWI_ERRORSRC */
  4642. /* Description: Two-wire error source. Write error field to 1 to clear error. */
  4643. /* Bit 2 : NACK received after sending a data byte. */
  4644. #define TWI_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */
  4645. #define TWI_ERRORSRC_DNACK_Msk (0x1UL << TWI_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */
  4646. #define TWI_ERRORSRC_DNACK_NotPresent (0UL) /*!< Error not present. */
  4647. #define TWI_ERRORSRC_DNACK_Present (1UL) /*!< Error present. */
  4648. #define TWI_ERRORSRC_DNACK_Clear (1UL) /*!< Clear error on write. */
  4649. /* Bit 1 : NACK received after sending the address. */
  4650. #define TWI_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */
  4651. #define TWI_ERRORSRC_ANACK_Msk (0x1UL << TWI_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */
  4652. #define TWI_ERRORSRC_ANACK_NotPresent (0UL) /*!< Error not present. */
  4653. #define TWI_ERRORSRC_ANACK_Present (1UL) /*!< Error present. */
  4654. #define TWI_ERRORSRC_ANACK_Clear (1UL) /*!< Clear error on write. */
  4655. /* Bit 0 : Byte received in RXD register before read of the last received byte (data loss). */
  4656. #define TWI_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  4657. #define TWI_ERRORSRC_OVERRUN_Msk (0x1UL << TWI_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  4658. #define TWI_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */
  4659. #define TWI_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */
  4660. #define TWI_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */
  4661. /* Register: TWI_ENABLE */
  4662. /* Description: Enable two-wire master. */
  4663. /* Bits 2..0 : Enable or disable W2M */
  4664. #define TWI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  4665. #define TWI_ENABLE_ENABLE_Msk (0x7UL << TWI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4666. #define TWI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled. */
  4667. #define TWI_ENABLE_ENABLE_Enabled (0x05UL) /*!< Enabled. */
  4668. /* Register: TWI_RXD */
  4669. /* Description: RX data register. */
  4670. /* Bits 7..0 : RX data from last transfer. */
  4671. #define TWI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  4672. #define TWI_RXD_RXD_Msk (0xFFUL << TWI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  4673. /* Register: TWI_TXD */
  4674. /* Description: TX data register. */
  4675. /* Bits 7..0 : TX data for next transfer. */
  4676. #define TWI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  4677. #define TWI_TXD_TXD_Msk (0xFFUL << TWI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  4678. /* Register: TWI_FREQUENCY */
  4679. /* Description: Two-wire frequency. */
  4680. /* Bits 31..0 : Two-wire master clock frequency. */
  4681. #define TWI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  4682. #define TWI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  4683. #define TWI_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps. */
  4684. #define TWI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */
  4685. #define TWI_FREQUENCY_FREQUENCY_K400 (0x06680000UL) /*!< 400 kbps (actual rate 410.256 kbps). */
  4686. /* Register: TWI_ADDRESS */
  4687. /* Description: Address used in the two-wire transfer. */
  4688. /* Bits 6..0 : Two-wire address. */
  4689. #define TWI_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */
  4690. #define TWI_ADDRESS_ADDRESS_Msk (0x7FUL << TWI_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  4691. /* Register: TWI_POWER */
  4692. /* Description: Peripheral power control. */
  4693. /* Bit 0 : Peripheral power control. */
  4694. #define TWI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4695. #define TWI_POWER_POWER_Msk (0x1UL << TWI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4696. #define TWI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4697. #define TWI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4698. /* Peripheral: UART */
  4699. /* Description: Universal Asynchronous Receiver/Transmitter. */
  4700. /* Register: UART_SHORTS */
  4701. /* Description: Shortcuts for UART. */
  4702. /* Bit 4 : Shortcut between NCTS event and STOPRX task. */
  4703. #define UART_SHORTS_NCTS_STOPRX_Pos (4UL) /*!< Position of NCTS_STOPRX field. */
  4704. #define UART_SHORTS_NCTS_STOPRX_Msk (0x1UL << UART_SHORTS_NCTS_STOPRX_Pos) /*!< Bit mask of NCTS_STOPRX field. */
  4705. #define UART_SHORTS_NCTS_STOPRX_Disabled (0UL) /*!< Shortcut disabled. */
  4706. #define UART_SHORTS_NCTS_STOPRX_Enabled (1UL) /*!< Shortcut enabled. */
  4707. /* Bit 3 : Shortcut between CTS event and STARTRX task. */
  4708. #define UART_SHORTS_CTS_STARTRX_Pos (3UL) /*!< Position of CTS_STARTRX field. */
  4709. #define UART_SHORTS_CTS_STARTRX_Msk (0x1UL << UART_SHORTS_CTS_STARTRX_Pos) /*!< Bit mask of CTS_STARTRX field. */
  4710. #define UART_SHORTS_CTS_STARTRX_Disabled (0UL) /*!< Shortcut disabled. */
  4711. #define UART_SHORTS_CTS_STARTRX_Enabled (1UL) /*!< Shortcut enabled. */
  4712. /* Register: UART_INTENSET */
  4713. /* Description: Interrupt enable set register. */
  4714. /* Bit 17 : Enable interrupt on RXTO event. */
  4715. #define UART_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  4716. #define UART_INTENSET_RXTO_Msk (0x1UL << UART_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */
  4717. #define UART_INTENSET_RXTO_Disabled (0UL) /*!< Interrupt disabled. */
  4718. #define UART_INTENSET_RXTO_Enabled (1UL) /*!< Interrupt enabled. */
  4719. #define UART_INTENSET_RXTO_Set (1UL) /*!< Enable interrupt on write. */
  4720. /* Bit 9 : Enable interrupt on ERROR event. */
  4721. #define UART_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  4722. #define UART_INTENSET_ERROR_Msk (0x1UL << UART_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  4723. #define UART_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  4724. #define UART_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  4725. #define UART_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
  4726. /* Bit 7 : Enable interrupt on TXRDY event. */
  4727. #define UART_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  4728. #define UART_INTENSET_TXDRDY_Msk (0x1UL << UART_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  4729. #define UART_INTENSET_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  4730. #define UART_INTENSET_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  4731. #define UART_INTENSET_TXDRDY_Set (1UL) /*!< Enable interrupt on write. */
  4732. /* Bit 2 : Enable interrupt on RXRDY event. */
  4733. #define UART_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  4734. #define UART_INTENSET_RXDRDY_Msk (0x1UL << UART_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  4735. #define UART_INTENSET_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  4736. #define UART_INTENSET_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  4737. #define UART_INTENSET_RXDRDY_Set (1UL) /*!< Enable interrupt on write. */
  4738. /* Bit 1 : Enable interrupt on NCTS event. */
  4739. #define UART_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  4740. #define UART_INTENSET_NCTS_Msk (0x1UL << UART_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */
  4741. #define UART_INTENSET_NCTS_Disabled (0UL) /*!< Interrupt disabled. */
  4742. #define UART_INTENSET_NCTS_Enabled (1UL) /*!< Interrupt enabled. */
  4743. #define UART_INTENSET_NCTS_Set (1UL) /*!< Enable interrupt on write. */
  4744. /* Bit 0 : Enable interrupt on CTS event. */
  4745. #define UART_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */
  4746. #define UART_INTENSET_CTS_Msk (0x1UL << UART_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */
  4747. #define UART_INTENSET_CTS_Disabled (0UL) /*!< Interrupt disabled. */
  4748. #define UART_INTENSET_CTS_Enabled (1UL) /*!< Interrupt enabled. */
  4749. #define UART_INTENSET_CTS_Set (1UL) /*!< Enable interrupt on write. */
  4750. /* Register: UART_INTENCLR */
  4751. /* Description: Interrupt enable clear register. */
  4752. /* Bit 17 : Disable interrupt on RXTO event. */
  4753. #define UART_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  4754. #define UART_INTENCLR_RXTO_Msk (0x1UL << UART_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */
  4755. #define UART_INTENCLR_RXTO_Disabled (0UL) /*!< Interrupt disabled. */
  4756. #define UART_INTENCLR_RXTO_Enabled (1UL) /*!< Interrupt enabled. */
  4757. #define UART_INTENCLR_RXTO_Clear (1UL) /*!< Disable interrupt on write. */
  4758. /* Bit 9 : Disable interrupt on ERROR event. */
  4759. #define UART_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  4760. #define UART_INTENCLR_ERROR_Msk (0x1UL << UART_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  4761. #define UART_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  4762. #define UART_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  4763. #define UART_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
  4764. /* Bit 7 : Disable interrupt on TXRDY event. */
  4765. #define UART_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  4766. #define UART_INTENCLR_TXDRDY_Msk (0x1UL << UART_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  4767. #define UART_INTENCLR_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  4768. #define UART_INTENCLR_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  4769. #define UART_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable interrupt on write. */
  4770. /* Bit 2 : Disable interrupt on RXRDY event. */
  4771. #define UART_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  4772. #define UART_INTENCLR_RXDRDY_Msk (0x1UL << UART_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  4773. #define UART_INTENCLR_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  4774. #define UART_INTENCLR_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  4775. #define UART_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable interrupt on write. */
  4776. /* Bit 1 : Disable interrupt on NCTS event. */
  4777. #define UART_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  4778. #define UART_INTENCLR_NCTS_Msk (0x1UL << UART_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */
  4779. #define UART_INTENCLR_NCTS_Disabled (0UL) /*!< Interrupt disabled. */
  4780. #define UART_INTENCLR_NCTS_Enabled (1UL) /*!< Interrupt enabled. */
  4781. #define UART_INTENCLR_NCTS_Clear (1UL) /*!< Disable interrupt on write. */
  4782. /* Bit 0 : Disable interrupt on CTS event. */
  4783. #define UART_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */
  4784. #define UART_INTENCLR_CTS_Msk (0x1UL << UART_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */
  4785. #define UART_INTENCLR_CTS_Disabled (0UL) /*!< Interrupt disabled. */
  4786. #define UART_INTENCLR_CTS_Enabled (1UL) /*!< Interrupt enabled. */
  4787. #define UART_INTENCLR_CTS_Clear (1UL) /*!< Disable interrupt on write. */
  4788. /* Register: UART_ERRORSRC */
  4789. /* Description: Error source. Write error field to 1 to clear error. */
  4790. /* Bit 3 : The serial data input is '0' for longer than the length of a data frame. */
  4791. #define UART_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */
  4792. #define UART_ERRORSRC_BREAK_Msk (0x1UL << UART_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */
  4793. #define UART_ERRORSRC_BREAK_NotPresent (0UL) /*!< Error not present. */
  4794. #define UART_ERRORSRC_BREAK_Present (1UL) /*!< Error present. */
  4795. #define UART_ERRORSRC_BREAK_Clear (1UL) /*!< Clear error on write. */
  4796. /* Bit 2 : A valid stop bit is not detected on the serial data input after all bits in a character have been received. */
  4797. #define UART_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */
  4798. #define UART_ERRORSRC_FRAMING_Msk (0x1UL << UART_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */
  4799. #define UART_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Error not present. */
  4800. #define UART_ERRORSRC_FRAMING_Present (1UL) /*!< Error present. */
  4801. #define UART_ERRORSRC_FRAMING_Clear (1UL) /*!< Clear error on write. */
  4802. /* Bit 1 : A character with bad parity is received. Only checked if HW parity control is enabled. */
  4803. #define UART_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  4804. #define UART_ERRORSRC_PARITY_Msk (0x1UL << UART_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */
  4805. #define UART_ERRORSRC_PARITY_NotPresent (0UL) /*!< Error not present. */
  4806. #define UART_ERRORSRC_PARITY_Present (1UL) /*!< Error present. */
  4807. #define UART_ERRORSRC_PARITY_Clear (1UL) /*!< Clear error on write. */
  4808. /* Bit 0 : A start bit is received while the previous data still lies in RXD. (Data loss). */
  4809. #define UART_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  4810. #define UART_ERRORSRC_OVERRUN_Msk (0x1UL << UART_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  4811. #define UART_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */
  4812. #define UART_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */
  4813. #define UART_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */
  4814. /* Register: UART_ENABLE */
  4815. /* Description: Enable UART and acquire IOs. */
  4816. /* Bits 2..0 : Enable or disable UART and acquire IOs. */
  4817. #define UART_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  4818. #define UART_ENABLE_ENABLE_Msk (0x7UL << UART_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4819. #define UART_ENABLE_ENABLE_Disabled (0x00UL) /*!< UART disabled. */
  4820. #define UART_ENABLE_ENABLE_Enabled (0x04UL) /*!< UART enabled. */
  4821. /* Register: UART_RXD */
  4822. /* Description: RXD register. On read action the buffer pointer is displaced. Once read the character is consumed. If read when no character available, the UART will stop working. */
  4823. /* Bits 7..0 : RX data from previous transfer. Double buffered. */
  4824. #define UART_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  4825. #define UART_RXD_RXD_Msk (0xFFUL << UART_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  4826. /* Register: UART_TXD */
  4827. /* Description: TXD register. */
  4828. /* Bits 7..0 : TX data for transfer. */
  4829. #define UART_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  4830. #define UART_TXD_TXD_Msk (0xFFUL << UART_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  4831. /* Register: UART_BAUDRATE */
  4832. /* Description: UART Baudrate. */
  4833. /* Bits 31..0 : UART baudrate. */
  4834. #define UART_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */
  4835. #define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UART_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */
  4836. #define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud. */
  4837. #define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud. */
  4838. #define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud. */
  4839. #define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud. */
  4840. #define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /*!< 14400 baud. */
  4841. #define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud. */
  4842. #define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /*!< 28800 baud. */
  4843. #define UART_BAUDRATE_BAUDRATE_Baud31250 (0x00800000UL) /*!< 31250 baud. */
  4844. #define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /*!< 38400 baud. */
  4845. #define UART_BAUDRATE_BAUDRATE_Baud56000 (0x00E50000UL) /*!< 56000 baud. */
  4846. #define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /*!< 57600 baud. */
  4847. #define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud. */
  4848. #define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /*!< 115200 baud. */
  4849. #define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /*!< 230400 baud. */
  4850. #define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud. */
  4851. #define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /*!< 460800 baud. */
  4852. #define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBED000UL) /*!< 921600 baud. */
  4853. #define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1M baud. */
  4854. /* Register: UART_CONFIG */
  4855. /* Description: Configuration of parity and hardware flow control register. */
  4856. /* Bits 3..1 : Include parity bit. */
  4857. #define UART_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  4858. #define UART_CONFIG_PARITY_Msk (0x7UL << UART_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
  4859. #define UART_CONFIG_PARITY_Excluded (0UL) /*!< Parity bit excluded. */
  4860. #define UART_CONFIG_PARITY_Included (7UL) /*!< Parity bit included. */
  4861. /* Bit 0 : Hardware flow control. */
  4862. #define UART_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */
  4863. #define UART_CONFIG_HWFC_Msk (0x1UL << UART_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */
  4864. #define UART_CONFIG_HWFC_Disabled (0UL) /*!< Hardware flow control disabled. */
  4865. #define UART_CONFIG_HWFC_Enabled (1UL) /*!< Hardware flow control enabled. */
  4866. /* Register: UART_POWER */
  4867. /* Description: Peripheral power control. */
  4868. /* Bit 0 : Peripheral power control. */
  4869. #define UART_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4870. #define UART_POWER_POWER_Msk (0x1UL << UART_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4871. #define UART_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4872. #define UART_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4873. /* Peripheral: UICR */
  4874. /* Description: User Information Configuration. */
  4875. /* Register: UICR_RBPCONF */
  4876. /* Description: Readback protection configuration. */
  4877. /* Bits 15..8 : Readback protect all code in the device. */
  4878. #define UICR_RBPCONF_PALL_Pos (8UL) /*!< Position of PALL field. */
  4879. #define UICR_RBPCONF_PALL_Msk (0xFFUL << UICR_RBPCONF_PALL_Pos) /*!< Bit mask of PALL field. */
  4880. #define UICR_RBPCONF_PALL_Enabled (0x00UL) /*!< Enabled. */
  4881. #define UICR_RBPCONF_PALL_Disabled (0xFFUL) /*!< Disabled. */
  4882. /* Bits 7..0 : Readback protect region 0. Will be ignored if pre-programmed factory code is present on the chip. */
  4883. #define UICR_RBPCONF_PR0_Pos (0UL) /*!< Position of PR0 field. */
  4884. #define UICR_RBPCONF_PR0_Msk (0xFFUL << UICR_RBPCONF_PR0_Pos) /*!< Bit mask of PR0 field. */
  4885. #define UICR_RBPCONF_PR0_Enabled (0x00UL) /*!< Enabled. */
  4886. #define UICR_RBPCONF_PR0_Disabled (0xFFUL) /*!< Disabled. */
  4887. /* Register: UICR_XTALFREQ */
  4888. /* Description: Reset value for CLOCK XTALFREQ register. */
  4889. /* Bits 7..0 : Reset value for CLOCK XTALFREQ register. */
  4890. #define UICR_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */
  4891. #define UICR_XTALFREQ_XTALFREQ_Msk (0xFFUL << UICR_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */
  4892. #define UICR_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz Xtal is used. */
  4893. #define UICR_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz Xtal is used. */
  4894. /* Register: UICR_FWID */
  4895. /* Description: Firmware ID. */
  4896. /* Bits 15..0 : Identification number for the firmware loaded into the chip. */
  4897. #define UICR_FWID_FWID_Pos (0UL) /*!< Position of FWID field. */
  4898. #define UICR_FWID_FWID_Msk (0xFFFFUL << UICR_FWID_FWID_Pos) /*!< Bit mask of FWID field. */
  4899. /* Peripheral: WDT */
  4900. /* Description: Watchdog Timer. */
  4901. /* Register: WDT_INTENSET */
  4902. /* Description: Interrupt enable set register. */
  4903. /* Bit 0 : Enable interrupt on TIMEOUT event. */
  4904. #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
  4905. #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
  4906. #define WDT_INTENSET_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */
  4907. #define WDT_INTENSET_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */
  4908. #define WDT_INTENSET_TIMEOUT_Set (1UL) /*!< Enable interrupt on write. */
  4909. /* Register: WDT_INTENCLR */
  4910. /* Description: Interrupt enable clear register. */
  4911. /* Bit 0 : Disable interrupt on TIMEOUT event. */
  4912. #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
  4913. #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
  4914. #define WDT_INTENCLR_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */
  4915. #define WDT_INTENCLR_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */
  4916. #define WDT_INTENCLR_TIMEOUT_Clear (1UL) /*!< Disable interrupt on write. */
  4917. /* Register: WDT_RUNSTATUS */
  4918. /* Description: Watchdog running status. */
  4919. /* Bit 0 : Watchdog running status. */
  4920. #define WDT_RUNSTATUS_RUNSTATUS_Pos (0UL) /*!< Position of RUNSTATUS field. */
  4921. #define WDT_RUNSTATUS_RUNSTATUS_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUS_Pos) /*!< Bit mask of RUNSTATUS field. */
  4922. #define WDT_RUNSTATUS_RUNSTATUS_NotRunning (0UL) /*!< Watchdog timer is not running. */
  4923. #define WDT_RUNSTATUS_RUNSTATUS_Running (1UL) /*!< Watchdog timer is running. */
  4924. /* Register: WDT_REQSTATUS */
  4925. /* Description: Request status. */
  4926. /* Bit 7 : Request status for RR[7]. */
  4927. #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */
  4928. #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */
  4929. #define WDT_REQSTATUS_RR7_DisabledOrRequested (0UL) /*!< RR[7] register is not enabled or has already requested reload. */
  4930. #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (1UL) /*!< RR[7] register is enabled and has not jet requested. */
  4931. /* Bit 6 : Request status for RR[6]. */
  4932. #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */
  4933. #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */
  4934. #define WDT_REQSTATUS_RR6_DisabledOrRequested (0UL) /*!< RR[6] register is not enabled or has already requested reload. */
  4935. #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (1UL) /*!< RR[6] register is enabled and has not jet requested. */
  4936. /* Bit 5 : Request status for RR[5]. */
  4937. #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */
  4938. #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */
  4939. #define WDT_REQSTATUS_RR5_DisabledOrRequested (0UL) /*!< RR[5] register is not enabled or has already requested reload. */
  4940. #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (1UL) /*!< RR[5] register is enabled and has not jet requested. */
  4941. /* Bit 4 : Request status for RR[4]. */
  4942. #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */
  4943. #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */
  4944. #define WDT_REQSTATUS_RR4_DisabledOrRequested (0UL) /*!< RR[4] register is not enabled or has already requested reload. */
  4945. #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (1UL) /*!< RR[4] register is enabled and has not jet requested. */
  4946. /* Bit 3 : Request status for RR[3]. */
  4947. #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */
  4948. #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */
  4949. #define WDT_REQSTATUS_RR3_DisabledOrRequested (0UL) /*!< RR[3] register is not enabled or has already requested reload. */
  4950. #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (1UL) /*!< RR[3] register is enabled and has not jet requested. */
  4951. /* Bit 2 : Request status for RR[2]. */
  4952. #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */
  4953. #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */
  4954. #define WDT_REQSTATUS_RR2_DisabledOrRequested (0UL) /*!< RR[2] register is not enabled or has already requested reload. */
  4955. #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (1UL) /*!< RR[2] register is enabled and has not jet requested. */
  4956. /* Bit 1 : Request status for RR[1]. */
  4957. #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */
  4958. #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */
  4959. #define WDT_REQSTATUS_RR1_DisabledOrRequested (0UL) /*!< RR[1] register is not enabled or has already requested reload. */
  4960. #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (1UL) /*!< RR[1] register is enabled and has not jet requested. */
  4961. /* Bit 0 : Request status for RR[0]. */
  4962. #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */
  4963. #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */
  4964. #define WDT_REQSTATUS_RR0_DisabledOrRequested (0UL) /*!< RR[0] register is not enabled or has already requested reload. */
  4965. #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (1UL) /*!< RR[0] register is enabled and has not jet requested. */
  4966. /* Register: WDT_RREN */
  4967. /* Description: Reload request enable. */
  4968. /* Bit 7 : Enable or disable RR[7] register. */
  4969. #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */
  4970. #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */
  4971. #define WDT_RREN_RR7_Disabled (0UL) /*!< RR[7] register is disabled. */
  4972. #define WDT_RREN_RR7_Enabled (1UL) /*!< RR[7] register is enabled. */
  4973. /* Bit 6 : Enable or disable RR[6] register. */
  4974. #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */
  4975. #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */
  4976. #define WDT_RREN_RR6_Disabled (0UL) /*!< RR[6] register is disabled. */
  4977. #define WDT_RREN_RR6_Enabled (1UL) /*!< RR[6] register is enabled. */
  4978. /* Bit 5 : Enable or disable RR[5] register. */
  4979. #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */
  4980. #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */
  4981. #define WDT_RREN_RR5_Disabled (0UL) /*!< RR[5] register is disabled. */
  4982. #define WDT_RREN_RR5_Enabled (1UL) /*!< RR[5] register is enabled. */
  4983. /* Bit 4 : Enable or disable RR[4] register. */
  4984. #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */
  4985. #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */
  4986. #define WDT_RREN_RR4_Disabled (0UL) /*!< RR[4] register is disabled. */
  4987. #define WDT_RREN_RR4_Enabled (1UL) /*!< RR[4] register is enabled. */
  4988. /* Bit 3 : Enable or disable RR[3] register. */
  4989. #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */
  4990. #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */
  4991. #define WDT_RREN_RR3_Disabled (0UL) /*!< RR[3] register is disabled. */
  4992. #define WDT_RREN_RR3_Enabled (1UL) /*!< RR[3] register is enabled. */
  4993. /* Bit 2 : Enable or disable RR[2] register. */
  4994. #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */
  4995. #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */
  4996. #define WDT_RREN_RR2_Disabled (0UL) /*!< RR[2] register is disabled. */
  4997. #define WDT_RREN_RR2_Enabled (1UL) /*!< RR[2] register is enabled. */
  4998. /* Bit 1 : Enable or disable RR[1] register. */
  4999. #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */
  5000. #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */
  5001. #define WDT_RREN_RR1_Disabled (0UL) /*!< RR[1] register is disabled. */
  5002. #define WDT_RREN_RR1_Enabled (1UL) /*!< RR[1] register is enabled. */
  5003. /* Bit 0 : Enable or disable RR[0] register. */
  5004. #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */
  5005. #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */
  5006. #define WDT_RREN_RR0_Disabled (0UL) /*!< RR[0] register is disabled. */
  5007. #define WDT_RREN_RR0_Enabled (1UL) /*!< RR[0] register is enabled. */
  5008. /* Register: WDT_CONFIG */
  5009. /* Description: Configuration register. */
  5010. /* Bit 3 : Configure the watchdog to pause or not while the CPU is halted by the debugger. */
  5011. #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */
  5012. #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */
  5013. #define WDT_CONFIG_HALT_Pause (0UL) /*!< Pause watchdog while the CPU is halted by the debugger. */
  5014. #define WDT_CONFIG_HALT_Run (1UL) /*!< Do not pause watchdog while the CPU is halted by the debugger. */
  5015. /* Bit 0 : Configure the watchdog to pause or not while the CPU is sleeping. */
  5016. #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */
  5017. #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */
  5018. #define WDT_CONFIG_SLEEP_Pause (0UL) /*!< Pause watchdog while the CPU is asleep. */
  5019. #define WDT_CONFIG_SLEEP_Run (1UL) /*!< Do not pause watchdog while the CPU is asleep. */
  5020. /* Register: WDT_RR */
  5021. /* Description: Reload requests registers. */
  5022. /* Bits 31..0 : Reload register. */
  5023. #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */
  5024. #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */
  5025. #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer. */
  5026. /* Register: WDT_POWER */
  5027. /* Description: Peripheral power control. */
  5028. /* Bit 0 : Peripheral power control. */
  5029. #define WDT_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5030. #define WDT_POWER_POWER_Msk (0x1UL << WDT_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5031. #define WDT_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5032. #define WDT_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5033. /*lint --flb "Leave library region" */
  5034. #endif