nrf52_bitfields.h 723 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663
  1. /*
  2. Copyright (c) 2010 - 2020, 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 __NRF52_BITS_H
  32. #define __NRF52_BITS_H
  33. /*lint ++flb "Enter library region" */
  34. /* Peripheral: AAR */
  35. /* Description: Accelerated Address Resolver */
  36. /* Register: AAR_INTENSET */
  37. /* Description: Enable interrupt */
  38. /* Bit 2 : Write '1' to Enable interrupt for 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) /*!< Read: Disabled */
  42. #define AAR_INTENSET_NOTRESOLVED_Enabled (1UL) /*!< Read: Enabled */
  43. #define AAR_INTENSET_NOTRESOLVED_Set (1UL) /*!< Enable */
  44. /* Bit 1 : Write '1' to Enable interrupt for 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) /*!< Read: Disabled */
  48. #define AAR_INTENSET_RESOLVED_Enabled (1UL) /*!< Read: Enabled */
  49. #define AAR_INTENSET_RESOLVED_Set (1UL) /*!< Enable */
  50. /* Bit 0 : Write '1' to Enable interrupt for 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) /*!< Read: Disabled */
  54. #define AAR_INTENSET_END_Enabled (1UL) /*!< Read: Enabled */
  55. #define AAR_INTENSET_END_Set (1UL) /*!< Enable */
  56. /* Register: AAR_INTENCLR */
  57. /* Description: Disable interrupt */
  58. /* Bit 2 : Write '1' to Disable interrupt for 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) /*!< Read: Disabled */
  62. #define AAR_INTENCLR_NOTRESOLVED_Enabled (1UL) /*!< Read: Enabled */
  63. #define AAR_INTENCLR_NOTRESOLVED_Clear (1UL) /*!< Disable */
  64. /* Bit 1 : Write '1' to Disable interrupt for 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) /*!< Read: Disabled */
  68. #define AAR_INTENCLR_RESOLVED_Enabled (1UL) /*!< Read: Enabled */
  69. #define AAR_INTENCLR_RESOLVED_Clear (1UL) /*!< Disable */
  70. /* Bit 0 : Write '1' to Disable interrupt for END 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) /*!< Read: Disabled */
  74. #define AAR_INTENCLR_END_Enabled (1UL) /*!< Read: Enabled */
  75. #define AAR_INTENCLR_END_Clear (1UL) /*!< Disable */
  76. /* Register: AAR_STATUS */
  77. /* Description: Resolution status */
  78. /* Bits 3..0 : The IRK that was 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 or disable 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 (0UL) /*!< Disable */
  87. #define AAR_ENABLE_ENABLE_Enabled (3UL) /*!< Enable */
  88. /* Register: AAR_NIRK */
  89. /* Description: Number of IRKs */
  90. /* Bits 4..0 : Number of Identity root keys available 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_IRKPTR */
  94. /* Description: Pointer to IRK data structure */
  95. /* Bits 31..0 : Pointer to the IRK data structure */
  96. #define AAR_IRKPTR_IRKPTR_Pos (0UL) /*!< Position of IRKPTR field. */
  97. #define AAR_IRKPTR_IRKPTR_Msk (0xFFFFFFFFUL << AAR_IRKPTR_IRKPTR_Pos) /*!< Bit mask of IRKPTR field. */
  98. /* Register: AAR_ADDRPTR */
  99. /* Description: Pointer to the resolvable address */
  100. /* Bits 31..0 : Pointer to the resolvable address (6-bytes) */
  101. #define AAR_ADDRPTR_ADDRPTR_Pos (0UL) /*!< Position of ADDRPTR field. */
  102. #define AAR_ADDRPTR_ADDRPTR_Msk (0xFFFFFFFFUL << AAR_ADDRPTR_ADDRPTR_Pos) /*!< Bit mask of ADDRPTR field. */
  103. /* Register: AAR_SCRATCHPTR */
  104. /* Description: Pointer to data area used for temporary storage */
  105. /* Bits 31..0 : Pointer to a scratch data area used for temporary storage during resolution.A space of minimum 3 bytes must be reserved. */
  106. #define AAR_SCRATCHPTR_SCRATCHPTR_Pos (0UL) /*!< Position of SCRATCHPTR field. */
  107. #define AAR_SCRATCHPTR_SCRATCHPTR_Msk (0xFFFFFFFFUL << AAR_SCRATCHPTR_SCRATCHPTR_Pos) /*!< Bit mask of SCRATCHPTR field. */
  108. /* Peripheral: BPROT */
  109. /* Description: Block Protect */
  110. /* Register: BPROT_CONFIG0 */
  111. /* Description: Block protect configuration register 0 */
  112. /* Bit 31 : Enable protection for region 31. Write '0' has no effect. */
  113. #define BPROT_CONFIG0_REGION31_Pos (31UL) /*!< Position of REGION31 field. */
  114. #define BPROT_CONFIG0_REGION31_Msk (0x1UL << BPROT_CONFIG0_REGION31_Pos) /*!< Bit mask of REGION31 field. */
  115. #define BPROT_CONFIG0_REGION31_Disabled (0UL) /*!< Protection disabled */
  116. #define BPROT_CONFIG0_REGION31_Enabled (1UL) /*!< Protection enable */
  117. /* Bit 30 : Enable protection for region 30. Write '0' has no effect. */
  118. #define BPROT_CONFIG0_REGION30_Pos (30UL) /*!< Position of REGION30 field. */
  119. #define BPROT_CONFIG0_REGION30_Msk (0x1UL << BPROT_CONFIG0_REGION30_Pos) /*!< Bit mask of REGION30 field. */
  120. #define BPROT_CONFIG0_REGION30_Disabled (0UL) /*!< Protection disabled */
  121. #define BPROT_CONFIG0_REGION30_Enabled (1UL) /*!< Protection enable */
  122. /* Bit 29 : Enable protection for region 29. Write '0' has no effect. */
  123. #define BPROT_CONFIG0_REGION29_Pos (29UL) /*!< Position of REGION29 field. */
  124. #define BPROT_CONFIG0_REGION29_Msk (0x1UL << BPROT_CONFIG0_REGION29_Pos) /*!< Bit mask of REGION29 field. */
  125. #define BPROT_CONFIG0_REGION29_Disabled (0UL) /*!< Protection disabled */
  126. #define BPROT_CONFIG0_REGION29_Enabled (1UL) /*!< Protection enable */
  127. /* Bit 28 : Enable protection for region 28. Write '0' has no effect. */
  128. #define BPROT_CONFIG0_REGION28_Pos (28UL) /*!< Position of REGION28 field. */
  129. #define BPROT_CONFIG0_REGION28_Msk (0x1UL << BPROT_CONFIG0_REGION28_Pos) /*!< Bit mask of REGION28 field. */
  130. #define BPROT_CONFIG0_REGION28_Disabled (0UL) /*!< Protection disabled */
  131. #define BPROT_CONFIG0_REGION28_Enabled (1UL) /*!< Protection enable */
  132. /* Bit 27 : Enable protection for region 27. Write '0' has no effect. */
  133. #define BPROT_CONFIG0_REGION27_Pos (27UL) /*!< Position of REGION27 field. */
  134. #define BPROT_CONFIG0_REGION27_Msk (0x1UL << BPROT_CONFIG0_REGION27_Pos) /*!< Bit mask of REGION27 field. */
  135. #define BPROT_CONFIG0_REGION27_Disabled (0UL) /*!< Protection disabled */
  136. #define BPROT_CONFIG0_REGION27_Enabled (1UL) /*!< Protection enable */
  137. /* Bit 26 : Enable protection for region 26. Write '0' has no effect. */
  138. #define BPROT_CONFIG0_REGION26_Pos (26UL) /*!< Position of REGION26 field. */
  139. #define BPROT_CONFIG0_REGION26_Msk (0x1UL << BPROT_CONFIG0_REGION26_Pos) /*!< Bit mask of REGION26 field. */
  140. #define BPROT_CONFIG0_REGION26_Disabled (0UL) /*!< Protection disabled */
  141. #define BPROT_CONFIG0_REGION26_Enabled (1UL) /*!< Protection enable */
  142. /* Bit 25 : Enable protection for region 25. Write '0' has no effect. */
  143. #define BPROT_CONFIG0_REGION25_Pos (25UL) /*!< Position of REGION25 field. */
  144. #define BPROT_CONFIG0_REGION25_Msk (0x1UL << BPROT_CONFIG0_REGION25_Pos) /*!< Bit mask of REGION25 field. */
  145. #define BPROT_CONFIG0_REGION25_Disabled (0UL) /*!< Protection disabled */
  146. #define BPROT_CONFIG0_REGION25_Enabled (1UL) /*!< Protection enable */
  147. /* Bit 24 : Enable protection for region 24. Write '0' has no effect. */
  148. #define BPROT_CONFIG0_REGION24_Pos (24UL) /*!< Position of REGION24 field. */
  149. #define BPROT_CONFIG0_REGION24_Msk (0x1UL << BPROT_CONFIG0_REGION24_Pos) /*!< Bit mask of REGION24 field. */
  150. #define BPROT_CONFIG0_REGION24_Disabled (0UL) /*!< Protection disabled */
  151. #define BPROT_CONFIG0_REGION24_Enabled (1UL) /*!< Protection enable */
  152. /* Bit 23 : Enable protection for region 23. Write '0' has no effect. */
  153. #define BPROT_CONFIG0_REGION23_Pos (23UL) /*!< Position of REGION23 field. */
  154. #define BPROT_CONFIG0_REGION23_Msk (0x1UL << BPROT_CONFIG0_REGION23_Pos) /*!< Bit mask of REGION23 field. */
  155. #define BPROT_CONFIG0_REGION23_Disabled (0UL) /*!< Protection disabled */
  156. #define BPROT_CONFIG0_REGION23_Enabled (1UL) /*!< Protection enable */
  157. /* Bit 22 : Enable protection for region 22. Write '0' has no effect. */
  158. #define BPROT_CONFIG0_REGION22_Pos (22UL) /*!< Position of REGION22 field. */
  159. #define BPROT_CONFIG0_REGION22_Msk (0x1UL << BPROT_CONFIG0_REGION22_Pos) /*!< Bit mask of REGION22 field. */
  160. #define BPROT_CONFIG0_REGION22_Disabled (0UL) /*!< Protection disabled */
  161. #define BPROT_CONFIG0_REGION22_Enabled (1UL) /*!< Protection enable */
  162. /* Bit 21 : Enable protection for region 21. Write '0' has no effect. */
  163. #define BPROT_CONFIG0_REGION21_Pos (21UL) /*!< Position of REGION21 field. */
  164. #define BPROT_CONFIG0_REGION21_Msk (0x1UL << BPROT_CONFIG0_REGION21_Pos) /*!< Bit mask of REGION21 field. */
  165. #define BPROT_CONFIG0_REGION21_Disabled (0UL) /*!< Protection disabled */
  166. #define BPROT_CONFIG0_REGION21_Enabled (1UL) /*!< Protection enable */
  167. /* Bit 20 : Enable protection for region 20. Write '0' has no effect. */
  168. #define BPROT_CONFIG0_REGION20_Pos (20UL) /*!< Position of REGION20 field. */
  169. #define BPROT_CONFIG0_REGION20_Msk (0x1UL << BPROT_CONFIG0_REGION20_Pos) /*!< Bit mask of REGION20 field. */
  170. #define BPROT_CONFIG0_REGION20_Disabled (0UL) /*!< Protection disabled */
  171. #define BPROT_CONFIG0_REGION20_Enabled (1UL) /*!< Protection enable */
  172. /* Bit 19 : Enable protection for region 19. Write '0' has no effect. */
  173. #define BPROT_CONFIG0_REGION19_Pos (19UL) /*!< Position of REGION19 field. */
  174. #define BPROT_CONFIG0_REGION19_Msk (0x1UL << BPROT_CONFIG0_REGION19_Pos) /*!< Bit mask of REGION19 field. */
  175. #define BPROT_CONFIG0_REGION19_Disabled (0UL) /*!< Protection disabled */
  176. #define BPROT_CONFIG0_REGION19_Enabled (1UL) /*!< Protection enable */
  177. /* Bit 18 : Enable protection for region 18. Write '0' has no effect. */
  178. #define BPROT_CONFIG0_REGION18_Pos (18UL) /*!< Position of REGION18 field. */
  179. #define BPROT_CONFIG0_REGION18_Msk (0x1UL << BPROT_CONFIG0_REGION18_Pos) /*!< Bit mask of REGION18 field. */
  180. #define BPROT_CONFIG0_REGION18_Disabled (0UL) /*!< Protection disabled */
  181. #define BPROT_CONFIG0_REGION18_Enabled (1UL) /*!< Protection enable */
  182. /* Bit 17 : Enable protection for region 17. Write '0' has no effect. */
  183. #define BPROT_CONFIG0_REGION17_Pos (17UL) /*!< Position of REGION17 field. */
  184. #define BPROT_CONFIG0_REGION17_Msk (0x1UL << BPROT_CONFIG0_REGION17_Pos) /*!< Bit mask of REGION17 field. */
  185. #define BPROT_CONFIG0_REGION17_Disabled (0UL) /*!< Protection disabled */
  186. #define BPROT_CONFIG0_REGION17_Enabled (1UL) /*!< Protection enable */
  187. /* Bit 16 : Enable protection for region 16. Write '0' has no effect. */
  188. #define BPROT_CONFIG0_REGION16_Pos (16UL) /*!< Position of REGION16 field. */
  189. #define BPROT_CONFIG0_REGION16_Msk (0x1UL << BPROT_CONFIG0_REGION16_Pos) /*!< Bit mask of REGION16 field. */
  190. #define BPROT_CONFIG0_REGION16_Disabled (0UL) /*!< Protection disabled */
  191. #define BPROT_CONFIG0_REGION16_Enabled (1UL) /*!< Protection enable */
  192. /* Bit 15 : Enable protection for region 15. Write '0' has no effect. */
  193. #define BPROT_CONFIG0_REGION15_Pos (15UL) /*!< Position of REGION15 field. */
  194. #define BPROT_CONFIG0_REGION15_Msk (0x1UL << BPROT_CONFIG0_REGION15_Pos) /*!< Bit mask of REGION15 field. */
  195. #define BPROT_CONFIG0_REGION15_Disabled (0UL) /*!< Protection disabled */
  196. #define BPROT_CONFIG0_REGION15_Enabled (1UL) /*!< Protection enable */
  197. /* Bit 14 : Enable protection for region 14. Write '0' has no effect. */
  198. #define BPROT_CONFIG0_REGION14_Pos (14UL) /*!< Position of REGION14 field. */
  199. #define BPROT_CONFIG0_REGION14_Msk (0x1UL << BPROT_CONFIG0_REGION14_Pos) /*!< Bit mask of REGION14 field. */
  200. #define BPROT_CONFIG0_REGION14_Disabled (0UL) /*!< Protection disabled */
  201. #define BPROT_CONFIG0_REGION14_Enabled (1UL) /*!< Protection enable */
  202. /* Bit 13 : Enable protection for region 13. Write '0' has no effect. */
  203. #define BPROT_CONFIG0_REGION13_Pos (13UL) /*!< Position of REGION13 field. */
  204. #define BPROT_CONFIG0_REGION13_Msk (0x1UL << BPROT_CONFIG0_REGION13_Pos) /*!< Bit mask of REGION13 field. */
  205. #define BPROT_CONFIG0_REGION13_Disabled (0UL) /*!< Protection disabled */
  206. #define BPROT_CONFIG0_REGION13_Enabled (1UL) /*!< Protection enable */
  207. /* Bit 12 : Enable protection for region 12. Write '0' has no effect. */
  208. #define BPROT_CONFIG0_REGION12_Pos (12UL) /*!< Position of REGION12 field. */
  209. #define BPROT_CONFIG0_REGION12_Msk (0x1UL << BPROT_CONFIG0_REGION12_Pos) /*!< Bit mask of REGION12 field. */
  210. #define BPROT_CONFIG0_REGION12_Disabled (0UL) /*!< Protection disabled */
  211. #define BPROT_CONFIG0_REGION12_Enabled (1UL) /*!< Protection enable */
  212. /* Bit 11 : Enable protection for region 11. Write '0' has no effect. */
  213. #define BPROT_CONFIG0_REGION11_Pos (11UL) /*!< Position of REGION11 field. */
  214. #define BPROT_CONFIG0_REGION11_Msk (0x1UL << BPROT_CONFIG0_REGION11_Pos) /*!< Bit mask of REGION11 field. */
  215. #define BPROT_CONFIG0_REGION11_Disabled (0UL) /*!< Protection disabled */
  216. #define BPROT_CONFIG0_REGION11_Enabled (1UL) /*!< Protection enable */
  217. /* Bit 10 : Enable protection for region 10. Write '0' has no effect. */
  218. #define BPROT_CONFIG0_REGION10_Pos (10UL) /*!< Position of REGION10 field. */
  219. #define BPROT_CONFIG0_REGION10_Msk (0x1UL << BPROT_CONFIG0_REGION10_Pos) /*!< Bit mask of REGION10 field. */
  220. #define BPROT_CONFIG0_REGION10_Disabled (0UL) /*!< Protection disabled */
  221. #define BPROT_CONFIG0_REGION10_Enabled (1UL) /*!< Protection enable */
  222. /* Bit 9 : Enable protection for region 9. Write '0' has no effect. */
  223. #define BPROT_CONFIG0_REGION9_Pos (9UL) /*!< Position of REGION9 field. */
  224. #define BPROT_CONFIG0_REGION9_Msk (0x1UL << BPROT_CONFIG0_REGION9_Pos) /*!< Bit mask of REGION9 field. */
  225. #define BPROT_CONFIG0_REGION9_Disabled (0UL) /*!< Protection disabled */
  226. #define BPROT_CONFIG0_REGION9_Enabled (1UL) /*!< Protection enable */
  227. /* Bit 8 : Enable protection for region 8. Write '0' has no effect. */
  228. #define BPROT_CONFIG0_REGION8_Pos (8UL) /*!< Position of REGION8 field. */
  229. #define BPROT_CONFIG0_REGION8_Msk (0x1UL << BPROT_CONFIG0_REGION8_Pos) /*!< Bit mask of REGION8 field. */
  230. #define BPROT_CONFIG0_REGION8_Disabled (0UL) /*!< Protection disabled */
  231. #define BPROT_CONFIG0_REGION8_Enabled (1UL) /*!< Protection enable */
  232. /* Bit 7 : Enable protection for region 7. Write '0' has no effect. */
  233. #define BPROT_CONFIG0_REGION7_Pos (7UL) /*!< Position of REGION7 field. */
  234. #define BPROT_CONFIG0_REGION7_Msk (0x1UL << BPROT_CONFIG0_REGION7_Pos) /*!< Bit mask of REGION7 field. */
  235. #define BPROT_CONFIG0_REGION7_Disabled (0UL) /*!< Protection disabled */
  236. #define BPROT_CONFIG0_REGION7_Enabled (1UL) /*!< Protection enable */
  237. /* Bit 6 : Enable protection for region 6. Write '0' has no effect. */
  238. #define BPROT_CONFIG0_REGION6_Pos (6UL) /*!< Position of REGION6 field. */
  239. #define BPROT_CONFIG0_REGION6_Msk (0x1UL << BPROT_CONFIG0_REGION6_Pos) /*!< Bit mask of REGION6 field. */
  240. #define BPROT_CONFIG0_REGION6_Disabled (0UL) /*!< Protection disabled */
  241. #define BPROT_CONFIG0_REGION6_Enabled (1UL) /*!< Protection enable */
  242. /* Bit 5 : Enable protection for region 5. Write '0' has no effect. */
  243. #define BPROT_CONFIG0_REGION5_Pos (5UL) /*!< Position of REGION5 field. */
  244. #define BPROT_CONFIG0_REGION5_Msk (0x1UL << BPROT_CONFIG0_REGION5_Pos) /*!< Bit mask of REGION5 field. */
  245. #define BPROT_CONFIG0_REGION5_Disabled (0UL) /*!< Protection disabled */
  246. #define BPROT_CONFIG0_REGION5_Enabled (1UL) /*!< Protection enable */
  247. /* Bit 4 : Enable protection for region 4. Write '0' has no effect. */
  248. #define BPROT_CONFIG0_REGION4_Pos (4UL) /*!< Position of REGION4 field. */
  249. #define BPROT_CONFIG0_REGION4_Msk (0x1UL << BPROT_CONFIG0_REGION4_Pos) /*!< Bit mask of REGION4 field. */
  250. #define BPROT_CONFIG0_REGION4_Disabled (0UL) /*!< Protection disabled */
  251. #define BPROT_CONFIG0_REGION4_Enabled (1UL) /*!< Protection enable */
  252. /* Bit 3 : Enable protection for region 3. Write '0' has no effect. */
  253. #define BPROT_CONFIG0_REGION3_Pos (3UL) /*!< Position of REGION3 field. */
  254. #define BPROT_CONFIG0_REGION3_Msk (0x1UL << BPROT_CONFIG0_REGION3_Pos) /*!< Bit mask of REGION3 field. */
  255. #define BPROT_CONFIG0_REGION3_Disabled (0UL) /*!< Protection disabled */
  256. #define BPROT_CONFIG0_REGION3_Enabled (1UL) /*!< Protection enable */
  257. /* Bit 2 : Enable protection for region 2. Write '0' has no effect. */
  258. #define BPROT_CONFIG0_REGION2_Pos (2UL) /*!< Position of REGION2 field. */
  259. #define BPROT_CONFIG0_REGION2_Msk (0x1UL << BPROT_CONFIG0_REGION2_Pos) /*!< Bit mask of REGION2 field. */
  260. #define BPROT_CONFIG0_REGION2_Disabled (0UL) /*!< Protection disabled */
  261. #define BPROT_CONFIG0_REGION2_Enabled (1UL) /*!< Protection enable */
  262. /* Bit 1 : Enable protection for region 1. Write '0' has no effect. */
  263. #define BPROT_CONFIG0_REGION1_Pos (1UL) /*!< Position of REGION1 field. */
  264. #define BPROT_CONFIG0_REGION1_Msk (0x1UL << BPROT_CONFIG0_REGION1_Pos) /*!< Bit mask of REGION1 field. */
  265. #define BPROT_CONFIG0_REGION1_Disabled (0UL) /*!< Protection disabled */
  266. #define BPROT_CONFIG0_REGION1_Enabled (1UL) /*!< Protection enable */
  267. /* Bit 0 : Enable protection for region 0. Write '0' has no effect. */
  268. #define BPROT_CONFIG0_REGION0_Pos (0UL) /*!< Position of REGION0 field. */
  269. #define BPROT_CONFIG0_REGION0_Msk (0x1UL << BPROT_CONFIG0_REGION0_Pos) /*!< Bit mask of REGION0 field. */
  270. #define BPROT_CONFIG0_REGION0_Disabled (0UL) /*!< Protection disabled */
  271. #define BPROT_CONFIG0_REGION0_Enabled (1UL) /*!< Protection enable */
  272. /* Register: BPROT_CONFIG1 */
  273. /* Description: Block protect configuration register 1 */
  274. /* Bit 31 : Enable protection for region 63. Write '0' has no effect. */
  275. #define BPROT_CONFIG1_REGION63_Pos (31UL) /*!< Position of REGION63 field. */
  276. #define BPROT_CONFIG1_REGION63_Msk (0x1UL << BPROT_CONFIG1_REGION63_Pos) /*!< Bit mask of REGION63 field. */
  277. #define BPROT_CONFIG1_REGION63_Disabled (0UL) /*!< Protection disabled */
  278. #define BPROT_CONFIG1_REGION63_Enabled (1UL) /*!< Protection enabled */
  279. /* Bit 30 : Enable protection for region 62. Write '0' has no effect. */
  280. #define BPROT_CONFIG1_REGION62_Pos (30UL) /*!< Position of REGION62 field. */
  281. #define BPROT_CONFIG1_REGION62_Msk (0x1UL << BPROT_CONFIG1_REGION62_Pos) /*!< Bit mask of REGION62 field. */
  282. #define BPROT_CONFIG1_REGION62_Disabled (0UL) /*!< Protection disabled */
  283. #define BPROT_CONFIG1_REGION62_Enabled (1UL) /*!< Protection enabled */
  284. /* Bit 29 : Enable protection for region 61. Write '0' has no effect. */
  285. #define BPROT_CONFIG1_REGION61_Pos (29UL) /*!< Position of REGION61 field. */
  286. #define BPROT_CONFIG1_REGION61_Msk (0x1UL << BPROT_CONFIG1_REGION61_Pos) /*!< Bit mask of REGION61 field. */
  287. #define BPROT_CONFIG1_REGION61_Disabled (0UL) /*!< Protection disabled */
  288. #define BPROT_CONFIG1_REGION61_Enabled (1UL) /*!< Protection enabled */
  289. /* Bit 28 : Enable protection for region 60. Write '0' has no effect. */
  290. #define BPROT_CONFIG1_REGION60_Pos (28UL) /*!< Position of REGION60 field. */
  291. #define BPROT_CONFIG1_REGION60_Msk (0x1UL << BPROT_CONFIG1_REGION60_Pos) /*!< Bit mask of REGION60 field. */
  292. #define BPROT_CONFIG1_REGION60_Disabled (0UL) /*!< Protection disabled */
  293. #define BPROT_CONFIG1_REGION60_Enabled (1UL) /*!< Protection enabled */
  294. /* Bit 27 : Enable protection for region 59. Write '0' has no effect. */
  295. #define BPROT_CONFIG1_REGION59_Pos (27UL) /*!< Position of REGION59 field. */
  296. #define BPROT_CONFIG1_REGION59_Msk (0x1UL << BPROT_CONFIG1_REGION59_Pos) /*!< Bit mask of REGION59 field. */
  297. #define BPROT_CONFIG1_REGION59_Disabled (0UL) /*!< Protection disabled */
  298. #define BPROT_CONFIG1_REGION59_Enabled (1UL) /*!< Protection enabled */
  299. /* Bit 26 : Enable protection for region 58. Write '0' has no effect. */
  300. #define BPROT_CONFIG1_REGION58_Pos (26UL) /*!< Position of REGION58 field. */
  301. #define BPROT_CONFIG1_REGION58_Msk (0x1UL << BPROT_CONFIG1_REGION58_Pos) /*!< Bit mask of REGION58 field. */
  302. #define BPROT_CONFIG1_REGION58_Disabled (0UL) /*!< Protection disabled */
  303. #define BPROT_CONFIG1_REGION58_Enabled (1UL) /*!< Protection enabled */
  304. /* Bit 25 : Enable protection for region 57. Write '0' has no effect. */
  305. #define BPROT_CONFIG1_REGION57_Pos (25UL) /*!< Position of REGION57 field. */
  306. #define BPROT_CONFIG1_REGION57_Msk (0x1UL << BPROT_CONFIG1_REGION57_Pos) /*!< Bit mask of REGION57 field. */
  307. #define BPROT_CONFIG1_REGION57_Disabled (0UL) /*!< Protection disabled */
  308. #define BPROT_CONFIG1_REGION57_Enabled (1UL) /*!< Protection enabled */
  309. /* Bit 24 : Enable protection for region 56. Write '0' has no effect. */
  310. #define BPROT_CONFIG1_REGION56_Pos (24UL) /*!< Position of REGION56 field. */
  311. #define BPROT_CONFIG1_REGION56_Msk (0x1UL << BPROT_CONFIG1_REGION56_Pos) /*!< Bit mask of REGION56 field. */
  312. #define BPROT_CONFIG1_REGION56_Disabled (0UL) /*!< Protection disabled */
  313. #define BPROT_CONFIG1_REGION56_Enabled (1UL) /*!< Protection enabled */
  314. /* Bit 23 : Enable protection for region 55. Write '0' has no effect. */
  315. #define BPROT_CONFIG1_REGION55_Pos (23UL) /*!< Position of REGION55 field. */
  316. #define BPROT_CONFIG1_REGION55_Msk (0x1UL << BPROT_CONFIG1_REGION55_Pos) /*!< Bit mask of REGION55 field. */
  317. #define BPROT_CONFIG1_REGION55_Disabled (0UL) /*!< Protection disabled */
  318. #define BPROT_CONFIG1_REGION55_Enabled (1UL) /*!< Protection enabled */
  319. /* Bit 22 : Enable protection for region 54. Write '0' has no effect. */
  320. #define BPROT_CONFIG1_REGION54_Pos (22UL) /*!< Position of REGION54 field. */
  321. #define BPROT_CONFIG1_REGION54_Msk (0x1UL << BPROT_CONFIG1_REGION54_Pos) /*!< Bit mask of REGION54 field. */
  322. #define BPROT_CONFIG1_REGION54_Disabled (0UL) /*!< Protection disabled */
  323. #define BPROT_CONFIG1_REGION54_Enabled (1UL) /*!< Protection enabled */
  324. /* Bit 21 : Enable protection for region 53. Write '0' has no effect. */
  325. #define BPROT_CONFIG1_REGION53_Pos (21UL) /*!< Position of REGION53 field. */
  326. #define BPROT_CONFIG1_REGION53_Msk (0x1UL << BPROT_CONFIG1_REGION53_Pos) /*!< Bit mask of REGION53 field. */
  327. #define BPROT_CONFIG1_REGION53_Disabled (0UL) /*!< Protection disabled */
  328. #define BPROT_CONFIG1_REGION53_Enabled (1UL) /*!< Protection enabled */
  329. /* Bit 20 : Enable protection for region 52. Write '0' has no effect. */
  330. #define BPROT_CONFIG1_REGION52_Pos (20UL) /*!< Position of REGION52 field. */
  331. #define BPROT_CONFIG1_REGION52_Msk (0x1UL << BPROT_CONFIG1_REGION52_Pos) /*!< Bit mask of REGION52 field. */
  332. #define BPROT_CONFIG1_REGION52_Disabled (0UL) /*!< Protection disabled */
  333. #define BPROT_CONFIG1_REGION52_Enabled (1UL) /*!< Protection enabled */
  334. /* Bit 19 : Enable protection for region 51. Write '0' has no effect. */
  335. #define BPROT_CONFIG1_REGION51_Pos (19UL) /*!< Position of REGION51 field. */
  336. #define BPROT_CONFIG1_REGION51_Msk (0x1UL << BPROT_CONFIG1_REGION51_Pos) /*!< Bit mask of REGION51 field. */
  337. #define BPROT_CONFIG1_REGION51_Disabled (0UL) /*!< Protection disabled */
  338. #define BPROT_CONFIG1_REGION51_Enabled (1UL) /*!< Protection enabled */
  339. /* Bit 18 : Enable protection for region 50. Write '0' has no effect. */
  340. #define BPROT_CONFIG1_REGION50_Pos (18UL) /*!< Position of REGION50 field. */
  341. #define BPROT_CONFIG1_REGION50_Msk (0x1UL << BPROT_CONFIG1_REGION50_Pos) /*!< Bit mask of REGION50 field. */
  342. #define BPROT_CONFIG1_REGION50_Disabled (0UL) /*!< Protection disabled */
  343. #define BPROT_CONFIG1_REGION50_Enabled (1UL) /*!< Protection enabled */
  344. /* Bit 17 : Enable protection for region 49. Write '0' has no effect. */
  345. #define BPROT_CONFIG1_REGION49_Pos (17UL) /*!< Position of REGION49 field. */
  346. #define BPROT_CONFIG1_REGION49_Msk (0x1UL << BPROT_CONFIG1_REGION49_Pos) /*!< Bit mask of REGION49 field. */
  347. #define BPROT_CONFIG1_REGION49_Disabled (0UL) /*!< Protection disabled */
  348. #define BPROT_CONFIG1_REGION49_Enabled (1UL) /*!< Protection enabled */
  349. /* Bit 16 : Enable protection for region 48. Write '0' has no effect. */
  350. #define BPROT_CONFIG1_REGION48_Pos (16UL) /*!< Position of REGION48 field. */
  351. #define BPROT_CONFIG1_REGION48_Msk (0x1UL << BPROT_CONFIG1_REGION48_Pos) /*!< Bit mask of REGION48 field. */
  352. #define BPROT_CONFIG1_REGION48_Disabled (0UL) /*!< Protection disabled */
  353. #define BPROT_CONFIG1_REGION48_Enabled (1UL) /*!< Protection enabled */
  354. /* Bit 15 : Enable protection for region 47. Write '0' has no effect. */
  355. #define BPROT_CONFIG1_REGION47_Pos (15UL) /*!< Position of REGION47 field. */
  356. #define BPROT_CONFIG1_REGION47_Msk (0x1UL << BPROT_CONFIG1_REGION47_Pos) /*!< Bit mask of REGION47 field. */
  357. #define BPROT_CONFIG1_REGION47_Disabled (0UL) /*!< Protection disabled */
  358. #define BPROT_CONFIG1_REGION47_Enabled (1UL) /*!< Protection enabled */
  359. /* Bit 14 : Enable protection for region 46. Write '0' has no effect. */
  360. #define BPROT_CONFIG1_REGION46_Pos (14UL) /*!< Position of REGION46 field. */
  361. #define BPROT_CONFIG1_REGION46_Msk (0x1UL << BPROT_CONFIG1_REGION46_Pos) /*!< Bit mask of REGION46 field. */
  362. #define BPROT_CONFIG1_REGION46_Disabled (0UL) /*!< Protection disabled */
  363. #define BPROT_CONFIG1_REGION46_Enabled (1UL) /*!< Protection enabled */
  364. /* Bit 13 : Enable protection for region 45. Write '0' has no effect. */
  365. #define BPROT_CONFIG1_REGION45_Pos (13UL) /*!< Position of REGION45 field. */
  366. #define BPROT_CONFIG1_REGION45_Msk (0x1UL << BPROT_CONFIG1_REGION45_Pos) /*!< Bit mask of REGION45 field. */
  367. #define BPROT_CONFIG1_REGION45_Disabled (0UL) /*!< Protection disabled */
  368. #define BPROT_CONFIG1_REGION45_Enabled (1UL) /*!< Protection enabled */
  369. /* Bit 12 : Enable protection for region 44. Write '0' has no effect. */
  370. #define BPROT_CONFIG1_REGION44_Pos (12UL) /*!< Position of REGION44 field. */
  371. #define BPROT_CONFIG1_REGION44_Msk (0x1UL << BPROT_CONFIG1_REGION44_Pos) /*!< Bit mask of REGION44 field. */
  372. #define BPROT_CONFIG1_REGION44_Disabled (0UL) /*!< Protection disabled */
  373. #define BPROT_CONFIG1_REGION44_Enabled (1UL) /*!< Protection enabled */
  374. /* Bit 11 : Enable protection for region 43. Write '0' has no effect. */
  375. #define BPROT_CONFIG1_REGION43_Pos (11UL) /*!< Position of REGION43 field. */
  376. #define BPROT_CONFIG1_REGION43_Msk (0x1UL << BPROT_CONFIG1_REGION43_Pos) /*!< Bit mask of REGION43 field. */
  377. #define BPROT_CONFIG1_REGION43_Disabled (0UL) /*!< Protection disabled */
  378. #define BPROT_CONFIG1_REGION43_Enabled (1UL) /*!< Protection enabled */
  379. /* Bit 10 : Enable protection for region 42. Write '0' has no effect. */
  380. #define BPROT_CONFIG1_REGION42_Pos (10UL) /*!< Position of REGION42 field. */
  381. #define BPROT_CONFIG1_REGION42_Msk (0x1UL << BPROT_CONFIG1_REGION42_Pos) /*!< Bit mask of REGION42 field. */
  382. #define BPROT_CONFIG1_REGION42_Disabled (0UL) /*!< Protection disabled */
  383. #define BPROT_CONFIG1_REGION42_Enabled (1UL) /*!< Protection enabled */
  384. /* Bit 9 : Enable protection for region 41. Write '0' has no effect. */
  385. #define BPROT_CONFIG1_REGION41_Pos (9UL) /*!< Position of REGION41 field. */
  386. #define BPROT_CONFIG1_REGION41_Msk (0x1UL << BPROT_CONFIG1_REGION41_Pos) /*!< Bit mask of REGION41 field. */
  387. #define BPROT_CONFIG1_REGION41_Disabled (0UL) /*!< Protection disabled */
  388. #define BPROT_CONFIG1_REGION41_Enabled (1UL) /*!< Protection enabled */
  389. /* Bit 8 : Enable protection for region 40. Write '0' has no effect. */
  390. #define BPROT_CONFIG1_REGION40_Pos (8UL) /*!< Position of REGION40 field. */
  391. #define BPROT_CONFIG1_REGION40_Msk (0x1UL << BPROT_CONFIG1_REGION40_Pos) /*!< Bit mask of REGION40 field. */
  392. #define BPROT_CONFIG1_REGION40_Disabled (0UL) /*!< Protection disabled */
  393. #define BPROT_CONFIG1_REGION40_Enabled (1UL) /*!< Protection enabled */
  394. /* Bit 7 : Enable protection for region 39. Write '0' has no effect. */
  395. #define BPROT_CONFIG1_REGION39_Pos (7UL) /*!< Position of REGION39 field. */
  396. #define BPROT_CONFIG1_REGION39_Msk (0x1UL << BPROT_CONFIG1_REGION39_Pos) /*!< Bit mask of REGION39 field. */
  397. #define BPROT_CONFIG1_REGION39_Disabled (0UL) /*!< Protection disabled */
  398. #define BPROT_CONFIG1_REGION39_Enabled (1UL) /*!< Protection enabled */
  399. /* Bit 6 : Enable protection for region 38. Write '0' has no effect. */
  400. #define BPROT_CONFIG1_REGION38_Pos (6UL) /*!< Position of REGION38 field. */
  401. #define BPROT_CONFIG1_REGION38_Msk (0x1UL << BPROT_CONFIG1_REGION38_Pos) /*!< Bit mask of REGION38 field. */
  402. #define BPROT_CONFIG1_REGION38_Disabled (0UL) /*!< Protection disabled */
  403. #define BPROT_CONFIG1_REGION38_Enabled (1UL) /*!< Protection enabled */
  404. /* Bit 5 : Enable protection for region 37. Write '0' has no effect. */
  405. #define BPROT_CONFIG1_REGION37_Pos (5UL) /*!< Position of REGION37 field. */
  406. #define BPROT_CONFIG1_REGION37_Msk (0x1UL << BPROT_CONFIG1_REGION37_Pos) /*!< Bit mask of REGION37 field. */
  407. #define BPROT_CONFIG1_REGION37_Disabled (0UL) /*!< Protection disabled */
  408. #define BPROT_CONFIG1_REGION37_Enabled (1UL) /*!< Protection enabled */
  409. /* Bit 4 : Enable protection for region 36. Write '0' has no effect. */
  410. #define BPROT_CONFIG1_REGION36_Pos (4UL) /*!< Position of REGION36 field. */
  411. #define BPROT_CONFIG1_REGION36_Msk (0x1UL << BPROT_CONFIG1_REGION36_Pos) /*!< Bit mask of REGION36 field. */
  412. #define BPROT_CONFIG1_REGION36_Disabled (0UL) /*!< Protection disabled */
  413. #define BPROT_CONFIG1_REGION36_Enabled (1UL) /*!< Protection enabled */
  414. /* Bit 3 : Enable protection for region 35. Write '0' has no effect. */
  415. #define BPROT_CONFIG1_REGION35_Pos (3UL) /*!< Position of REGION35 field. */
  416. #define BPROT_CONFIG1_REGION35_Msk (0x1UL << BPROT_CONFIG1_REGION35_Pos) /*!< Bit mask of REGION35 field. */
  417. #define BPROT_CONFIG1_REGION35_Disabled (0UL) /*!< Protection disabled */
  418. #define BPROT_CONFIG1_REGION35_Enabled (1UL) /*!< Protection enabled */
  419. /* Bit 2 : Enable protection for region 34. Write '0' has no effect. */
  420. #define BPROT_CONFIG1_REGION34_Pos (2UL) /*!< Position of REGION34 field. */
  421. #define BPROT_CONFIG1_REGION34_Msk (0x1UL << BPROT_CONFIG1_REGION34_Pos) /*!< Bit mask of REGION34 field. */
  422. #define BPROT_CONFIG1_REGION34_Disabled (0UL) /*!< Protection disabled */
  423. #define BPROT_CONFIG1_REGION34_Enabled (1UL) /*!< Protection enabled */
  424. /* Bit 1 : Enable protection for region 33. Write '0' has no effect. */
  425. #define BPROT_CONFIG1_REGION33_Pos (1UL) /*!< Position of REGION33 field. */
  426. #define BPROT_CONFIG1_REGION33_Msk (0x1UL << BPROT_CONFIG1_REGION33_Pos) /*!< Bit mask of REGION33 field. */
  427. #define BPROT_CONFIG1_REGION33_Disabled (0UL) /*!< Protection disabled */
  428. #define BPROT_CONFIG1_REGION33_Enabled (1UL) /*!< Protection enabled */
  429. /* Bit 0 : Enable protection for region 32. Write '0' has no effect. */
  430. #define BPROT_CONFIG1_REGION32_Pos (0UL) /*!< Position of REGION32 field. */
  431. #define BPROT_CONFIG1_REGION32_Msk (0x1UL << BPROT_CONFIG1_REGION32_Pos) /*!< Bit mask of REGION32 field. */
  432. #define BPROT_CONFIG1_REGION32_Disabled (0UL) /*!< Protection disabled */
  433. #define BPROT_CONFIG1_REGION32_Enabled (1UL) /*!< Protection enabled */
  434. /* Register: BPROT_DISABLEINDEBUG */
  435. /* Description: Disable protection mechanism in debug interface mode */
  436. /* Bit 0 : Disable the protection mechanism for NVM regions while in debug interface mode. This register will only disable the protection mechanism if the device is in debug interface mode. */
  437. #define BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Pos (0UL) /*!< Position of DISABLEINDEBUG field. */
  438. #define BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Msk (0x1UL << BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Pos) /*!< Bit mask of DISABLEINDEBUG field. */
  439. #define BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Enabled (0UL) /*!< Enable in debug */
  440. #define BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Disabled (1UL) /*!< Disable in debug */
  441. /* Register: BPROT_CONFIG2 */
  442. /* Description: Block protect configuration register 2 */
  443. /* Bit 31 : Enable protection for region 95. Write '0' has no effect. */
  444. #define BPROT_CONFIG2_REGION95_Pos (31UL) /*!< Position of REGION95 field. */
  445. #define BPROT_CONFIG2_REGION95_Msk (0x1UL << BPROT_CONFIG2_REGION95_Pos) /*!< Bit mask of REGION95 field. */
  446. #define BPROT_CONFIG2_REGION95_Disabled (0UL) /*!< Protection disabled */
  447. #define BPROT_CONFIG2_REGION95_Enabled (1UL) /*!< Protection enabled */
  448. /* Bit 30 : Enable protection for region 94. Write '0' has no effect. */
  449. #define BPROT_CONFIG2_REGION94_Pos (30UL) /*!< Position of REGION94 field. */
  450. #define BPROT_CONFIG2_REGION94_Msk (0x1UL << BPROT_CONFIG2_REGION94_Pos) /*!< Bit mask of REGION94 field. */
  451. #define BPROT_CONFIG2_REGION94_Disabled (0UL) /*!< Protection disabled */
  452. #define BPROT_CONFIG2_REGION94_Enabled (1UL) /*!< Protection enabled */
  453. /* Bit 29 : Enable protection for region 93. Write '0' has no effect. */
  454. #define BPROT_CONFIG2_REGION93_Pos (29UL) /*!< Position of REGION93 field. */
  455. #define BPROT_CONFIG2_REGION93_Msk (0x1UL << BPROT_CONFIG2_REGION93_Pos) /*!< Bit mask of REGION93 field. */
  456. #define BPROT_CONFIG2_REGION93_Disabled (0UL) /*!< Protection disabled */
  457. #define BPROT_CONFIG2_REGION93_Enabled (1UL) /*!< Protection enabled */
  458. /* Bit 28 : Enable protection for region 92. Write '0' has no effect. */
  459. #define BPROT_CONFIG2_REGION92_Pos (28UL) /*!< Position of REGION92 field. */
  460. #define BPROT_CONFIG2_REGION92_Msk (0x1UL << BPROT_CONFIG2_REGION92_Pos) /*!< Bit mask of REGION92 field. */
  461. #define BPROT_CONFIG2_REGION92_Disabled (0UL) /*!< Protection disabled */
  462. #define BPROT_CONFIG2_REGION92_Enabled (1UL) /*!< Protection enabled */
  463. /* Bit 27 : Enable protection for region 91. Write '0' has no effect. */
  464. #define BPROT_CONFIG2_REGION91_Pos (27UL) /*!< Position of REGION91 field. */
  465. #define BPROT_CONFIG2_REGION91_Msk (0x1UL << BPROT_CONFIG2_REGION91_Pos) /*!< Bit mask of REGION91 field. */
  466. #define BPROT_CONFIG2_REGION91_Disabled (0UL) /*!< Protection disabled */
  467. #define BPROT_CONFIG2_REGION91_Enabled (1UL) /*!< Protection enabled */
  468. /* Bit 26 : Enable protection for region 90. Write '0' has no effect. */
  469. #define BPROT_CONFIG2_REGION90_Pos (26UL) /*!< Position of REGION90 field. */
  470. #define BPROT_CONFIG2_REGION90_Msk (0x1UL << BPROT_CONFIG2_REGION90_Pos) /*!< Bit mask of REGION90 field. */
  471. #define BPROT_CONFIG2_REGION90_Disabled (0UL) /*!< Protection disabled */
  472. #define BPROT_CONFIG2_REGION90_Enabled (1UL) /*!< Protection enabled */
  473. /* Bit 25 : Enable protection for region 89. Write '0' has no effect. */
  474. #define BPROT_CONFIG2_REGION89_Pos (25UL) /*!< Position of REGION89 field. */
  475. #define BPROT_CONFIG2_REGION89_Msk (0x1UL << BPROT_CONFIG2_REGION89_Pos) /*!< Bit mask of REGION89 field. */
  476. #define BPROT_CONFIG2_REGION89_Disabled (0UL) /*!< Protection disabled */
  477. #define BPROT_CONFIG2_REGION89_Enabled (1UL) /*!< Protection enabled */
  478. /* Bit 24 : Enable protection for region 88. Write '0' has no effect. */
  479. #define BPROT_CONFIG2_REGION88_Pos (24UL) /*!< Position of REGION88 field. */
  480. #define BPROT_CONFIG2_REGION88_Msk (0x1UL << BPROT_CONFIG2_REGION88_Pos) /*!< Bit mask of REGION88 field. */
  481. #define BPROT_CONFIG2_REGION88_Disabled (0UL) /*!< Protection disabled */
  482. #define BPROT_CONFIG2_REGION88_Enabled (1UL) /*!< Protection enabled */
  483. /* Bit 23 : Enable protection for region 87. Write '0' has no effect. */
  484. #define BPROT_CONFIG2_REGION87_Pos (23UL) /*!< Position of REGION87 field. */
  485. #define BPROT_CONFIG2_REGION87_Msk (0x1UL << BPROT_CONFIG2_REGION87_Pos) /*!< Bit mask of REGION87 field. */
  486. #define BPROT_CONFIG2_REGION87_Disabled (0UL) /*!< Protection disabled */
  487. #define BPROT_CONFIG2_REGION87_Enabled (1UL) /*!< Protection enabled */
  488. /* Bit 22 : Enable protection for region 86. Write '0' has no effect. */
  489. #define BPROT_CONFIG2_REGION86_Pos (22UL) /*!< Position of REGION86 field. */
  490. #define BPROT_CONFIG2_REGION86_Msk (0x1UL << BPROT_CONFIG2_REGION86_Pos) /*!< Bit mask of REGION86 field. */
  491. #define BPROT_CONFIG2_REGION86_Disabled (0UL) /*!< Protection disabled */
  492. #define BPROT_CONFIG2_REGION86_Enabled (1UL) /*!< Protection enabled */
  493. /* Bit 21 : Enable protection for region 85. Write '0' has no effect. */
  494. #define BPROT_CONFIG2_REGION85_Pos (21UL) /*!< Position of REGION85 field. */
  495. #define BPROT_CONFIG2_REGION85_Msk (0x1UL << BPROT_CONFIG2_REGION85_Pos) /*!< Bit mask of REGION85 field. */
  496. #define BPROT_CONFIG2_REGION85_Disabled (0UL) /*!< Protection disabled */
  497. #define BPROT_CONFIG2_REGION85_Enabled (1UL) /*!< Protection enabled */
  498. /* Bit 20 : Enable protection for region 84. Write '0' has no effect. */
  499. #define BPROT_CONFIG2_REGION84_Pos (20UL) /*!< Position of REGION84 field. */
  500. #define BPROT_CONFIG2_REGION84_Msk (0x1UL << BPROT_CONFIG2_REGION84_Pos) /*!< Bit mask of REGION84 field. */
  501. #define BPROT_CONFIG2_REGION84_Disabled (0UL) /*!< Protection disabled */
  502. #define BPROT_CONFIG2_REGION84_Enabled (1UL) /*!< Protection enabled */
  503. /* Bit 19 : Enable protection for region 83. Write '0' has no effect. */
  504. #define BPROT_CONFIG2_REGION83_Pos (19UL) /*!< Position of REGION83 field. */
  505. #define BPROT_CONFIG2_REGION83_Msk (0x1UL << BPROT_CONFIG2_REGION83_Pos) /*!< Bit mask of REGION83 field. */
  506. #define BPROT_CONFIG2_REGION83_Disabled (0UL) /*!< Protection disabled */
  507. #define BPROT_CONFIG2_REGION83_Enabled (1UL) /*!< Protection enabled */
  508. /* Bit 18 : Enable protection for region 82. Write '0' has no effect. */
  509. #define BPROT_CONFIG2_REGION82_Pos (18UL) /*!< Position of REGION82 field. */
  510. #define BPROT_CONFIG2_REGION82_Msk (0x1UL << BPROT_CONFIG2_REGION82_Pos) /*!< Bit mask of REGION82 field. */
  511. #define BPROT_CONFIG2_REGION82_Disabled (0UL) /*!< Protection disabled */
  512. #define BPROT_CONFIG2_REGION82_Enabled (1UL) /*!< Protection enabled */
  513. /* Bit 17 : Enable protection for region 81. Write '0' has no effect. */
  514. #define BPROT_CONFIG2_REGION81_Pos (17UL) /*!< Position of REGION81 field. */
  515. #define BPROT_CONFIG2_REGION81_Msk (0x1UL << BPROT_CONFIG2_REGION81_Pos) /*!< Bit mask of REGION81 field. */
  516. #define BPROT_CONFIG2_REGION81_Disabled (0UL) /*!< Protection disabled */
  517. #define BPROT_CONFIG2_REGION81_Enabled (1UL) /*!< Protection enabled */
  518. /* Bit 16 : Enable protection for region 80. Write '0' has no effect. */
  519. #define BPROT_CONFIG2_REGION80_Pos (16UL) /*!< Position of REGION80 field. */
  520. #define BPROT_CONFIG2_REGION80_Msk (0x1UL << BPROT_CONFIG2_REGION80_Pos) /*!< Bit mask of REGION80 field. */
  521. #define BPROT_CONFIG2_REGION80_Disabled (0UL) /*!< Protection disabled */
  522. #define BPROT_CONFIG2_REGION80_Enabled (1UL) /*!< Protection enabled */
  523. /* Bit 15 : Enable protection for region 79. Write '0' has no effect. */
  524. #define BPROT_CONFIG2_REGION79_Pos (15UL) /*!< Position of REGION79 field. */
  525. #define BPROT_CONFIG2_REGION79_Msk (0x1UL << BPROT_CONFIG2_REGION79_Pos) /*!< Bit mask of REGION79 field. */
  526. #define BPROT_CONFIG2_REGION79_Disabled (0UL) /*!< Protection disabled */
  527. #define BPROT_CONFIG2_REGION79_Enabled (1UL) /*!< Protection enabled */
  528. /* Bit 14 : Enable protection for region 78. Write '0' has no effect. */
  529. #define BPROT_CONFIG2_REGION78_Pos (14UL) /*!< Position of REGION78 field. */
  530. #define BPROT_CONFIG2_REGION78_Msk (0x1UL << BPROT_CONFIG2_REGION78_Pos) /*!< Bit mask of REGION78 field. */
  531. #define BPROT_CONFIG2_REGION78_Disabled (0UL) /*!< Protection disabled */
  532. #define BPROT_CONFIG2_REGION78_Enabled (1UL) /*!< Protection enabled */
  533. /* Bit 13 : Enable protection for region 77. Write '0' has no effect. */
  534. #define BPROT_CONFIG2_REGION77_Pos (13UL) /*!< Position of REGION77 field. */
  535. #define BPROT_CONFIG2_REGION77_Msk (0x1UL << BPROT_CONFIG2_REGION77_Pos) /*!< Bit mask of REGION77 field. */
  536. #define BPROT_CONFIG2_REGION77_Disabled (0UL) /*!< Protection disabled */
  537. #define BPROT_CONFIG2_REGION77_Enabled (1UL) /*!< Protection enabled */
  538. /* Bit 12 : Enable protection for region 76. Write '0' has no effect. */
  539. #define BPROT_CONFIG2_REGION76_Pos (12UL) /*!< Position of REGION76 field. */
  540. #define BPROT_CONFIG2_REGION76_Msk (0x1UL << BPROT_CONFIG2_REGION76_Pos) /*!< Bit mask of REGION76 field. */
  541. #define BPROT_CONFIG2_REGION76_Disabled (0UL) /*!< Protection disabled */
  542. #define BPROT_CONFIG2_REGION76_Enabled (1UL) /*!< Protection enabled */
  543. /* Bit 11 : Enable protection for region 75. Write '0' has no effect. */
  544. #define BPROT_CONFIG2_REGION75_Pos (11UL) /*!< Position of REGION75 field. */
  545. #define BPROT_CONFIG2_REGION75_Msk (0x1UL << BPROT_CONFIG2_REGION75_Pos) /*!< Bit mask of REGION75 field. */
  546. #define BPROT_CONFIG2_REGION75_Disabled (0UL) /*!< Protection disabled */
  547. #define BPROT_CONFIG2_REGION75_Enabled (1UL) /*!< Protection enabled */
  548. /* Bit 10 : Enable protection for region 74. Write '0' has no effect. */
  549. #define BPROT_CONFIG2_REGION74_Pos (10UL) /*!< Position of REGION74 field. */
  550. #define BPROT_CONFIG2_REGION74_Msk (0x1UL << BPROT_CONFIG2_REGION74_Pos) /*!< Bit mask of REGION74 field. */
  551. #define BPROT_CONFIG2_REGION74_Disabled (0UL) /*!< Protection disabled */
  552. #define BPROT_CONFIG2_REGION74_Enabled (1UL) /*!< Protection enabled */
  553. /* Bit 9 : Enable protection for region 73. Write '0' has no effect. */
  554. #define BPROT_CONFIG2_REGION73_Pos (9UL) /*!< Position of REGION73 field. */
  555. #define BPROT_CONFIG2_REGION73_Msk (0x1UL << BPROT_CONFIG2_REGION73_Pos) /*!< Bit mask of REGION73 field. */
  556. #define BPROT_CONFIG2_REGION73_Disabled (0UL) /*!< Protection disabled */
  557. #define BPROT_CONFIG2_REGION73_Enabled (1UL) /*!< Protection enabled */
  558. /* Bit 8 : Enable protection for region 72. Write '0' has no effect. */
  559. #define BPROT_CONFIG2_REGION72_Pos (8UL) /*!< Position of REGION72 field. */
  560. #define BPROT_CONFIG2_REGION72_Msk (0x1UL << BPROT_CONFIG2_REGION72_Pos) /*!< Bit mask of REGION72 field. */
  561. #define BPROT_CONFIG2_REGION72_Disabled (0UL) /*!< Protection disabled */
  562. #define BPROT_CONFIG2_REGION72_Enabled (1UL) /*!< Protection enabled */
  563. /* Bit 7 : Enable protection for region 71. Write '0' has no effect. */
  564. #define BPROT_CONFIG2_REGION71_Pos (7UL) /*!< Position of REGION71 field. */
  565. #define BPROT_CONFIG2_REGION71_Msk (0x1UL << BPROT_CONFIG2_REGION71_Pos) /*!< Bit mask of REGION71 field. */
  566. #define BPROT_CONFIG2_REGION71_Disabled (0UL) /*!< Protection disabled */
  567. #define BPROT_CONFIG2_REGION71_Enabled (1UL) /*!< Protection enabled */
  568. /* Bit 6 : Enable protection for region 70. Write '0' has no effect. */
  569. #define BPROT_CONFIG2_REGION70_Pos (6UL) /*!< Position of REGION70 field. */
  570. #define BPROT_CONFIG2_REGION70_Msk (0x1UL << BPROT_CONFIG2_REGION70_Pos) /*!< Bit mask of REGION70 field. */
  571. #define BPROT_CONFIG2_REGION70_Disabled (0UL) /*!< Protection disabled */
  572. #define BPROT_CONFIG2_REGION70_Enabled (1UL) /*!< Protection enabled */
  573. /* Bit 5 : Enable protection for region 69. Write '0' has no effect. */
  574. #define BPROT_CONFIG2_REGION69_Pos (5UL) /*!< Position of REGION69 field. */
  575. #define BPROT_CONFIG2_REGION69_Msk (0x1UL << BPROT_CONFIG2_REGION69_Pos) /*!< Bit mask of REGION69 field. */
  576. #define BPROT_CONFIG2_REGION69_Disabled (0UL) /*!< Protection disabled */
  577. #define BPROT_CONFIG2_REGION69_Enabled (1UL) /*!< Protection enabled */
  578. /* Bit 4 : Enable protection for region 68. Write '0' has no effect. */
  579. #define BPROT_CONFIG2_REGION68_Pos (4UL) /*!< Position of REGION68 field. */
  580. #define BPROT_CONFIG2_REGION68_Msk (0x1UL << BPROT_CONFIG2_REGION68_Pos) /*!< Bit mask of REGION68 field. */
  581. #define BPROT_CONFIG2_REGION68_Disabled (0UL) /*!< Protection disabled */
  582. #define BPROT_CONFIG2_REGION68_Enabled (1UL) /*!< Protection enabled */
  583. /* Bit 3 : Enable protection for region 67. Write '0' has no effect. */
  584. #define BPROT_CONFIG2_REGION67_Pos (3UL) /*!< Position of REGION67 field. */
  585. #define BPROT_CONFIG2_REGION67_Msk (0x1UL << BPROT_CONFIG2_REGION67_Pos) /*!< Bit mask of REGION67 field. */
  586. #define BPROT_CONFIG2_REGION67_Disabled (0UL) /*!< Protection disabled */
  587. #define BPROT_CONFIG2_REGION67_Enabled (1UL) /*!< Protection enabled */
  588. /* Bit 2 : Enable protection for region 66. Write '0' has no effect. */
  589. #define BPROT_CONFIG2_REGION66_Pos (2UL) /*!< Position of REGION66 field. */
  590. #define BPROT_CONFIG2_REGION66_Msk (0x1UL << BPROT_CONFIG2_REGION66_Pos) /*!< Bit mask of REGION66 field. */
  591. #define BPROT_CONFIG2_REGION66_Disabled (0UL) /*!< Protection disabled */
  592. #define BPROT_CONFIG2_REGION66_Enabled (1UL) /*!< Protection enabled */
  593. /* Bit 1 : Enable protection for region 65. Write '0' has no effect. */
  594. #define BPROT_CONFIG2_REGION65_Pos (1UL) /*!< Position of REGION65 field. */
  595. #define BPROT_CONFIG2_REGION65_Msk (0x1UL << BPROT_CONFIG2_REGION65_Pos) /*!< Bit mask of REGION65 field. */
  596. #define BPROT_CONFIG2_REGION65_Disabled (0UL) /*!< Protection disabled */
  597. #define BPROT_CONFIG2_REGION65_Enabled (1UL) /*!< Protection enabled */
  598. /* Bit 0 : Enable protection for region 64. Write '0' has no effect. */
  599. #define BPROT_CONFIG2_REGION64_Pos (0UL) /*!< Position of REGION64 field. */
  600. #define BPROT_CONFIG2_REGION64_Msk (0x1UL << BPROT_CONFIG2_REGION64_Pos) /*!< Bit mask of REGION64 field. */
  601. #define BPROT_CONFIG2_REGION64_Disabled (0UL) /*!< Protection disabled */
  602. #define BPROT_CONFIG2_REGION64_Enabled (1UL) /*!< Protection enabled */
  603. /* Register: BPROT_CONFIG3 */
  604. /* Description: Block protect configuration register 3 */
  605. /* Bit 31 : Enable protection for region 127. Write '0' has no effect. */
  606. #define BPROT_CONFIG3_REGION127_Pos (31UL) /*!< Position of REGION127 field. */
  607. #define BPROT_CONFIG3_REGION127_Msk (0x1UL << BPROT_CONFIG3_REGION127_Pos) /*!< Bit mask of REGION127 field. */
  608. #define BPROT_CONFIG3_REGION127_Disabled (0UL) /*!< Protection disabled */
  609. #define BPROT_CONFIG3_REGION127_Enabled (1UL) /*!< Protection enabled */
  610. /* Bit 30 : Enable protection for region 126. Write '0' has no effect. */
  611. #define BPROT_CONFIG3_REGION126_Pos (30UL) /*!< Position of REGION126 field. */
  612. #define BPROT_CONFIG3_REGION126_Msk (0x1UL << BPROT_CONFIG3_REGION126_Pos) /*!< Bit mask of REGION126 field. */
  613. #define BPROT_CONFIG3_REGION126_Disabled (0UL) /*!< Protection disabled */
  614. #define BPROT_CONFIG3_REGION126_Enabled (1UL) /*!< Protection enabled */
  615. /* Bit 29 : Enable protection for region 125. Write '0' has no effect. */
  616. #define BPROT_CONFIG3_REGION125_Pos (29UL) /*!< Position of REGION125 field. */
  617. #define BPROT_CONFIG3_REGION125_Msk (0x1UL << BPROT_CONFIG3_REGION125_Pos) /*!< Bit mask of REGION125 field. */
  618. #define BPROT_CONFIG3_REGION125_Disabled (0UL) /*!< Protection disabled */
  619. #define BPROT_CONFIG3_REGION125_Enabled (1UL) /*!< Protection enabled */
  620. /* Bit 28 : Enable protection for region 124. Write '0' has no effect. */
  621. #define BPROT_CONFIG3_REGION124_Pos (28UL) /*!< Position of REGION124 field. */
  622. #define BPROT_CONFIG3_REGION124_Msk (0x1UL << BPROT_CONFIG3_REGION124_Pos) /*!< Bit mask of REGION124 field. */
  623. #define BPROT_CONFIG3_REGION124_Disabled (0UL) /*!< Protection disabled */
  624. #define BPROT_CONFIG3_REGION124_Enabled (1UL) /*!< Protection enabled */
  625. /* Bit 27 : Enable protection for region 123. Write '0' has no effect. */
  626. #define BPROT_CONFIG3_REGION123_Pos (27UL) /*!< Position of REGION123 field. */
  627. #define BPROT_CONFIG3_REGION123_Msk (0x1UL << BPROT_CONFIG3_REGION123_Pos) /*!< Bit mask of REGION123 field. */
  628. #define BPROT_CONFIG3_REGION123_Disabled (0UL) /*!< Protection disabled */
  629. #define BPROT_CONFIG3_REGION123_Enabled (1UL) /*!< Protection enabled */
  630. /* Bit 26 : Enable protection for region 122. Write '0' has no effect. */
  631. #define BPROT_CONFIG3_REGION122_Pos (26UL) /*!< Position of REGION122 field. */
  632. #define BPROT_CONFIG3_REGION122_Msk (0x1UL << BPROT_CONFIG3_REGION122_Pos) /*!< Bit mask of REGION122 field. */
  633. #define BPROT_CONFIG3_REGION122_Disabled (0UL) /*!< Protection disabled */
  634. #define BPROT_CONFIG3_REGION122_Enabled (1UL) /*!< Protection enabled */
  635. /* Bit 25 : Enable protection for region 121. Write '0' has no effect. */
  636. #define BPROT_CONFIG3_REGION121_Pos (25UL) /*!< Position of REGION121 field. */
  637. #define BPROT_CONFIG3_REGION121_Msk (0x1UL << BPROT_CONFIG3_REGION121_Pos) /*!< Bit mask of REGION121 field. */
  638. #define BPROT_CONFIG3_REGION121_Disabled (0UL) /*!< Protection disabled */
  639. #define BPROT_CONFIG3_REGION121_Enabled (1UL) /*!< Protection enabled */
  640. /* Bit 24 : Enable protection for region 120. Write '0' has no effect. */
  641. #define BPROT_CONFIG3_REGION120_Pos (24UL) /*!< Position of REGION120 field. */
  642. #define BPROT_CONFIG3_REGION120_Msk (0x1UL << BPROT_CONFIG3_REGION120_Pos) /*!< Bit mask of REGION120 field. */
  643. #define BPROT_CONFIG3_REGION120_Disabled (0UL) /*!< Protection disabled */
  644. #define BPROT_CONFIG3_REGION120_Enabled (1UL) /*!< Protection enabled */
  645. /* Bit 23 : Enable protection for region 119. Write '0' has no effect. */
  646. #define BPROT_CONFIG3_REGION119_Pos (23UL) /*!< Position of REGION119 field. */
  647. #define BPROT_CONFIG3_REGION119_Msk (0x1UL << BPROT_CONFIG3_REGION119_Pos) /*!< Bit mask of REGION119 field. */
  648. #define BPROT_CONFIG3_REGION119_Disabled (0UL) /*!< Protection disabled */
  649. #define BPROT_CONFIG3_REGION119_Enabled (1UL) /*!< Protection enabled */
  650. /* Bit 22 : Enable protection for region 118. Write '0' has no effect. */
  651. #define BPROT_CONFIG3_REGION118_Pos (22UL) /*!< Position of REGION118 field. */
  652. #define BPROT_CONFIG3_REGION118_Msk (0x1UL << BPROT_CONFIG3_REGION118_Pos) /*!< Bit mask of REGION118 field. */
  653. #define BPROT_CONFIG3_REGION118_Disabled (0UL) /*!< Protection disabled */
  654. #define BPROT_CONFIG3_REGION118_Enabled (1UL) /*!< Protection enabled */
  655. /* Bit 21 : Enable protection for region 117. Write '0' has no effect. */
  656. #define BPROT_CONFIG3_REGION117_Pos (21UL) /*!< Position of REGION117 field. */
  657. #define BPROT_CONFIG3_REGION117_Msk (0x1UL << BPROT_CONFIG3_REGION117_Pos) /*!< Bit mask of REGION117 field. */
  658. #define BPROT_CONFIG3_REGION117_Disabled (0UL) /*!< Protection disabled */
  659. #define BPROT_CONFIG3_REGION117_Enabled (1UL) /*!< Protection enabled */
  660. /* Bit 20 : Enable protection for region 116. Write '0' has no effect. */
  661. #define BPROT_CONFIG3_REGION116_Pos (20UL) /*!< Position of REGION116 field. */
  662. #define BPROT_CONFIG3_REGION116_Msk (0x1UL << BPROT_CONFIG3_REGION116_Pos) /*!< Bit mask of REGION116 field. */
  663. #define BPROT_CONFIG3_REGION116_Disabled (0UL) /*!< Protection disabled */
  664. #define BPROT_CONFIG3_REGION116_Enabled (1UL) /*!< Protection enabled */
  665. /* Bit 19 : Enable protection for region 115. Write '0' has no effect. */
  666. #define BPROT_CONFIG3_REGION115_Pos (19UL) /*!< Position of REGION115 field. */
  667. #define BPROT_CONFIG3_REGION115_Msk (0x1UL << BPROT_CONFIG3_REGION115_Pos) /*!< Bit mask of REGION115 field. */
  668. #define BPROT_CONFIG3_REGION115_Disabled (0UL) /*!< Protection disabled */
  669. #define BPROT_CONFIG3_REGION115_Enabled (1UL) /*!< Protection enabled */
  670. /* Bit 18 : Enable protection for region 114. Write '0' has no effect. */
  671. #define BPROT_CONFIG3_REGION114_Pos (18UL) /*!< Position of REGION114 field. */
  672. #define BPROT_CONFIG3_REGION114_Msk (0x1UL << BPROT_CONFIG3_REGION114_Pos) /*!< Bit mask of REGION114 field. */
  673. #define BPROT_CONFIG3_REGION114_Disabled (0UL) /*!< Protection disabled */
  674. #define BPROT_CONFIG3_REGION114_Enabled (1UL) /*!< Protection enabled */
  675. /* Bit 17 : Enable protection for region 113. Write '0' has no effect. */
  676. #define BPROT_CONFIG3_REGION113_Pos (17UL) /*!< Position of REGION113 field. */
  677. #define BPROT_CONFIG3_REGION113_Msk (0x1UL << BPROT_CONFIG3_REGION113_Pos) /*!< Bit mask of REGION113 field. */
  678. #define BPROT_CONFIG3_REGION113_Disabled (0UL) /*!< Protection disabled */
  679. #define BPROT_CONFIG3_REGION113_Enabled (1UL) /*!< Protection enabled */
  680. /* Bit 16 : Enable protection for region 112. Write '0' has no effect. */
  681. #define BPROT_CONFIG3_REGION112_Pos (16UL) /*!< Position of REGION112 field. */
  682. #define BPROT_CONFIG3_REGION112_Msk (0x1UL << BPROT_CONFIG3_REGION112_Pos) /*!< Bit mask of REGION112 field. */
  683. #define BPROT_CONFIG3_REGION112_Disabled (0UL) /*!< Protection disabled */
  684. #define BPROT_CONFIG3_REGION112_Enabled (1UL) /*!< Protection enabled */
  685. /* Bit 15 : Enable protection for region 111. Write '0' has no effect. */
  686. #define BPROT_CONFIG3_REGION111_Pos (15UL) /*!< Position of REGION111 field. */
  687. #define BPROT_CONFIG3_REGION111_Msk (0x1UL << BPROT_CONFIG3_REGION111_Pos) /*!< Bit mask of REGION111 field. */
  688. #define BPROT_CONFIG3_REGION111_Disabled (0UL) /*!< Protection disabled */
  689. #define BPROT_CONFIG3_REGION111_Enabled (1UL) /*!< Protection enabled */
  690. /* Bit 14 : Enable protection for region 110. Write '0' has no effect. */
  691. #define BPROT_CONFIG3_REGION110_Pos (14UL) /*!< Position of REGION110 field. */
  692. #define BPROT_CONFIG3_REGION110_Msk (0x1UL << BPROT_CONFIG3_REGION110_Pos) /*!< Bit mask of REGION110 field. */
  693. #define BPROT_CONFIG3_REGION110_Disabled (0UL) /*!< Protection disabled */
  694. #define BPROT_CONFIG3_REGION110_Enabled (1UL) /*!< Protection enabled */
  695. /* Bit 13 : Enable protection for region 109. Write '0' has no effect. */
  696. #define BPROT_CONFIG3_REGION109_Pos (13UL) /*!< Position of REGION109 field. */
  697. #define BPROT_CONFIG3_REGION109_Msk (0x1UL << BPROT_CONFIG3_REGION109_Pos) /*!< Bit mask of REGION109 field. */
  698. #define BPROT_CONFIG3_REGION109_Disabled (0UL) /*!< Protection disabled */
  699. #define BPROT_CONFIG3_REGION109_Enabled (1UL) /*!< Protection enabled */
  700. /* Bit 12 : Enable protection for region 108. Write '0' has no effect. */
  701. #define BPROT_CONFIG3_REGION108_Pos (12UL) /*!< Position of REGION108 field. */
  702. #define BPROT_CONFIG3_REGION108_Msk (0x1UL << BPROT_CONFIG3_REGION108_Pos) /*!< Bit mask of REGION108 field. */
  703. #define BPROT_CONFIG3_REGION108_Disabled (0UL) /*!< Protection disabled */
  704. #define BPROT_CONFIG3_REGION108_Enabled (1UL) /*!< Protection enabled */
  705. /* Bit 11 : Enable protection for region 107. Write '0' has no effect. */
  706. #define BPROT_CONFIG3_REGION107_Pos (11UL) /*!< Position of REGION107 field. */
  707. #define BPROT_CONFIG3_REGION107_Msk (0x1UL << BPROT_CONFIG3_REGION107_Pos) /*!< Bit mask of REGION107 field. */
  708. #define BPROT_CONFIG3_REGION107_Disabled (0UL) /*!< Protection disabled */
  709. #define BPROT_CONFIG3_REGION107_Enabled (1UL) /*!< Protection enabled */
  710. /* Bit 10 : Enable protection for region 106. Write '0' has no effect. */
  711. #define BPROT_CONFIG3_REGION106_Pos (10UL) /*!< Position of REGION106 field. */
  712. #define BPROT_CONFIG3_REGION106_Msk (0x1UL << BPROT_CONFIG3_REGION106_Pos) /*!< Bit mask of REGION106 field. */
  713. #define BPROT_CONFIG3_REGION106_Disabled (0UL) /*!< Protection disabled */
  714. #define BPROT_CONFIG3_REGION106_Enabled (1UL) /*!< Protection enabled */
  715. /* Bit 9 : Enable protection for region 105. Write '0' has no effect. */
  716. #define BPROT_CONFIG3_REGION105_Pos (9UL) /*!< Position of REGION105 field. */
  717. #define BPROT_CONFIG3_REGION105_Msk (0x1UL << BPROT_CONFIG3_REGION105_Pos) /*!< Bit mask of REGION105 field. */
  718. #define BPROT_CONFIG3_REGION105_Disabled (0UL) /*!< Protection disabled */
  719. #define BPROT_CONFIG3_REGION105_Enabled (1UL) /*!< Protection enabled */
  720. /* Bit 8 : Enable protection for region 104. Write '0' has no effect. */
  721. #define BPROT_CONFIG3_REGION104_Pos (8UL) /*!< Position of REGION104 field. */
  722. #define BPROT_CONFIG3_REGION104_Msk (0x1UL << BPROT_CONFIG3_REGION104_Pos) /*!< Bit mask of REGION104 field. */
  723. #define BPROT_CONFIG3_REGION104_Disabled (0UL) /*!< Protection disabled */
  724. #define BPROT_CONFIG3_REGION104_Enabled (1UL) /*!< Protection enabled */
  725. /* Bit 7 : Enable protection for region 103. Write '0' has no effect. */
  726. #define BPROT_CONFIG3_REGION103_Pos (7UL) /*!< Position of REGION103 field. */
  727. #define BPROT_CONFIG3_REGION103_Msk (0x1UL << BPROT_CONFIG3_REGION103_Pos) /*!< Bit mask of REGION103 field. */
  728. #define BPROT_CONFIG3_REGION103_Disabled (0UL) /*!< Protection disabled */
  729. #define BPROT_CONFIG3_REGION103_Enabled (1UL) /*!< Protection enabled */
  730. /* Bit 6 : Enable protection for region 102. Write '0' has no effect. */
  731. #define BPROT_CONFIG3_REGION102_Pos (6UL) /*!< Position of REGION102 field. */
  732. #define BPROT_CONFIG3_REGION102_Msk (0x1UL << BPROT_CONFIG3_REGION102_Pos) /*!< Bit mask of REGION102 field. */
  733. #define BPROT_CONFIG3_REGION102_Disabled (0UL) /*!< Protection disabled */
  734. #define BPROT_CONFIG3_REGION102_Enabled (1UL) /*!< Protection enabled */
  735. /* Bit 5 : Enable protection for region 101. Write '0' has no effect. */
  736. #define BPROT_CONFIG3_REGION101_Pos (5UL) /*!< Position of REGION101 field. */
  737. #define BPROT_CONFIG3_REGION101_Msk (0x1UL << BPROT_CONFIG3_REGION101_Pos) /*!< Bit mask of REGION101 field. */
  738. #define BPROT_CONFIG3_REGION101_Disabled (0UL) /*!< Protection disabled */
  739. #define BPROT_CONFIG3_REGION101_Enabled (1UL) /*!< Protection enabled */
  740. /* Bit 4 : Enable protection for region 100. Write '0' has no effect. */
  741. #define BPROT_CONFIG3_REGION100_Pos (4UL) /*!< Position of REGION100 field. */
  742. #define BPROT_CONFIG3_REGION100_Msk (0x1UL << BPROT_CONFIG3_REGION100_Pos) /*!< Bit mask of REGION100 field. */
  743. #define BPROT_CONFIG3_REGION100_Disabled (0UL) /*!< Protection disabled */
  744. #define BPROT_CONFIG3_REGION100_Enabled (1UL) /*!< Protection enabled */
  745. /* Bit 3 : Enable protection for region 99. Write '0' has no effect. */
  746. #define BPROT_CONFIG3_REGION99_Pos (3UL) /*!< Position of REGION99 field. */
  747. #define BPROT_CONFIG3_REGION99_Msk (0x1UL << BPROT_CONFIG3_REGION99_Pos) /*!< Bit mask of REGION99 field. */
  748. #define BPROT_CONFIG3_REGION99_Disabled (0UL) /*!< Protection disabled */
  749. #define BPROT_CONFIG3_REGION99_Enabled (1UL) /*!< Protection enabled */
  750. /* Bit 2 : Enable protection for region 98. Write '0' has no effect. */
  751. #define BPROT_CONFIG3_REGION98_Pos (2UL) /*!< Position of REGION98 field. */
  752. #define BPROT_CONFIG3_REGION98_Msk (0x1UL << BPROT_CONFIG3_REGION98_Pos) /*!< Bit mask of REGION98 field. */
  753. #define BPROT_CONFIG3_REGION98_Disabled (0UL) /*!< Protection disabled */
  754. #define BPROT_CONFIG3_REGION98_Enabled (1UL) /*!< Protection enabled */
  755. /* Bit 1 : Enable protection for region 97. Write '0' has no effect. */
  756. #define BPROT_CONFIG3_REGION97_Pos (1UL) /*!< Position of REGION97 field. */
  757. #define BPROT_CONFIG3_REGION97_Msk (0x1UL << BPROT_CONFIG3_REGION97_Pos) /*!< Bit mask of REGION97 field. */
  758. #define BPROT_CONFIG3_REGION97_Disabled (0UL) /*!< Protection disabled */
  759. #define BPROT_CONFIG3_REGION97_Enabled (1UL) /*!< Protection enabled */
  760. /* Bit 0 : Enable protection for region 96. Write '0' has no effect. */
  761. #define BPROT_CONFIG3_REGION96_Pos (0UL) /*!< Position of REGION96 field. */
  762. #define BPROT_CONFIG3_REGION96_Msk (0x1UL << BPROT_CONFIG3_REGION96_Pos) /*!< Bit mask of REGION96 field. */
  763. #define BPROT_CONFIG3_REGION96_Disabled (0UL) /*!< Protection disabled */
  764. #define BPROT_CONFIG3_REGION96_Enabled (1UL) /*!< Protection enabled */
  765. /* Peripheral: CCM */
  766. /* Description: AES CCM Mode Encryption */
  767. /* Register: CCM_SHORTS */
  768. /* Description: Shortcut register */
  769. /* Bit 0 : Shortcut between ENDKSGEN event and CRYPT task */
  770. #define CCM_SHORTS_ENDKSGEN_CRYPT_Pos (0UL) /*!< Position of ENDKSGEN_CRYPT field. */
  771. #define CCM_SHORTS_ENDKSGEN_CRYPT_Msk (0x1UL << CCM_SHORTS_ENDKSGEN_CRYPT_Pos) /*!< Bit mask of ENDKSGEN_CRYPT field. */
  772. #define CCM_SHORTS_ENDKSGEN_CRYPT_Disabled (0UL) /*!< Disable shortcut */
  773. #define CCM_SHORTS_ENDKSGEN_CRYPT_Enabled (1UL) /*!< Enable shortcut */
  774. /* Register: CCM_INTENSET */
  775. /* Description: Enable interrupt */
  776. /* Bit 2 : Write '1' to Enable interrupt for ERROR event */
  777. #define CCM_INTENSET_ERROR_Pos (2UL) /*!< Position of ERROR field. */
  778. #define CCM_INTENSET_ERROR_Msk (0x1UL << CCM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  779. #define CCM_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  780. #define CCM_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  781. #define CCM_INTENSET_ERROR_Set (1UL) /*!< Enable */
  782. /* Bit 1 : Write '1' to Enable interrupt for ENDCRYPT event */
  783. #define CCM_INTENSET_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
  784. #define CCM_INTENSET_ENDCRYPT_Msk (0x1UL << CCM_INTENSET_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
  785. #define CCM_INTENSET_ENDCRYPT_Disabled (0UL) /*!< Read: Disabled */
  786. #define CCM_INTENSET_ENDCRYPT_Enabled (1UL) /*!< Read: Enabled */
  787. #define CCM_INTENSET_ENDCRYPT_Set (1UL) /*!< Enable */
  788. /* Bit 0 : Write '1' to Enable interrupt for ENDKSGEN event */
  789. #define CCM_INTENSET_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
  790. #define CCM_INTENSET_ENDKSGEN_Msk (0x1UL << CCM_INTENSET_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
  791. #define CCM_INTENSET_ENDKSGEN_Disabled (0UL) /*!< Read: Disabled */
  792. #define CCM_INTENSET_ENDKSGEN_Enabled (1UL) /*!< Read: Enabled */
  793. #define CCM_INTENSET_ENDKSGEN_Set (1UL) /*!< Enable */
  794. /* Register: CCM_INTENCLR */
  795. /* Description: Disable interrupt */
  796. /* Bit 2 : Write '1' to Disable interrupt for ERROR event */
  797. #define CCM_INTENCLR_ERROR_Pos (2UL) /*!< Position of ERROR field. */
  798. #define CCM_INTENCLR_ERROR_Msk (0x1UL << CCM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  799. #define CCM_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  800. #define CCM_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  801. #define CCM_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  802. /* Bit 1 : Write '1' to Disable interrupt for ENDCRYPT event */
  803. #define CCM_INTENCLR_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
  804. #define CCM_INTENCLR_ENDCRYPT_Msk (0x1UL << CCM_INTENCLR_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
  805. #define CCM_INTENCLR_ENDCRYPT_Disabled (0UL) /*!< Read: Disabled */
  806. #define CCM_INTENCLR_ENDCRYPT_Enabled (1UL) /*!< Read: Enabled */
  807. #define CCM_INTENCLR_ENDCRYPT_Clear (1UL) /*!< Disable */
  808. /* Bit 0 : Write '1' to Disable interrupt for ENDKSGEN event */
  809. #define CCM_INTENCLR_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
  810. #define CCM_INTENCLR_ENDKSGEN_Msk (0x1UL << CCM_INTENCLR_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
  811. #define CCM_INTENCLR_ENDKSGEN_Disabled (0UL) /*!< Read: Disabled */
  812. #define CCM_INTENCLR_ENDKSGEN_Enabled (1UL) /*!< Read: Enabled */
  813. #define CCM_INTENCLR_ENDKSGEN_Clear (1UL) /*!< Disable */
  814. /* Register: CCM_MICSTATUS */
  815. /* Description: MIC check result */
  816. /* Bit 0 : The result of the MIC check performed during the previous decryption operation */
  817. #define CCM_MICSTATUS_MICSTATUS_Pos (0UL) /*!< Position of MICSTATUS field. */
  818. #define CCM_MICSTATUS_MICSTATUS_Msk (0x1UL << CCM_MICSTATUS_MICSTATUS_Pos) /*!< Bit mask of MICSTATUS field. */
  819. #define CCM_MICSTATUS_MICSTATUS_CheckFailed (0UL) /*!< MIC check failed */
  820. #define CCM_MICSTATUS_MICSTATUS_CheckPassed (1UL) /*!< MIC check passed */
  821. /* Register: CCM_ENABLE */
  822. /* Description: Enable */
  823. /* Bits 1..0 : Enable or disable CCM */
  824. #define CCM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  825. #define CCM_ENABLE_ENABLE_Msk (0x3UL << CCM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  826. #define CCM_ENABLE_ENABLE_Disabled (0UL) /*!< Disable */
  827. #define CCM_ENABLE_ENABLE_Enabled (2UL) /*!< Enable */
  828. /* Register: CCM_MODE */
  829. /* Description: Operation mode */
  830. /* Bit 24 : Packet length configuration */
  831. #define CCM_MODE_LENGTH_Pos (24UL) /*!< Position of LENGTH field. */
  832. #define CCM_MODE_LENGTH_Msk (0x1UL << CCM_MODE_LENGTH_Pos) /*!< Bit mask of LENGTH field. */
  833. #define CCM_MODE_LENGTH_Default (0UL) /*!< Default length. Effective length of LENGTH field is 5-bit */
  834. #define CCM_MODE_LENGTH_Extended (1UL) /*!< Extended length. Effective length of LENGTH field is 8-bit */
  835. /* Bit 16 : Data rate that the CCM shall run in synch with */
  836. #define CCM_MODE_DATARATE_Pos (16UL) /*!< Position of DATARATE field. */
  837. #define CCM_MODE_DATARATE_Msk (0x1UL << CCM_MODE_DATARATE_Pos) /*!< Bit mask of DATARATE field. */
  838. #define CCM_MODE_DATARATE_1Mbit (0UL) /*!< In synch with 1 Mbit data rate */
  839. #define CCM_MODE_DATARATE_2Mbit (1UL) /*!< In synch with 2 Mbit data rate */
  840. /* Bit 0 : The mode of operation to be used */
  841. #define CCM_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  842. #define CCM_MODE_MODE_Msk (0x1UL << CCM_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  843. #define CCM_MODE_MODE_Encryption (0UL) /*!< AES CCM packet encryption mode */
  844. #define CCM_MODE_MODE_Decryption (1UL) /*!< AES CCM packet decryption mode */
  845. /* Register: CCM_CNFPTR */
  846. /* Description: Pointer to data structure holding AES key and NONCE vector */
  847. /* Bits 31..0 : Pointer to the data structure holding the AES key and the CCM NONCE vector (see Table 1 CCM data structure overview) */
  848. #define CCM_CNFPTR_CNFPTR_Pos (0UL) /*!< Position of CNFPTR field. */
  849. #define CCM_CNFPTR_CNFPTR_Msk (0xFFFFFFFFUL << CCM_CNFPTR_CNFPTR_Pos) /*!< Bit mask of CNFPTR field. */
  850. /* Register: CCM_INPTR */
  851. /* Description: Input pointer */
  852. /* Bits 31..0 : Input pointer */
  853. #define CCM_INPTR_INPTR_Pos (0UL) /*!< Position of INPTR field. */
  854. #define CCM_INPTR_INPTR_Msk (0xFFFFFFFFUL << CCM_INPTR_INPTR_Pos) /*!< Bit mask of INPTR field. */
  855. /* Register: CCM_OUTPTR */
  856. /* Description: Output pointer */
  857. /* Bits 31..0 : Output pointer */
  858. #define CCM_OUTPTR_OUTPTR_Pos (0UL) /*!< Position of OUTPTR field. */
  859. #define CCM_OUTPTR_OUTPTR_Msk (0xFFFFFFFFUL << CCM_OUTPTR_OUTPTR_Pos) /*!< Bit mask of OUTPTR field. */
  860. /* Register: CCM_SCRATCHPTR */
  861. /* Description: Pointer to data area used for temporary storage */
  862. /* Bits 31..0 : Pointer to a scratch data area used for temporary storage during key-stream generation, MIC generation and encryption/decryption. */
  863. #define CCM_SCRATCHPTR_SCRATCHPTR_Pos (0UL) /*!< Position of SCRATCHPTR field. */
  864. #define CCM_SCRATCHPTR_SCRATCHPTR_Msk (0xFFFFFFFFUL << CCM_SCRATCHPTR_SCRATCHPTR_Pos) /*!< Bit mask of SCRATCHPTR field. */
  865. /* Peripheral: CLOCK */
  866. /* Description: Clock control */
  867. /* Register: CLOCK_INTENSET */
  868. /* Description: Enable interrupt */
  869. /* Bit 4 : Write '1' to Enable interrupt for CTTO event */
  870. #define CLOCK_INTENSET_CTTO_Pos (4UL) /*!< Position of CTTO field. */
  871. #define CLOCK_INTENSET_CTTO_Msk (0x1UL << CLOCK_INTENSET_CTTO_Pos) /*!< Bit mask of CTTO field. */
  872. #define CLOCK_INTENSET_CTTO_Disabled (0UL) /*!< Read: Disabled */
  873. #define CLOCK_INTENSET_CTTO_Enabled (1UL) /*!< Read: Enabled */
  874. #define CLOCK_INTENSET_CTTO_Set (1UL) /*!< Enable */
  875. /* Bit 3 : Write '1' to Enable interrupt for DONE event */
  876. #define CLOCK_INTENSET_DONE_Pos (3UL) /*!< Position of DONE field. */
  877. #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */
  878. #define CLOCK_INTENSET_DONE_Disabled (0UL) /*!< Read: Disabled */
  879. #define CLOCK_INTENSET_DONE_Enabled (1UL) /*!< Read: Enabled */
  880. #define CLOCK_INTENSET_DONE_Set (1UL) /*!< Enable */
  881. /* Bit 1 : Write '1' to Enable interrupt for LFCLKSTARTED event */
  882. #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
  883. #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
  884. #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0UL) /*!< Read: Disabled */
  885. #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (1UL) /*!< Read: Enabled */
  886. #define CLOCK_INTENSET_LFCLKSTARTED_Set (1UL) /*!< Enable */
  887. /* Bit 0 : Write '1' to Enable interrupt for HFCLKSTARTED event */
  888. #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
  889. #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
  890. #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0UL) /*!< Read: Disabled */
  891. #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (1UL) /*!< Read: Enabled */
  892. #define CLOCK_INTENSET_HFCLKSTARTED_Set (1UL) /*!< Enable */
  893. /* Register: CLOCK_INTENCLR */
  894. /* Description: Disable interrupt */
  895. /* Bit 4 : Write '1' to Disable interrupt for CTTO event */
  896. #define CLOCK_INTENCLR_CTTO_Pos (4UL) /*!< Position of CTTO field. */
  897. #define CLOCK_INTENCLR_CTTO_Msk (0x1UL << CLOCK_INTENCLR_CTTO_Pos) /*!< Bit mask of CTTO field. */
  898. #define CLOCK_INTENCLR_CTTO_Disabled (0UL) /*!< Read: Disabled */
  899. #define CLOCK_INTENCLR_CTTO_Enabled (1UL) /*!< Read: Enabled */
  900. #define CLOCK_INTENCLR_CTTO_Clear (1UL) /*!< Disable */
  901. /* Bit 3 : Write '1' to Disable interrupt for DONE event */
  902. #define CLOCK_INTENCLR_DONE_Pos (3UL) /*!< Position of DONE field. */
  903. #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */
  904. #define CLOCK_INTENCLR_DONE_Disabled (0UL) /*!< Read: Disabled */
  905. #define CLOCK_INTENCLR_DONE_Enabled (1UL) /*!< Read: Enabled */
  906. #define CLOCK_INTENCLR_DONE_Clear (1UL) /*!< Disable */
  907. /* Bit 1 : Write '1' to Disable interrupt for LFCLKSTARTED event */
  908. #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
  909. #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
  910. #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0UL) /*!< Read: Disabled */
  911. #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (1UL) /*!< Read: Enabled */
  912. #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (1UL) /*!< Disable */
  913. /* Bit 0 : Write '1' to Disable interrupt for HFCLKSTARTED event */
  914. #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
  915. #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
  916. #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0UL) /*!< Read: Disabled */
  917. #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (1UL) /*!< Read: Enabled */
  918. #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (1UL) /*!< Disable */
  919. /* Register: CLOCK_HFCLKRUN */
  920. /* Description: Status indicating that HFCLKSTART task has been triggered */
  921. /* Bit 0 : HFCLKSTART task triggered or not */
  922. #define CLOCK_HFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  923. #define CLOCK_HFCLKRUN_STATUS_Msk (0x1UL << CLOCK_HFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */
  924. #define CLOCK_HFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task not triggered */
  925. #define CLOCK_HFCLKRUN_STATUS_Triggered (1UL) /*!< Task triggered */
  926. /* Register: CLOCK_HFCLKSTAT */
  927. /* Description: HFCLK status */
  928. /* Bit 16 : HFCLK state */
  929. #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
  930. #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
  931. #define CLOCK_HFCLKSTAT_STATE_NotRunning (0UL) /*!< HFCLK not running */
  932. #define CLOCK_HFCLKSTAT_STATE_Running (1UL) /*!< HFCLK running */
  933. /* Bit 0 : Source of HFCLK */
  934. #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
  935. #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
  936. #define CLOCK_HFCLKSTAT_SRC_RC (0UL) /*!< 64 MHz internal oscillator (HFINT) */
  937. #define CLOCK_HFCLKSTAT_SRC_Xtal (1UL) /*!< 64 MHz crystal oscillator (HFXO) */
  938. /* Register: CLOCK_LFCLKRUN */
  939. /* Description: Status indicating that LFCLKSTART task has been triggered */
  940. /* Bit 0 : LFCLKSTART task triggered or not */
  941. #define CLOCK_LFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  942. #define CLOCK_LFCLKRUN_STATUS_Msk (0x1UL << CLOCK_LFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */
  943. #define CLOCK_LFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task not triggered */
  944. #define CLOCK_LFCLKRUN_STATUS_Triggered (1UL) /*!< Task triggered */
  945. /* Register: CLOCK_LFCLKSTAT */
  946. /* Description: LFCLK status */
  947. /* Bit 16 : LFCLK state */
  948. #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
  949. #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
  950. #define CLOCK_LFCLKSTAT_STATE_NotRunning (0UL) /*!< LFCLK not running */
  951. #define CLOCK_LFCLKSTAT_STATE_Running (1UL) /*!< LFCLK running */
  952. /* Bits 1..0 : Source of LFCLK */
  953. #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
  954. #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
  955. #define CLOCK_LFCLKSTAT_SRC_RC (0UL) /*!< 32.768 kHz RC oscillator */
  956. #define CLOCK_LFCLKSTAT_SRC_Xtal (1UL) /*!< 32.768 kHz crystal oscillator */
  957. #define CLOCK_LFCLKSTAT_SRC_Synth (2UL) /*!< 32.768 kHz synthesized from HFCLK */
  958. /* Register: CLOCK_LFCLKSRCCOPY */
  959. /* Description: Copy of LFCLKSRC register, set when LFCLKSTART task was triggered */
  960. /* Bits 1..0 : Clock source */
  961. #define CLOCK_LFCLKSRCCOPY_SRC_Pos (0UL) /*!< Position of SRC field. */
  962. #define CLOCK_LFCLKSRCCOPY_SRC_Msk (0x3UL << CLOCK_LFCLKSRCCOPY_SRC_Pos) /*!< Bit mask of SRC field. */
  963. #define CLOCK_LFCLKSRCCOPY_SRC_RC (0UL) /*!< 32.768 kHz RC oscillator */
  964. #define CLOCK_LFCLKSRCCOPY_SRC_Xtal (1UL) /*!< 32.768 kHz crystal oscillator */
  965. #define CLOCK_LFCLKSRCCOPY_SRC_Synth (2UL) /*!< 32.768 kHz synthesized from HFCLK */
  966. /* Register: CLOCK_LFCLKSRC */
  967. /* Description: Clock source for the LFCLK */
  968. /* Bit 17 : Enable or disable external source for LFCLK */
  969. #define CLOCK_LFCLKSRC_EXTERNAL_Pos (17UL) /*!< Position of EXTERNAL field. */
  970. #define CLOCK_LFCLKSRC_EXTERNAL_Msk (0x1UL << CLOCK_LFCLKSRC_EXTERNAL_Pos) /*!< Bit mask of EXTERNAL field. */
  971. #define CLOCK_LFCLKSRC_EXTERNAL_Disabled (0UL) /*!< Disable external source (use with Xtal) */
  972. #define CLOCK_LFCLKSRC_EXTERNAL_Enabled (1UL) /*!< Enable use of external source instead of Xtal (SRC needs to be set to Xtal) */
  973. /* Bit 16 : Enable or disable bypass of LFCLK crystal oscillator with external clock source */
  974. #define CLOCK_LFCLKSRC_BYPASS_Pos (16UL) /*!< Position of BYPASS field. */
  975. #define CLOCK_LFCLKSRC_BYPASS_Msk (0x1UL << CLOCK_LFCLKSRC_BYPASS_Pos) /*!< Bit mask of BYPASS field. */
  976. #define CLOCK_LFCLKSRC_BYPASS_Disabled (0UL) /*!< Disable (use with Xtal or low-swing external source) */
  977. #define CLOCK_LFCLKSRC_BYPASS_Enabled (1UL) /*!< Enable (use with rail-to-rail external source) */
  978. /* Bits 1..0 : Clock source */
  979. #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */
  980. #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */
  981. #define CLOCK_LFCLKSRC_SRC_RC (0UL) /*!< 32.768 kHz RC oscillator */
  982. #define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!< 32.768 kHz crystal oscillator */
  983. #define CLOCK_LFCLKSRC_SRC_Synth (2UL) /*!< 32.768 kHz synthesized from HFCLK */
  984. /* Register: CLOCK_CTIV */
  985. /* Description: Calibration timer interval */
  986. /* Bits 6..0 : Calibration timer interval in multiple of 0.25 seconds. Range: 0.25 seconds to 31.75 seconds. */
  987. #define CLOCK_CTIV_CTIV_Pos (0UL) /*!< Position of CTIV field. */
  988. #define CLOCK_CTIV_CTIV_Msk (0x7FUL << CLOCK_CTIV_CTIV_Pos) /*!< Bit mask of CTIV field. */
  989. /* Register: CLOCK_TRACECONFIG */
  990. /* Description: Clocking options for the Trace Port debug interface */
  991. /* Bits 17..16 : Pin multiplexing of trace signals. */
  992. #define CLOCK_TRACECONFIG_TRACEMUX_Pos (16UL) /*!< Position of TRACEMUX field. */
  993. #define CLOCK_TRACECONFIG_TRACEMUX_Msk (0x3UL << CLOCK_TRACECONFIG_TRACEMUX_Pos) /*!< Bit mask of TRACEMUX field. */
  994. #define CLOCK_TRACECONFIG_TRACEMUX_GPIO (0UL) /*!< GPIOs multiplexed onto all trace-pins */
  995. #define CLOCK_TRACECONFIG_TRACEMUX_Serial (1UL) /*!< SWO multiplexed onto P0.18, GPIO multiplexed onto other trace pins */
  996. #define CLOCK_TRACECONFIG_TRACEMUX_Parallel (2UL) /*!< TRACECLK and TRACEDATA multiplexed onto P0.20, P0.18, P0.16, P0.15 and P0.14. */
  997. /* Bits 1..0 : Speed of Trace Port clock. Note that the TRACECLK pin will output this clock divided by two. */
  998. #define CLOCK_TRACECONFIG_TRACEPORTSPEED_Pos (0UL) /*!< Position of TRACEPORTSPEED field. */
  999. #define CLOCK_TRACECONFIG_TRACEPORTSPEED_Msk (0x3UL << CLOCK_TRACECONFIG_TRACEPORTSPEED_Pos) /*!< Bit mask of TRACEPORTSPEED field. */
  1000. #define CLOCK_TRACECONFIG_TRACEPORTSPEED_32MHz (0UL) /*!< 32 MHz Trace Port clock (TRACECLK = 16 MHz) */
  1001. #define CLOCK_TRACECONFIG_TRACEPORTSPEED_16MHz (1UL) /*!< 16 MHz Trace Port clock (TRACECLK = 8 MHz) */
  1002. #define CLOCK_TRACECONFIG_TRACEPORTSPEED_8MHz (2UL) /*!< 8 MHz Trace Port clock (TRACECLK = 4 MHz) */
  1003. #define CLOCK_TRACECONFIG_TRACEPORTSPEED_4MHz (3UL) /*!< 4 MHz Trace Port clock (TRACECLK = 2 MHz) */
  1004. /* Peripheral: COMP */
  1005. /* Description: Comparator */
  1006. /* Register: COMP_SHORTS */
  1007. /* Description: Shortcut register */
  1008. /* Bit 4 : Shortcut between CROSS event and STOP task */
  1009. #define COMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */
  1010. #define COMP_SHORTS_CROSS_STOP_Msk (0x1UL << COMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */
  1011. #define COMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Disable shortcut */
  1012. #define COMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Enable shortcut */
  1013. /* Bit 3 : Shortcut between UP event and STOP task */
  1014. #define COMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */
  1015. #define COMP_SHORTS_UP_STOP_Msk (0x1UL << COMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */
  1016. #define COMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Disable shortcut */
  1017. #define COMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Enable shortcut */
  1018. /* Bit 2 : Shortcut between DOWN event and STOP task */
  1019. #define COMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */
  1020. #define COMP_SHORTS_DOWN_STOP_Msk (0x1UL << COMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */
  1021. #define COMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Disable shortcut */
  1022. #define COMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Enable shortcut */
  1023. /* Bit 1 : Shortcut between READY event and STOP task */
  1024. #define COMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */
  1025. #define COMP_SHORTS_READY_STOP_Msk (0x1UL << COMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */
  1026. #define COMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Disable shortcut */
  1027. #define COMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Enable shortcut */
  1028. /* Bit 0 : Shortcut between READY event and SAMPLE task */
  1029. #define COMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */
  1030. #define COMP_SHORTS_READY_SAMPLE_Msk (0x1UL << COMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */
  1031. #define COMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Disable shortcut */
  1032. #define COMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Enable shortcut */
  1033. /* Register: COMP_INTEN */
  1034. /* Description: Enable or disable interrupt */
  1035. /* Bit 3 : Enable or disable interrupt for CROSS event */
  1036. #define COMP_INTEN_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  1037. #define COMP_INTEN_CROSS_Msk (0x1UL << COMP_INTEN_CROSS_Pos) /*!< Bit mask of CROSS field. */
  1038. #define COMP_INTEN_CROSS_Disabled (0UL) /*!< Disable */
  1039. #define COMP_INTEN_CROSS_Enabled (1UL) /*!< Enable */
  1040. /* Bit 2 : Enable or disable interrupt for UP event */
  1041. #define COMP_INTEN_UP_Pos (2UL) /*!< Position of UP field. */
  1042. #define COMP_INTEN_UP_Msk (0x1UL << COMP_INTEN_UP_Pos) /*!< Bit mask of UP field. */
  1043. #define COMP_INTEN_UP_Disabled (0UL) /*!< Disable */
  1044. #define COMP_INTEN_UP_Enabled (1UL) /*!< Enable */
  1045. /* Bit 1 : Enable or disable interrupt for DOWN event */
  1046. #define COMP_INTEN_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  1047. #define COMP_INTEN_DOWN_Msk (0x1UL << COMP_INTEN_DOWN_Pos) /*!< Bit mask of DOWN field. */
  1048. #define COMP_INTEN_DOWN_Disabled (0UL) /*!< Disable */
  1049. #define COMP_INTEN_DOWN_Enabled (1UL) /*!< Enable */
  1050. /* Bit 0 : Enable or disable interrupt for READY event */
  1051. #define COMP_INTEN_READY_Pos (0UL) /*!< Position of READY field. */
  1052. #define COMP_INTEN_READY_Msk (0x1UL << COMP_INTEN_READY_Pos) /*!< Bit mask of READY field. */
  1053. #define COMP_INTEN_READY_Disabled (0UL) /*!< Disable */
  1054. #define COMP_INTEN_READY_Enabled (1UL) /*!< Enable */
  1055. /* Register: COMP_INTENSET */
  1056. /* Description: Enable interrupt */
  1057. /* Bit 3 : Write '1' to Enable interrupt for CROSS event */
  1058. #define COMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  1059. #define COMP_INTENSET_CROSS_Msk (0x1UL << COMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */
  1060. #define COMP_INTENSET_CROSS_Disabled (0UL) /*!< Read: Disabled */
  1061. #define COMP_INTENSET_CROSS_Enabled (1UL) /*!< Read: Enabled */
  1062. #define COMP_INTENSET_CROSS_Set (1UL) /*!< Enable */
  1063. /* Bit 2 : Write '1' to Enable interrupt for UP event */
  1064. #define COMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */
  1065. #define COMP_INTENSET_UP_Msk (0x1UL << COMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */
  1066. #define COMP_INTENSET_UP_Disabled (0UL) /*!< Read: Disabled */
  1067. #define COMP_INTENSET_UP_Enabled (1UL) /*!< Read: Enabled */
  1068. #define COMP_INTENSET_UP_Set (1UL) /*!< Enable */
  1069. /* Bit 1 : Write '1' to Enable interrupt for DOWN event */
  1070. #define COMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  1071. #define COMP_INTENSET_DOWN_Msk (0x1UL << COMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */
  1072. #define COMP_INTENSET_DOWN_Disabled (0UL) /*!< Read: Disabled */
  1073. #define COMP_INTENSET_DOWN_Enabled (1UL) /*!< Read: Enabled */
  1074. #define COMP_INTENSET_DOWN_Set (1UL) /*!< Enable */
  1075. /* Bit 0 : Write '1' to Enable interrupt for READY event */
  1076. #define COMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  1077. #define COMP_INTENSET_READY_Msk (0x1UL << COMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  1078. #define COMP_INTENSET_READY_Disabled (0UL) /*!< Read: Disabled */
  1079. #define COMP_INTENSET_READY_Enabled (1UL) /*!< Read: Enabled */
  1080. #define COMP_INTENSET_READY_Set (1UL) /*!< Enable */
  1081. /* Register: COMP_INTENCLR */
  1082. /* Description: Disable interrupt */
  1083. /* Bit 3 : Write '1' to Disable interrupt for CROSS event */
  1084. #define COMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  1085. #define COMP_INTENCLR_CROSS_Msk (0x1UL << COMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */
  1086. #define COMP_INTENCLR_CROSS_Disabled (0UL) /*!< Read: Disabled */
  1087. #define COMP_INTENCLR_CROSS_Enabled (1UL) /*!< Read: Enabled */
  1088. #define COMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable */
  1089. /* Bit 2 : Write '1' to Disable interrupt for UP event */
  1090. #define COMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */
  1091. #define COMP_INTENCLR_UP_Msk (0x1UL << COMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */
  1092. #define COMP_INTENCLR_UP_Disabled (0UL) /*!< Read: Disabled */
  1093. #define COMP_INTENCLR_UP_Enabled (1UL) /*!< Read: Enabled */
  1094. #define COMP_INTENCLR_UP_Clear (1UL) /*!< Disable */
  1095. /* Bit 1 : Write '1' to Disable interrupt for DOWN event */
  1096. #define COMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  1097. #define COMP_INTENCLR_DOWN_Msk (0x1UL << COMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */
  1098. #define COMP_INTENCLR_DOWN_Disabled (0UL) /*!< Read: Disabled */
  1099. #define COMP_INTENCLR_DOWN_Enabled (1UL) /*!< Read: Enabled */
  1100. #define COMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable */
  1101. /* Bit 0 : Write '1' to Disable interrupt for READY event */
  1102. #define COMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  1103. #define COMP_INTENCLR_READY_Msk (0x1UL << COMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  1104. #define COMP_INTENCLR_READY_Disabled (0UL) /*!< Read: Disabled */
  1105. #define COMP_INTENCLR_READY_Enabled (1UL) /*!< Read: Enabled */
  1106. #define COMP_INTENCLR_READY_Clear (1UL) /*!< Disable */
  1107. /* Register: COMP_RESULT */
  1108. /* Description: Compare result */
  1109. /* Bit 0 : Result of last compare. Decision point SAMPLE task. */
  1110. #define COMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
  1111. #define COMP_RESULT_RESULT_Msk (0x1UL << COMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
  1112. #define COMP_RESULT_RESULT_Below (0UL) /*!< Input voltage is below the threshold (VIN+ &lt; VIN-) */
  1113. #define COMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the threshold (VIN+ &gt; VIN-) */
  1114. /* Register: COMP_ENABLE */
  1115. /* Description: COMP enable */
  1116. /* Bits 1..0 : Enable or disable COMP */
  1117. #define COMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  1118. #define COMP_ENABLE_ENABLE_Msk (0x3UL << COMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  1119. #define COMP_ENABLE_ENABLE_Disabled (0UL) /*!< Disable */
  1120. #define COMP_ENABLE_ENABLE_Enabled (2UL) /*!< Enable */
  1121. /* Register: COMP_PSEL */
  1122. /* Description: Pin select */
  1123. /* Bits 2..0 : Analog pin select */
  1124. #define COMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */
  1125. #define COMP_PSEL_PSEL_Msk (0x7UL << COMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */
  1126. #define COMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< AIN0 selected as analog input */
  1127. #define COMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< AIN1 selected as analog input */
  1128. #define COMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< AIN2 selected as analog input */
  1129. #define COMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< AIN3 selected as analog input */
  1130. #define COMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< AIN4 selected as analog input */
  1131. #define COMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< AIN5 selected as analog input */
  1132. #define COMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< AIN6 selected as analog input */
  1133. #define COMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< AIN7 selected as analog input */
  1134. /* Register: COMP_REFSEL */
  1135. /* Description: Reference source select for single-ended mode */
  1136. /* Bits 2..0 : Reference select */
  1137. #define COMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */
  1138. #define COMP_REFSEL_REFSEL_Msk (0x7UL << COMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  1139. #define COMP_REFSEL_REFSEL_Int1V2 (0UL) /*!< VREF = internal 1.2 V reference (VDD &gt;= 1.7 V) */
  1140. #define COMP_REFSEL_REFSEL_Int1V8 (1UL) /*!< VREF = internal 1.8 V reference (VDD &gt;= VREF + 0.2 V) */
  1141. #define COMP_REFSEL_REFSEL_Int2V4 (2UL) /*!< VREF = internal 2.4 V reference (VDD &gt;= VREF + 0.2 V) */
  1142. #define COMP_REFSEL_REFSEL_VDD (4UL) /*!< VREF = VDD */
  1143. #define COMP_REFSEL_REFSEL_ARef (7UL) /*!< VREF = AREF (VDD &gt;= VREF &gt;= AREFMIN) */
  1144. /* Register: COMP_EXTREFSEL */
  1145. /* Description: External reference select */
  1146. /* Bits 2..0 : External analog reference select */
  1147. #define COMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */
  1148. #define COMP_EXTREFSEL_EXTREFSEL_Msk (0x7UL << COMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
  1149. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use AIN0 as external analog reference */
  1150. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use AIN1 as external analog reference */
  1151. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference2 (2UL) /*!< Use AIN2 as external analog reference */
  1152. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference3 (3UL) /*!< Use AIN3 as external analog reference */
  1153. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference4 (4UL) /*!< Use AIN4 as external analog reference */
  1154. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference5 (5UL) /*!< Use AIN5 as external analog reference */
  1155. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference6 (6UL) /*!< Use AIN6 as external analog reference */
  1156. #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference7 (7UL) /*!< Use AIN7 as external analog reference */
  1157. /* Register: COMP_TH */
  1158. /* Description: Threshold configuration for hysteresis unit */
  1159. /* Bits 13..8 : VUP = (THUP+1)/64*VREF */
  1160. #define COMP_TH_THUP_Pos (8UL) /*!< Position of THUP field. */
  1161. #define COMP_TH_THUP_Msk (0x3FUL << COMP_TH_THUP_Pos) /*!< Bit mask of THUP field. */
  1162. /* Bits 5..0 : VDOWN = (THDOWN+1)/64*VREF */
  1163. #define COMP_TH_THDOWN_Pos (0UL) /*!< Position of THDOWN field. */
  1164. #define COMP_TH_THDOWN_Msk (0x3FUL << COMP_TH_THDOWN_Pos) /*!< Bit mask of THDOWN field. */
  1165. /* Register: COMP_MODE */
  1166. /* Description: Mode configuration */
  1167. /* Bit 8 : Main operation modes */
  1168. #define COMP_MODE_MAIN_Pos (8UL) /*!< Position of MAIN field. */
  1169. #define COMP_MODE_MAIN_Msk (0x1UL << COMP_MODE_MAIN_Pos) /*!< Bit mask of MAIN field. */
  1170. #define COMP_MODE_MAIN_SE (0UL) /*!< Single-ended mode */
  1171. #define COMP_MODE_MAIN_Diff (1UL) /*!< Differential mode */
  1172. /* Bits 1..0 : Speed and power modes */
  1173. #define COMP_MODE_SP_Pos (0UL) /*!< Position of SP field. */
  1174. #define COMP_MODE_SP_Msk (0x3UL << COMP_MODE_SP_Pos) /*!< Bit mask of SP field. */
  1175. #define COMP_MODE_SP_Low (0UL) /*!< Low-power mode */
  1176. #define COMP_MODE_SP_Normal (1UL) /*!< Normal mode */
  1177. #define COMP_MODE_SP_High (2UL) /*!< High-speed mode */
  1178. /* Register: COMP_HYST */
  1179. /* Description: Comparator hysteresis enable */
  1180. /* Bit 0 : Comparator hysteresis */
  1181. #define COMP_HYST_HYST_Pos (0UL) /*!< Position of HYST field. */
  1182. #define COMP_HYST_HYST_Msk (0x1UL << COMP_HYST_HYST_Pos) /*!< Bit mask of HYST field. */
  1183. #define COMP_HYST_HYST_NoHyst (0UL) /*!< Comparator hysteresis disabled */
  1184. #define COMP_HYST_HYST_Hyst50mV (1UL) /*!< Comparator hysteresis enabled */
  1185. /* Register: COMP_ISOURCE */
  1186. /* Description: Current source select on analog input */
  1187. /* Bits 1..0 : Comparator hysteresis */
  1188. #define COMP_ISOURCE_ISOURCE_Pos (0UL) /*!< Position of ISOURCE field. */
  1189. #define COMP_ISOURCE_ISOURCE_Msk (0x3UL << COMP_ISOURCE_ISOURCE_Pos) /*!< Bit mask of ISOURCE field. */
  1190. #define COMP_ISOURCE_ISOURCE_Off (0UL) /*!< Current source disabled */
  1191. #define COMP_ISOURCE_ISOURCE_Ien2mA5 (1UL) /*!< Current source enabled (+/- 2.5 uA) */
  1192. #define COMP_ISOURCE_ISOURCE_Ien5mA (2UL) /*!< Current source enabled (+/- 5 uA) */
  1193. #define COMP_ISOURCE_ISOURCE_Ien10mA (3UL) /*!< Current source enabled (+/- 10 uA) */
  1194. /* Peripheral: ECB */
  1195. /* Description: AES ECB Mode Encryption */
  1196. /* Register: ECB_INTENSET */
  1197. /* Description: Enable interrupt */
  1198. /* Bit 1 : Write '1' to Enable interrupt for ERRORECB event */
  1199. #define ECB_INTENSET_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
  1200. #define ECB_INTENSET_ERRORECB_Msk (0x1UL << ECB_INTENSET_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
  1201. #define ECB_INTENSET_ERRORECB_Disabled (0UL) /*!< Read: Disabled */
  1202. #define ECB_INTENSET_ERRORECB_Enabled (1UL) /*!< Read: Enabled */
  1203. #define ECB_INTENSET_ERRORECB_Set (1UL) /*!< Enable */
  1204. /* Bit 0 : Write '1' to Enable interrupt for ENDECB event */
  1205. #define ECB_INTENSET_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
  1206. #define ECB_INTENSET_ENDECB_Msk (0x1UL << ECB_INTENSET_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
  1207. #define ECB_INTENSET_ENDECB_Disabled (0UL) /*!< Read: Disabled */
  1208. #define ECB_INTENSET_ENDECB_Enabled (1UL) /*!< Read: Enabled */
  1209. #define ECB_INTENSET_ENDECB_Set (1UL) /*!< Enable */
  1210. /* Register: ECB_INTENCLR */
  1211. /* Description: Disable interrupt */
  1212. /* Bit 1 : Write '1' to Disable interrupt for ERRORECB event */
  1213. #define ECB_INTENCLR_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
  1214. #define ECB_INTENCLR_ERRORECB_Msk (0x1UL << ECB_INTENCLR_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
  1215. #define ECB_INTENCLR_ERRORECB_Disabled (0UL) /*!< Read: Disabled */
  1216. #define ECB_INTENCLR_ERRORECB_Enabled (1UL) /*!< Read: Enabled */
  1217. #define ECB_INTENCLR_ERRORECB_Clear (1UL) /*!< Disable */
  1218. /* Bit 0 : Write '1' to Disable interrupt for ENDECB event */
  1219. #define ECB_INTENCLR_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
  1220. #define ECB_INTENCLR_ENDECB_Msk (0x1UL << ECB_INTENCLR_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
  1221. #define ECB_INTENCLR_ENDECB_Disabled (0UL) /*!< Read: Disabled */
  1222. #define ECB_INTENCLR_ENDECB_Enabled (1UL) /*!< Read: Enabled */
  1223. #define ECB_INTENCLR_ENDECB_Clear (1UL) /*!< Disable */
  1224. /* Register: ECB_ECBDATAPTR */
  1225. /* Description: ECB block encrypt memory pointers */
  1226. /* Bits 31..0 : Pointer to the ECB data structure (see Table 1 ECB data structure overview) */
  1227. #define ECB_ECBDATAPTR_ECBDATAPTR_Pos (0UL) /*!< Position of ECBDATAPTR field. */
  1228. #define ECB_ECBDATAPTR_ECBDATAPTR_Msk (0xFFFFFFFFUL << ECB_ECBDATAPTR_ECBDATAPTR_Pos) /*!< Bit mask of ECBDATAPTR field. */
  1229. /* Peripheral: EGU */
  1230. /* Description: Event Generator Unit 0 */
  1231. /* Register: EGU_INTEN */
  1232. /* Description: Enable or disable interrupt */
  1233. /* Bit 15 : Enable or disable interrupt for TRIGGERED[15] event */
  1234. #define EGU_INTEN_TRIGGERED15_Pos (15UL) /*!< Position of TRIGGERED15 field. */
  1235. #define EGU_INTEN_TRIGGERED15_Msk (0x1UL << EGU_INTEN_TRIGGERED15_Pos) /*!< Bit mask of TRIGGERED15 field. */
  1236. #define EGU_INTEN_TRIGGERED15_Disabled (0UL) /*!< Disable */
  1237. #define EGU_INTEN_TRIGGERED15_Enabled (1UL) /*!< Enable */
  1238. /* Bit 14 : Enable or disable interrupt for TRIGGERED[14] event */
  1239. #define EGU_INTEN_TRIGGERED14_Pos (14UL) /*!< Position of TRIGGERED14 field. */
  1240. #define EGU_INTEN_TRIGGERED14_Msk (0x1UL << EGU_INTEN_TRIGGERED14_Pos) /*!< Bit mask of TRIGGERED14 field. */
  1241. #define EGU_INTEN_TRIGGERED14_Disabled (0UL) /*!< Disable */
  1242. #define EGU_INTEN_TRIGGERED14_Enabled (1UL) /*!< Enable */
  1243. /* Bit 13 : Enable or disable interrupt for TRIGGERED[13] event */
  1244. #define EGU_INTEN_TRIGGERED13_Pos (13UL) /*!< Position of TRIGGERED13 field. */
  1245. #define EGU_INTEN_TRIGGERED13_Msk (0x1UL << EGU_INTEN_TRIGGERED13_Pos) /*!< Bit mask of TRIGGERED13 field. */
  1246. #define EGU_INTEN_TRIGGERED13_Disabled (0UL) /*!< Disable */
  1247. #define EGU_INTEN_TRIGGERED13_Enabled (1UL) /*!< Enable */
  1248. /* Bit 12 : Enable or disable interrupt for TRIGGERED[12] event */
  1249. #define EGU_INTEN_TRIGGERED12_Pos (12UL) /*!< Position of TRIGGERED12 field. */
  1250. #define EGU_INTEN_TRIGGERED12_Msk (0x1UL << EGU_INTEN_TRIGGERED12_Pos) /*!< Bit mask of TRIGGERED12 field. */
  1251. #define EGU_INTEN_TRIGGERED12_Disabled (0UL) /*!< Disable */
  1252. #define EGU_INTEN_TRIGGERED12_Enabled (1UL) /*!< Enable */
  1253. /* Bit 11 : Enable or disable interrupt for TRIGGERED[11] event */
  1254. #define EGU_INTEN_TRIGGERED11_Pos (11UL) /*!< Position of TRIGGERED11 field. */
  1255. #define EGU_INTEN_TRIGGERED11_Msk (0x1UL << EGU_INTEN_TRIGGERED11_Pos) /*!< Bit mask of TRIGGERED11 field. */
  1256. #define EGU_INTEN_TRIGGERED11_Disabled (0UL) /*!< Disable */
  1257. #define EGU_INTEN_TRIGGERED11_Enabled (1UL) /*!< Enable */
  1258. /* Bit 10 : Enable or disable interrupt for TRIGGERED[10] event */
  1259. #define EGU_INTEN_TRIGGERED10_Pos (10UL) /*!< Position of TRIGGERED10 field. */
  1260. #define EGU_INTEN_TRIGGERED10_Msk (0x1UL << EGU_INTEN_TRIGGERED10_Pos) /*!< Bit mask of TRIGGERED10 field. */
  1261. #define EGU_INTEN_TRIGGERED10_Disabled (0UL) /*!< Disable */
  1262. #define EGU_INTEN_TRIGGERED10_Enabled (1UL) /*!< Enable */
  1263. /* Bit 9 : Enable or disable interrupt for TRIGGERED[9] event */
  1264. #define EGU_INTEN_TRIGGERED9_Pos (9UL) /*!< Position of TRIGGERED9 field. */
  1265. #define EGU_INTEN_TRIGGERED9_Msk (0x1UL << EGU_INTEN_TRIGGERED9_Pos) /*!< Bit mask of TRIGGERED9 field. */
  1266. #define EGU_INTEN_TRIGGERED9_Disabled (0UL) /*!< Disable */
  1267. #define EGU_INTEN_TRIGGERED9_Enabled (1UL) /*!< Enable */
  1268. /* Bit 8 : Enable or disable interrupt for TRIGGERED[8] event */
  1269. #define EGU_INTEN_TRIGGERED8_Pos (8UL) /*!< Position of TRIGGERED8 field. */
  1270. #define EGU_INTEN_TRIGGERED8_Msk (0x1UL << EGU_INTEN_TRIGGERED8_Pos) /*!< Bit mask of TRIGGERED8 field. */
  1271. #define EGU_INTEN_TRIGGERED8_Disabled (0UL) /*!< Disable */
  1272. #define EGU_INTEN_TRIGGERED8_Enabled (1UL) /*!< Enable */
  1273. /* Bit 7 : Enable or disable interrupt for TRIGGERED[7] event */
  1274. #define EGU_INTEN_TRIGGERED7_Pos (7UL) /*!< Position of TRIGGERED7 field. */
  1275. #define EGU_INTEN_TRIGGERED7_Msk (0x1UL << EGU_INTEN_TRIGGERED7_Pos) /*!< Bit mask of TRIGGERED7 field. */
  1276. #define EGU_INTEN_TRIGGERED7_Disabled (0UL) /*!< Disable */
  1277. #define EGU_INTEN_TRIGGERED7_Enabled (1UL) /*!< Enable */
  1278. /* Bit 6 : Enable or disable interrupt for TRIGGERED[6] event */
  1279. #define EGU_INTEN_TRIGGERED6_Pos (6UL) /*!< Position of TRIGGERED6 field. */
  1280. #define EGU_INTEN_TRIGGERED6_Msk (0x1UL << EGU_INTEN_TRIGGERED6_Pos) /*!< Bit mask of TRIGGERED6 field. */
  1281. #define EGU_INTEN_TRIGGERED6_Disabled (0UL) /*!< Disable */
  1282. #define EGU_INTEN_TRIGGERED6_Enabled (1UL) /*!< Enable */
  1283. /* Bit 5 : Enable or disable interrupt for TRIGGERED[5] event */
  1284. #define EGU_INTEN_TRIGGERED5_Pos (5UL) /*!< Position of TRIGGERED5 field. */
  1285. #define EGU_INTEN_TRIGGERED5_Msk (0x1UL << EGU_INTEN_TRIGGERED5_Pos) /*!< Bit mask of TRIGGERED5 field. */
  1286. #define EGU_INTEN_TRIGGERED5_Disabled (0UL) /*!< Disable */
  1287. #define EGU_INTEN_TRIGGERED5_Enabled (1UL) /*!< Enable */
  1288. /* Bit 4 : Enable or disable interrupt for TRIGGERED[4] event */
  1289. #define EGU_INTEN_TRIGGERED4_Pos (4UL) /*!< Position of TRIGGERED4 field. */
  1290. #define EGU_INTEN_TRIGGERED4_Msk (0x1UL << EGU_INTEN_TRIGGERED4_Pos) /*!< Bit mask of TRIGGERED4 field. */
  1291. #define EGU_INTEN_TRIGGERED4_Disabled (0UL) /*!< Disable */
  1292. #define EGU_INTEN_TRIGGERED4_Enabled (1UL) /*!< Enable */
  1293. /* Bit 3 : Enable or disable interrupt for TRIGGERED[3] event */
  1294. #define EGU_INTEN_TRIGGERED3_Pos (3UL) /*!< Position of TRIGGERED3 field. */
  1295. #define EGU_INTEN_TRIGGERED3_Msk (0x1UL << EGU_INTEN_TRIGGERED3_Pos) /*!< Bit mask of TRIGGERED3 field. */
  1296. #define EGU_INTEN_TRIGGERED3_Disabled (0UL) /*!< Disable */
  1297. #define EGU_INTEN_TRIGGERED3_Enabled (1UL) /*!< Enable */
  1298. /* Bit 2 : Enable or disable interrupt for TRIGGERED[2] event */
  1299. #define EGU_INTEN_TRIGGERED2_Pos (2UL) /*!< Position of TRIGGERED2 field. */
  1300. #define EGU_INTEN_TRIGGERED2_Msk (0x1UL << EGU_INTEN_TRIGGERED2_Pos) /*!< Bit mask of TRIGGERED2 field. */
  1301. #define EGU_INTEN_TRIGGERED2_Disabled (0UL) /*!< Disable */
  1302. #define EGU_INTEN_TRIGGERED2_Enabled (1UL) /*!< Enable */
  1303. /* Bit 1 : Enable or disable interrupt for TRIGGERED[1] event */
  1304. #define EGU_INTEN_TRIGGERED1_Pos (1UL) /*!< Position of TRIGGERED1 field. */
  1305. #define EGU_INTEN_TRIGGERED1_Msk (0x1UL << EGU_INTEN_TRIGGERED1_Pos) /*!< Bit mask of TRIGGERED1 field. */
  1306. #define EGU_INTEN_TRIGGERED1_Disabled (0UL) /*!< Disable */
  1307. #define EGU_INTEN_TRIGGERED1_Enabled (1UL) /*!< Enable */
  1308. /* Bit 0 : Enable or disable interrupt for TRIGGERED[0] event */
  1309. #define EGU_INTEN_TRIGGERED0_Pos (0UL) /*!< Position of TRIGGERED0 field. */
  1310. #define EGU_INTEN_TRIGGERED0_Msk (0x1UL << EGU_INTEN_TRIGGERED0_Pos) /*!< Bit mask of TRIGGERED0 field. */
  1311. #define EGU_INTEN_TRIGGERED0_Disabled (0UL) /*!< Disable */
  1312. #define EGU_INTEN_TRIGGERED0_Enabled (1UL) /*!< Enable */
  1313. /* Register: EGU_INTENSET */
  1314. /* Description: Enable interrupt */
  1315. /* Bit 15 : Write '1' to Enable interrupt for TRIGGERED[15] event */
  1316. #define EGU_INTENSET_TRIGGERED15_Pos (15UL) /*!< Position of TRIGGERED15 field. */
  1317. #define EGU_INTENSET_TRIGGERED15_Msk (0x1UL << EGU_INTENSET_TRIGGERED15_Pos) /*!< Bit mask of TRIGGERED15 field. */
  1318. #define EGU_INTENSET_TRIGGERED15_Disabled (0UL) /*!< Read: Disabled */
  1319. #define EGU_INTENSET_TRIGGERED15_Enabled (1UL) /*!< Read: Enabled */
  1320. #define EGU_INTENSET_TRIGGERED15_Set (1UL) /*!< Enable */
  1321. /* Bit 14 : Write '1' to Enable interrupt for TRIGGERED[14] event */
  1322. #define EGU_INTENSET_TRIGGERED14_Pos (14UL) /*!< Position of TRIGGERED14 field. */
  1323. #define EGU_INTENSET_TRIGGERED14_Msk (0x1UL << EGU_INTENSET_TRIGGERED14_Pos) /*!< Bit mask of TRIGGERED14 field. */
  1324. #define EGU_INTENSET_TRIGGERED14_Disabled (0UL) /*!< Read: Disabled */
  1325. #define EGU_INTENSET_TRIGGERED14_Enabled (1UL) /*!< Read: Enabled */
  1326. #define EGU_INTENSET_TRIGGERED14_Set (1UL) /*!< Enable */
  1327. /* Bit 13 : Write '1' to Enable interrupt for TRIGGERED[13] event */
  1328. #define EGU_INTENSET_TRIGGERED13_Pos (13UL) /*!< Position of TRIGGERED13 field. */
  1329. #define EGU_INTENSET_TRIGGERED13_Msk (0x1UL << EGU_INTENSET_TRIGGERED13_Pos) /*!< Bit mask of TRIGGERED13 field. */
  1330. #define EGU_INTENSET_TRIGGERED13_Disabled (0UL) /*!< Read: Disabled */
  1331. #define EGU_INTENSET_TRIGGERED13_Enabled (1UL) /*!< Read: Enabled */
  1332. #define EGU_INTENSET_TRIGGERED13_Set (1UL) /*!< Enable */
  1333. /* Bit 12 : Write '1' to Enable interrupt for TRIGGERED[12] event */
  1334. #define EGU_INTENSET_TRIGGERED12_Pos (12UL) /*!< Position of TRIGGERED12 field. */
  1335. #define EGU_INTENSET_TRIGGERED12_Msk (0x1UL << EGU_INTENSET_TRIGGERED12_Pos) /*!< Bit mask of TRIGGERED12 field. */
  1336. #define EGU_INTENSET_TRIGGERED12_Disabled (0UL) /*!< Read: Disabled */
  1337. #define EGU_INTENSET_TRIGGERED12_Enabled (1UL) /*!< Read: Enabled */
  1338. #define EGU_INTENSET_TRIGGERED12_Set (1UL) /*!< Enable */
  1339. /* Bit 11 : Write '1' to Enable interrupt for TRIGGERED[11] event */
  1340. #define EGU_INTENSET_TRIGGERED11_Pos (11UL) /*!< Position of TRIGGERED11 field. */
  1341. #define EGU_INTENSET_TRIGGERED11_Msk (0x1UL << EGU_INTENSET_TRIGGERED11_Pos) /*!< Bit mask of TRIGGERED11 field. */
  1342. #define EGU_INTENSET_TRIGGERED11_Disabled (0UL) /*!< Read: Disabled */
  1343. #define EGU_INTENSET_TRIGGERED11_Enabled (1UL) /*!< Read: Enabled */
  1344. #define EGU_INTENSET_TRIGGERED11_Set (1UL) /*!< Enable */
  1345. /* Bit 10 : Write '1' to Enable interrupt for TRIGGERED[10] event */
  1346. #define EGU_INTENSET_TRIGGERED10_Pos (10UL) /*!< Position of TRIGGERED10 field. */
  1347. #define EGU_INTENSET_TRIGGERED10_Msk (0x1UL << EGU_INTENSET_TRIGGERED10_Pos) /*!< Bit mask of TRIGGERED10 field. */
  1348. #define EGU_INTENSET_TRIGGERED10_Disabled (0UL) /*!< Read: Disabled */
  1349. #define EGU_INTENSET_TRIGGERED10_Enabled (1UL) /*!< Read: Enabled */
  1350. #define EGU_INTENSET_TRIGGERED10_Set (1UL) /*!< Enable */
  1351. /* Bit 9 : Write '1' to Enable interrupt for TRIGGERED[9] event */
  1352. #define EGU_INTENSET_TRIGGERED9_Pos (9UL) /*!< Position of TRIGGERED9 field. */
  1353. #define EGU_INTENSET_TRIGGERED9_Msk (0x1UL << EGU_INTENSET_TRIGGERED9_Pos) /*!< Bit mask of TRIGGERED9 field. */
  1354. #define EGU_INTENSET_TRIGGERED9_Disabled (0UL) /*!< Read: Disabled */
  1355. #define EGU_INTENSET_TRIGGERED9_Enabled (1UL) /*!< Read: Enabled */
  1356. #define EGU_INTENSET_TRIGGERED9_Set (1UL) /*!< Enable */
  1357. /* Bit 8 : Write '1' to Enable interrupt for TRIGGERED[8] event */
  1358. #define EGU_INTENSET_TRIGGERED8_Pos (8UL) /*!< Position of TRIGGERED8 field. */
  1359. #define EGU_INTENSET_TRIGGERED8_Msk (0x1UL << EGU_INTENSET_TRIGGERED8_Pos) /*!< Bit mask of TRIGGERED8 field. */
  1360. #define EGU_INTENSET_TRIGGERED8_Disabled (0UL) /*!< Read: Disabled */
  1361. #define EGU_INTENSET_TRIGGERED8_Enabled (1UL) /*!< Read: Enabled */
  1362. #define EGU_INTENSET_TRIGGERED8_Set (1UL) /*!< Enable */
  1363. /* Bit 7 : Write '1' to Enable interrupt for TRIGGERED[7] event */
  1364. #define EGU_INTENSET_TRIGGERED7_Pos (7UL) /*!< Position of TRIGGERED7 field. */
  1365. #define EGU_INTENSET_TRIGGERED7_Msk (0x1UL << EGU_INTENSET_TRIGGERED7_Pos) /*!< Bit mask of TRIGGERED7 field. */
  1366. #define EGU_INTENSET_TRIGGERED7_Disabled (0UL) /*!< Read: Disabled */
  1367. #define EGU_INTENSET_TRIGGERED7_Enabled (1UL) /*!< Read: Enabled */
  1368. #define EGU_INTENSET_TRIGGERED7_Set (1UL) /*!< Enable */
  1369. /* Bit 6 : Write '1' to Enable interrupt for TRIGGERED[6] event */
  1370. #define EGU_INTENSET_TRIGGERED6_Pos (6UL) /*!< Position of TRIGGERED6 field. */
  1371. #define EGU_INTENSET_TRIGGERED6_Msk (0x1UL << EGU_INTENSET_TRIGGERED6_Pos) /*!< Bit mask of TRIGGERED6 field. */
  1372. #define EGU_INTENSET_TRIGGERED6_Disabled (0UL) /*!< Read: Disabled */
  1373. #define EGU_INTENSET_TRIGGERED6_Enabled (1UL) /*!< Read: Enabled */
  1374. #define EGU_INTENSET_TRIGGERED6_Set (1UL) /*!< Enable */
  1375. /* Bit 5 : Write '1' to Enable interrupt for TRIGGERED[5] event */
  1376. #define EGU_INTENSET_TRIGGERED5_Pos (5UL) /*!< Position of TRIGGERED5 field. */
  1377. #define EGU_INTENSET_TRIGGERED5_Msk (0x1UL << EGU_INTENSET_TRIGGERED5_Pos) /*!< Bit mask of TRIGGERED5 field. */
  1378. #define EGU_INTENSET_TRIGGERED5_Disabled (0UL) /*!< Read: Disabled */
  1379. #define EGU_INTENSET_TRIGGERED5_Enabled (1UL) /*!< Read: Enabled */
  1380. #define EGU_INTENSET_TRIGGERED5_Set (1UL) /*!< Enable */
  1381. /* Bit 4 : Write '1' to Enable interrupt for TRIGGERED[4] event */
  1382. #define EGU_INTENSET_TRIGGERED4_Pos (4UL) /*!< Position of TRIGGERED4 field. */
  1383. #define EGU_INTENSET_TRIGGERED4_Msk (0x1UL << EGU_INTENSET_TRIGGERED4_Pos) /*!< Bit mask of TRIGGERED4 field. */
  1384. #define EGU_INTENSET_TRIGGERED4_Disabled (0UL) /*!< Read: Disabled */
  1385. #define EGU_INTENSET_TRIGGERED4_Enabled (1UL) /*!< Read: Enabled */
  1386. #define EGU_INTENSET_TRIGGERED4_Set (1UL) /*!< Enable */
  1387. /* Bit 3 : Write '1' to Enable interrupt for TRIGGERED[3] event */
  1388. #define EGU_INTENSET_TRIGGERED3_Pos (3UL) /*!< Position of TRIGGERED3 field. */
  1389. #define EGU_INTENSET_TRIGGERED3_Msk (0x1UL << EGU_INTENSET_TRIGGERED3_Pos) /*!< Bit mask of TRIGGERED3 field. */
  1390. #define EGU_INTENSET_TRIGGERED3_Disabled (0UL) /*!< Read: Disabled */
  1391. #define EGU_INTENSET_TRIGGERED3_Enabled (1UL) /*!< Read: Enabled */
  1392. #define EGU_INTENSET_TRIGGERED3_Set (1UL) /*!< Enable */
  1393. /* Bit 2 : Write '1' to Enable interrupt for TRIGGERED[2] event */
  1394. #define EGU_INTENSET_TRIGGERED2_Pos (2UL) /*!< Position of TRIGGERED2 field. */
  1395. #define EGU_INTENSET_TRIGGERED2_Msk (0x1UL << EGU_INTENSET_TRIGGERED2_Pos) /*!< Bit mask of TRIGGERED2 field. */
  1396. #define EGU_INTENSET_TRIGGERED2_Disabled (0UL) /*!< Read: Disabled */
  1397. #define EGU_INTENSET_TRIGGERED2_Enabled (1UL) /*!< Read: Enabled */
  1398. #define EGU_INTENSET_TRIGGERED2_Set (1UL) /*!< Enable */
  1399. /* Bit 1 : Write '1' to Enable interrupt for TRIGGERED[1] event */
  1400. #define EGU_INTENSET_TRIGGERED1_Pos (1UL) /*!< Position of TRIGGERED1 field. */
  1401. #define EGU_INTENSET_TRIGGERED1_Msk (0x1UL << EGU_INTENSET_TRIGGERED1_Pos) /*!< Bit mask of TRIGGERED1 field. */
  1402. #define EGU_INTENSET_TRIGGERED1_Disabled (0UL) /*!< Read: Disabled */
  1403. #define EGU_INTENSET_TRIGGERED1_Enabled (1UL) /*!< Read: Enabled */
  1404. #define EGU_INTENSET_TRIGGERED1_Set (1UL) /*!< Enable */
  1405. /* Bit 0 : Write '1' to Enable interrupt for TRIGGERED[0] event */
  1406. #define EGU_INTENSET_TRIGGERED0_Pos (0UL) /*!< Position of TRIGGERED0 field. */
  1407. #define EGU_INTENSET_TRIGGERED0_Msk (0x1UL << EGU_INTENSET_TRIGGERED0_Pos) /*!< Bit mask of TRIGGERED0 field. */
  1408. #define EGU_INTENSET_TRIGGERED0_Disabled (0UL) /*!< Read: Disabled */
  1409. #define EGU_INTENSET_TRIGGERED0_Enabled (1UL) /*!< Read: Enabled */
  1410. #define EGU_INTENSET_TRIGGERED0_Set (1UL) /*!< Enable */
  1411. /* Register: EGU_INTENCLR */
  1412. /* Description: Disable interrupt */
  1413. /* Bit 15 : Write '1' to Disable interrupt for TRIGGERED[15] event */
  1414. #define EGU_INTENCLR_TRIGGERED15_Pos (15UL) /*!< Position of TRIGGERED15 field. */
  1415. #define EGU_INTENCLR_TRIGGERED15_Msk (0x1UL << EGU_INTENCLR_TRIGGERED15_Pos) /*!< Bit mask of TRIGGERED15 field. */
  1416. #define EGU_INTENCLR_TRIGGERED15_Disabled (0UL) /*!< Read: Disabled */
  1417. #define EGU_INTENCLR_TRIGGERED15_Enabled (1UL) /*!< Read: Enabled */
  1418. #define EGU_INTENCLR_TRIGGERED15_Clear (1UL) /*!< Disable */
  1419. /* Bit 14 : Write '1' to Disable interrupt for TRIGGERED[14] event */
  1420. #define EGU_INTENCLR_TRIGGERED14_Pos (14UL) /*!< Position of TRIGGERED14 field. */
  1421. #define EGU_INTENCLR_TRIGGERED14_Msk (0x1UL << EGU_INTENCLR_TRIGGERED14_Pos) /*!< Bit mask of TRIGGERED14 field. */
  1422. #define EGU_INTENCLR_TRIGGERED14_Disabled (0UL) /*!< Read: Disabled */
  1423. #define EGU_INTENCLR_TRIGGERED14_Enabled (1UL) /*!< Read: Enabled */
  1424. #define EGU_INTENCLR_TRIGGERED14_Clear (1UL) /*!< Disable */
  1425. /* Bit 13 : Write '1' to Disable interrupt for TRIGGERED[13] event */
  1426. #define EGU_INTENCLR_TRIGGERED13_Pos (13UL) /*!< Position of TRIGGERED13 field. */
  1427. #define EGU_INTENCLR_TRIGGERED13_Msk (0x1UL << EGU_INTENCLR_TRIGGERED13_Pos) /*!< Bit mask of TRIGGERED13 field. */
  1428. #define EGU_INTENCLR_TRIGGERED13_Disabled (0UL) /*!< Read: Disabled */
  1429. #define EGU_INTENCLR_TRIGGERED13_Enabled (1UL) /*!< Read: Enabled */
  1430. #define EGU_INTENCLR_TRIGGERED13_Clear (1UL) /*!< Disable */
  1431. /* Bit 12 : Write '1' to Disable interrupt for TRIGGERED[12] event */
  1432. #define EGU_INTENCLR_TRIGGERED12_Pos (12UL) /*!< Position of TRIGGERED12 field. */
  1433. #define EGU_INTENCLR_TRIGGERED12_Msk (0x1UL << EGU_INTENCLR_TRIGGERED12_Pos) /*!< Bit mask of TRIGGERED12 field. */
  1434. #define EGU_INTENCLR_TRIGGERED12_Disabled (0UL) /*!< Read: Disabled */
  1435. #define EGU_INTENCLR_TRIGGERED12_Enabled (1UL) /*!< Read: Enabled */
  1436. #define EGU_INTENCLR_TRIGGERED12_Clear (1UL) /*!< Disable */
  1437. /* Bit 11 : Write '1' to Disable interrupt for TRIGGERED[11] event */
  1438. #define EGU_INTENCLR_TRIGGERED11_Pos (11UL) /*!< Position of TRIGGERED11 field. */
  1439. #define EGU_INTENCLR_TRIGGERED11_Msk (0x1UL << EGU_INTENCLR_TRIGGERED11_Pos) /*!< Bit mask of TRIGGERED11 field. */
  1440. #define EGU_INTENCLR_TRIGGERED11_Disabled (0UL) /*!< Read: Disabled */
  1441. #define EGU_INTENCLR_TRIGGERED11_Enabled (1UL) /*!< Read: Enabled */
  1442. #define EGU_INTENCLR_TRIGGERED11_Clear (1UL) /*!< Disable */
  1443. /* Bit 10 : Write '1' to Disable interrupt for TRIGGERED[10] event */
  1444. #define EGU_INTENCLR_TRIGGERED10_Pos (10UL) /*!< Position of TRIGGERED10 field. */
  1445. #define EGU_INTENCLR_TRIGGERED10_Msk (0x1UL << EGU_INTENCLR_TRIGGERED10_Pos) /*!< Bit mask of TRIGGERED10 field. */
  1446. #define EGU_INTENCLR_TRIGGERED10_Disabled (0UL) /*!< Read: Disabled */
  1447. #define EGU_INTENCLR_TRIGGERED10_Enabled (1UL) /*!< Read: Enabled */
  1448. #define EGU_INTENCLR_TRIGGERED10_Clear (1UL) /*!< Disable */
  1449. /* Bit 9 : Write '1' to Disable interrupt for TRIGGERED[9] event */
  1450. #define EGU_INTENCLR_TRIGGERED9_Pos (9UL) /*!< Position of TRIGGERED9 field. */
  1451. #define EGU_INTENCLR_TRIGGERED9_Msk (0x1UL << EGU_INTENCLR_TRIGGERED9_Pos) /*!< Bit mask of TRIGGERED9 field. */
  1452. #define EGU_INTENCLR_TRIGGERED9_Disabled (0UL) /*!< Read: Disabled */
  1453. #define EGU_INTENCLR_TRIGGERED9_Enabled (1UL) /*!< Read: Enabled */
  1454. #define EGU_INTENCLR_TRIGGERED9_Clear (1UL) /*!< Disable */
  1455. /* Bit 8 : Write '1' to Disable interrupt for TRIGGERED[8] event */
  1456. #define EGU_INTENCLR_TRIGGERED8_Pos (8UL) /*!< Position of TRIGGERED8 field. */
  1457. #define EGU_INTENCLR_TRIGGERED8_Msk (0x1UL << EGU_INTENCLR_TRIGGERED8_Pos) /*!< Bit mask of TRIGGERED8 field. */
  1458. #define EGU_INTENCLR_TRIGGERED8_Disabled (0UL) /*!< Read: Disabled */
  1459. #define EGU_INTENCLR_TRIGGERED8_Enabled (1UL) /*!< Read: Enabled */
  1460. #define EGU_INTENCLR_TRIGGERED8_Clear (1UL) /*!< Disable */
  1461. /* Bit 7 : Write '1' to Disable interrupt for TRIGGERED[7] event */
  1462. #define EGU_INTENCLR_TRIGGERED7_Pos (7UL) /*!< Position of TRIGGERED7 field. */
  1463. #define EGU_INTENCLR_TRIGGERED7_Msk (0x1UL << EGU_INTENCLR_TRIGGERED7_Pos) /*!< Bit mask of TRIGGERED7 field. */
  1464. #define EGU_INTENCLR_TRIGGERED7_Disabled (0UL) /*!< Read: Disabled */
  1465. #define EGU_INTENCLR_TRIGGERED7_Enabled (1UL) /*!< Read: Enabled */
  1466. #define EGU_INTENCLR_TRIGGERED7_Clear (1UL) /*!< Disable */
  1467. /* Bit 6 : Write '1' to Disable interrupt for TRIGGERED[6] event */
  1468. #define EGU_INTENCLR_TRIGGERED6_Pos (6UL) /*!< Position of TRIGGERED6 field. */
  1469. #define EGU_INTENCLR_TRIGGERED6_Msk (0x1UL << EGU_INTENCLR_TRIGGERED6_Pos) /*!< Bit mask of TRIGGERED6 field. */
  1470. #define EGU_INTENCLR_TRIGGERED6_Disabled (0UL) /*!< Read: Disabled */
  1471. #define EGU_INTENCLR_TRIGGERED6_Enabled (1UL) /*!< Read: Enabled */
  1472. #define EGU_INTENCLR_TRIGGERED6_Clear (1UL) /*!< Disable */
  1473. /* Bit 5 : Write '1' to Disable interrupt for TRIGGERED[5] event */
  1474. #define EGU_INTENCLR_TRIGGERED5_Pos (5UL) /*!< Position of TRIGGERED5 field. */
  1475. #define EGU_INTENCLR_TRIGGERED5_Msk (0x1UL << EGU_INTENCLR_TRIGGERED5_Pos) /*!< Bit mask of TRIGGERED5 field. */
  1476. #define EGU_INTENCLR_TRIGGERED5_Disabled (0UL) /*!< Read: Disabled */
  1477. #define EGU_INTENCLR_TRIGGERED5_Enabled (1UL) /*!< Read: Enabled */
  1478. #define EGU_INTENCLR_TRIGGERED5_Clear (1UL) /*!< Disable */
  1479. /* Bit 4 : Write '1' to Disable interrupt for TRIGGERED[4] event */
  1480. #define EGU_INTENCLR_TRIGGERED4_Pos (4UL) /*!< Position of TRIGGERED4 field. */
  1481. #define EGU_INTENCLR_TRIGGERED4_Msk (0x1UL << EGU_INTENCLR_TRIGGERED4_Pos) /*!< Bit mask of TRIGGERED4 field. */
  1482. #define EGU_INTENCLR_TRIGGERED4_Disabled (0UL) /*!< Read: Disabled */
  1483. #define EGU_INTENCLR_TRIGGERED4_Enabled (1UL) /*!< Read: Enabled */
  1484. #define EGU_INTENCLR_TRIGGERED4_Clear (1UL) /*!< Disable */
  1485. /* Bit 3 : Write '1' to Disable interrupt for TRIGGERED[3] event */
  1486. #define EGU_INTENCLR_TRIGGERED3_Pos (3UL) /*!< Position of TRIGGERED3 field. */
  1487. #define EGU_INTENCLR_TRIGGERED3_Msk (0x1UL << EGU_INTENCLR_TRIGGERED3_Pos) /*!< Bit mask of TRIGGERED3 field. */
  1488. #define EGU_INTENCLR_TRIGGERED3_Disabled (0UL) /*!< Read: Disabled */
  1489. #define EGU_INTENCLR_TRIGGERED3_Enabled (1UL) /*!< Read: Enabled */
  1490. #define EGU_INTENCLR_TRIGGERED3_Clear (1UL) /*!< Disable */
  1491. /* Bit 2 : Write '1' to Disable interrupt for TRIGGERED[2] event */
  1492. #define EGU_INTENCLR_TRIGGERED2_Pos (2UL) /*!< Position of TRIGGERED2 field. */
  1493. #define EGU_INTENCLR_TRIGGERED2_Msk (0x1UL << EGU_INTENCLR_TRIGGERED2_Pos) /*!< Bit mask of TRIGGERED2 field. */
  1494. #define EGU_INTENCLR_TRIGGERED2_Disabled (0UL) /*!< Read: Disabled */
  1495. #define EGU_INTENCLR_TRIGGERED2_Enabled (1UL) /*!< Read: Enabled */
  1496. #define EGU_INTENCLR_TRIGGERED2_Clear (1UL) /*!< Disable */
  1497. /* Bit 1 : Write '1' to Disable interrupt for TRIGGERED[1] event */
  1498. #define EGU_INTENCLR_TRIGGERED1_Pos (1UL) /*!< Position of TRIGGERED1 field. */
  1499. #define EGU_INTENCLR_TRIGGERED1_Msk (0x1UL << EGU_INTENCLR_TRIGGERED1_Pos) /*!< Bit mask of TRIGGERED1 field. */
  1500. #define EGU_INTENCLR_TRIGGERED1_Disabled (0UL) /*!< Read: Disabled */
  1501. #define EGU_INTENCLR_TRIGGERED1_Enabled (1UL) /*!< Read: Enabled */
  1502. #define EGU_INTENCLR_TRIGGERED1_Clear (1UL) /*!< Disable */
  1503. /* Bit 0 : Write '1' to Disable interrupt for TRIGGERED[0] event */
  1504. #define EGU_INTENCLR_TRIGGERED0_Pos (0UL) /*!< Position of TRIGGERED0 field. */
  1505. #define EGU_INTENCLR_TRIGGERED0_Msk (0x1UL << EGU_INTENCLR_TRIGGERED0_Pos) /*!< Bit mask of TRIGGERED0 field. */
  1506. #define EGU_INTENCLR_TRIGGERED0_Disabled (0UL) /*!< Read: Disabled */
  1507. #define EGU_INTENCLR_TRIGGERED0_Enabled (1UL) /*!< Read: Enabled */
  1508. #define EGU_INTENCLR_TRIGGERED0_Clear (1UL) /*!< Disable */
  1509. /* Peripheral: FICR */
  1510. /* Description: Factory Information Configuration Registers */
  1511. /* Register: FICR_CODEPAGESIZE */
  1512. /* Description: Code memory page size */
  1513. /* Bits 31..0 : Code memory page size */
  1514. #define FICR_CODEPAGESIZE_CODEPAGESIZE_Pos (0UL) /*!< Position of CODEPAGESIZE field. */
  1515. #define FICR_CODEPAGESIZE_CODEPAGESIZE_Msk (0xFFFFFFFFUL << FICR_CODEPAGESIZE_CODEPAGESIZE_Pos) /*!< Bit mask of CODEPAGESIZE field. */
  1516. /* Register: FICR_CODESIZE */
  1517. /* Description: Code memory size */
  1518. /* Bits 31..0 : Code memory size in number of pages */
  1519. #define FICR_CODESIZE_CODESIZE_Pos (0UL) /*!< Position of CODESIZE field. */
  1520. #define FICR_CODESIZE_CODESIZE_Msk (0xFFFFFFFFUL << FICR_CODESIZE_CODESIZE_Pos) /*!< Bit mask of CODESIZE field. */
  1521. /* Register: FICR_DEVICEID */
  1522. /* Description: Description collection[0]: Device identifier */
  1523. /* Bits 31..0 : 64 bit unique device identifier */
  1524. #define FICR_DEVICEID_DEVICEID_Pos (0UL) /*!< Position of DEVICEID field. */
  1525. #define FICR_DEVICEID_DEVICEID_Msk (0xFFFFFFFFUL << FICR_DEVICEID_DEVICEID_Pos) /*!< Bit mask of DEVICEID field. */
  1526. /* Register: FICR_ER */
  1527. /* Description: Description collection[0]: Encryption Root, word 0 */
  1528. /* Bits 31..0 : Encryption Root, word n */
  1529. #define FICR_ER_ER_Pos (0UL) /*!< Position of ER field. */
  1530. #define FICR_ER_ER_Msk (0xFFFFFFFFUL << FICR_ER_ER_Pos) /*!< Bit mask of ER field. */
  1531. /* Register: FICR_IR */
  1532. /* Description: Description collection[0]: Identity Root, word 0 */
  1533. /* Bits 31..0 : Identity Root, word n */
  1534. #define FICR_IR_IR_Pos (0UL) /*!< Position of IR field. */
  1535. #define FICR_IR_IR_Msk (0xFFFFFFFFUL << FICR_IR_IR_Pos) /*!< Bit mask of IR field. */
  1536. /* Register: FICR_DEVICEADDRTYPE */
  1537. /* Description: Device address type */
  1538. /* Bit 0 : Device address type */
  1539. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos (0UL) /*!< Position of DEVICEADDRTYPE field. */
  1540. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk (0x1UL << FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos) /*!< Bit mask of DEVICEADDRTYPE field. */
  1541. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public (0UL) /*!< Public address */
  1542. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random (1UL) /*!< Random address */
  1543. /* Register: FICR_DEVICEADDR */
  1544. /* Description: Description collection[0]: Device address 0 */
  1545. /* Bits 31..0 : 48 bit device address */
  1546. #define FICR_DEVICEADDR_DEVICEADDR_Pos (0UL) /*!< Position of DEVICEADDR field. */
  1547. #define FICR_DEVICEADDR_DEVICEADDR_Msk (0xFFFFFFFFUL << FICR_DEVICEADDR_DEVICEADDR_Pos) /*!< Bit mask of DEVICEADDR field. */
  1548. /* Register: FICR_INFO_PART */
  1549. /* Description: Part code */
  1550. /* Bits 31..0 : Part code */
  1551. #define FICR_INFO_PART_PART_Pos (0UL) /*!< Position of PART field. */
  1552. #define FICR_INFO_PART_PART_Msk (0xFFFFFFFFUL << FICR_INFO_PART_PART_Pos) /*!< Bit mask of PART field. */
  1553. #define FICR_INFO_PART_PART_N52832 (0x52832UL) /*!< nRF52832 */
  1554. #define FICR_INFO_PART_PART_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */
  1555. /* Register: FICR_INFO_VARIANT */
  1556. /* Description: Part Variant, Hardware version and Production configuration */
  1557. /* Bits 31..0 : Part Variant, Hardware version and Production configuration, encoded as ASCII */
  1558. #define FICR_INFO_VARIANT_VARIANT_Pos (0UL) /*!< Position of VARIANT field. */
  1559. #define FICR_INFO_VARIANT_VARIANT_Msk (0xFFFFFFFFUL << FICR_INFO_VARIANT_VARIANT_Pos) /*!< Bit mask of VARIANT field. */
  1560. #define FICR_INFO_VARIANT_VARIANT_AAAA (0x41414141UL) /*!< AAAA */
  1561. #define FICR_INFO_VARIANT_VARIANT_AAAB (0x41414142UL) /*!< AAAB */
  1562. #define FICR_INFO_VARIANT_VARIANT_AAB0 (0x41414230UL) /*!< AAB0 */
  1563. #define FICR_INFO_VARIANT_VARIANT_AABA (0x41414241UL) /*!< AABA */
  1564. #define FICR_INFO_VARIANT_VARIANT_AABB (0x41414242UL) /*!< AABB */
  1565. #define FICR_INFO_VARIANT_VARIANT_AAE0 (0x41414530UL) /*!< AAE0 */
  1566. #define FICR_INFO_VARIANT_VARIANT_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */
  1567. /* Register: FICR_INFO_PACKAGE */
  1568. /* Description: Package option */
  1569. /* Bits 31..0 : Package option */
  1570. #define FICR_INFO_PACKAGE_PACKAGE_Pos (0UL) /*!< Position of PACKAGE field. */
  1571. #define FICR_INFO_PACKAGE_PACKAGE_Msk (0xFFFFFFFFUL << FICR_INFO_PACKAGE_PACKAGE_Pos) /*!< Bit mask of PACKAGE field. */
  1572. #define FICR_INFO_PACKAGE_PACKAGE_QF (0x2000UL) /*!< QFxx - 48-pin QFN */
  1573. #define FICR_INFO_PACKAGE_PACKAGE_CH (0x2001UL) /*!< CHxx - 7x8 WLCSP 56 balls */
  1574. #define FICR_INFO_PACKAGE_PACKAGE_CI (0x2002UL) /*!< CIxx - 7x8 WLCSP 56 balls */
  1575. #define FICR_INFO_PACKAGE_PACKAGE_CK (0x2005UL) /*!< CKxx - 7x8 WLCSP 56 balls with backside coating for light protection */
  1576. #define FICR_INFO_PACKAGE_PACKAGE_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */
  1577. /* Register: FICR_INFO_RAM */
  1578. /* Description: RAM variant */
  1579. /* Bits 31..0 : RAM variant */
  1580. #define FICR_INFO_RAM_RAM_Pos (0UL) /*!< Position of RAM field. */
  1581. #define FICR_INFO_RAM_RAM_Msk (0xFFFFFFFFUL << FICR_INFO_RAM_RAM_Pos) /*!< Bit mask of RAM field. */
  1582. #define FICR_INFO_RAM_RAM_K16 (0x10UL) /*!< 16 kByte RAM */
  1583. #define FICR_INFO_RAM_RAM_K32 (0x20UL) /*!< 32 kByte RAM */
  1584. #define FICR_INFO_RAM_RAM_K64 (0x40UL) /*!< 64 kByte RAM */
  1585. #define FICR_INFO_RAM_RAM_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */
  1586. /* Register: FICR_INFO_FLASH */
  1587. /* Description: Flash variant */
  1588. /* Bits 31..0 : Flash variant */
  1589. #define FICR_INFO_FLASH_FLASH_Pos (0UL) /*!< Position of FLASH field. */
  1590. #define FICR_INFO_FLASH_FLASH_Msk (0xFFFFFFFFUL << FICR_INFO_FLASH_FLASH_Pos) /*!< Bit mask of FLASH field. */
  1591. #define FICR_INFO_FLASH_FLASH_K128 (0x80UL) /*!< 128 kByte FLASH */
  1592. #define FICR_INFO_FLASH_FLASH_K256 (0x100UL) /*!< 256 kByte FLASH */
  1593. #define FICR_INFO_FLASH_FLASH_K512 (0x200UL) /*!< 512 kByte FLASH */
  1594. #define FICR_INFO_FLASH_FLASH_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */
  1595. /* Register: FICR_TEMP_A0 */
  1596. /* Description: Slope definition A0. */
  1597. /* Bits 11..0 : A (slope definition) register. */
  1598. #define FICR_TEMP_A0_A_Pos (0UL) /*!< Position of A field. */
  1599. #define FICR_TEMP_A0_A_Msk (0xFFFUL << FICR_TEMP_A0_A_Pos) /*!< Bit mask of A field. */
  1600. /* Register: FICR_TEMP_A1 */
  1601. /* Description: Slope definition A1. */
  1602. /* Bits 11..0 : A (slope definition) register. */
  1603. #define FICR_TEMP_A1_A_Pos (0UL) /*!< Position of A field. */
  1604. #define FICR_TEMP_A1_A_Msk (0xFFFUL << FICR_TEMP_A1_A_Pos) /*!< Bit mask of A field. */
  1605. /* Register: FICR_TEMP_A2 */
  1606. /* Description: Slope definition A2. */
  1607. /* Bits 11..0 : A (slope definition) register. */
  1608. #define FICR_TEMP_A2_A_Pos (0UL) /*!< Position of A field. */
  1609. #define FICR_TEMP_A2_A_Msk (0xFFFUL << FICR_TEMP_A2_A_Pos) /*!< Bit mask of A field. */
  1610. /* Register: FICR_TEMP_A3 */
  1611. /* Description: Slope definition A3. */
  1612. /* Bits 11..0 : A (slope definition) register. */
  1613. #define FICR_TEMP_A3_A_Pos (0UL) /*!< Position of A field. */
  1614. #define FICR_TEMP_A3_A_Msk (0xFFFUL << FICR_TEMP_A3_A_Pos) /*!< Bit mask of A field. */
  1615. /* Register: FICR_TEMP_A4 */
  1616. /* Description: Slope definition A4. */
  1617. /* Bits 11..0 : A (slope definition) register. */
  1618. #define FICR_TEMP_A4_A_Pos (0UL) /*!< Position of A field. */
  1619. #define FICR_TEMP_A4_A_Msk (0xFFFUL << FICR_TEMP_A4_A_Pos) /*!< Bit mask of A field. */
  1620. /* Register: FICR_TEMP_A5 */
  1621. /* Description: Slope definition A5. */
  1622. /* Bits 11..0 : A (slope definition) register. */
  1623. #define FICR_TEMP_A5_A_Pos (0UL) /*!< Position of A field. */
  1624. #define FICR_TEMP_A5_A_Msk (0xFFFUL << FICR_TEMP_A5_A_Pos) /*!< Bit mask of A field. */
  1625. /* Register: FICR_TEMP_B0 */
  1626. /* Description: y-intercept B0. */
  1627. /* Bits 13..0 : B (y-intercept) */
  1628. #define FICR_TEMP_B0_B_Pos (0UL) /*!< Position of B field. */
  1629. #define FICR_TEMP_B0_B_Msk (0x3FFFUL << FICR_TEMP_B0_B_Pos) /*!< Bit mask of B field. */
  1630. /* Register: FICR_TEMP_B1 */
  1631. /* Description: y-intercept B1. */
  1632. /* Bits 13..0 : B (y-intercept) */
  1633. #define FICR_TEMP_B1_B_Pos (0UL) /*!< Position of B field. */
  1634. #define FICR_TEMP_B1_B_Msk (0x3FFFUL << FICR_TEMP_B1_B_Pos) /*!< Bit mask of B field. */
  1635. /* Register: FICR_TEMP_B2 */
  1636. /* Description: y-intercept B2. */
  1637. /* Bits 13..0 : B (y-intercept) */
  1638. #define FICR_TEMP_B2_B_Pos (0UL) /*!< Position of B field. */
  1639. #define FICR_TEMP_B2_B_Msk (0x3FFFUL << FICR_TEMP_B2_B_Pos) /*!< Bit mask of B field. */
  1640. /* Register: FICR_TEMP_B3 */
  1641. /* Description: y-intercept B3. */
  1642. /* Bits 13..0 : B (y-intercept) */
  1643. #define FICR_TEMP_B3_B_Pos (0UL) /*!< Position of B field. */
  1644. #define FICR_TEMP_B3_B_Msk (0x3FFFUL << FICR_TEMP_B3_B_Pos) /*!< Bit mask of B field. */
  1645. /* Register: FICR_TEMP_B4 */
  1646. /* Description: y-intercept B4. */
  1647. /* Bits 13..0 : B (y-intercept) */
  1648. #define FICR_TEMP_B4_B_Pos (0UL) /*!< Position of B field. */
  1649. #define FICR_TEMP_B4_B_Msk (0x3FFFUL << FICR_TEMP_B4_B_Pos) /*!< Bit mask of B field. */
  1650. /* Register: FICR_TEMP_B5 */
  1651. /* Description: y-intercept B5. */
  1652. /* Bits 13..0 : B (y-intercept) */
  1653. #define FICR_TEMP_B5_B_Pos (0UL) /*!< Position of B field. */
  1654. #define FICR_TEMP_B5_B_Msk (0x3FFFUL << FICR_TEMP_B5_B_Pos) /*!< Bit mask of B field. */
  1655. /* Register: FICR_TEMP_T0 */
  1656. /* Description: Segment end T0. */
  1657. /* Bits 7..0 : T (segment end)register. */
  1658. #define FICR_TEMP_T0_T_Pos (0UL) /*!< Position of T field. */
  1659. #define FICR_TEMP_T0_T_Msk (0xFFUL << FICR_TEMP_T0_T_Pos) /*!< Bit mask of T field. */
  1660. /* Register: FICR_TEMP_T1 */
  1661. /* Description: Segment end T1. */
  1662. /* Bits 7..0 : T (segment end)register. */
  1663. #define FICR_TEMP_T1_T_Pos (0UL) /*!< Position of T field. */
  1664. #define FICR_TEMP_T1_T_Msk (0xFFUL << FICR_TEMP_T1_T_Pos) /*!< Bit mask of T field. */
  1665. /* Register: FICR_TEMP_T2 */
  1666. /* Description: Segment end T2. */
  1667. /* Bits 7..0 : T (segment end)register. */
  1668. #define FICR_TEMP_T2_T_Pos (0UL) /*!< Position of T field. */
  1669. #define FICR_TEMP_T2_T_Msk (0xFFUL << FICR_TEMP_T2_T_Pos) /*!< Bit mask of T field. */
  1670. /* Register: FICR_TEMP_T3 */
  1671. /* Description: Segment end T3. */
  1672. /* Bits 7..0 : T (segment end)register. */
  1673. #define FICR_TEMP_T3_T_Pos (0UL) /*!< Position of T field. */
  1674. #define FICR_TEMP_T3_T_Msk (0xFFUL << FICR_TEMP_T3_T_Pos) /*!< Bit mask of T field. */
  1675. /* Register: FICR_TEMP_T4 */
  1676. /* Description: Segment end T4. */
  1677. /* Bits 7..0 : T (segment end)register. */
  1678. #define FICR_TEMP_T4_T_Pos (0UL) /*!< Position of T field. */
  1679. #define FICR_TEMP_T4_T_Msk (0xFFUL << FICR_TEMP_T4_T_Pos) /*!< Bit mask of T field. */
  1680. /* Register: FICR_NFC_TAGHEADER0 */
  1681. /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */
  1682. /* Bits 31..24 : Unique identifier byte 3 */
  1683. #define FICR_NFC_TAGHEADER0_UD3_Pos (24UL) /*!< Position of UD3 field. */
  1684. #define FICR_NFC_TAGHEADER0_UD3_Msk (0xFFUL << FICR_NFC_TAGHEADER0_UD3_Pos) /*!< Bit mask of UD3 field. */
  1685. /* Bits 23..16 : Unique identifier byte 2 */
  1686. #define FICR_NFC_TAGHEADER0_UD2_Pos (16UL) /*!< Position of UD2 field. */
  1687. #define FICR_NFC_TAGHEADER0_UD2_Msk (0xFFUL << FICR_NFC_TAGHEADER0_UD2_Pos) /*!< Bit mask of UD2 field. */
  1688. /* Bits 15..8 : Unique identifier byte 1 */
  1689. #define FICR_NFC_TAGHEADER0_UD1_Pos (8UL) /*!< Position of UD1 field. */
  1690. #define FICR_NFC_TAGHEADER0_UD1_Msk (0xFFUL << FICR_NFC_TAGHEADER0_UD1_Pos) /*!< Bit mask of UD1 field. */
  1691. /* Bits 7..0 : Default Manufacturer ID: Nordic Semiconductor ASA has ICM 0x5F */
  1692. #define FICR_NFC_TAGHEADER0_MFGID_Pos (0UL) /*!< Position of MFGID field. */
  1693. #define FICR_NFC_TAGHEADER0_MFGID_Msk (0xFFUL << FICR_NFC_TAGHEADER0_MFGID_Pos) /*!< Bit mask of MFGID field. */
  1694. /* Register: FICR_NFC_TAGHEADER1 */
  1695. /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */
  1696. /* Bits 31..24 : Unique identifier byte 7 */
  1697. #define FICR_NFC_TAGHEADER1_UD7_Pos (24UL) /*!< Position of UD7 field. */
  1698. #define FICR_NFC_TAGHEADER1_UD7_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD7_Pos) /*!< Bit mask of UD7 field. */
  1699. /* Bits 23..16 : Unique identifier byte 6 */
  1700. #define FICR_NFC_TAGHEADER1_UD6_Pos (16UL) /*!< Position of UD6 field. */
  1701. #define FICR_NFC_TAGHEADER1_UD6_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD6_Pos) /*!< Bit mask of UD6 field. */
  1702. /* Bits 15..8 : Unique identifier byte 5 */
  1703. #define FICR_NFC_TAGHEADER1_UD5_Pos (8UL) /*!< Position of UD5 field. */
  1704. #define FICR_NFC_TAGHEADER1_UD5_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD5_Pos) /*!< Bit mask of UD5 field. */
  1705. /* Bits 7..0 : Unique identifier byte 4 */
  1706. #define FICR_NFC_TAGHEADER1_UD4_Pos (0UL) /*!< Position of UD4 field. */
  1707. #define FICR_NFC_TAGHEADER1_UD4_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD4_Pos) /*!< Bit mask of UD4 field. */
  1708. /* Register: FICR_NFC_TAGHEADER2 */
  1709. /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */
  1710. /* Bits 31..24 : Unique identifier byte 11 */
  1711. #define FICR_NFC_TAGHEADER2_UD11_Pos (24UL) /*!< Position of UD11 field. */
  1712. #define FICR_NFC_TAGHEADER2_UD11_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD11_Pos) /*!< Bit mask of UD11 field. */
  1713. /* Bits 23..16 : Unique identifier byte 10 */
  1714. #define FICR_NFC_TAGHEADER2_UD10_Pos (16UL) /*!< Position of UD10 field. */
  1715. #define FICR_NFC_TAGHEADER2_UD10_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD10_Pos) /*!< Bit mask of UD10 field. */
  1716. /* Bits 15..8 : Unique identifier byte 9 */
  1717. #define FICR_NFC_TAGHEADER2_UD9_Pos (8UL) /*!< Position of UD9 field. */
  1718. #define FICR_NFC_TAGHEADER2_UD9_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD9_Pos) /*!< Bit mask of UD9 field. */
  1719. /* Bits 7..0 : Unique identifier byte 8 */
  1720. #define FICR_NFC_TAGHEADER2_UD8_Pos (0UL) /*!< Position of UD8 field. */
  1721. #define FICR_NFC_TAGHEADER2_UD8_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD8_Pos) /*!< Bit mask of UD8 field. */
  1722. /* Register: FICR_NFC_TAGHEADER3 */
  1723. /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */
  1724. /* Bits 31..24 : Unique identifier byte 15 */
  1725. #define FICR_NFC_TAGHEADER3_UD15_Pos (24UL) /*!< Position of UD15 field. */
  1726. #define FICR_NFC_TAGHEADER3_UD15_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD15_Pos) /*!< Bit mask of UD15 field. */
  1727. /* Bits 23..16 : Unique identifier byte 14 */
  1728. #define FICR_NFC_TAGHEADER3_UD14_Pos (16UL) /*!< Position of UD14 field. */
  1729. #define FICR_NFC_TAGHEADER3_UD14_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD14_Pos) /*!< Bit mask of UD14 field. */
  1730. /* Bits 15..8 : Unique identifier byte 13 */
  1731. #define FICR_NFC_TAGHEADER3_UD13_Pos (8UL) /*!< Position of UD13 field. */
  1732. #define FICR_NFC_TAGHEADER3_UD13_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD13_Pos) /*!< Bit mask of UD13 field. */
  1733. /* Bits 7..0 : Unique identifier byte 12 */
  1734. #define FICR_NFC_TAGHEADER3_UD12_Pos (0UL) /*!< Position of UD12 field. */
  1735. #define FICR_NFC_TAGHEADER3_UD12_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD12_Pos) /*!< Bit mask of UD12 field. */
  1736. /* Peripheral: GPIOTE */
  1737. /* Description: GPIO Tasks and Events */
  1738. /* Register: GPIOTE_INTENSET */
  1739. /* Description: Enable interrupt */
  1740. /* Bit 31 : Write '1' to Enable interrupt for PORT event */
  1741. #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */
  1742. #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */
  1743. #define GPIOTE_INTENSET_PORT_Disabled (0UL) /*!< Read: Disabled */
  1744. #define GPIOTE_INTENSET_PORT_Enabled (1UL) /*!< Read: Enabled */
  1745. #define GPIOTE_INTENSET_PORT_Set (1UL) /*!< Enable */
  1746. /* Bit 7 : Write '1' to Enable interrupt for IN[7] event */
  1747. #define GPIOTE_INTENSET_IN7_Pos (7UL) /*!< Position of IN7 field. */
  1748. #define GPIOTE_INTENSET_IN7_Msk (0x1UL << GPIOTE_INTENSET_IN7_Pos) /*!< Bit mask of IN7 field. */
  1749. #define GPIOTE_INTENSET_IN7_Disabled (0UL) /*!< Read: Disabled */
  1750. #define GPIOTE_INTENSET_IN7_Enabled (1UL) /*!< Read: Enabled */
  1751. #define GPIOTE_INTENSET_IN7_Set (1UL) /*!< Enable */
  1752. /* Bit 6 : Write '1' to Enable interrupt for IN[6] event */
  1753. #define GPIOTE_INTENSET_IN6_Pos (6UL) /*!< Position of IN6 field. */
  1754. #define GPIOTE_INTENSET_IN6_Msk (0x1UL << GPIOTE_INTENSET_IN6_Pos) /*!< Bit mask of IN6 field. */
  1755. #define GPIOTE_INTENSET_IN6_Disabled (0UL) /*!< Read: Disabled */
  1756. #define GPIOTE_INTENSET_IN6_Enabled (1UL) /*!< Read: Enabled */
  1757. #define GPIOTE_INTENSET_IN6_Set (1UL) /*!< Enable */
  1758. /* Bit 5 : Write '1' to Enable interrupt for IN[5] event */
  1759. #define GPIOTE_INTENSET_IN5_Pos (5UL) /*!< Position of IN5 field. */
  1760. #define GPIOTE_INTENSET_IN5_Msk (0x1UL << GPIOTE_INTENSET_IN5_Pos) /*!< Bit mask of IN5 field. */
  1761. #define GPIOTE_INTENSET_IN5_Disabled (0UL) /*!< Read: Disabled */
  1762. #define GPIOTE_INTENSET_IN5_Enabled (1UL) /*!< Read: Enabled */
  1763. #define GPIOTE_INTENSET_IN5_Set (1UL) /*!< Enable */
  1764. /* Bit 4 : Write '1' to Enable interrupt for IN[4] event */
  1765. #define GPIOTE_INTENSET_IN4_Pos (4UL) /*!< Position of IN4 field. */
  1766. #define GPIOTE_INTENSET_IN4_Msk (0x1UL << GPIOTE_INTENSET_IN4_Pos) /*!< Bit mask of IN4 field. */
  1767. #define GPIOTE_INTENSET_IN4_Disabled (0UL) /*!< Read: Disabled */
  1768. #define GPIOTE_INTENSET_IN4_Enabled (1UL) /*!< Read: Enabled */
  1769. #define GPIOTE_INTENSET_IN4_Set (1UL) /*!< Enable */
  1770. /* Bit 3 : Write '1' to Enable interrupt for IN[3] event */
  1771. #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */
  1772. #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */
  1773. #define GPIOTE_INTENSET_IN3_Disabled (0UL) /*!< Read: Disabled */
  1774. #define GPIOTE_INTENSET_IN3_Enabled (1UL) /*!< Read: Enabled */
  1775. #define GPIOTE_INTENSET_IN3_Set (1UL) /*!< Enable */
  1776. /* Bit 2 : Write '1' to Enable interrupt for IN[2] event */
  1777. #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */
  1778. #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */
  1779. #define GPIOTE_INTENSET_IN2_Disabled (0UL) /*!< Read: Disabled */
  1780. #define GPIOTE_INTENSET_IN2_Enabled (1UL) /*!< Read: Enabled */
  1781. #define GPIOTE_INTENSET_IN2_Set (1UL) /*!< Enable */
  1782. /* Bit 1 : Write '1' to Enable interrupt for IN[1] event */
  1783. #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */
  1784. #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */
  1785. #define GPIOTE_INTENSET_IN1_Disabled (0UL) /*!< Read: Disabled */
  1786. #define GPIOTE_INTENSET_IN1_Enabled (1UL) /*!< Read: Enabled */
  1787. #define GPIOTE_INTENSET_IN1_Set (1UL) /*!< Enable */
  1788. /* Bit 0 : Write '1' to Enable interrupt for IN[0] event */
  1789. #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */
  1790. #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */
  1791. #define GPIOTE_INTENSET_IN0_Disabled (0UL) /*!< Read: Disabled */
  1792. #define GPIOTE_INTENSET_IN0_Enabled (1UL) /*!< Read: Enabled */
  1793. #define GPIOTE_INTENSET_IN0_Set (1UL) /*!< Enable */
  1794. /* Register: GPIOTE_INTENCLR */
  1795. /* Description: Disable interrupt */
  1796. /* Bit 31 : Write '1' to Disable interrupt for PORT event */
  1797. #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */
  1798. #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */
  1799. #define GPIOTE_INTENCLR_PORT_Disabled (0UL) /*!< Read: Disabled */
  1800. #define GPIOTE_INTENCLR_PORT_Enabled (1UL) /*!< Read: Enabled */
  1801. #define GPIOTE_INTENCLR_PORT_Clear (1UL) /*!< Disable */
  1802. /* Bit 7 : Write '1' to Disable interrupt for IN[7] event */
  1803. #define GPIOTE_INTENCLR_IN7_Pos (7UL) /*!< Position of IN7 field. */
  1804. #define GPIOTE_INTENCLR_IN7_Msk (0x1UL << GPIOTE_INTENCLR_IN7_Pos) /*!< Bit mask of IN7 field. */
  1805. #define GPIOTE_INTENCLR_IN7_Disabled (0UL) /*!< Read: Disabled */
  1806. #define GPIOTE_INTENCLR_IN7_Enabled (1UL) /*!< Read: Enabled */
  1807. #define GPIOTE_INTENCLR_IN7_Clear (1UL) /*!< Disable */
  1808. /* Bit 6 : Write '1' to Disable interrupt for IN[6] event */
  1809. #define GPIOTE_INTENCLR_IN6_Pos (6UL) /*!< Position of IN6 field. */
  1810. #define GPIOTE_INTENCLR_IN6_Msk (0x1UL << GPIOTE_INTENCLR_IN6_Pos) /*!< Bit mask of IN6 field. */
  1811. #define GPIOTE_INTENCLR_IN6_Disabled (0UL) /*!< Read: Disabled */
  1812. #define GPIOTE_INTENCLR_IN6_Enabled (1UL) /*!< Read: Enabled */
  1813. #define GPIOTE_INTENCLR_IN6_Clear (1UL) /*!< Disable */
  1814. /* Bit 5 : Write '1' to Disable interrupt for IN[5] event */
  1815. #define GPIOTE_INTENCLR_IN5_Pos (5UL) /*!< Position of IN5 field. */
  1816. #define GPIOTE_INTENCLR_IN5_Msk (0x1UL << GPIOTE_INTENCLR_IN5_Pos) /*!< Bit mask of IN5 field. */
  1817. #define GPIOTE_INTENCLR_IN5_Disabled (0UL) /*!< Read: Disabled */
  1818. #define GPIOTE_INTENCLR_IN5_Enabled (1UL) /*!< Read: Enabled */
  1819. #define GPIOTE_INTENCLR_IN5_Clear (1UL) /*!< Disable */
  1820. /* Bit 4 : Write '1' to Disable interrupt for IN[4] event */
  1821. #define GPIOTE_INTENCLR_IN4_Pos (4UL) /*!< Position of IN4 field. */
  1822. #define GPIOTE_INTENCLR_IN4_Msk (0x1UL << GPIOTE_INTENCLR_IN4_Pos) /*!< Bit mask of IN4 field. */
  1823. #define GPIOTE_INTENCLR_IN4_Disabled (0UL) /*!< Read: Disabled */
  1824. #define GPIOTE_INTENCLR_IN4_Enabled (1UL) /*!< Read: Enabled */
  1825. #define GPIOTE_INTENCLR_IN4_Clear (1UL) /*!< Disable */
  1826. /* Bit 3 : Write '1' to Disable interrupt for IN[3] event */
  1827. #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */
  1828. #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */
  1829. #define GPIOTE_INTENCLR_IN3_Disabled (0UL) /*!< Read: Disabled */
  1830. #define GPIOTE_INTENCLR_IN3_Enabled (1UL) /*!< Read: Enabled */
  1831. #define GPIOTE_INTENCLR_IN3_Clear (1UL) /*!< Disable */
  1832. /* Bit 2 : Write '1' to Disable interrupt for IN[2] event */
  1833. #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */
  1834. #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */
  1835. #define GPIOTE_INTENCLR_IN2_Disabled (0UL) /*!< Read: Disabled */
  1836. #define GPIOTE_INTENCLR_IN2_Enabled (1UL) /*!< Read: Enabled */
  1837. #define GPIOTE_INTENCLR_IN2_Clear (1UL) /*!< Disable */
  1838. /* Bit 1 : Write '1' to Disable interrupt for IN[1] event */
  1839. #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */
  1840. #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */
  1841. #define GPIOTE_INTENCLR_IN1_Disabled (0UL) /*!< Read: Disabled */
  1842. #define GPIOTE_INTENCLR_IN1_Enabled (1UL) /*!< Read: Enabled */
  1843. #define GPIOTE_INTENCLR_IN1_Clear (1UL) /*!< Disable */
  1844. /* Bit 0 : Write '1' to Disable interrupt for IN[0] event */
  1845. #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */
  1846. #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */
  1847. #define GPIOTE_INTENCLR_IN0_Disabled (0UL) /*!< Read: Disabled */
  1848. #define GPIOTE_INTENCLR_IN0_Enabled (1UL) /*!< Read: Enabled */
  1849. #define GPIOTE_INTENCLR_IN0_Clear (1UL) /*!< Disable */
  1850. /* Register: GPIOTE_CONFIG */
  1851. /* Description: Description collection[0]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event */
  1852. /* Bit 20 : When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect. */
  1853. #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */
  1854. #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */
  1855. #define GPIOTE_CONFIG_OUTINIT_Low (0UL) /*!< Task mode: Initial value of pin before task triggering is low */
  1856. #define GPIOTE_CONFIG_OUTINIT_High (1UL) /*!< Task mode: Initial value of pin before task triggering is high */
  1857. /* Bits 17..16 : When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event. */
  1858. #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */
  1859. #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */
  1860. #define GPIOTE_CONFIG_POLARITY_None (0UL) /*!< Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity. */
  1861. #define GPIOTE_CONFIG_POLARITY_LoToHi (1UL) /*!< Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin. */
  1862. #define GPIOTE_CONFIG_POLARITY_HiToLo (2UL) /*!< Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin. */
  1863. #define GPIOTE_CONFIG_POLARITY_Toggle (3UL) /*!< Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin. */
  1864. /* Bits 12..8 : GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event */
  1865. #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
  1866. #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
  1867. /* Bits 1..0 : Mode */
  1868. #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */
  1869. #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */
  1870. #define GPIOTE_CONFIG_MODE_Disabled (0UL) /*!< Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module. */
  1871. #define GPIOTE_CONFIG_MODE_Event (1UL) /*!< Event mode */
  1872. #define GPIOTE_CONFIG_MODE_Task (3UL) /*!< Task mode */
  1873. /* Peripheral: I2S */
  1874. /* Description: Inter-IC Sound */
  1875. /* Register: I2S_INTEN */
  1876. /* Description: Enable or disable interrupt */
  1877. /* Bit 5 : Enable or disable interrupt for TXPTRUPD event */
  1878. #define I2S_INTEN_TXPTRUPD_Pos (5UL) /*!< Position of TXPTRUPD field. */
  1879. #define I2S_INTEN_TXPTRUPD_Msk (0x1UL << I2S_INTEN_TXPTRUPD_Pos) /*!< Bit mask of TXPTRUPD field. */
  1880. #define I2S_INTEN_TXPTRUPD_Disabled (0UL) /*!< Disable */
  1881. #define I2S_INTEN_TXPTRUPD_Enabled (1UL) /*!< Enable */
  1882. /* Bit 2 : Enable or disable interrupt for STOPPED event */
  1883. #define I2S_INTEN_STOPPED_Pos (2UL) /*!< Position of STOPPED field. */
  1884. #define I2S_INTEN_STOPPED_Msk (0x1UL << I2S_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  1885. #define I2S_INTEN_STOPPED_Disabled (0UL) /*!< Disable */
  1886. #define I2S_INTEN_STOPPED_Enabled (1UL) /*!< Enable */
  1887. /* Bit 1 : Enable or disable interrupt for RXPTRUPD event */
  1888. #define I2S_INTEN_RXPTRUPD_Pos (1UL) /*!< Position of RXPTRUPD field. */
  1889. #define I2S_INTEN_RXPTRUPD_Msk (0x1UL << I2S_INTEN_RXPTRUPD_Pos) /*!< Bit mask of RXPTRUPD field. */
  1890. #define I2S_INTEN_RXPTRUPD_Disabled (0UL) /*!< Disable */
  1891. #define I2S_INTEN_RXPTRUPD_Enabled (1UL) /*!< Enable */
  1892. /* Register: I2S_INTENSET */
  1893. /* Description: Enable interrupt */
  1894. /* Bit 5 : Write '1' to Enable interrupt for TXPTRUPD event */
  1895. #define I2S_INTENSET_TXPTRUPD_Pos (5UL) /*!< Position of TXPTRUPD field. */
  1896. #define I2S_INTENSET_TXPTRUPD_Msk (0x1UL << I2S_INTENSET_TXPTRUPD_Pos) /*!< Bit mask of TXPTRUPD field. */
  1897. #define I2S_INTENSET_TXPTRUPD_Disabled (0UL) /*!< Read: Disabled */
  1898. #define I2S_INTENSET_TXPTRUPD_Enabled (1UL) /*!< Read: Enabled */
  1899. #define I2S_INTENSET_TXPTRUPD_Set (1UL) /*!< Enable */
  1900. /* Bit 2 : Write '1' to Enable interrupt for STOPPED event */
  1901. #define I2S_INTENSET_STOPPED_Pos (2UL) /*!< Position of STOPPED field. */
  1902. #define I2S_INTENSET_STOPPED_Msk (0x1UL << I2S_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  1903. #define I2S_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  1904. #define I2S_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  1905. #define I2S_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  1906. /* Bit 1 : Write '1' to Enable interrupt for RXPTRUPD event */
  1907. #define I2S_INTENSET_RXPTRUPD_Pos (1UL) /*!< Position of RXPTRUPD field. */
  1908. #define I2S_INTENSET_RXPTRUPD_Msk (0x1UL << I2S_INTENSET_RXPTRUPD_Pos) /*!< Bit mask of RXPTRUPD field. */
  1909. #define I2S_INTENSET_RXPTRUPD_Disabled (0UL) /*!< Read: Disabled */
  1910. #define I2S_INTENSET_RXPTRUPD_Enabled (1UL) /*!< Read: Enabled */
  1911. #define I2S_INTENSET_RXPTRUPD_Set (1UL) /*!< Enable */
  1912. /* Register: I2S_INTENCLR */
  1913. /* Description: Disable interrupt */
  1914. /* Bit 5 : Write '1' to Disable interrupt for TXPTRUPD event */
  1915. #define I2S_INTENCLR_TXPTRUPD_Pos (5UL) /*!< Position of TXPTRUPD field. */
  1916. #define I2S_INTENCLR_TXPTRUPD_Msk (0x1UL << I2S_INTENCLR_TXPTRUPD_Pos) /*!< Bit mask of TXPTRUPD field. */
  1917. #define I2S_INTENCLR_TXPTRUPD_Disabled (0UL) /*!< Read: Disabled */
  1918. #define I2S_INTENCLR_TXPTRUPD_Enabled (1UL) /*!< Read: Enabled */
  1919. #define I2S_INTENCLR_TXPTRUPD_Clear (1UL) /*!< Disable */
  1920. /* Bit 2 : Write '1' to Disable interrupt for STOPPED event */
  1921. #define I2S_INTENCLR_STOPPED_Pos (2UL) /*!< Position of STOPPED field. */
  1922. #define I2S_INTENCLR_STOPPED_Msk (0x1UL << I2S_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  1923. #define I2S_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  1924. #define I2S_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  1925. #define I2S_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  1926. /* Bit 1 : Write '1' to Disable interrupt for RXPTRUPD event */
  1927. #define I2S_INTENCLR_RXPTRUPD_Pos (1UL) /*!< Position of RXPTRUPD field. */
  1928. #define I2S_INTENCLR_RXPTRUPD_Msk (0x1UL << I2S_INTENCLR_RXPTRUPD_Pos) /*!< Bit mask of RXPTRUPD field. */
  1929. #define I2S_INTENCLR_RXPTRUPD_Disabled (0UL) /*!< Read: Disabled */
  1930. #define I2S_INTENCLR_RXPTRUPD_Enabled (1UL) /*!< Read: Enabled */
  1931. #define I2S_INTENCLR_RXPTRUPD_Clear (1UL) /*!< Disable */
  1932. /* Register: I2S_ENABLE */
  1933. /* Description: Enable I2S module. */
  1934. /* Bit 0 : Enable I2S module. */
  1935. #define I2S_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  1936. #define I2S_ENABLE_ENABLE_Msk (0x1UL << I2S_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  1937. #define I2S_ENABLE_ENABLE_Disabled (0UL) /*!< Disable */
  1938. #define I2S_ENABLE_ENABLE_Enabled (1UL) /*!< Enable */
  1939. /* Register: I2S_CONFIG_MODE */
  1940. /* Description: I2S mode. */
  1941. /* Bit 0 : I2S mode. */
  1942. #define I2S_CONFIG_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  1943. #define I2S_CONFIG_MODE_MODE_Msk (0x1UL << I2S_CONFIG_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  1944. #define I2S_CONFIG_MODE_MODE_Master (0UL) /*!< Master mode. SCK and LRCK generated from internal master clcok (MCK) and output on pins defined by PSEL.xxx. */
  1945. #define I2S_CONFIG_MODE_MODE_Slave (1UL) /*!< Slave mode. SCK and LRCK generated by external master and received on pins defined by PSEL.xxx */
  1946. /* Register: I2S_CONFIG_RXEN */
  1947. /* Description: Reception (RX) enable. */
  1948. /* Bit 0 : Reception (RX) enable. */
  1949. #define I2S_CONFIG_RXEN_RXEN_Pos (0UL) /*!< Position of RXEN field. */
  1950. #define I2S_CONFIG_RXEN_RXEN_Msk (0x1UL << I2S_CONFIG_RXEN_RXEN_Pos) /*!< Bit mask of RXEN field. */
  1951. #define I2S_CONFIG_RXEN_RXEN_Disabled (0UL) /*!< Reception disabled and now data will be written to the RXD.PTR address. */
  1952. #define I2S_CONFIG_RXEN_RXEN_Enabled (1UL) /*!< Reception enabled. */
  1953. /* Register: I2S_CONFIG_TXEN */
  1954. /* Description: Transmission (TX) enable. */
  1955. /* Bit 0 : Transmission (TX) enable. */
  1956. #define I2S_CONFIG_TXEN_TXEN_Pos (0UL) /*!< Position of TXEN field. */
  1957. #define I2S_CONFIG_TXEN_TXEN_Msk (0x1UL << I2S_CONFIG_TXEN_TXEN_Pos) /*!< Bit mask of TXEN field. */
  1958. #define I2S_CONFIG_TXEN_TXEN_Disabled (0UL) /*!< Transmission disabled and now data will be read from the RXD.TXD address. */
  1959. #define I2S_CONFIG_TXEN_TXEN_Enabled (1UL) /*!< Transmission enabled. */
  1960. /* Register: I2S_CONFIG_MCKEN */
  1961. /* Description: Master clock generator enable. */
  1962. /* Bit 0 : Master clock generator enable. */
  1963. #define I2S_CONFIG_MCKEN_MCKEN_Pos (0UL) /*!< Position of MCKEN field. */
  1964. #define I2S_CONFIG_MCKEN_MCKEN_Msk (0x1UL << I2S_CONFIG_MCKEN_MCKEN_Pos) /*!< Bit mask of MCKEN field. */
  1965. #define I2S_CONFIG_MCKEN_MCKEN_Disabled (0UL) /*!< Master clock generator disabled and PSEL.MCK not connected(available as GPIO). */
  1966. #define I2S_CONFIG_MCKEN_MCKEN_Enabled (1UL) /*!< Master clock generator running and MCK output on PSEL.MCK. */
  1967. /* Register: I2S_CONFIG_MCKFREQ */
  1968. /* Description: Master clock generator frequency. */
  1969. /* Bits 31..0 : Master clock generator frequency. */
  1970. #define I2S_CONFIG_MCKFREQ_MCKFREQ_Pos (0UL) /*!< Position of MCKFREQ field. */
  1971. #define I2S_CONFIG_MCKFREQ_MCKFREQ_Msk (0xFFFFFFFFUL << I2S_CONFIG_MCKFREQ_MCKFREQ_Pos) /*!< Bit mask of MCKFREQ field. */
  1972. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV125 (0x020C0000UL) /*!< 32 MHz / 125 = 0.256 MHz */
  1973. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV63 (0x04100000UL) /*!< 32 MHz / 63 = 0.5079365 MHz */
  1974. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV42 (0x06000000UL) /*!< 32 MHz / 42 = 0.7619048 MHz */
  1975. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV32 (0x08000000UL) /*!< 32 MHz / 32 = 1.0 MHz */
  1976. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV31 (0x08400000UL) /*!< 32 MHz / 31 = 1.0322581 MHz */
  1977. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV30 (0x08800000UL) /*!< 32 MHz / 30 = 1.0666667 MHz */
  1978. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV23 (0x0B000000UL) /*!< 32 MHz / 23 = 1.3913043 MHz */
  1979. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV21 (0x0C000000UL) /*!< 32 MHz / 21 = 1.5238095 */
  1980. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV16 (0x10000000UL) /*!< 32 MHz / 16 = 2.0 MHz */
  1981. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV15 (0x11000000UL) /*!< 32 MHz / 15 = 2.1333333 MHz */
  1982. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV11 (0x16000000UL) /*!< 32 MHz / 11 = 2.9090909 MHz */
  1983. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV10 (0x18000000UL) /*!< 32 MHz / 10 = 3.2 MHz */
  1984. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV8 (0x20000000UL) /*!< 32 MHz / 8 = 4.0 MHz */
  1985. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV6 (0x28000000UL) /*!< 32 MHz / 6 = 5.3333333 MHz */
  1986. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV5 (0x30000000UL) /*!< 32 MHz / 5 = 6.4 MHz */
  1987. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV4 (0x40000000UL) /*!< 32 MHz / 4 = 8.0 MHz */
  1988. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV3 (0x50000000UL) /*!< 32 MHz / 3 = 10.6666667 MHz */
  1989. #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV2 (0x80000000UL) /*!< 32 MHz / 2 = 16.0 MHz */
  1990. /* Register: I2S_CONFIG_RATIO */
  1991. /* Description: MCK / LRCK ratio. */
  1992. /* Bits 3..0 : MCK / LRCK ratio. */
  1993. #define I2S_CONFIG_RATIO_RATIO_Pos (0UL) /*!< Position of RATIO field. */
  1994. #define I2S_CONFIG_RATIO_RATIO_Msk (0xFUL << I2S_CONFIG_RATIO_RATIO_Pos) /*!< Bit mask of RATIO field. */
  1995. #define I2S_CONFIG_RATIO_RATIO_32X (0UL) /*!< LRCK = MCK / 32 */
  1996. #define I2S_CONFIG_RATIO_RATIO_48X (1UL) /*!< LRCK = MCK / 48 */
  1997. #define I2S_CONFIG_RATIO_RATIO_64X (2UL) /*!< LRCK = MCK / 64 */
  1998. #define I2S_CONFIG_RATIO_RATIO_96X (3UL) /*!< LRCK = MCK / 96 */
  1999. #define I2S_CONFIG_RATIO_RATIO_128X (4UL) /*!< LRCK = MCK / 128 */
  2000. #define I2S_CONFIG_RATIO_RATIO_192X (5UL) /*!< LRCK = MCK / 192 */
  2001. #define I2S_CONFIG_RATIO_RATIO_256X (6UL) /*!< LRCK = MCK / 256 */
  2002. #define I2S_CONFIG_RATIO_RATIO_384X (7UL) /*!< LRCK = MCK / 384 */
  2003. #define I2S_CONFIG_RATIO_RATIO_512X (8UL) /*!< LRCK = MCK / 512 */
  2004. /* Register: I2S_CONFIG_SWIDTH */
  2005. /* Description: Sample width. */
  2006. /* Bits 1..0 : Sample width. */
  2007. #define I2S_CONFIG_SWIDTH_SWIDTH_Pos (0UL) /*!< Position of SWIDTH field. */
  2008. #define I2S_CONFIG_SWIDTH_SWIDTH_Msk (0x3UL << I2S_CONFIG_SWIDTH_SWIDTH_Pos) /*!< Bit mask of SWIDTH field. */
  2009. #define I2S_CONFIG_SWIDTH_SWIDTH_8Bit (0UL) /*!< 8 bit. */
  2010. #define I2S_CONFIG_SWIDTH_SWIDTH_16Bit (1UL) /*!< 16 bit. */
  2011. #define I2S_CONFIG_SWIDTH_SWIDTH_24Bit (2UL) /*!< 24 bit. */
  2012. /* Register: I2S_CONFIG_ALIGN */
  2013. /* Description: Alignment of sample within a frame. */
  2014. /* Bit 0 : Alignment of sample within a frame. */
  2015. #define I2S_CONFIG_ALIGN_ALIGN_Pos (0UL) /*!< Position of ALIGN field. */
  2016. #define I2S_CONFIG_ALIGN_ALIGN_Msk (0x1UL << I2S_CONFIG_ALIGN_ALIGN_Pos) /*!< Bit mask of ALIGN field. */
  2017. #define I2S_CONFIG_ALIGN_ALIGN_Left (0UL) /*!< Left-aligned. */
  2018. #define I2S_CONFIG_ALIGN_ALIGN_Right (1UL) /*!< Right-aligned. */
  2019. /* Register: I2S_CONFIG_FORMAT */
  2020. /* Description: Frame format. */
  2021. /* Bit 0 : Frame format. */
  2022. #define I2S_CONFIG_FORMAT_FORMAT_Pos (0UL) /*!< Position of FORMAT field. */
  2023. #define I2S_CONFIG_FORMAT_FORMAT_Msk (0x1UL << I2S_CONFIG_FORMAT_FORMAT_Pos) /*!< Bit mask of FORMAT field. */
  2024. #define I2S_CONFIG_FORMAT_FORMAT_I2S (0UL) /*!< Original I2S format. */
  2025. #define I2S_CONFIG_FORMAT_FORMAT_Aligned (1UL) /*!< Alternate (left- or right-aligned) format. */
  2026. /* Register: I2S_CONFIG_CHANNELS */
  2027. /* Description: Enable channels. */
  2028. /* Bits 1..0 : Enable channels. */
  2029. #define I2S_CONFIG_CHANNELS_CHANNELS_Pos (0UL) /*!< Position of CHANNELS field. */
  2030. #define I2S_CONFIG_CHANNELS_CHANNELS_Msk (0x3UL << I2S_CONFIG_CHANNELS_CHANNELS_Pos) /*!< Bit mask of CHANNELS field. */
  2031. #define I2S_CONFIG_CHANNELS_CHANNELS_Stereo (0UL) /*!< Stereo. */
  2032. #define I2S_CONFIG_CHANNELS_CHANNELS_Left (1UL) /*!< Left only. */
  2033. #define I2S_CONFIG_CHANNELS_CHANNELS_Right (2UL) /*!< Right only. */
  2034. /* Register: I2S_RXD_PTR */
  2035. /* Description: Receive buffer RAM start address. */
  2036. /* Bits 31..0 : Receive buffer Data RAM start address. When receiving, words containing samples will be written to this address. This address is a word aligned Data RAM address. */
  2037. #define I2S_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  2038. #define I2S_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << I2S_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  2039. /* Register: I2S_TXD_PTR */
  2040. /* Description: Transmit buffer RAM start address. */
  2041. /* Bits 31..0 : Transmit buffer Data RAM start address. When transmitting, words containing samples will be fetched from this address. This address is a word aligned Data RAM address. */
  2042. #define I2S_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  2043. #define I2S_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << I2S_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  2044. /* Register: I2S_RXTXD_MAXCNT */
  2045. /* Description: Size of RXD and TXD buffers. */
  2046. /* Bits 13..0 : Size of RXD and TXD buffers in number of 32 bit words. */
  2047. #define I2S_RXTXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  2048. #define I2S_RXTXD_MAXCNT_MAXCNT_Msk (0x3FFFUL << I2S_RXTXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  2049. /* Register: I2S_PSEL_MCK */
  2050. /* Description: Pin select for MCK signal. */
  2051. /* Bit 31 : Connection */
  2052. #define I2S_PSEL_MCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  2053. #define I2S_PSEL_MCK_CONNECT_Msk (0x1UL << I2S_PSEL_MCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  2054. #define I2S_PSEL_MCK_CONNECT_Connected (0UL) /*!< Connect */
  2055. #define I2S_PSEL_MCK_CONNECT_Disconnected (1UL) /*!< Disconnect */
  2056. /* Bits 4..0 : Pin number */
  2057. #define I2S_PSEL_MCK_PIN_Pos (0UL) /*!< Position of PIN field. */
  2058. #define I2S_PSEL_MCK_PIN_Msk (0x1FUL << I2S_PSEL_MCK_PIN_Pos) /*!< Bit mask of PIN field. */
  2059. /* Register: I2S_PSEL_SCK */
  2060. /* Description: Pin select for SCK signal. */
  2061. /* Bit 31 : Connection */
  2062. #define I2S_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  2063. #define I2S_PSEL_SCK_CONNECT_Msk (0x1UL << I2S_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  2064. #define I2S_PSEL_SCK_CONNECT_Connected (0UL) /*!< Connect */
  2065. #define I2S_PSEL_SCK_CONNECT_Disconnected (1UL) /*!< Disconnect */
  2066. /* Bits 4..0 : Pin number */
  2067. #define I2S_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */
  2068. #define I2S_PSEL_SCK_PIN_Msk (0x1FUL << I2S_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */
  2069. /* Register: I2S_PSEL_LRCK */
  2070. /* Description: Pin select for LRCK signal. */
  2071. /* Bit 31 : Connection */
  2072. #define I2S_PSEL_LRCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  2073. #define I2S_PSEL_LRCK_CONNECT_Msk (0x1UL << I2S_PSEL_LRCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  2074. #define I2S_PSEL_LRCK_CONNECT_Connected (0UL) /*!< Connect */
  2075. #define I2S_PSEL_LRCK_CONNECT_Disconnected (1UL) /*!< Disconnect */
  2076. /* Bits 4..0 : Pin number */
  2077. #define I2S_PSEL_LRCK_PIN_Pos (0UL) /*!< Position of PIN field. */
  2078. #define I2S_PSEL_LRCK_PIN_Msk (0x1FUL << I2S_PSEL_LRCK_PIN_Pos) /*!< Bit mask of PIN field. */
  2079. /* Register: I2S_PSEL_SDIN */
  2080. /* Description: Pin select for SDIN signal. */
  2081. /* Bit 31 : Connection */
  2082. #define I2S_PSEL_SDIN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  2083. #define I2S_PSEL_SDIN_CONNECT_Msk (0x1UL << I2S_PSEL_SDIN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  2084. #define I2S_PSEL_SDIN_CONNECT_Connected (0UL) /*!< Connect */
  2085. #define I2S_PSEL_SDIN_CONNECT_Disconnected (1UL) /*!< Disconnect */
  2086. /* Bits 4..0 : Pin number */
  2087. #define I2S_PSEL_SDIN_PIN_Pos (0UL) /*!< Position of PIN field. */
  2088. #define I2S_PSEL_SDIN_PIN_Msk (0x1FUL << I2S_PSEL_SDIN_PIN_Pos) /*!< Bit mask of PIN field. */
  2089. /* Register: I2S_PSEL_SDOUT */
  2090. /* Description: Pin select for SDOUT signal. */
  2091. /* Bit 31 : Connection */
  2092. #define I2S_PSEL_SDOUT_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  2093. #define I2S_PSEL_SDOUT_CONNECT_Msk (0x1UL << I2S_PSEL_SDOUT_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  2094. #define I2S_PSEL_SDOUT_CONNECT_Connected (0UL) /*!< Connect */
  2095. #define I2S_PSEL_SDOUT_CONNECT_Disconnected (1UL) /*!< Disconnect */
  2096. /* Bits 4..0 : Pin number */
  2097. #define I2S_PSEL_SDOUT_PIN_Pos (0UL) /*!< Position of PIN field. */
  2098. #define I2S_PSEL_SDOUT_PIN_Msk (0x1FUL << I2S_PSEL_SDOUT_PIN_Pos) /*!< Bit mask of PIN field. */
  2099. /* Peripheral: LPCOMP */
  2100. /* Description: Low Power Comparator */
  2101. /* Register: LPCOMP_SHORTS */
  2102. /* Description: Shortcut register */
  2103. /* Bit 4 : Shortcut between CROSS event and STOP task */
  2104. #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */
  2105. #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */
  2106. #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Disable shortcut */
  2107. #define LPCOMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Enable shortcut */
  2108. /* Bit 3 : Shortcut between UP event and STOP task */
  2109. #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */
  2110. #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */
  2111. #define LPCOMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Disable shortcut */
  2112. #define LPCOMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Enable shortcut */
  2113. /* Bit 2 : Shortcut between DOWN event and STOP task */
  2114. #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */
  2115. #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */
  2116. #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Disable shortcut */
  2117. #define LPCOMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Enable shortcut */
  2118. /* Bit 1 : Shortcut between READY event and STOP task */
  2119. #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */
  2120. #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */
  2121. #define LPCOMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Disable shortcut */
  2122. #define LPCOMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Enable shortcut */
  2123. /* Bit 0 : Shortcut between READY event and SAMPLE task */
  2124. #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */
  2125. #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */
  2126. #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Disable shortcut */
  2127. #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Enable shortcut */
  2128. /* Register: LPCOMP_INTENSET */
  2129. /* Description: Enable interrupt */
  2130. /* Bit 3 : Write '1' to Enable interrupt for CROSS event */
  2131. #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  2132. #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */
  2133. #define LPCOMP_INTENSET_CROSS_Disabled (0UL) /*!< Read: Disabled */
  2134. #define LPCOMP_INTENSET_CROSS_Enabled (1UL) /*!< Read: Enabled */
  2135. #define LPCOMP_INTENSET_CROSS_Set (1UL) /*!< Enable */
  2136. /* Bit 2 : Write '1' to Enable interrupt for UP event */
  2137. #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */
  2138. #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */
  2139. #define LPCOMP_INTENSET_UP_Disabled (0UL) /*!< Read: Disabled */
  2140. #define LPCOMP_INTENSET_UP_Enabled (1UL) /*!< Read: Enabled */
  2141. #define LPCOMP_INTENSET_UP_Set (1UL) /*!< Enable */
  2142. /* Bit 1 : Write '1' to Enable interrupt for DOWN event */
  2143. #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  2144. #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */
  2145. #define LPCOMP_INTENSET_DOWN_Disabled (0UL) /*!< Read: Disabled */
  2146. #define LPCOMP_INTENSET_DOWN_Enabled (1UL) /*!< Read: Enabled */
  2147. #define LPCOMP_INTENSET_DOWN_Set (1UL) /*!< Enable */
  2148. /* Bit 0 : Write '1' to Enable interrupt for READY event */
  2149. #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  2150. #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  2151. #define LPCOMP_INTENSET_READY_Disabled (0UL) /*!< Read: Disabled */
  2152. #define LPCOMP_INTENSET_READY_Enabled (1UL) /*!< Read: Enabled */
  2153. #define LPCOMP_INTENSET_READY_Set (1UL) /*!< Enable */
  2154. /* Register: LPCOMP_INTENCLR */
  2155. /* Description: Disable interrupt */
  2156. /* Bit 3 : Write '1' to Disable interrupt for CROSS event */
  2157. #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  2158. #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */
  2159. #define LPCOMP_INTENCLR_CROSS_Disabled (0UL) /*!< Read: Disabled */
  2160. #define LPCOMP_INTENCLR_CROSS_Enabled (1UL) /*!< Read: Enabled */
  2161. #define LPCOMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable */
  2162. /* Bit 2 : Write '1' to Disable interrupt for UP event */
  2163. #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */
  2164. #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */
  2165. #define LPCOMP_INTENCLR_UP_Disabled (0UL) /*!< Read: Disabled */
  2166. #define LPCOMP_INTENCLR_UP_Enabled (1UL) /*!< Read: Enabled */
  2167. #define LPCOMP_INTENCLR_UP_Clear (1UL) /*!< Disable */
  2168. /* Bit 1 : Write '1' to Disable interrupt for DOWN event */
  2169. #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  2170. #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */
  2171. #define LPCOMP_INTENCLR_DOWN_Disabled (0UL) /*!< Read: Disabled */
  2172. #define LPCOMP_INTENCLR_DOWN_Enabled (1UL) /*!< Read: Enabled */
  2173. #define LPCOMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable */
  2174. /* Bit 0 : Write '1' to Disable interrupt for READY event */
  2175. #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  2176. #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  2177. #define LPCOMP_INTENCLR_READY_Disabled (0UL) /*!< Read: Disabled */
  2178. #define LPCOMP_INTENCLR_READY_Enabled (1UL) /*!< Read: Enabled */
  2179. #define LPCOMP_INTENCLR_READY_Clear (1UL) /*!< Disable */
  2180. /* Register: LPCOMP_RESULT */
  2181. /* Description: Compare result */
  2182. /* Bit 0 : Result of last compare. Decision point SAMPLE task. */
  2183. #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
  2184. #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
  2185. #define LPCOMP_RESULT_RESULT_Below (0UL) /*!< Input voltage is below the reference threshold (VIN+ &lt; VIN-). */
  2186. #define LPCOMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold (VIN+ &gt; VIN-). */
  2187. /* Register: LPCOMP_ENABLE */
  2188. /* Description: Enable LPCOMP */
  2189. /* Bits 1..0 : Enable or disable LPCOMP */
  2190. #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  2191. #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  2192. #define LPCOMP_ENABLE_ENABLE_Disabled (0UL) /*!< Disable */
  2193. #define LPCOMP_ENABLE_ENABLE_Enabled (1UL) /*!< Enable */
  2194. /* Register: LPCOMP_PSEL */
  2195. /* Description: Input pin select */
  2196. /* Bits 2..0 : Analog pin select */
  2197. #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */
  2198. #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */
  2199. #define LPCOMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< AIN0 selected as analog input */
  2200. #define LPCOMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< AIN1 selected as analog input */
  2201. #define LPCOMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< AIN2 selected as analog input */
  2202. #define LPCOMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< AIN3 selected as analog input */
  2203. #define LPCOMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< AIN4 selected as analog input */
  2204. #define LPCOMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< AIN5 selected as analog input */
  2205. #define LPCOMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< AIN6 selected as analog input */
  2206. #define LPCOMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< AIN7 selected as analog input */
  2207. /* Register: LPCOMP_REFSEL */
  2208. /* Description: Reference select */
  2209. /* Bits 3..0 : Reference select */
  2210. #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */
  2211. #define LPCOMP_REFSEL_REFSEL_Msk (0xFUL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  2212. #define LPCOMP_REFSEL_REFSEL_Ref1_8Vdd (0UL) /*!< VDD * 1/8 selected as reference */
  2213. #define LPCOMP_REFSEL_REFSEL_Ref2_8Vdd (1UL) /*!< VDD * 2/8 selected as reference */
  2214. #define LPCOMP_REFSEL_REFSEL_Ref3_8Vdd (2UL) /*!< VDD * 3/8 selected as reference */
  2215. #define LPCOMP_REFSEL_REFSEL_Ref4_8Vdd (3UL) /*!< VDD * 4/8 selected as reference */
  2216. #define LPCOMP_REFSEL_REFSEL_Ref5_8Vdd (4UL) /*!< VDD * 5/8 selected as reference */
  2217. #define LPCOMP_REFSEL_REFSEL_Ref6_8Vdd (5UL) /*!< VDD * 6/8 selected as reference */
  2218. #define LPCOMP_REFSEL_REFSEL_Ref7_8Vdd (6UL) /*!< VDD * 7/8 selected as reference */
  2219. #define LPCOMP_REFSEL_REFSEL_ARef (7UL) /*!< External analog reference selected */
  2220. #define LPCOMP_REFSEL_REFSEL_Ref1_16Vdd (8UL) /*!< VDD * 1/16 selected as reference */
  2221. #define LPCOMP_REFSEL_REFSEL_Ref3_16Vdd (9UL) /*!< VDD * 3/16 selected as reference */
  2222. #define LPCOMP_REFSEL_REFSEL_Ref5_16Vdd (10UL) /*!< VDD * 5/16 selected as reference */
  2223. #define LPCOMP_REFSEL_REFSEL_Ref7_16Vdd (11UL) /*!< VDD * 7/16 selected as reference */
  2224. #define LPCOMP_REFSEL_REFSEL_Ref9_16Vdd (12UL) /*!< VDD * 9/16 selected as reference */
  2225. #define LPCOMP_REFSEL_REFSEL_Ref11_16Vdd (13UL) /*!< VDD * 11/16 selected as reference */
  2226. #define LPCOMP_REFSEL_REFSEL_Ref13_16Vdd (14UL) /*!< VDD * 13/16 selected as reference */
  2227. #define LPCOMP_REFSEL_REFSEL_Ref15_16Vdd (15UL) /*!< VDD * 15/16 selected as reference */
  2228. /* Register: LPCOMP_EXTREFSEL */
  2229. /* Description: External reference select */
  2230. /* Bit 0 : External analog reference select */
  2231. #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */
  2232. #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
  2233. #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use AIN0 as external analog reference */
  2234. #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use AIN1 as external analog reference */
  2235. /* Register: LPCOMP_ANADETECT */
  2236. /* Description: Analog detect configuration */
  2237. /* Bits 1..0 : Analog detect configuration */
  2238. #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */
  2239. #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */
  2240. #define LPCOMP_ANADETECT_ANADETECT_Cross (0UL) /*!< Generate ANADETECT on crossing, both upward crossing and downward crossing */
  2241. #define LPCOMP_ANADETECT_ANADETECT_Up (1UL) /*!< Generate ANADETECT on upward crossing only */
  2242. #define LPCOMP_ANADETECT_ANADETECT_Down (2UL) /*!< Generate ANADETECT on downward crossing only */
  2243. /* Register: LPCOMP_HYST */
  2244. /* Description: Comparator hysteresis enable */
  2245. /* Bit 0 : Comparator hysteresis enable */
  2246. #define LPCOMP_HYST_HYST_Pos (0UL) /*!< Position of HYST field. */
  2247. #define LPCOMP_HYST_HYST_Msk (0x1UL << LPCOMP_HYST_HYST_Pos) /*!< Bit mask of HYST field. */
  2248. #define LPCOMP_HYST_HYST_NoHyst (0UL) /*!< Comparator hysteresis disabled */
  2249. #define LPCOMP_HYST_HYST_Hyst50mV (1UL) /*!< Comparator hysteresis disabled (typ. 50 mV) */
  2250. /* Peripheral: MWU */
  2251. /* Description: Memory Watch Unit */
  2252. /* Register: MWU_INTEN */
  2253. /* Description: Enable or disable interrupt */
  2254. /* Bit 27 : Enable or disable interrupt for PREGION[1].RA event */
  2255. #define MWU_INTEN_PREGION1RA_Pos (27UL) /*!< Position of PREGION1RA field. */
  2256. #define MWU_INTEN_PREGION1RA_Msk (0x1UL << MWU_INTEN_PREGION1RA_Pos) /*!< Bit mask of PREGION1RA field. */
  2257. #define MWU_INTEN_PREGION1RA_Disabled (0UL) /*!< Disable */
  2258. #define MWU_INTEN_PREGION1RA_Enabled (1UL) /*!< Enable */
  2259. /* Bit 26 : Enable or disable interrupt for PREGION[1].WA event */
  2260. #define MWU_INTEN_PREGION1WA_Pos (26UL) /*!< Position of PREGION1WA field. */
  2261. #define MWU_INTEN_PREGION1WA_Msk (0x1UL << MWU_INTEN_PREGION1WA_Pos) /*!< Bit mask of PREGION1WA field. */
  2262. #define MWU_INTEN_PREGION1WA_Disabled (0UL) /*!< Disable */
  2263. #define MWU_INTEN_PREGION1WA_Enabled (1UL) /*!< Enable */
  2264. /* Bit 25 : Enable or disable interrupt for PREGION[0].RA event */
  2265. #define MWU_INTEN_PREGION0RA_Pos (25UL) /*!< Position of PREGION0RA field. */
  2266. #define MWU_INTEN_PREGION0RA_Msk (0x1UL << MWU_INTEN_PREGION0RA_Pos) /*!< Bit mask of PREGION0RA field. */
  2267. #define MWU_INTEN_PREGION0RA_Disabled (0UL) /*!< Disable */
  2268. #define MWU_INTEN_PREGION0RA_Enabled (1UL) /*!< Enable */
  2269. /* Bit 24 : Enable or disable interrupt for PREGION[0].WA event */
  2270. #define MWU_INTEN_PREGION0WA_Pos (24UL) /*!< Position of PREGION0WA field. */
  2271. #define MWU_INTEN_PREGION0WA_Msk (0x1UL << MWU_INTEN_PREGION0WA_Pos) /*!< Bit mask of PREGION0WA field. */
  2272. #define MWU_INTEN_PREGION0WA_Disabled (0UL) /*!< Disable */
  2273. #define MWU_INTEN_PREGION0WA_Enabled (1UL) /*!< Enable */
  2274. /* Bit 7 : Enable or disable interrupt for REGION[3].RA event */
  2275. #define MWU_INTEN_REGION3RA_Pos (7UL) /*!< Position of REGION3RA field. */
  2276. #define MWU_INTEN_REGION3RA_Msk (0x1UL << MWU_INTEN_REGION3RA_Pos) /*!< Bit mask of REGION3RA field. */
  2277. #define MWU_INTEN_REGION3RA_Disabled (0UL) /*!< Disable */
  2278. #define MWU_INTEN_REGION3RA_Enabled (1UL) /*!< Enable */
  2279. /* Bit 6 : Enable or disable interrupt for REGION[3].WA event */
  2280. #define MWU_INTEN_REGION3WA_Pos (6UL) /*!< Position of REGION3WA field. */
  2281. #define MWU_INTEN_REGION3WA_Msk (0x1UL << MWU_INTEN_REGION3WA_Pos) /*!< Bit mask of REGION3WA field. */
  2282. #define MWU_INTEN_REGION3WA_Disabled (0UL) /*!< Disable */
  2283. #define MWU_INTEN_REGION3WA_Enabled (1UL) /*!< Enable */
  2284. /* Bit 5 : Enable or disable interrupt for REGION[2].RA event */
  2285. #define MWU_INTEN_REGION2RA_Pos (5UL) /*!< Position of REGION2RA field. */
  2286. #define MWU_INTEN_REGION2RA_Msk (0x1UL << MWU_INTEN_REGION2RA_Pos) /*!< Bit mask of REGION2RA field. */
  2287. #define MWU_INTEN_REGION2RA_Disabled (0UL) /*!< Disable */
  2288. #define MWU_INTEN_REGION2RA_Enabled (1UL) /*!< Enable */
  2289. /* Bit 4 : Enable or disable interrupt for REGION[2].WA event */
  2290. #define MWU_INTEN_REGION2WA_Pos (4UL) /*!< Position of REGION2WA field. */
  2291. #define MWU_INTEN_REGION2WA_Msk (0x1UL << MWU_INTEN_REGION2WA_Pos) /*!< Bit mask of REGION2WA field. */
  2292. #define MWU_INTEN_REGION2WA_Disabled (0UL) /*!< Disable */
  2293. #define MWU_INTEN_REGION2WA_Enabled (1UL) /*!< Enable */
  2294. /* Bit 3 : Enable or disable interrupt for REGION[1].RA event */
  2295. #define MWU_INTEN_REGION1RA_Pos (3UL) /*!< Position of REGION1RA field. */
  2296. #define MWU_INTEN_REGION1RA_Msk (0x1UL << MWU_INTEN_REGION1RA_Pos) /*!< Bit mask of REGION1RA field. */
  2297. #define MWU_INTEN_REGION1RA_Disabled (0UL) /*!< Disable */
  2298. #define MWU_INTEN_REGION1RA_Enabled (1UL) /*!< Enable */
  2299. /* Bit 2 : Enable or disable interrupt for REGION[1].WA event */
  2300. #define MWU_INTEN_REGION1WA_Pos (2UL) /*!< Position of REGION1WA field. */
  2301. #define MWU_INTEN_REGION1WA_Msk (0x1UL << MWU_INTEN_REGION1WA_Pos) /*!< Bit mask of REGION1WA field. */
  2302. #define MWU_INTEN_REGION1WA_Disabled (0UL) /*!< Disable */
  2303. #define MWU_INTEN_REGION1WA_Enabled (1UL) /*!< Enable */
  2304. /* Bit 1 : Enable or disable interrupt for REGION[0].RA event */
  2305. #define MWU_INTEN_REGION0RA_Pos (1UL) /*!< Position of REGION0RA field. */
  2306. #define MWU_INTEN_REGION0RA_Msk (0x1UL << MWU_INTEN_REGION0RA_Pos) /*!< Bit mask of REGION0RA field. */
  2307. #define MWU_INTEN_REGION0RA_Disabled (0UL) /*!< Disable */
  2308. #define MWU_INTEN_REGION0RA_Enabled (1UL) /*!< Enable */
  2309. /* Bit 0 : Enable or disable interrupt for REGION[0].WA event */
  2310. #define MWU_INTEN_REGION0WA_Pos (0UL) /*!< Position of REGION0WA field. */
  2311. #define MWU_INTEN_REGION0WA_Msk (0x1UL << MWU_INTEN_REGION0WA_Pos) /*!< Bit mask of REGION0WA field. */
  2312. #define MWU_INTEN_REGION0WA_Disabled (0UL) /*!< Disable */
  2313. #define MWU_INTEN_REGION0WA_Enabled (1UL) /*!< Enable */
  2314. /* Register: MWU_INTENSET */
  2315. /* Description: Enable interrupt */
  2316. /* Bit 27 : Write '1' to Enable interrupt for PREGION[1].RA event */
  2317. #define MWU_INTENSET_PREGION1RA_Pos (27UL) /*!< Position of PREGION1RA field. */
  2318. #define MWU_INTENSET_PREGION1RA_Msk (0x1UL << MWU_INTENSET_PREGION1RA_Pos) /*!< Bit mask of PREGION1RA field. */
  2319. #define MWU_INTENSET_PREGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2320. #define MWU_INTENSET_PREGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2321. #define MWU_INTENSET_PREGION1RA_Set (1UL) /*!< Enable */
  2322. /* Bit 26 : Write '1' to Enable interrupt for PREGION[1].WA event */
  2323. #define MWU_INTENSET_PREGION1WA_Pos (26UL) /*!< Position of PREGION1WA field. */
  2324. #define MWU_INTENSET_PREGION1WA_Msk (0x1UL << MWU_INTENSET_PREGION1WA_Pos) /*!< Bit mask of PREGION1WA field. */
  2325. #define MWU_INTENSET_PREGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2326. #define MWU_INTENSET_PREGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2327. #define MWU_INTENSET_PREGION1WA_Set (1UL) /*!< Enable */
  2328. /* Bit 25 : Write '1' to Enable interrupt for PREGION[0].RA event */
  2329. #define MWU_INTENSET_PREGION0RA_Pos (25UL) /*!< Position of PREGION0RA field. */
  2330. #define MWU_INTENSET_PREGION0RA_Msk (0x1UL << MWU_INTENSET_PREGION0RA_Pos) /*!< Bit mask of PREGION0RA field. */
  2331. #define MWU_INTENSET_PREGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2332. #define MWU_INTENSET_PREGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2333. #define MWU_INTENSET_PREGION0RA_Set (1UL) /*!< Enable */
  2334. /* Bit 24 : Write '1' to Enable interrupt for PREGION[0].WA event */
  2335. #define MWU_INTENSET_PREGION0WA_Pos (24UL) /*!< Position of PREGION0WA field. */
  2336. #define MWU_INTENSET_PREGION0WA_Msk (0x1UL << MWU_INTENSET_PREGION0WA_Pos) /*!< Bit mask of PREGION0WA field. */
  2337. #define MWU_INTENSET_PREGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2338. #define MWU_INTENSET_PREGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2339. #define MWU_INTENSET_PREGION0WA_Set (1UL) /*!< Enable */
  2340. /* Bit 7 : Write '1' to Enable interrupt for REGION[3].RA event */
  2341. #define MWU_INTENSET_REGION3RA_Pos (7UL) /*!< Position of REGION3RA field. */
  2342. #define MWU_INTENSET_REGION3RA_Msk (0x1UL << MWU_INTENSET_REGION3RA_Pos) /*!< Bit mask of REGION3RA field. */
  2343. #define MWU_INTENSET_REGION3RA_Disabled (0UL) /*!< Read: Disabled */
  2344. #define MWU_INTENSET_REGION3RA_Enabled (1UL) /*!< Read: Enabled */
  2345. #define MWU_INTENSET_REGION3RA_Set (1UL) /*!< Enable */
  2346. /* Bit 6 : Write '1' to Enable interrupt for REGION[3].WA event */
  2347. #define MWU_INTENSET_REGION3WA_Pos (6UL) /*!< Position of REGION3WA field. */
  2348. #define MWU_INTENSET_REGION3WA_Msk (0x1UL << MWU_INTENSET_REGION3WA_Pos) /*!< Bit mask of REGION3WA field. */
  2349. #define MWU_INTENSET_REGION3WA_Disabled (0UL) /*!< Read: Disabled */
  2350. #define MWU_INTENSET_REGION3WA_Enabled (1UL) /*!< Read: Enabled */
  2351. #define MWU_INTENSET_REGION3WA_Set (1UL) /*!< Enable */
  2352. /* Bit 5 : Write '1' to Enable interrupt for REGION[2].RA event */
  2353. #define MWU_INTENSET_REGION2RA_Pos (5UL) /*!< Position of REGION2RA field. */
  2354. #define MWU_INTENSET_REGION2RA_Msk (0x1UL << MWU_INTENSET_REGION2RA_Pos) /*!< Bit mask of REGION2RA field. */
  2355. #define MWU_INTENSET_REGION2RA_Disabled (0UL) /*!< Read: Disabled */
  2356. #define MWU_INTENSET_REGION2RA_Enabled (1UL) /*!< Read: Enabled */
  2357. #define MWU_INTENSET_REGION2RA_Set (1UL) /*!< Enable */
  2358. /* Bit 4 : Write '1' to Enable interrupt for REGION[2].WA event */
  2359. #define MWU_INTENSET_REGION2WA_Pos (4UL) /*!< Position of REGION2WA field. */
  2360. #define MWU_INTENSET_REGION2WA_Msk (0x1UL << MWU_INTENSET_REGION2WA_Pos) /*!< Bit mask of REGION2WA field. */
  2361. #define MWU_INTENSET_REGION2WA_Disabled (0UL) /*!< Read: Disabled */
  2362. #define MWU_INTENSET_REGION2WA_Enabled (1UL) /*!< Read: Enabled */
  2363. #define MWU_INTENSET_REGION2WA_Set (1UL) /*!< Enable */
  2364. /* Bit 3 : Write '1' to Enable interrupt for REGION[1].RA event */
  2365. #define MWU_INTENSET_REGION1RA_Pos (3UL) /*!< Position of REGION1RA field. */
  2366. #define MWU_INTENSET_REGION1RA_Msk (0x1UL << MWU_INTENSET_REGION1RA_Pos) /*!< Bit mask of REGION1RA field. */
  2367. #define MWU_INTENSET_REGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2368. #define MWU_INTENSET_REGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2369. #define MWU_INTENSET_REGION1RA_Set (1UL) /*!< Enable */
  2370. /* Bit 2 : Write '1' to Enable interrupt for REGION[1].WA event */
  2371. #define MWU_INTENSET_REGION1WA_Pos (2UL) /*!< Position of REGION1WA field. */
  2372. #define MWU_INTENSET_REGION1WA_Msk (0x1UL << MWU_INTENSET_REGION1WA_Pos) /*!< Bit mask of REGION1WA field. */
  2373. #define MWU_INTENSET_REGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2374. #define MWU_INTENSET_REGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2375. #define MWU_INTENSET_REGION1WA_Set (1UL) /*!< Enable */
  2376. /* Bit 1 : Write '1' to Enable interrupt for REGION[0].RA event */
  2377. #define MWU_INTENSET_REGION0RA_Pos (1UL) /*!< Position of REGION0RA field. */
  2378. #define MWU_INTENSET_REGION0RA_Msk (0x1UL << MWU_INTENSET_REGION0RA_Pos) /*!< Bit mask of REGION0RA field. */
  2379. #define MWU_INTENSET_REGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2380. #define MWU_INTENSET_REGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2381. #define MWU_INTENSET_REGION0RA_Set (1UL) /*!< Enable */
  2382. /* Bit 0 : Write '1' to Enable interrupt for REGION[0].WA event */
  2383. #define MWU_INTENSET_REGION0WA_Pos (0UL) /*!< Position of REGION0WA field. */
  2384. #define MWU_INTENSET_REGION0WA_Msk (0x1UL << MWU_INTENSET_REGION0WA_Pos) /*!< Bit mask of REGION0WA field. */
  2385. #define MWU_INTENSET_REGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2386. #define MWU_INTENSET_REGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2387. #define MWU_INTENSET_REGION0WA_Set (1UL) /*!< Enable */
  2388. /* Register: MWU_INTENCLR */
  2389. /* Description: Disable interrupt */
  2390. /* Bit 27 : Write '1' to Disable interrupt for PREGION[1].RA event */
  2391. #define MWU_INTENCLR_PREGION1RA_Pos (27UL) /*!< Position of PREGION1RA field. */
  2392. #define MWU_INTENCLR_PREGION1RA_Msk (0x1UL << MWU_INTENCLR_PREGION1RA_Pos) /*!< Bit mask of PREGION1RA field. */
  2393. #define MWU_INTENCLR_PREGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2394. #define MWU_INTENCLR_PREGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2395. #define MWU_INTENCLR_PREGION1RA_Clear (1UL) /*!< Disable */
  2396. /* Bit 26 : Write '1' to Disable interrupt for PREGION[1].WA event */
  2397. #define MWU_INTENCLR_PREGION1WA_Pos (26UL) /*!< Position of PREGION1WA field. */
  2398. #define MWU_INTENCLR_PREGION1WA_Msk (0x1UL << MWU_INTENCLR_PREGION1WA_Pos) /*!< Bit mask of PREGION1WA field. */
  2399. #define MWU_INTENCLR_PREGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2400. #define MWU_INTENCLR_PREGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2401. #define MWU_INTENCLR_PREGION1WA_Clear (1UL) /*!< Disable */
  2402. /* Bit 25 : Write '1' to Disable interrupt for PREGION[0].RA event */
  2403. #define MWU_INTENCLR_PREGION0RA_Pos (25UL) /*!< Position of PREGION0RA field. */
  2404. #define MWU_INTENCLR_PREGION0RA_Msk (0x1UL << MWU_INTENCLR_PREGION0RA_Pos) /*!< Bit mask of PREGION0RA field. */
  2405. #define MWU_INTENCLR_PREGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2406. #define MWU_INTENCLR_PREGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2407. #define MWU_INTENCLR_PREGION0RA_Clear (1UL) /*!< Disable */
  2408. /* Bit 24 : Write '1' to Disable interrupt for PREGION[0].WA event */
  2409. #define MWU_INTENCLR_PREGION0WA_Pos (24UL) /*!< Position of PREGION0WA field. */
  2410. #define MWU_INTENCLR_PREGION0WA_Msk (0x1UL << MWU_INTENCLR_PREGION0WA_Pos) /*!< Bit mask of PREGION0WA field. */
  2411. #define MWU_INTENCLR_PREGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2412. #define MWU_INTENCLR_PREGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2413. #define MWU_INTENCLR_PREGION0WA_Clear (1UL) /*!< Disable */
  2414. /* Bit 7 : Write '1' to Disable interrupt for REGION[3].RA event */
  2415. #define MWU_INTENCLR_REGION3RA_Pos (7UL) /*!< Position of REGION3RA field. */
  2416. #define MWU_INTENCLR_REGION3RA_Msk (0x1UL << MWU_INTENCLR_REGION3RA_Pos) /*!< Bit mask of REGION3RA field. */
  2417. #define MWU_INTENCLR_REGION3RA_Disabled (0UL) /*!< Read: Disabled */
  2418. #define MWU_INTENCLR_REGION3RA_Enabled (1UL) /*!< Read: Enabled */
  2419. #define MWU_INTENCLR_REGION3RA_Clear (1UL) /*!< Disable */
  2420. /* Bit 6 : Write '1' to Disable interrupt for REGION[3].WA event */
  2421. #define MWU_INTENCLR_REGION3WA_Pos (6UL) /*!< Position of REGION3WA field. */
  2422. #define MWU_INTENCLR_REGION3WA_Msk (0x1UL << MWU_INTENCLR_REGION3WA_Pos) /*!< Bit mask of REGION3WA field. */
  2423. #define MWU_INTENCLR_REGION3WA_Disabled (0UL) /*!< Read: Disabled */
  2424. #define MWU_INTENCLR_REGION3WA_Enabled (1UL) /*!< Read: Enabled */
  2425. #define MWU_INTENCLR_REGION3WA_Clear (1UL) /*!< Disable */
  2426. /* Bit 5 : Write '1' to Disable interrupt for REGION[2].RA event */
  2427. #define MWU_INTENCLR_REGION2RA_Pos (5UL) /*!< Position of REGION2RA field. */
  2428. #define MWU_INTENCLR_REGION2RA_Msk (0x1UL << MWU_INTENCLR_REGION2RA_Pos) /*!< Bit mask of REGION2RA field. */
  2429. #define MWU_INTENCLR_REGION2RA_Disabled (0UL) /*!< Read: Disabled */
  2430. #define MWU_INTENCLR_REGION2RA_Enabled (1UL) /*!< Read: Enabled */
  2431. #define MWU_INTENCLR_REGION2RA_Clear (1UL) /*!< Disable */
  2432. /* Bit 4 : Write '1' to Disable interrupt for REGION[2].WA event */
  2433. #define MWU_INTENCLR_REGION2WA_Pos (4UL) /*!< Position of REGION2WA field. */
  2434. #define MWU_INTENCLR_REGION2WA_Msk (0x1UL << MWU_INTENCLR_REGION2WA_Pos) /*!< Bit mask of REGION2WA field. */
  2435. #define MWU_INTENCLR_REGION2WA_Disabled (0UL) /*!< Read: Disabled */
  2436. #define MWU_INTENCLR_REGION2WA_Enabled (1UL) /*!< Read: Enabled */
  2437. #define MWU_INTENCLR_REGION2WA_Clear (1UL) /*!< Disable */
  2438. /* Bit 3 : Write '1' to Disable interrupt for REGION[1].RA event */
  2439. #define MWU_INTENCLR_REGION1RA_Pos (3UL) /*!< Position of REGION1RA field. */
  2440. #define MWU_INTENCLR_REGION1RA_Msk (0x1UL << MWU_INTENCLR_REGION1RA_Pos) /*!< Bit mask of REGION1RA field. */
  2441. #define MWU_INTENCLR_REGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2442. #define MWU_INTENCLR_REGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2443. #define MWU_INTENCLR_REGION1RA_Clear (1UL) /*!< Disable */
  2444. /* Bit 2 : Write '1' to Disable interrupt for REGION[1].WA event */
  2445. #define MWU_INTENCLR_REGION1WA_Pos (2UL) /*!< Position of REGION1WA field. */
  2446. #define MWU_INTENCLR_REGION1WA_Msk (0x1UL << MWU_INTENCLR_REGION1WA_Pos) /*!< Bit mask of REGION1WA field. */
  2447. #define MWU_INTENCLR_REGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2448. #define MWU_INTENCLR_REGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2449. #define MWU_INTENCLR_REGION1WA_Clear (1UL) /*!< Disable */
  2450. /* Bit 1 : Write '1' to Disable interrupt for REGION[0].RA event */
  2451. #define MWU_INTENCLR_REGION0RA_Pos (1UL) /*!< Position of REGION0RA field. */
  2452. #define MWU_INTENCLR_REGION0RA_Msk (0x1UL << MWU_INTENCLR_REGION0RA_Pos) /*!< Bit mask of REGION0RA field. */
  2453. #define MWU_INTENCLR_REGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2454. #define MWU_INTENCLR_REGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2455. #define MWU_INTENCLR_REGION0RA_Clear (1UL) /*!< Disable */
  2456. /* Bit 0 : Write '1' to Disable interrupt for REGION[0].WA event */
  2457. #define MWU_INTENCLR_REGION0WA_Pos (0UL) /*!< Position of REGION0WA field. */
  2458. #define MWU_INTENCLR_REGION0WA_Msk (0x1UL << MWU_INTENCLR_REGION0WA_Pos) /*!< Bit mask of REGION0WA field. */
  2459. #define MWU_INTENCLR_REGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2460. #define MWU_INTENCLR_REGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2461. #define MWU_INTENCLR_REGION0WA_Clear (1UL) /*!< Disable */
  2462. /* Register: MWU_NMIEN */
  2463. /* Description: Enable or disable non-maskable interrupt */
  2464. /* Bit 27 : Enable or disable non-maskable interrupt for PREGION[1].RA event */
  2465. #define MWU_NMIEN_PREGION1RA_Pos (27UL) /*!< Position of PREGION1RA field. */
  2466. #define MWU_NMIEN_PREGION1RA_Msk (0x1UL << MWU_NMIEN_PREGION1RA_Pos) /*!< Bit mask of PREGION1RA field. */
  2467. #define MWU_NMIEN_PREGION1RA_Disabled (0UL) /*!< Disable */
  2468. #define MWU_NMIEN_PREGION1RA_Enabled (1UL) /*!< Enable */
  2469. /* Bit 26 : Enable or disable non-maskable interrupt for PREGION[1].WA event */
  2470. #define MWU_NMIEN_PREGION1WA_Pos (26UL) /*!< Position of PREGION1WA field. */
  2471. #define MWU_NMIEN_PREGION1WA_Msk (0x1UL << MWU_NMIEN_PREGION1WA_Pos) /*!< Bit mask of PREGION1WA field. */
  2472. #define MWU_NMIEN_PREGION1WA_Disabled (0UL) /*!< Disable */
  2473. #define MWU_NMIEN_PREGION1WA_Enabled (1UL) /*!< Enable */
  2474. /* Bit 25 : Enable or disable non-maskable interrupt for PREGION[0].RA event */
  2475. #define MWU_NMIEN_PREGION0RA_Pos (25UL) /*!< Position of PREGION0RA field. */
  2476. #define MWU_NMIEN_PREGION0RA_Msk (0x1UL << MWU_NMIEN_PREGION0RA_Pos) /*!< Bit mask of PREGION0RA field. */
  2477. #define MWU_NMIEN_PREGION0RA_Disabled (0UL) /*!< Disable */
  2478. #define MWU_NMIEN_PREGION0RA_Enabled (1UL) /*!< Enable */
  2479. /* Bit 24 : Enable or disable non-maskable interrupt for PREGION[0].WA event */
  2480. #define MWU_NMIEN_PREGION0WA_Pos (24UL) /*!< Position of PREGION0WA field. */
  2481. #define MWU_NMIEN_PREGION0WA_Msk (0x1UL << MWU_NMIEN_PREGION0WA_Pos) /*!< Bit mask of PREGION0WA field. */
  2482. #define MWU_NMIEN_PREGION0WA_Disabled (0UL) /*!< Disable */
  2483. #define MWU_NMIEN_PREGION0WA_Enabled (1UL) /*!< Enable */
  2484. /* Bit 7 : Enable or disable non-maskable interrupt for REGION[3].RA event */
  2485. #define MWU_NMIEN_REGION3RA_Pos (7UL) /*!< Position of REGION3RA field. */
  2486. #define MWU_NMIEN_REGION3RA_Msk (0x1UL << MWU_NMIEN_REGION3RA_Pos) /*!< Bit mask of REGION3RA field. */
  2487. #define MWU_NMIEN_REGION3RA_Disabled (0UL) /*!< Disable */
  2488. #define MWU_NMIEN_REGION3RA_Enabled (1UL) /*!< Enable */
  2489. /* Bit 6 : Enable or disable non-maskable interrupt for REGION[3].WA event */
  2490. #define MWU_NMIEN_REGION3WA_Pos (6UL) /*!< Position of REGION3WA field. */
  2491. #define MWU_NMIEN_REGION3WA_Msk (0x1UL << MWU_NMIEN_REGION3WA_Pos) /*!< Bit mask of REGION3WA field. */
  2492. #define MWU_NMIEN_REGION3WA_Disabled (0UL) /*!< Disable */
  2493. #define MWU_NMIEN_REGION3WA_Enabled (1UL) /*!< Enable */
  2494. /* Bit 5 : Enable or disable non-maskable interrupt for REGION[2].RA event */
  2495. #define MWU_NMIEN_REGION2RA_Pos (5UL) /*!< Position of REGION2RA field. */
  2496. #define MWU_NMIEN_REGION2RA_Msk (0x1UL << MWU_NMIEN_REGION2RA_Pos) /*!< Bit mask of REGION2RA field. */
  2497. #define MWU_NMIEN_REGION2RA_Disabled (0UL) /*!< Disable */
  2498. #define MWU_NMIEN_REGION2RA_Enabled (1UL) /*!< Enable */
  2499. /* Bit 4 : Enable or disable non-maskable interrupt for REGION[2].WA event */
  2500. #define MWU_NMIEN_REGION2WA_Pos (4UL) /*!< Position of REGION2WA field. */
  2501. #define MWU_NMIEN_REGION2WA_Msk (0x1UL << MWU_NMIEN_REGION2WA_Pos) /*!< Bit mask of REGION2WA field. */
  2502. #define MWU_NMIEN_REGION2WA_Disabled (0UL) /*!< Disable */
  2503. #define MWU_NMIEN_REGION2WA_Enabled (1UL) /*!< Enable */
  2504. /* Bit 3 : Enable or disable non-maskable interrupt for REGION[1].RA event */
  2505. #define MWU_NMIEN_REGION1RA_Pos (3UL) /*!< Position of REGION1RA field. */
  2506. #define MWU_NMIEN_REGION1RA_Msk (0x1UL << MWU_NMIEN_REGION1RA_Pos) /*!< Bit mask of REGION1RA field. */
  2507. #define MWU_NMIEN_REGION1RA_Disabled (0UL) /*!< Disable */
  2508. #define MWU_NMIEN_REGION1RA_Enabled (1UL) /*!< Enable */
  2509. /* Bit 2 : Enable or disable non-maskable interrupt for REGION[1].WA event */
  2510. #define MWU_NMIEN_REGION1WA_Pos (2UL) /*!< Position of REGION1WA field. */
  2511. #define MWU_NMIEN_REGION1WA_Msk (0x1UL << MWU_NMIEN_REGION1WA_Pos) /*!< Bit mask of REGION1WA field. */
  2512. #define MWU_NMIEN_REGION1WA_Disabled (0UL) /*!< Disable */
  2513. #define MWU_NMIEN_REGION1WA_Enabled (1UL) /*!< Enable */
  2514. /* Bit 1 : Enable or disable non-maskable interrupt for REGION[0].RA event */
  2515. #define MWU_NMIEN_REGION0RA_Pos (1UL) /*!< Position of REGION0RA field. */
  2516. #define MWU_NMIEN_REGION0RA_Msk (0x1UL << MWU_NMIEN_REGION0RA_Pos) /*!< Bit mask of REGION0RA field. */
  2517. #define MWU_NMIEN_REGION0RA_Disabled (0UL) /*!< Disable */
  2518. #define MWU_NMIEN_REGION0RA_Enabled (1UL) /*!< Enable */
  2519. /* Bit 0 : Enable or disable non-maskable interrupt for REGION[0].WA event */
  2520. #define MWU_NMIEN_REGION0WA_Pos (0UL) /*!< Position of REGION0WA field. */
  2521. #define MWU_NMIEN_REGION0WA_Msk (0x1UL << MWU_NMIEN_REGION0WA_Pos) /*!< Bit mask of REGION0WA field. */
  2522. #define MWU_NMIEN_REGION0WA_Disabled (0UL) /*!< Disable */
  2523. #define MWU_NMIEN_REGION0WA_Enabled (1UL) /*!< Enable */
  2524. /* Register: MWU_NMIENSET */
  2525. /* Description: Enable non-maskable interrupt */
  2526. /* Bit 27 : Write '1' to Enable non-maskable interrupt for PREGION[1].RA event */
  2527. #define MWU_NMIENSET_PREGION1RA_Pos (27UL) /*!< Position of PREGION1RA field. */
  2528. #define MWU_NMIENSET_PREGION1RA_Msk (0x1UL << MWU_NMIENSET_PREGION1RA_Pos) /*!< Bit mask of PREGION1RA field. */
  2529. #define MWU_NMIENSET_PREGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2530. #define MWU_NMIENSET_PREGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2531. #define MWU_NMIENSET_PREGION1RA_Set (1UL) /*!< Enable */
  2532. /* Bit 26 : Write '1' to Enable non-maskable interrupt for PREGION[1].WA event */
  2533. #define MWU_NMIENSET_PREGION1WA_Pos (26UL) /*!< Position of PREGION1WA field. */
  2534. #define MWU_NMIENSET_PREGION1WA_Msk (0x1UL << MWU_NMIENSET_PREGION1WA_Pos) /*!< Bit mask of PREGION1WA field. */
  2535. #define MWU_NMIENSET_PREGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2536. #define MWU_NMIENSET_PREGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2537. #define MWU_NMIENSET_PREGION1WA_Set (1UL) /*!< Enable */
  2538. /* Bit 25 : Write '1' to Enable non-maskable interrupt for PREGION[0].RA event */
  2539. #define MWU_NMIENSET_PREGION0RA_Pos (25UL) /*!< Position of PREGION0RA field. */
  2540. #define MWU_NMIENSET_PREGION0RA_Msk (0x1UL << MWU_NMIENSET_PREGION0RA_Pos) /*!< Bit mask of PREGION0RA field. */
  2541. #define MWU_NMIENSET_PREGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2542. #define MWU_NMIENSET_PREGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2543. #define MWU_NMIENSET_PREGION0RA_Set (1UL) /*!< Enable */
  2544. /* Bit 24 : Write '1' to Enable non-maskable interrupt for PREGION[0].WA event */
  2545. #define MWU_NMIENSET_PREGION0WA_Pos (24UL) /*!< Position of PREGION0WA field. */
  2546. #define MWU_NMIENSET_PREGION0WA_Msk (0x1UL << MWU_NMIENSET_PREGION0WA_Pos) /*!< Bit mask of PREGION0WA field. */
  2547. #define MWU_NMIENSET_PREGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2548. #define MWU_NMIENSET_PREGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2549. #define MWU_NMIENSET_PREGION0WA_Set (1UL) /*!< Enable */
  2550. /* Bit 7 : Write '1' to Enable non-maskable interrupt for REGION[3].RA event */
  2551. #define MWU_NMIENSET_REGION3RA_Pos (7UL) /*!< Position of REGION3RA field. */
  2552. #define MWU_NMIENSET_REGION3RA_Msk (0x1UL << MWU_NMIENSET_REGION3RA_Pos) /*!< Bit mask of REGION3RA field. */
  2553. #define MWU_NMIENSET_REGION3RA_Disabled (0UL) /*!< Read: Disabled */
  2554. #define MWU_NMIENSET_REGION3RA_Enabled (1UL) /*!< Read: Enabled */
  2555. #define MWU_NMIENSET_REGION3RA_Set (1UL) /*!< Enable */
  2556. /* Bit 6 : Write '1' to Enable non-maskable interrupt for REGION[3].WA event */
  2557. #define MWU_NMIENSET_REGION3WA_Pos (6UL) /*!< Position of REGION3WA field. */
  2558. #define MWU_NMIENSET_REGION3WA_Msk (0x1UL << MWU_NMIENSET_REGION3WA_Pos) /*!< Bit mask of REGION3WA field. */
  2559. #define MWU_NMIENSET_REGION3WA_Disabled (0UL) /*!< Read: Disabled */
  2560. #define MWU_NMIENSET_REGION3WA_Enabled (1UL) /*!< Read: Enabled */
  2561. #define MWU_NMIENSET_REGION3WA_Set (1UL) /*!< Enable */
  2562. /* Bit 5 : Write '1' to Enable non-maskable interrupt for REGION[2].RA event */
  2563. #define MWU_NMIENSET_REGION2RA_Pos (5UL) /*!< Position of REGION2RA field. */
  2564. #define MWU_NMIENSET_REGION2RA_Msk (0x1UL << MWU_NMIENSET_REGION2RA_Pos) /*!< Bit mask of REGION2RA field. */
  2565. #define MWU_NMIENSET_REGION2RA_Disabled (0UL) /*!< Read: Disabled */
  2566. #define MWU_NMIENSET_REGION2RA_Enabled (1UL) /*!< Read: Enabled */
  2567. #define MWU_NMIENSET_REGION2RA_Set (1UL) /*!< Enable */
  2568. /* Bit 4 : Write '1' to Enable non-maskable interrupt for REGION[2].WA event */
  2569. #define MWU_NMIENSET_REGION2WA_Pos (4UL) /*!< Position of REGION2WA field. */
  2570. #define MWU_NMIENSET_REGION2WA_Msk (0x1UL << MWU_NMIENSET_REGION2WA_Pos) /*!< Bit mask of REGION2WA field. */
  2571. #define MWU_NMIENSET_REGION2WA_Disabled (0UL) /*!< Read: Disabled */
  2572. #define MWU_NMIENSET_REGION2WA_Enabled (1UL) /*!< Read: Enabled */
  2573. #define MWU_NMIENSET_REGION2WA_Set (1UL) /*!< Enable */
  2574. /* Bit 3 : Write '1' to Enable non-maskable interrupt for REGION[1].RA event */
  2575. #define MWU_NMIENSET_REGION1RA_Pos (3UL) /*!< Position of REGION1RA field. */
  2576. #define MWU_NMIENSET_REGION1RA_Msk (0x1UL << MWU_NMIENSET_REGION1RA_Pos) /*!< Bit mask of REGION1RA field. */
  2577. #define MWU_NMIENSET_REGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2578. #define MWU_NMIENSET_REGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2579. #define MWU_NMIENSET_REGION1RA_Set (1UL) /*!< Enable */
  2580. /* Bit 2 : Write '1' to Enable non-maskable interrupt for REGION[1].WA event */
  2581. #define MWU_NMIENSET_REGION1WA_Pos (2UL) /*!< Position of REGION1WA field. */
  2582. #define MWU_NMIENSET_REGION1WA_Msk (0x1UL << MWU_NMIENSET_REGION1WA_Pos) /*!< Bit mask of REGION1WA field. */
  2583. #define MWU_NMIENSET_REGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2584. #define MWU_NMIENSET_REGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2585. #define MWU_NMIENSET_REGION1WA_Set (1UL) /*!< Enable */
  2586. /* Bit 1 : Write '1' to Enable non-maskable interrupt for REGION[0].RA event */
  2587. #define MWU_NMIENSET_REGION0RA_Pos (1UL) /*!< Position of REGION0RA field. */
  2588. #define MWU_NMIENSET_REGION0RA_Msk (0x1UL << MWU_NMIENSET_REGION0RA_Pos) /*!< Bit mask of REGION0RA field. */
  2589. #define MWU_NMIENSET_REGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2590. #define MWU_NMIENSET_REGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2591. #define MWU_NMIENSET_REGION0RA_Set (1UL) /*!< Enable */
  2592. /* Bit 0 : Write '1' to Enable non-maskable interrupt for REGION[0].WA event */
  2593. #define MWU_NMIENSET_REGION0WA_Pos (0UL) /*!< Position of REGION0WA field. */
  2594. #define MWU_NMIENSET_REGION0WA_Msk (0x1UL << MWU_NMIENSET_REGION0WA_Pos) /*!< Bit mask of REGION0WA field. */
  2595. #define MWU_NMIENSET_REGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2596. #define MWU_NMIENSET_REGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2597. #define MWU_NMIENSET_REGION0WA_Set (1UL) /*!< Enable */
  2598. /* Register: MWU_NMIENCLR */
  2599. /* Description: Disable non-maskable interrupt */
  2600. /* Bit 27 : Write '1' to Disable non-maskable interrupt for PREGION[1].RA event */
  2601. #define MWU_NMIENCLR_PREGION1RA_Pos (27UL) /*!< Position of PREGION1RA field. */
  2602. #define MWU_NMIENCLR_PREGION1RA_Msk (0x1UL << MWU_NMIENCLR_PREGION1RA_Pos) /*!< Bit mask of PREGION1RA field. */
  2603. #define MWU_NMIENCLR_PREGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2604. #define MWU_NMIENCLR_PREGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2605. #define MWU_NMIENCLR_PREGION1RA_Clear (1UL) /*!< Disable */
  2606. /* Bit 26 : Write '1' to Disable non-maskable interrupt for PREGION[1].WA event */
  2607. #define MWU_NMIENCLR_PREGION1WA_Pos (26UL) /*!< Position of PREGION1WA field. */
  2608. #define MWU_NMIENCLR_PREGION1WA_Msk (0x1UL << MWU_NMIENCLR_PREGION1WA_Pos) /*!< Bit mask of PREGION1WA field. */
  2609. #define MWU_NMIENCLR_PREGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2610. #define MWU_NMIENCLR_PREGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2611. #define MWU_NMIENCLR_PREGION1WA_Clear (1UL) /*!< Disable */
  2612. /* Bit 25 : Write '1' to Disable non-maskable interrupt for PREGION[0].RA event */
  2613. #define MWU_NMIENCLR_PREGION0RA_Pos (25UL) /*!< Position of PREGION0RA field. */
  2614. #define MWU_NMIENCLR_PREGION0RA_Msk (0x1UL << MWU_NMIENCLR_PREGION0RA_Pos) /*!< Bit mask of PREGION0RA field. */
  2615. #define MWU_NMIENCLR_PREGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2616. #define MWU_NMIENCLR_PREGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2617. #define MWU_NMIENCLR_PREGION0RA_Clear (1UL) /*!< Disable */
  2618. /* Bit 24 : Write '1' to Disable non-maskable interrupt for PREGION[0].WA event */
  2619. #define MWU_NMIENCLR_PREGION0WA_Pos (24UL) /*!< Position of PREGION0WA field. */
  2620. #define MWU_NMIENCLR_PREGION0WA_Msk (0x1UL << MWU_NMIENCLR_PREGION0WA_Pos) /*!< Bit mask of PREGION0WA field. */
  2621. #define MWU_NMIENCLR_PREGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2622. #define MWU_NMIENCLR_PREGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2623. #define MWU_NMIENCLR_PREGION0WA_Clear (1UL) /*!< Disable */
  2624. /* Bit 7 : Write '1' to Disable non-maskable interrupt for REGION[3].RA event */
  2625. #define MWU_NMIENCLR_REGION3RA_Pos (7UL) /*!< Position of REGION3RA field. */
  2626. #define MWU_NMIENCLR_REGION3RA_Msk (0x1UL << MWU_NMIENCLR_REGION3RA_Pos) /*!< Bit mask of REGION3RA field. */
  2627. #define MWU_NMIENCLR_REGION3RA_Disabled (0UL) /*!< Read: Disabled */
  2628. #define MWU_NMIENCLR_REGION3RA_Enabled (1UL) /*!< Read: Enabled */
  2629. #define MWU_NMIENCLR_REGION3RA_Clear (1UL) /*!< Disable */
  2630. /* Bit 6 : Write '1' to Disable non-maskable interrupt for REGION[3].WA event */
  2631. #define MWU_NMIENCLR_REGION3WA_Pos (6UL) /*!< Position of REGION3WA field. */
  2632. #define MWU_NMIENCLR_REGION3WA_Msk (0x1UL << MWU_NMIENCLR_REGION3WA_Pos) /*!< Bit mask of REGION3WA field. */
  2633. #define MWU_NMIENCLR_REGION3WA_Disabled (0UL) /*!< Read: Disabled */
  2634. #define MWU_NMIENCLR_REGION3WA_Enabled (1UL) /*!< Read: Enabled */
  2635. #define MWU_NMIENCLR_REGION3WA_Clear (1UL) /*!< Disable */
  2636. /* Bit 5 : Write '1' to Disable non-maskable interrupt for REGION[2].RA event */
  2637. #define MWU_NMIENCLR_REGION2RA_Pos (5UL) /*!< Position of REGION2RA field. */
  2638. #define MWU_NMIENCLR_REGION2RA_Msk (0x1UL << MWU_NMIENCLR_REGION2RA_Pos) /*!< Bit mask of REGION2RA field. */
  2639. #define MWU_NMIENCLR_REGION2RA_Disabled (0UL) /*!< Read: Disabled */
  2640. #define MWU_NMIENCLR_REGION2RA_Enabled (1UL) /*!< Read: Enabled */
  2641. #define MWU_NMIENCLR_REGION2RA_Clear (1UL) /*!< Disable */
  2642. /* Bit 4 : Write '1' to Disable non-maskable interrupt for REGION[2].WA event */
  2643. #define MWU_NMIENCLR_REGION2WA_Pos (4UL) /*!< Position of REGION2WA field. */
  2644. #define MWU_NMIENCLR_REGION2WA_Msk (0x1UL << MWU_NMIENCLR_REGION2WA_Pos) /*!< Bit mask of REGION2WA field. */
  2645. #define MWU_NMIENCLR_REGION2WA_Disabled (0UL) /*!< Read: Disabled */
  2646. #define MWU_NMIENCLR_REGION2WA_Enabled (1UL) /*!< Read: Enabled */
  2647. #define MWU_NMIENCLR_REGION2WA_Clear (1UL) /*!< Disable */
  2648. /* Bit 3 : Write '1' to Disable non-maskable interrupt for REGION[1].RA event */
  2649. #define MWU_NMIENCLR_REGION1RA_Pos (3UL) /*!< Position of REGION1RA field. */
  2650. #define MWU_NMIENCLR_REGION1RA_Msk (0x1UL << MWU_NMIENCLR_REGION1RA_Pos) /*!< Bit mask of REGION1RA field. */
  2651. #define MWU_NMIENCLR_REGION1RA_Disabled (0UL) /*!< Read: Disabled */
  2652. #define MWU_NMIENCLR_REGION1RA_Enabled (1UL) /*!< Read: Enabled */
  2653. #define MWU_NMIENCLR_REGION1RA_Clear (1UL) /*!< Disable */
  2654. /* Bit 2 : Write '1' to Disable non-maskable interrupt for REGION[1].WA event */
  2655. #define MWU_NMIENCLR_REGION1WA_Pos (2UL) /*!< Position of REGION1WA field. */
  2656. #define MWU_NMIENCLR_REGION1WA_Msk (0x1UL << MWU_NMIENCLR_REGION1WA_Pos) /*!< Bit mask of REGION1WA field. */
  2657. #define MWU_NMIENCLR_REGION1WA_Disabled (0UL) /*!< Read: Disabled */
  2658. #define MWU_NMIENCLR_REGION1WA_Enabled (1UL) /*!< Read: Enabled */
  2659. #define MWU_NMIENCLR_REGION1WA_Clear (1UL) /*!< Disable */
  2660. /* Bit 1 : Write '1' to Disable non-maskable interrupt for REGION[0].RA event */
  2661. #define MWU_NMIENCLR_REGION0RA_Pos (1UL) /*!< Position of REGION0RA field. */
  2662. #define MWU_NMIENCLR_REGION0RA_Msk (0x1UL << MWU_NMIENCLR_REGION0RA_Pos) /*!< Bit mask of REGION0RA field. */
  2663. #define MWU_NMIENCLR_REGION0RA_Disabled (0UL) /*!< Read: Disabled */
  2664. #define MWU_NMIENCLR_REGION0RA_Enabled (1UL) /*!< Read: Enabled */
  2665. #define MWU_NMIENCLR_REGION0RA_Clear (1UL) /*!< Disable */
  2666. /* Bit 0 : Write '1' to Disable non-maskable interrupt for REGION[0].WA event */
  2667. #define MWU_NMIENCLR_REGION0WA_Pos (0UL) /*!< Position of REGION0WA field. */
  2668. #define MWU_NMIENCLR_REGION0WA_Msk (0x1UL << MWU_NMIENCLR_REGION0WA_Pos) /*!< Bit mask of REGION0WA field. */
  2669. #define MWU_NMIENCLR_REGION0WA_Disabled (0UL) /*!< Read: Disabled */
  2670. #define MWU_NMIENCLR_REGION0WA_Enabled (1UL) /*!< Read: Enabled */
  2671. #define MWU_NMIENCLR_REGION0WA_Clear (1UL) /*!< Disable */
  2672. /* Register: MWU_PERREGION_SUBSTATWA */
  2673. /* Description: Description cluster[0]: Source of event/interrupt in region 0, write access detected while corresponding subregion was enabled for watching */
  2674. /* Bit 31 : Subregion 31 in region 0 (write '1' to clear) */
  2675. #define MWU_PERREGION_SUBSTATWA_SR31_Pos (31UL) /*!< Position of SR31 field. */
  2676. #define MWU_PERREGION_SUBSTATWA_SR31_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR31_Pos) /*!< Bit mask of SR31 field. */
  2677. #define MWU_PERREGION_SUBSTATWA_SR31_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2678. #define MWU_PERREGION_SUBSTATWA_SR31_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2679. /* Bit 30 : Subregion 30 in region 0 (write '1' to clear) */
  2680. #define MWU_PERREGION_SUBSTATWA_SR30_Pos (30UL) /*!< Position of SR30 field. */
  2681. #define MWU_PERREGION_SUBSTATWA_SR30_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR30_Pos) /*!< Bit mask of SR30 field. */
  2682. #define MWU_PERREGION_SUBSTATWA_SR30_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2683. #define MWU_PERREGION_SUBSTATWA_SR30_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2684. /* Bit 29 : Subregion 29 in region 0 (write '1' to clear) */
  2685. #define MWU_PERREGION_SUBSTATWA_SR29_Pos (29UL) /*!< Position of SR29 field. */
  2686. #define MWU_PERREGION_SUBSTATWA_SR29_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR29_Pos) /*!< Bit mask of SR29 field. */
  2687. #define MWU_PERREGION_SUBSTATWA_SR29_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2688. #define MWU_PERREGION_SUBSTATWA_SR29_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2689. /* Bit 28 : Subregion 28 in region 0 (write '1' to clear) */
  2690. #define MWU_PERREGION_SUBSTATWA_SR28_Pos (28UL) /*!< Position of SR28 field. */
  2691. #define MWU_PERREGION_SUBSTATWA_SR28_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR28_Pos) /*!< Bit mask of SR28 field. */
  2692. #define MWU_PERREGION_SUBSTATWA_SR28_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2693. #define MWU_PERREGION_SUBSTATWA_SR28_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2694. /* Bit 27 : Subregion 27 in region 0 (write '1' to clear) */
  2695. #define MWU_PERREGION_SUBSTATWA_SR27_Pos (27UL) /*!< Position of SR27 field. */
  2696. #define MWU_PERREGION_SUBSTATWA_SR27_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR27_Pos) /*!< Bit mask of SR27 field. */
  2697. #define MWU_PERREGION_SUBSTATWA_SR27_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2698. #define MWU_PERREGION_SUBSTATWA_SR27_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2699. /* Bit 26 : Subregion 26 in region 0 (write '1' to clear) */
  2700. #define MWU_PERREGION_SUBSTATWA_SR26_Pos (26UL) /*!< Position of SR26 field. */
  2701. #define MWU_PERREGION_SUBSTATWA_SR26_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR26_Pos) /*!< Bit mask of SR26 field. */
  2702. #define MWU_PERREGION_SUBSTATWA_SR26_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2703. #define MWU_PERREGION_SUBSTATWA_SR26_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2704. /* Bit 25 : Subregion 25 in region 0 (write '1' to clear) */
  2705. #define MWU_PERREGION_SUBSTATWA_SR25_Pos (25UL) /*!< Position of SR25 field. */
  2706. #define MWU_PERREGION_SUBSTATWA_SR25_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR25_Pos) /*!< Bit mask of SR25 field. */
  2707. #define MWU_PERREGION_SUBSTATWA_SR25_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2708. #define MWU_PERREGION_SUBSTATWA_SR25_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2709. /* Bit 24 : Subregion 24 in region 0 (write '1' to clear) */
  2710. #define MWU_PERREGION_SUBSTATWA_SR24_Pos (24UL) /*!< Position of SR24 field. */
  2711. #define MWU_PERREGION_SUBSTATWA_SR24_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR24_Pos) /*!< Bit mask of SR24 field. */
  2712. #define MWU_PERREGION_SUBSTATWA_SR24_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2713. #define MWU_PERREGION_SUBSTATWA_SR24_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2714. /* Bit 23 : Subregion 23 in region 0 (write '1' to clear) */
  2715. #define MWU_PERREGION_SUBSTATWA_SR23_Pos (23UL) /*!< Position of SR23 field. */
  2716. #define MWU_PERREGION_SUBSTATWA_SR23_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR23_Pos) /*!< Bit mask of SR23 field. */
  2717. #define MWU_PERREGION_SUBSTATWA_SR23_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2718. #define MWU_PERREGION_SUBSTATWA_SR23_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2719. /* Bit 22 : Subregion 22 in region 0 (write '1' to clear) */
  2720. #define MWU_PERREGION_SUBSTATWA_SR22_Pos (22UL) /*!< Position of SR22 field. */
  2721. #define MWU_PERREGION_SUBSTATWA_SR22_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR22_Pos) /*!< Bit mask of SR22 field. */
  2722. #define MWU_PERREGION_SUBSTATWA_SR22_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2723. #define MWU_PERREGION_SUBSTATWA_SR22_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2724. /* Bit 21 : Subregion 21 in region 0 (write '1' to clear) */
  2725. #define MWU_PERREGION_SUBSTATWA_SR21_Pos (21UL) /*!< Position of SR21 field. */
  2726. #define MWU_PERREGION_SUBSTATWA_SR21_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR21_Pos) /*!< Bit mask of SR21 field. */
  2727. #define MWU_PERREGION_SUBSTATWA_SR21_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2728. #define MWU_PERREGION_SUBSTATWA_SR21_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2729. /* Bit 20 : Subregion 20 in region 0 (write '1' to clear) */
  2730. #define MWU_PERREGION_SUBSTATWA_SR20_Pos (20UL) /*!< Position of SR20 field. */
  2731. #define MWU_PERREGION_SUBSTATWA_SR20_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR20_Pos) /*!< Bit mask of SR20 field. */
  2732. #define MWU_PERREGION_SUBSTATWA_SR20_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2733. #define MWU_PERREGION_SUBSTATWA_SR20_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2734. /* Bit 19 : Subregion 19 in region 0 (write '1' to clear) */
  2735. #define MWU_PERREGION_SUBSTATWA_SR19_Pos (19UL) /*!< Position of SR19 field. */
  2736. #define MWU_PERREGION_SUBSTATWA_SR19_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR19_Pos) /*!< Bit mask of SR19 field. */
  2737. #define MWU_PERREGION_SUBSTATWA_SR19_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2738. #define MWU_PERREGION_SUBSTATWA_SR19_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2739. /* Bit 18 : Subregion 18 in region 0 (write '1' to clear) */
  2740. #define MWU_PERREGION_SUBSTATWA_SR18_Pos (18UL) /*!< Position of SR18 field. */
  2741. #define MWU_PERREGION_SUBSTATWA_SR18_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR18_Pos) /*!< Bit mask of SR18 field. */
  2742. #define MWU_PERREGION_SUBSTATWA_SR18_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2743. #define MWU_PERREGION_SUBSTATWA_SR18_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2744. /* Bit 17 : Subregion 17 in region 0 (write '1' to clear) */
  2745. #define MWU_PERREGION_SUBSTATWA_SR17_Pos (17UL) /*!< Position of SR17 field. */
  2746. #define MWU_PERREGION_SUBSTATWA_SR17_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR17_Pos) /*!< Bit mask of SR17 field. */
  2747. #define MWU_PERREGION_SUBSTATWA_SR17_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2748. #define MWU_PERREGION_SUBSTATWA_SR17_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2749. /* Bit 16 : Subregion 16 in region 0 (write '1' to clear) */
  2750. #define MWU_PERREGION_SUBSTATWA_SR16_Pos (16UL) /*!< Position of SR16 field. */
  2751. #define MWU_PERREGION_SUBSTATWA_SR16_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR16_Pos) /*!< Bit mask of SR16 field. */
  2752. #define MWU_PERREGION_SUBSTATWA_SR16_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2753. #define MWU_PERREGION_SUBSTATWA_SR16_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2754. /* Bit 15 : Subregion 15 in region 0 (write '1' to clear) */
  2755. #define MWU_PERREGION_SUBSTATWA_SR15_Pos (15UL) /*!< Position of SR15 field. */
  2756. #define MWU_PERREGION_SUBSTATWA_SR15_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR15_Pos) /*!< Bit mask of SR15 field. */
  2757. #define MWU_PERREGION_SUBSTATWA_SR15_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2758. #define MWU_PERREGION_SUBSTATWA_SR15_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2759. /* Bit 14 : Subregion 14 in region 0 (write '1' to clear) */
  2760. #define MWU_PERREGION_SUBSTATWA_SR14_Pos (14UL) /*!< Position of SR14 field. */
  2761. #define MWU_PERREGION_SUBSTATWA_SR14_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR14_Pos) /*!< Bit mask of SR14 field. */
  2762. #define MWU_PERREGION_SUBSTATWA_SR14_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2763. #define MWU_PERREGION_SUBSTATWA_SR14_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2764. /* Bit 13 : Subregion 13 in region 0 (write '1' to clear) */
  2765. #define MWU_PERREGION_SUBSTATWA_SR13_Pos (13UL) /*!< Position of SR13 field. */
  2766. #define MWU_PERREGION_SUBSTATWA_SR13_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR13_Pos) /*!< Bit mask of SR13 field. */
  2767. #define MWU_PERREGION_SUBSTATWA_SR13_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2768. #define MWU_PERREGION_SUBSTATWA_SR13_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2769. /* Bit 12 : Subregion 12 in region 0 (write '1' to clear) */
  2770. #define MWU_PERREGION_SUBSTATWA_SR12_Pos (12UL) /*!< Position of SR12 field. */
  2771. #define MWU_PERREGION_SUBSTATWA_SR12_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR12_Pos) /*!< Bit mask of SR12 field. */
  2772. #define MWU_PERREGION_SUBSTATWA_SR12_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2773. #define MWU_PERREGION_SUBSTATWA_SR12_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2774. /* Bit 11 : Subregion 11 in region 0 (write '1' to clear) */
  2775. #define MWU_PERREGION_SUBSTATWA_SR11_Pos (11UL) /*!< Position of SR11 field. */
  2776. #define MWU_PERREGION_SUBSTATWA_SR11_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR11_Pos) /*!< Bit mask of SR11 field. */
  2777. #define MWU_PERREGION_SUBSTATWA_SR11_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2778. #define MWU_PERREGION_SUBSTATWA_SR11_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2779. /* Bit 10 : Subregion 10 in region 0 (write '1' to clear) */
  2780. #define MWU_PERREGION_SUBSTATWA_SR10_Pos (10UL) /*!< Position of SR10 field. */
  2781. #define MWU_PERREGION_SUBSTATWA_SR10_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR10_Pos) /*!< Bit mask of SR10 field. */
  2782. #define MWU_PERREGION_SUBSTATWA_SR10_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2783. #define MWU_PERREGION_SUBSTATWA_SR10_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2784. /* Bit 9 : Subregion 9 in region 0 (write '1' to clear) */
  2785. #define MWU_PERREGION_SUBSTATWA_SR9_Pos (9UL) /*!< Position of SR9 field. */
  2786. #define MWU_PERREGION_SUBSTATWA_SR9_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR9_Pos) /*!< Bit mask of SR9 field. */
  2787. #define MWU_PERREGION_SUBSTATWA_SR9_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2788. #define MWU_PERREGION_SUBSTATWA_SR9_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2789. /* Bit 8 : Subregion 8 in region 0 (write '1' to clear) */
  2790. #define MWU_PERREGION_SUBSTATWA_SR8_Pos (8UL) /*!< Position of SR8 field. */
  2791. #define MWU_PERREGION_SUBSTATWA_SR8_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR8_Pos) /*!< Bit mask of SR8 field. */
  2792. #define MWU_PERREGION_SUBSTATWA_SR8_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2793. #define MWU_PERREGION_SUBSTATWA_SR8_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2794. /* Bit 7 : Subregion 7 in region 0 (write '1' to clear) */
  2795. #define MWU_PERREGION_SUBSTATWA_SR7_Pos (7UL) /*!< Position of SR7 field. */
  2796. #define MWU_PERREGION_SUBSTATWA_SR7_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR7_Pos) /*!< Bit mask of SR7 field. */
  2797. #define MWU_PERREGION_SUBSTATWA_SR7_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2798. #define MWU_PERREGION_SUBSTATWA_SR7_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2799. /* Bit 6 : Subregion 6 in region 0 (write '1' to clear) */
  2800. #define MWU_PERREGION_SUBSTATWA_SR6_Pos (6UL) /*!< Position of SR6 field. */
  2801. #define MWU_PERREGION_SUBSTATWA_SR6_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR6_Pos) /*!< Bit mask of SR6 field. */
  2802. #define MWU_PERREGION_SUBSTATWA_SR6_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2803. #define MWU_PERREGION_SUBSTATWA_SR6_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2804. /* Bit 5 : Subregion 5 in region 0 (write '1' to clear) */
  2805. #define MWU_PERREGION_SUBSTATWA_SR5_Pos (5UL) /*!< Position of SR5 field. */
  2806. #define MWU_PERREGION_SUBSTATWA_SR5_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR5_Pos) /*!< Bit mask of SR5 field. */
  2807. #define MWU_PERREGION_SUBSTATWA_SR5_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2808. #define MWU_PERREGION_SUBSTATWA_SR5_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2809. /* Bit 4 : Subregion 4 in region 0 (write '1' to clear) */
  2810. #define MWU_PERREGION_SUBSTATWA_SR4_Pos (4UL) /*!< Position of SR4 field. */
  2811. #define MWU_PERREGION_SUBSTATWA_SR4_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR4_Pos) /*!< Bit mask of SR4 field. */
  2812. #define MWU_PERREGION_SUBSTATWA_SR4_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2813. #define MWU_PERREGION_SUBSTATWA_SR4_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2814. /* Bit 3 : Subregion 3 in region 0 (write '1' to clear) */
  2815. #define MWU_PERREGION_SUBSTATWA_SR3_Pos (3UL) /*!< Position of SR3 field. */
  2816. #define MWU_PERREGION_SUBSTATWA_SR3_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR3_Pos) /*!< Bit mask of SR3 field. */
  2817. #define MWU_PERREGION_SUBSTATWA_SR3_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2818. #define MWU_PERREGION_SUBSTATWA_SR3_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2819. /* Bit 2 : Subregion 2 in region 0 (write '1' to clear) */
  2820. #define MWU_PERREGION_SUBSTATWA_SR2_Pos (2UL) /*!< Position of SR2 field. */
  2821. #define MWU_PERREGION_SUBSTATWA_SR2_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR2_Pos) /*!< Bit mask of SR2 field. */
  2822. #define MWU_PERREGION_SUBSTATWA_SR2_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2823. #define MWU_PERREGION_SUBSTATWA_SR2_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2824. /* Bit 1 : Subregion 1 in region 0 (write '1' to clear) */
  2825. #define MWU_PERREGION_SUBSTATWA_SR1_Pos (1UL) /*!< Position of SR1 field. */
  2826. #define MWU_PERREGION_SUBSTATWA_SR1_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR1_Pos) /*!< Bit mask of SR1 field. */
  2827. #define MWU_PERREGION_SUBSTATWA_SR1_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2828. #define MWU_PERREGION_SUBSTATWA_SR1_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2829. /* Bit 0 : Subregion 0 in region 0 (write '1' to clear) */
  2830. #define MWU_PERREGION_SUBSTATWA_SR0_Pos (0UL) /*!< Position of SR0 field. */
  2831. #define MWU_PERREGION_SUBSTATWA_SR0_Msk (0x1UL << MWU_PERREGION_SUBSTATWA_SR0_Pos) /*!< Bit mask of SR0 field. */
  2832. #define MWU_PERREGION_SUBSTATWA_SR0_NoAccess (0UL) /*!< No write access occurred in this subregion */
  2833. #define MWU_PERREGION_SUBSTATWA_SR0_Access (1UL) /*!< Write access(es) occurred in this subregion */
  2834. /* Register: MWU_PERREGION_SUBSTATRA */
  2835. /* Description: Description cluster[0]: Source of event/interrupt in region 0, read access detected while corresponding subregion was enabled for watching */
  2836. /* Bit 31 : Subregion 31 in region 0 (write '1' to clear) */
  2837. #define MWU_PERREGION_SUBSTATRA_SR31_Pos (31UL) /*!< Position of SR31 field. */
  2838. #define MWU_PERREGION_SUBSTATRA_SR31_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR31_Pos) /*!< Bit mask of SR31 field. */
  2839. #define MWU_PERREGION_SUBSTATRA_SR31_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2840. #define MWU_PERREGION_SUBSTATRA_SR31_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2841. /* Bit 30 : Subregion 30 in region 0 (write '1' to clear) */
  2842. #define MWU_PERREGION_SUBSTATRA_SR30_Pos (30UL) /*!< Position of SR30 field. */
  2843. #define MWU_PERREGION_SUBSTATRA_SR30_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR30_Pos) /*!< Bit mask of SR30 field. */
  2844. #define MWU_PERREGION_SUBSTATRA_SR30_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2845. #define MWU_PERREGION_SUBSTATRA_SR30_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2846. /* Bit 29 : Subregion 29 in region 0 (write '1' to clear) */
  2847. #define MWU_PERREGION_SUBSTATRA_SR29_Pos (29UL) /*!< Position of SR29 field. */
  2848. #define MWU_PERREGION_SUBSTATRA_SR29_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR29_Pos) /*!< Bit mask of SR29 field. */
  2849. #define MWU_PERREGION_SUBSTATRA_SR29_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2850. #define MWU_PERREGION_SUBSTATRA_SR29_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2851. /* Bit 28 : Subregion 28 in region 0 (write '1' to clear) */
  2852. #define MWU_PERREGION_SUBSTATRA_SR28_Pos (28UL) /*!< Position of SR28 field. */
  2853. #define MWU_PERREGION_SUBSTATRA_SR28_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR28_Pos) /*!< Bit mask of SR28 field. */
  2854. #define MWU_PERREGION_SUBSTATRA_SR28_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2855. #define MWU_PERREGION_SUBSTATRA_SR28_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2856. /* Bit 27 : Subregion 27 in region 0 (write '1' to clear) */
  2857. #define MWU_PERREGION_SUBSTATRA_SR27_Pos (27UL) /*!< Position of SR27 field. */
  2858. #define MWU_PERREGION_SUBSTATRA_SR27_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR27_Pos) /*!< Bit mask of SR27 field. */
  2859. #define MWU_PERREGION_SUBSTATRA_SR27_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2860. #define MWU_PERREGION_SUBSTATRA_SR27_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2861. /* Bit 26 : Subregion 26 in region 0 (write '1' to clear) */
  2862. #define MWU_PERREGION_SUBSTATRA_SR26_Pos (26UL) /*!< Position of SR26 field. */
  2863. #define MWU_PERREGION_SUBSTATRA_SR26_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR26_Pos) /*!< Bit mask of SR26 field. */
  2864. #define MWU_PERREGION_SUBSTATRA_SR26_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2865. #define MWU_PERREGION_SUBSTATRA_SR26_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2866. /* Bit 25 : Subregion 25 in region 0 (write '1' to clear) */
  2867. #define MWU_PERREGION_SUBSTATRA_SR25_Pos (25UL) /*!< Position of SR25 field. */
  2868. #define MWU_PERREGION_SUBSTATRA_SR25_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR25_Pos) /*!< Bit mask of SR25 field. */
  2869. #define MWU_PERREGION_SUBSTATRA_SR25_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2870. #define MWU_PERREGION_SUBSTATRA_SR25_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2871. /* Bit 24 : Subregion 24 in region 0 (write '1' to clear) */
  2872. #define MWU_PERREGION_SUBSTATRA_SR24_Pos (24UL) /*!< Position of SR24 field. */
  2873. #define MWU_PERREGION_SUBSTATRA_SR24_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR24_Pos) /*!< Bit mask of SR24 field. */
  2874. #define MWU_PERREGION_SUBSTATRA_SR24_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2875. #define MWU_PERREGION_SUBSTATRA_SR24_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2876. /* Bit 23 : Subregion 23 in region 0 (write '1' to clear) */
  2877. #define MWU_PERREGION_SUBSTATRA_SR23_Pos (23UL) /*!< Position of SR23 field. */
  2878. #define MWU_PERREGION_SUBSTATRA_SR23_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR23_Pos) /*!< Bit mask of SR23 field. */
  2879. #define MWU_PERREGION_SUBSTATRA_SR23_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2880. #define MWU_PERREGION_SUBSTATRA_SR23_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2881. /* Bit 22 : Subregion 22 in region 0 (write '1' to clear) */
  2882. #define MWU_PERREGION_SUBSTATRA_SR22_Pos (22UL) /*!< Position of SR22 field. */
  2883. #define MWU_PERREGION_SUBSTATRA_SR22_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR22_Pos) /*!< Bit mask of SR22 field. */
  2884. #define MWU_PERREGION_SUBSTATRA_SR22_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2885. #define MWU_PERREGION_SUBSTATRA_SR22_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2886. /* Bit 21 : Subregion 21 in region 0 (write '1' to clear) */
  2887. #define MWU_PERREGION_SUBSTATRA_SR21_Pos (21UL) /*!< Position of SR21 field. */
  2888. #define MWU_PERREGION_SUBSTATRA_SR21_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR21_Pos) /*!< Bit mask of SR21 field. */
  2889. #define MWU_PERREGION_SUBSTATRA_SR21_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2890. #define MWU_PERREGION_SUBSTATRA_SR21_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2891. /* Bit 20 : Subregion 20 in region 0 (write '1' to clear) */
  2892. #define MWU_PERREGION_SUBSTATRA_SR20_Pos (20UL) /*!< Position of SR20 field. */
  2893. #define MWU_PERREGION_SUBSTATRA_SR20_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR20_Pos) /*!< Bit mask of SR20 field. */
  2894. #define MWU_PERREGION_SUBSTATRA_SR20_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2895. #define MWU_PERREGION_SUBSTATRA_SR20_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2896. /* Bit 19 : Subregion 19 in region 0 (write '1' to clear) */
  2897. #define MWU_PERREGION_SUBSTATRA_SR19_Pos (19UL) /*!< Position of SR19 field. */
  2898. #define MWU_PERREGION_SUBSTATRA_SR19_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR19_Pos) /*!< Bit mask of SR19 field. */
  2899. #define MWU_PERREGION_SUBSTATRA_SR19_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2900. #define MWU_PERREGION_SUBSTATRA_SR19_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2901. /* Bit 18 : Subregion 18 in region 0 (write '1' to clear) */
  2902. #define MWU_PERREGION_SUBSTATRA_SR18_Pos (18UL) /*!< Position of SR18 field. */
  2903. #define MWU_PERREGION_SUBSTATRA_SR18_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR18_Pos) /*!< Bit mask of SR18 field. */
  2904. #define MWU_PERREGION_SUBSTATRA_SR18_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2905. #define MWU_PERREGION_SUBSTATRA_SR18_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2906. /* Bit 17 : Subregion 17 in region 0 (write '1' to clear) */
  2907. #define MWU_PERREGION_SUBSTATRA_SR17_Pos (17UL) /*!< Position of SR17 field. */
  2908. #define MWU_PERREGION_SUBSTATRA_SR17_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR17_Pos) /*!< Bit mask of SR17 field. */
  2909. #define MWU_PERREGION_SUBSTATRA_SR17_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2910. #define MWU_PERREGION_SUBSTATRA_SR17_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2911. /* Bit 16 : Subregion 16 in region 0 (write '1' to clear) */
  2912. #define MWU_PERREGION_SUBSTATRA_SR16_Pos (16UL) /*!< Position of SR16 field. */
  2913. #define MWU_PERREGION_SUBSTATRA_SR16_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR16_Pos) /*!< Bit mask of SR16 field. */
  2914. #define MWU_PERREGION_SUBSTATRA_SR16_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2915. #define MWU_PERREGION_SUBSTATRA_SR16_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2916. /* Bit 15 : Subregion 15 in region 0 (write '1' to clear) */
  2917. #define MWU_PERREGION_SUBSTATRA_SR15_Pos (15UL) /*!< Position of SR15 field. */
  2918. #define MWU_PERREGION_SUBSTATRA_SR15_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR15_Pos) /*!< Bit mask of SR15 field. */
  2919. #define MWU_PERREGION_SUBSTATRA_SR15_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2920. #define MWU_PERREGION_SUBSTATRA_SR15_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2921. /* Bit 14 : Subregion 14 in region 0 (write '1' to clear) */
  2922. #define MWU_PERREGION_SUBSTATRA_SR14_Pos (14UL) /*!< Position of SR14 field. */
  2923. #define MWU_PERREGION_SUBSTATRA_SR14_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR14_Pos) /*!< Bit mask of SR14 field. */
  2924. #define MWU_PERREGION_SUBSTATRA_SR14_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2925. #define MWU_PERREGION_SUBSTATRA_SR14_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2926. /* Bit 13 : Subregion 13 in region 0 (write '1' to clear) */
  2927. #define MWU_PERREGION_SUBSTATRA_SR13_Pos (13UL) /*!< Position of SR13 field. */
  2928. #define MWU_PERREGION_SUBSTATRA_SR13_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR13_Pos) /*!< Bit mask of SR13 field. */
  2929. #define MWU_PERREGION_SUBSTATRA_SR13_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2930. #define MWU_PERREGION_SUBSTATRA_SR13_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2931. /* Bit 12 : Subregion 12 in region 0 (write '1' to clear) */
  2932. #define MWU_PERREGION_SUBSTATRA_SR12_Pos (12UL) /*!< Position of SR12 field. */
  2933. #define MWU_PERREGION_SUBSTATRA_SR12_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR12_Pos) /*!< Bit mask of SR12 field. */
  2934. #define MWU_PERREGION_SUBSTATRA_SR12_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2935. #define MWU_PERREGION_SUBSTATRA_SR12_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2936. /* Bit 11 : Subregion 11 in region 0 (write '1' to clear) */
  2937. #define MWU_PERREGION_SUBSTATRA_SR11_Pos (11UL) /*!< Position of SR11 field. */
  2938. #define MWU_PERREGION_SUBSTATRA_SR11_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR11_Pos) /*!< Bit mask of SR11 field. */
  2939. #define MWU_PERREGION_SUBSTATRA_SR11_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2940. #define MWU_PERREGION_SUBSTATRA_SR11_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2941. /* Bit 10 : Subregion 10 in region 0 (write '1' to clear) */
  2942. #define MWU_PERREGION_SUBSTATRA_SR10_Pos (10UL) /*!< Position of SR10 field. */
  2943. #define MWU_PERREGION_SUBSTATRA_SR10_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR10_Pos) /*!< Bit mask of SR10 field. */
  2944. #define MWU_PERREGION_SUBSTATRA_SR10_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2945. #define MWU_PERREGION_SUBSTATRA_SR10_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2946. /* Bit 9 : Subregion 9 in region 0 (write '1' to clear) */
  2947. #define MWU_PERREGION_SUBSTATRA_SR9_Pos (9UL) /*!< Position of SR9 field. */
  2948. #define MWU_PERREGION_SUBSTATRA_SR9_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR9_Pos) /*!< Bit mask of SR9 field. */
  2949. #define MWU_PERREGION_SUBSTATRA_SR9_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2950. #define MWU_PERREGION_SUBSTATRA_SR9_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2951. /* Bit 8 : Subregion 8 in region 0 (write '1' to clear) */
  2952. #define MWU_PERREGION_SUBSTATRA_SR8_Pos (8UL) /*!< Position of SR8 field. */
  2953. #define MWU_PERREGION_SUBSTATRA_SR8_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR8_Pos) /*!< Bit mask of SR8 field. */
  2954. #define MWU_PERREGION_SUBSTATRA_SR8_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2955. #define MWU_PERREGION_SUBSTATRA_SR8_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2956. /* Bit 7 : Subregion 7 in region 0 (write '1' to clear) */
  2957. #define MWU_PERREGION_SUBSTATRA_SR7_Pos (7UL) /*!< Position of SR7 field. */
  2958. #define MWU_PERREGION_SUBSTATRA_SR7_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR7_Pos) /*!< Bit mask of SR7 field. */
  2959. #define MWU_PERREGION_SUBSTATRA_SR7_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2960. #define MWU_PERREGION_SUBSTATRA_SR7_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2961. /* Bit 6 : Subregion 6 in region 0 (write '1' to clear) */
  2962. #define MWU_PERREGION_SUBSTATRA_SR6_Pos (6UL) /*!< Position of SR6 field. */
  2963. #define MWU_PERREGION_SUBSTATRA_SR6_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR6_Pos) /*!< Bit mask of SR6 field. */
  2964. #define MWU_PERREGION_SUBSTATRA_SR6_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2965. #define MWU_PERREGION_SUBSTATRA_SR6_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2966. /* Bit 5 : Subregion 5 in region 0 (write '1' to clear) */
  2967. #define MWU_PERREGION_SUBSTATRA_SR5_Pos (5UL) /*!< Position of SR5 field. */
  2968. #define MWU_PERREGION_SUBSTATRA_SR5_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR5_Pos) /*!< Bit mask of SR5 field. */
  2969. #define MWU_PERREGION_SUBSTATRA_SR5_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2970. #define MWU_PERREGION_SUBSTATRA_SR5_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2971. /* Bit 4 : Subregion 4 in region 0 (write '1' to clear) */
  2972. #define MWU_PERREGION_SUBSTATRA_SR4_Pos (4UL) /*!< Position of SR4 field. */
  2973. #define MWU_PERREGION_SUBSTATRA_SR4_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR4_Pos) /*!< Bit mask of SR4 field. */
  2974. #define MWU_PERREGION_SUBSTATRA_SR4_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2975. #define MWU_PERREGION_SUBSTATRA_SR4_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2976. /* Bit 3 : Subregion 3 in region 0 (write '1' to clear) */
  2977. #define MWU_PERREGION_SUBSTATRA_SR3_Pos (3UL) /*!< Position of SR3 field. */
  2978. #define MWU_PERREGION_SUBSTATRA_SR3_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR3_Pos) /*!< Bit mask of SR3 field. */
  2979. #define MWU_PERREGION_SUBSTATRA_SR3_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2980. #define MWU_PERREGION_SUBSTATRA_SR3_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2981. /* Bit 2 : Subregion 2 in region 0 (write '1' to clear) */
  2982. #define MWU_PERREGION_SUBSTATRA_SR2_Pos (2UL) /*!< Position of SR2 field. */
  2983. #define MWU_PERREGION_SUBSTATRA_SR2_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR2_Pos) /*!< Bit mask of SR2 field. */
  2984. #define MWU_PERREGION_SUBSTATRA_SR2_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2985. #define MWU_PERREGION_SUBSTATRA_SR2_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2986. /* Bit 1 : Subregion 1 in region 0 (write '1' to clear) */
  2987. #define MWU_PERREGION_SUBSTATRA_SR1_Pos (1UL) /*!< Position of SR1 field. */
  2988. #define MWU_PERREGION_SUBSTATRA_SR1_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR1_Pos) /*!< Bit mask of SR1 field. */
  2989. #define MWU_PERREGION_SUBSTATRA_SR1_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2990. #define MWU_PERREGION_SUBSTATRA_SR1_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2991. /* Bit 0 : Subregion 0 in region 0 (write '1' to clear) */
  2992. #define MWU_PERREGION_SUBSTATRA_SR0_Pos (0UL) /*!< Position of SR0 field. */
  2993. #define MWU_PERREGION_SUBSTATRA_SR0_Msk (0x1UL << MWU_PERREGION_SUBSTATRA_SR0_Pos) /*!< Bit mask of SR0 field. */
  2994. #define MWU_PERREGION_SUBSTATRA_SR0_NoAccess (0UL) /*!< No read access occurred in this subregion */
  2995. #define MWU_PERREGION_SUBSTATRA_SR0_Access (1UL) /*!< Read access(es) occurred in this subregion */
  2996. /* Register: MWU_REGIONEN */
  2997. /* Description: Enable/disable regions watch */
  2998. /* Bit 27 : Enable/disable read access watch in PREGION[1] */
  2999. #define MWU_REGIONEN_PRGN1RA_Pos (27UL) /*!< Position of PRGN1RA field. */
  3000. #define MWU_REGIONEN_PRGN1RA_Msk (0x1UL << MWU_REGIONEN_PRGN1RA_Pos) /*!< Bit mask of PRGN1RA field. */
  3001. #define MWU_REGIONEN_PRGN1RA_Disable (0UL) /*!< Disable read access watch in this PREGION */
  3002. #define MWU_REGIONEN_PRGN1RA_Enable (1UL) /*!< Enable read access watch in this PREGION */
  3003. /* Bit 26 : Enable/disable write access watch in PREGION[1] */
  3004. #define MWU_REGIONEN_PRGN1WA_Pos (26UL) /*!< Position of PRGN1WA field. */
  3005. #define MWU_REGIONEN_PRGN1WA_Msk (0x1UL << MWU_REGIONEN_PRGN1WA_Pos) /*!< Bit mask of PRGN1WA field. */
  3006. #define MWU_REGIONEN_PRGN1WA_Disable (0UL) /*!< Disable write access watch in this PREGION */
  3007. #define MWU_REGIONEN_PRGN1WA_Enable (1UL) /*!< Enable write access watch in this PREGION */
  3008. /* Bit 25 : Enable/disable read access watch in PREGION[0] */
  3009. #define MWU_REGIONEN_PRGN0RA_Pos (25UL) /*!< Position of PRGN0RA field. */
  3010. #define MWU_REGIONEN_PRGN0RA_Msk (0x1UL << MWU_REGIONEN_PRGN0RA_Pos) /*!< Bit mask of PRGN0RA field. */
  3011. #define MWU_REGIONEN_PRGN0RA_Disable (0UL) /*!< Disable read access watch in this PREGION */
  3012. #define MWU_REGIONEN_PRGN0RA_Enable (1UL) /*!< Enable read access watch in this PREGION */
  3013. /* Bit 24 : Enable/disable write access watch in PREGION[0] */
  3014. #define MWU_REGIONEN_PRGN0WA_Pos (24UL) /*!< Position of PRGN0WA field. */
  3015. #define MWU_REGIONEN_PRGN0WA_Msk (0x1UL << MWU_REGIONEN_PRGN0WA_Pos) /*!< Bit mask of PRGN0WA field. */
  3016. #define MWU_REGIONEN_PRGN0WA_Disable (0UL) /*!< Disable write access watch in this PREGION */
  3017. #define MWU_REGIONEN_PRGN0WA_Enable (1UL) /*!< Enable write access watch in this PREGION */
  3018. /* Bit 7 : Enable/disable read access watch in region[3] */
  3019. #define MWU_REGIONEN_RGN3RA_Pos (7UL) /*!< Position of RGN3RA field. */
  3020. #define MWU_REGIONEN_RGN3RA_Msk (0x1UL << MWU_REGIONEN_RGN3RA_Pos) /*!< Bit mask of RGN3RA field. */
  3021. #define MWU_REGIONEN_RGN3RA_Disable (0UL) /*!< Disable read access watch in this region */
  3022. #define MWU_REGIONEN_RGN3RA_Enable (1UL) /*!< Enable read access watch in this region */
  3023. /* Bit 6 : Enable/disable write access watch in region[3] */
  3024. #define MWU_REGIONEN_RGN3WA_Pos (6UL) /*!< Position of RGN3WA field. */
  3025. #define MWU_REGIONEN_RGN3WA_Msk (0x1UL << MWU_REGIONEN_RGN3WA_Pos) /*!< Bit mask of RGN3WA field. */
  3026. #define MWU_REGIONEN_RGN3WA_Disable (0UL) /*!< Disable write access watch in this region */
  3027. #define MWU_REGIONEN_RGN3WA_Enable (1UL) /*!< Enable write access watch in this region */
  3028. /* Bit 5 : Enable/disable read access watch in region[2] */
  3029. #define MWU_REGIONEN_RGN2RA_Pos (5UL) /*!< Position of RGN2RA field. */
  3030. #define MWU_REGIONEN_RGN2RA_Msk (0x1UL << MWU_REGIONEN_RGN2RA_Pos) /*!< Bit mask of RGN2RA field. */
  3031. #define MWU_REGIONEN_RGN2RA_Disable (0UL) /*!< Disable read access watch in this region */
  3032. #define MWU_REGIONEN_RGN2RA_Enable (1UL) /*!< Enable read access watch in this region */
  3033. /* Bit 4 : Enable/disable write access watch in region[2] */
  3034. #define MWU_REGIONEN_RGN2WA_Pos (4UL) /*!< Position of RGN2WA field. */
  3035. #define MWU_REGIONEN_RGN2WA_Msk (0x1UL << MWU_REGIONEN_RGN2WA_Pos) /*!< Bit mask of RGN2WA field. */
  3036. #define MWU_REGIONEN_RGN2WA_Disable (0UL) /*!< Disable write access watch in this region */
  3037. #define MWU_REGIONEN_RGN2WA_Enable (1UL) /*!< Enable write access watch in this region */
  3038. /* Bit 3 : Enable/disable read access watch in region[1] */
  3039. #define MWU_REGIONEN_RGN1RA_Pos (3UL) /*!< Position of RGN1RA field. */
  3040. #define MWU_REGIONEN_RGN1RA_Msk (0x1UL << MWU_REGIONEN_RGN1RA_Pos) /*!< Bit mask of RGN1RA field. */
  3041. #define MWU_REGIONEN_RGN1RA_Disable (0UL) /*!< Disable read access watch in this region */
  3042. #define MWU_REGIONEN_RGN1RA_Enable (1UL) /*!< Enable read access watch in this region */
  3043. /* Bit 2 : Enable/disable write access watch in region[1] */
  3044. #define MWU_REGIONEN_RGN1WA_Pos (2UL) /*!< Position of RGN1WA field. */
  3045. #define MWU_REGIONEN_RGN1WA_Msk (0x1UL << MWU_REGIONEN_RGN1WA_Pos) /*!< Bit mask of RGN1WA field. */
  3046. #define MWU_REGIONEN_RGN1WA_Disable (0UL) /*!< Disable write access watch in this region */
  3047. #define MWU_REGIONEN_RGN1WA_Enable (1UL) /*!< Enable write access watch in this region */
  3048. /* Bit 1 : Enable/disable read access watch in region[0] */
  3049. #define MWU_REGIONEN_RGN0RA_Pos (1UL) /*!< Position of RGN0RA field. */
  3050. #define MWU_REGIONEN_RGN0RA_Msk (0x1UL << MWU_REGIONEN_RGN0RA_Pos) /*!< Bit mask of RGN0RA field. */
  3051. #define MWU_REGIONEN_RGN0RA_Disable (0UL) /*!< Disable read access watch in this region */
  3052. #define MWU_REGIONEN_RGN0RA_Enable (1UL) /*!< Enable read access watch in this region */
  3053. /* Bit 0 : Enable/disable write access watch in region[0] */
  3054. #define MWU_REGIONEN_RGN0WA_Pos (0UL) /*!< Position of RGN0WA field. */
  3055. #define MWU_REGIONEN_RGN0WA_Msk (0x1UL << MWU_REGIONEN_RGN0WA_Pos) /*!< Bit mask of RGN0WA field. */
  3056. #define MWU_REGIONEN_RGN0WA_Disable (0UL) /*!< Disable write access watch in this region */
  3057. #define MWU_REGIONEN_RGN0WA_Enable (1UL) /*!< Enable write access watch in this region */
  3058. /* Register: MWU_REGIONENSET */
  3059. /* Description: Enable regions watch */
  3060. /* Bit 27 : Enable read access watch in PREGION[1] */
  3061. #define MWU_REGIONENSET_PRGN1RA_Pos (27UL) /*!< Position of PRGN1RA field. */
  3062. #define MWU_REGIONENSET_PRGN1RA_Msk (0x1UL << MWU_REGIONENSET_PRGN1RA_Pos) /*!< Bit mask of PRGN1RA field. */
  3063. #define MWU_REGIONENSET_PRGN1RA_Disabled (0UL) /*!< Read access watch in this PREGION is disabled */
  3064. #define MWU_REGIONENSET_PRGN1RA_Enabled (1UL) /*!< Read access watch in this PREGION is enabled */
  3065. #define MWU_REGIONENSET_PRGN1RA_Set (1UL) /*!< Enable read access watch in this PREGION */
  3066. /* Bit 26 : Enable write access watch in PREGION[1] */
  3067. #define MWU_REGIONENSET_PRGN1WA_Pos (26UL) /*!< Position of PRGN1WA field. */
  3068. #define MWU_REGIONENSET_PRGN1WA_Msk (0x1UL << MWU_REGIONENSET_PRGN1WA_Pos) /*!< Bit mask of PRGN1WA field. */
  3069. #define MWU_REGIONENSET_PRGN1WA_Disabled (0UL) /*!< Write access watch in this PREGION is disabled */
  3070. #define MWU_REGIONENSET_PRGN1WA_Enabled (1UL) /*!< Write access watch in this PREGION is enabled */
  3071. #define MWU_REGIONENSET_PRGN1WA_Set (1UL) /*!< Enable write access watch in this PREGION */
  3072. /* Bit 25 : Enable read access watch in PREGION[0] */
  3073. #define MWU_REGIONENSET_PRGN0RA_Pos (25UL) /*!< Position of PRGN0RA field. */
  3074. #define MWU_REGIONENSET_PRGN0RA_Msk (0x1UL << MWU_REGIONENSET_PRGN0RA_Pos) /*!< Bit mask of PRGN0RA field. */
  3075. #define MWU_REGIONENSET_PRGN0RA_Disabled (0UL) /*!< Read access watch in this PREGION is disabled */
  3076. #define MWU_REGIONENSET_PRGN0RA_Enabled (1UL) /*!< Read access watch in this PREGION is enabled */
  3077. #define MWU_REGIONENSET_PRGN0RA_Set (1UL) /*!< Enable read access watch in this PREGION */
  3078. /* Bit 24 : Enable write access watch in PREGION[0] */
  3079. #define MWU_REGIONENSET_PRGN0WA_Pos (24UL) /*!< Position of PRGN0WA field. */
  3080. #define MWU_REGIONENSET_PRGN0WA_Msk (0x1UL << MWU_REGIONENSET_PRGN0WA_Pos) /*!< Bit mask of PRGN0WA field. */
  3081. #define MWU_REGIONENSET_PRGN0WA_Disabled (0UL) /*!< Write access watch in this PREGION is disabled */
  3082. #define MWU_REGIONENSET_PRGN0WA_Enabled (1UL) /*!< Write access watch in this PREGION is enabled */
  3083. #define MWU_REGIONENSET_PRGN0WA_Set (1UL) /*!< Enable write access watch in this PREGION */
  3084. /* Bit 7 : Enable read access watch in region[3] */
  3085. #define MWU_REGIONENSET_RGN3RA_Pos (7UL) /*!< Position of RGN3RA field. */
  3086. #define MWU_REGIONENSET_RGN3RA_Msk (0x1UL << MWU_REGIONENSET_RGN3RA_Pos) /*!< Bit mask of RGN3RA field. */
  3087. #define MWU_REGIONENSET_RGN3RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3088. #define MWU_REGIONENSET_RGN3RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3089. #define MWU_REGIONENSET_RGN3RA_Set (1UL) /*!< Enable read access watch in this region */
  3090. /* Bit 6 : Enable write access watch in region[3] */
  3091. #define MWU_REGIONENSET_RGN3WA_Pos (6UL) /*!< Position of RGN3WA field. */
  3092. #define MWU_REGIONENSET_RGN3WA_Msk (0x1UL << MWU_REGIONENSET_RGN3WA_Pos) /*!< Bit mask of RGN3WA field. */
  3093. #define MWU_REGIONENSET_RGN3WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3094. #define MWU_REGIONENSET_RGN3WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3095. #define MWU_REGIONENSET_RGN3WA_Set (1UL) /*!< Enable write access watch in this region */
  3096. /* Bit 5 : Enable read access watch in region[2] */
  3097. #define MWU_REGIONENSET_RGN2RA_Pos (5UL) /*!< Position of RGN2RA field. */
  3098. #define MWU_REGIONENSET_RGN2RA_Msk (0x1UL << MWU_REGIONENSET_RGN2RA_Pos) /*!< Bit mask of RGN2RA field. */
  3099. #define MWU_REGIONENSET_RGN2RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3100. #define MWU_REGIONENSET_RGN2RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3101. #define MWU_REGIONENSET_RGN2RA_Set (1UL) /*!< Enable read access watch in this region */
  3102. /* Bit 4 : Enable write access watch in region[2] */
  3103. #define MWU_REGIONENSET_RGN2WA_Pos (4UL) /*!< Position of RGN2WA field. */
  3104. #define MWU_REGIONENSET_RGN2WA_Msk (0x1UL << MWU_REGIONENSET_RGN2WA_Pos) /*!< Bit mask of RGN2WA field. */
  3105. #define MWU_REGIONENSET_RGN2WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3106. #define MWU_REGIONENSET_RGN2WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3107. #define MWU_REGIONENSET_RGN2WA_Set (1UL) /*!< Enable write access watch in this region */
  3108. /* Bit 3 : Enable read access watch in region[1] */
  3109. #define MWU_REGIONENSET_RGN1RA_Pos (3UL) /*!< Position of RGN1RA field. */
  3110. #define MWU_REGIONENSET_RGN1RA_Msk (0x1UL << MWU_REGIONENSET_RGN1RA_Pos) /*!< Bit mask of RGN1RA field. */
  3111. #define MWU_REGIONENSET_RGN1RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3112. #define MWU_REGIONENSET_RGN1RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3113. #define MWU_REGIONENSET_RGN1RA_Set (1UL) /*!< Enable read access watch in this region */
  3114. /* Bit 2 : Enable write access watch in region[1] */
  3115. #define MWU_REGIONENSET_RGN1WA_Pos (2UL) /*!< Position of RGN1WA field. */
  3116. #define MWU_REGIONENSET_RGN1WA_Msk (0x1UL << MWU_REGIONENSET_RGN1WA_Pos) /*!< Bit mask of RGN1WA field. */
  3117. #define MWU_REGIONENSET_RGN1WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3118. #define MWU_REGIONENSET_RGN1WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3119. #define MWU_REGIONENSET_RGN1WA_Set (1UL) /*!< Enable write access watch in this region */
  3120. /* Bit 1 : Enable read access watch in region[0] */
  3121. #define MWU_REGIONENSET_RGN0RA_Pos (1UL) /*!< Position of RGN0RA field. */
  3122. #define MWU_REGIONENSET_RGN0RA_Msk (0x1UL << MWU_REGIONENSET_RGN0RA_Pos) /*!< Bit mask of RGN0RA field. */
  3123. #define MWU_REGIONENSET_RGN0RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3124. #define MWU_REGIONENSET_RGN0RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3125. #define MWU_REGIONENSET_RGN0RA_Set (1UL) /*!< Enable read access watch in this region */
  3126. /* Bit 0 : Enable write access watch in region[0] */
  3127. #define MWU_REGIONENSET_RGN0WA_Pos (0UL) /*!< Position of RGN0WA field. */
  3128. #define MWU_REGIONENSET_RGN0WA_Msk (0x1UL << MWU_REGIONENSET_RGN0WA_Pos) /*!< Bit mask of RGN0WA field. */
  3129. #define MWU_REGIONENSET_RGN0WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3130. #define MWU_REGIONENSET_RGN0WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3131. #define MWU_REGIONENSET_RGN0WA_Set (1UL) /*!< Enable write access watch in this region */
  3132. /* Register: MWU_REGIONENCLR */
  3133. /* Description: Disable regions watch */
  3134. /* Bit 27 : Disable read access watch in PREGION[1] */
  3135. #define MWU_REGIONENCLR_PRGN1RA_Pos (27UL) /*!< Position of PRGN1RA field. */
  3136. #define MWU_REGIONENCLR_PRGN1RA_Msk (0x1UL << MWU_REGIONENCLR_PRGN1RA_Pos) /*!< Bit mask of PRGN1RA field. */
  3137. #define MWU_REGIONENCLR_PRGN1RA_Disabled (0UL) /*!< Read access watch in this PREGION is disabled */
  3138. #define MWU_REGIONENCLR_PRGN1RA_Enabled (1UL) /*!< Read access watch in this PREGION is enabled */
  3139. #define MWU_REGIONENCLR_PRGN1RA_Clear (1UL) /*!< Disable read access watch in this PREGION */
  3140. /* Bit 26 : Disable write access watch in PREGION[1] */
  3141. #define MWU_REGIONENCLR_PRGN1WA_Pos (26UL) /*!< Position of PRGN1WA field. */
  3142. #define MWU_REGIONENCLR_PRGN1WA_Msk (0x1UL << MWU_REGIONENCLR_PRGN1WA_Pos) /*!< Bit mask of PRGN1WA field. */
  3143. #define MWU_REGIONENCLR_PRGN1WA_Disabled (0UL) /*!< Write access watch in this PREGION is disabled */
  3144. #define MWU_REGIONENCLR_PRGN1WA_Enabled (1UL) /*!< Write access watch in this PREGION is enabled */
  3145. #define MWU_REGIONENCLR_PRGN1WA_Clear (1UL) /*!< Disable write access watch in this PREGION */
  3146. /* Bit 25 : Disable read access watch in PREGION[0] */
  3147. #define MWU_REGIONENCLR_PRGN0RA_Pos (25UL) /*!< Position of PRGN0RA field. */
  3148. #define MWU_REGIONENCLR_PRGN0RA_Msk (0x1UL << MWU_REGIONENCLR_PRGN0RA_Pos) /*!< Bit mask of PRGN0RA field. */
  3149. #define MWU_REGIONENCLR_PRGN0RA_Disabled (0UL) /*!< Read access watch in this PREGION is disabled */
  3150. #define MWU_REGIONENCLR_PRGN0RA_Enabled (1UL) /*!< Read access watch in this PREGION is enabled */
  3151. #define MWU_REGIONENCLR_PRGN0RA_Clear (1UL) /*!< Disable read access watch in this PREGION */
  3152. /* Bit 24 : Disable write access watch in PREGION[0] */
  3153. #define MWU_REGIONENCLR_PRGN0WA_Pos (24UL) /*!< Position of PRGN0WA field. */
  3154. #define MWU_REGIONENCLR_PRGN0WA_Msk (0x1UL << MWU_REGIONENCLR_PRGN0WA_Pos) /*!< Bit mask of PRGN0WA field. */
  3155. #define MWU_REGIONENCLR_PRGN0WA_Disabled (0UL) /*!< Write access watch in this PREGION is disabled */
  3156. #define MWU_REGIONENCLR_PRGN0WA_Enabled (1UL) /*!< Write access watch in this PREGION is enabled */
  3157. #define MWU_REGIONENCLR_PRGN0WA_Clear (1UL) /*!< Disable write access watch in this PREGION */
  3158. /* Bit 7 : Disable read access watch in region[3] */
  3159. #define MWU_REGIONENCLR_RGN3RA_Pos (7UL) /*!< Position of RGN3RA field. */
  3160. #define MWU_REGIONENCLR_RGN3RA_Msk (0x1UL << MWU_REGIONENCLR_RGN3RA_Pos) /*!< Bit mask of RGN3RA field. */
  3161. #define MWU_REGIONENCLR_RGN3RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3162. #define MWU_REGIONENCLR_RGN3RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3163. #define MWU_REGIONENCLR_RGN3RA_Clear (1UL) /*!< Disable read access watch in this region */
  3164. /* Bit 6 : Disable write access watch in region[3] */
  3165. #define MWU_REGIONENCLR_RGN3WA_Pos (6UL) /*!< Position of RGN3WA field. */
  3166. #define MWU_REGIONENCLR_RGN3WA_Msk (0x1UL << MWU_REGIONENCLR_RGN3WA_Pos) /*!< Bit mask of RGN3WA field. */
  3167. #define MWU_REGIONENCLR_RGN3WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3168. #define MWU_REGIONENCLR_RGN3WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3169. #define MWU_REGIONENCLR_RGN3WA_Clear (1UL) /*!< Disable write access watch in this region */
  3170. /* Bit 5 : Disable read access watch in region[2] */
  3171. #define MWU_REGIONENCLR_RGN2RA_Pos (5UL) /*!< Position of RGN2RA field. */
  3172. #define MWU_REGIONENCLR_RGN2RA_Msk (0x1UL << MWU_REGIONENCLR_RGN2RA_Pos) /*!< Bit mask of RGN2RA field. */
  3173. #define MWU_REGIONENCLR_RGN2RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3174. #define MWU_REGIONENCLR_RGN2RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3175. #define MWU_REGIONENCLR_RGN2RA_Clear (1UL) /*!< Disable read access watch in this region */
  3176. /* Bit 4 : Disable write access watch in region[2] */
  3177. #define MWU_REGIONENCLR_RGN2WA_Pos (4UL) /*!< Position of RGN2WA field. */
  3178. #define MWU_REGIONENCLR_RGN2WA_Msk (0x1UL << MWU_REGIONENCLR_RGN2WA_Pos) /*!< Bit mask of RGN2WA field. */
  3179. #define MWU_REGIONENCLR_RGN2WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3180. #define MWU_REGIONENCLR_RGN2WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3181. #define MWU_REGIONENCLR_RGN2WA_Clear (1UL) /*!< Disable write access watch in this region */
  3182. /* Bit 3 : Disable read access watch in region[1] */
  3183. #define MWU_REGIONENCLR_RGN1RA_Pos (3UL) /*!< Position of RGN1RA field. */
  3184. #define MWU_REGIONENCLR_RGN1RA_Msk (0x1UL << MWU_REGIONENCLR_RGN1RA_Pos) /*!< Bit mask of RGN1RA field. */
  3185. #define MWU_REGIONENCLR_RGN1RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3186. #define MWU_REGIONENCLR_RGN1RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3187. #define MWU_REGIONENCLR_RGN1RA_Clear (1UL) /*!< Disable read access watch in this region */
  3188. /* Bit 2 : Disable write access watch in region[1] */
  3189. #define MWU_REGIONENCLR_RGN1WA_Pos (2UL) /*!< Position of RGN1WA field. */
  3190. #define MWU_REGIONENCLR_RGN1WA_Msk (0x1UL << MWU_REGIONENCLR_RGN1WA_Pos) /*!< Bit mask of RGN1WA field. */
  3191. #define MWU_REGIONENCLR_RGN1WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3192. #define MWU_REGIONENCLR_RGN1WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3193. #define MWU_REGIONENCLR_RGN1WA_Clear (1UL) /*!< Disable write access watch in this region */
  3194. /* Bit 1 : Disable read access watch in region[0] */
  3195. #define MWU_REGIONENCLR_RGN0RA_Pos (1UL) /*!< Position of RGN0RA field. */
  3196. #define MWU_REGIONENCLR_RGN0RA_Msk (0x1UL << MWU_REGIONENCLR_RGN0RA_Pos) /*!< Bit mask of RGN0RA field. */
  3197. #define MWU_REGIONENCLR_RGN0RA_Disabled (0UL) /*!< Read access watch in this region is disabled */
  3198. #define MWU_REGIONENCLR_RGN0RA_Enabled (1UL) /*!< Read access watch in this region is enabled */
  3199. #define MWU_REGIONENCLR_RGN0RA_Clear (1UL) /*!< Disable read access watch in this region */
  3200. /* Bit 0 : Disable write access watch in region[0] */
  3201. #define MWU_REGIONENCLR_RGN0WA_Pos (0UL) /*!< Position of RGN0WA field. */
  3202. #define MWU_REGIONENCLR_RGN0WA_Msk (0x1UL << MWU_REGIONENCLR_RGN0WA_Pos) /*!< Bit mask of RGN0WA field. */
  3203. #define MWU_REGIONENCLR_RGN0WA_Disabled (0UL) /*!< Write access watch in this region is disabled */
  3204. #define MWU_REGIONENCLR_RGN0WA_Enabled (1UL) /*!< Write access watch in this region is enabled */
  3205. #define MWU_REGIONENCLR_RGN0WA_Clear (1UL) /*!< Disable write access watch in this region */
  3206. /* Register: MWU_REGION_START */
  3207. /* Description: Description cluster[0]: Start address for region 0 */
  3208. /* Bits 31..0 : Start address for region */
  3209. #define MWU_REGION_START_START_Pos (0UL) /*!< Position of START field. */
  3210. #define MWU_REGION_START_START_Msk (0xFFFFFFFFUL << MWU_REGION_START_START_Pos) /*!< Bit mask of START field. */
  3211. /* Register: MWU_REGION_END */
  3212. /* Description: Description cluster[0]: End address of region 0 */
  3213. /* Bits 31..0 : End address of region. */
  3214. #define MWU_REGION_END_END_Pos (0UL) /*!< Position of END field. */
  3215. #define MWU_REGION_END_END_Msk (0xFFFFFFFFUL << MWU_REGION_END_END_Pos) /*!< Bit mask of END field. */
  3216. /* Register: MWU_PREGION_START */
  3217. /* Description: Description cluster[0]: Reserved for future use */
  3218. /* Bits 31..0 : Reserved for future use */
  3219. #define MWU_PREGION_START_START_Pos (0UL) /*!< Position of START field. */
  3220. #define MWU_PREGION_START_START_Msk (0xFFFFFFFFUL << MWU_PREGION_START_START_Pos) /*!< Bit mask of START field. */
  3221. /* Register: MWU_PREGION_END */
  3222. /* Description: Description cluster[0]: Reserved for future use */
  3223. /* Bits 31..0 : Reserved for future use */
  3224. #define MWU_PREGION_END_END_Pos (0UL) /*!< Position of END field. */
  3225. #define MWU_PREGION_END_END_Msk (0xFFFFFFFFUL << MWU_PREGION_END_END_Pos) /*!< Bit mask of END field. */
  3226. /* Register: MWU_PREGION_SUBS */
  3227. /* Description: Description cluster[0]: Subregions of region 0 */
  3228. /* Bit 31 : Include or exclude subregion 31 in region */
  3229. #define MWU_PREGION_SUBS_SR31_Pos (31UL) /*!< Position of SR31 field. */
  3230. #define MWU_PREGION_SUBS_SR31_Msk (0x1UL << MWU_PREGION_SUBS_SR31_Pos) /*!< Bit mask of SR31 field. */
  3231. #define MWU_PREGION_SUBS_SR31_Exclude (0UL) /*!< Exclude */
  3232. #define MWU_PREGION_SUBS_SR31_Include (1UL) /*!< Include */
  3233. /* Bit 30 : Include or exclude subregion 30 in region */
  3234. #define MWU_PREGION_SUBS_SR30_Pos (30UL) /*!< Position of SR30 field. */
  3235. #define MWU_PREGION_SUBS_SR30_Msk (0x1UL << MWU_PREGION_SUBS_SR30_Pos) /*!< Bit mask of SR30 field. */
  3236. #define MWU_PREGION_SUBS_SR30_Exclude (0UL) /*!< Exclude */
  3237. #define MWU_PREGION_SUBS_SR30_Include (1UL) /*!< Include */
  3238. /* Bit 29 : Include or exclude subregion 29 in region */
  3239. #define MWU_PREGION_SUBS_SR29_Pos (29UL) /*!< Position of SR29 field. */
  3240. #define MWU_PREGION_SUBS_SR29_Msk (0x1UL << MWU_PREGION_SUBS_SR29_Pos) /*!< Bit mask of SR29 field. */
  3241. #define MWU_PREGION_SUBS_SR29_Exclude (0UL) /*!< Exclude */
  3242. #define MWU_PREGION_SUBS_SR29_Include (1UL) /*!< Include */
  3243. /* Bit 28 : Include or exclude subregion 28 in region */
  3244. #define MWU_PREGION_SUBS_SR28_Pos (28UL) /*!< Position of SR28 field. */
  3245. #define MWU_PREGION_SUBS_SR28_Msk (0x1UL << MWU_PREGION_SUBS_SR28_Pos) /*!< Bit mask of SR28 field. */
  3246. #define MWU_PREGION_SUBS_SR28_Exclude (0UL) /*!< Exclude */
  3247. #define MWU_PREGION_SUBS_SR28_Include (1UL) /*!< Include */
  3248. /* Bit 27 : Include or exclude subregion 27 in region */
  3249. #define MWU_PREGION_SUBS_SR27_Pos (27UL) /*!< Position of SR27 field. */
  3250. #define MWU_PREGION_SUBS_SR27_Msk (0x1UL << MWU_PREGION_SUBS_SR27_Pos) /*!< Bit mask of SR27 field. */
  3251. #define MWU_PREGION_SUBS_SR27_Exclude (0UL) /*!< Exclude */
  3252. #define MWU_PREGION_SUBS_SR27_Include (1UL) /*!< Include */
  3253. /* Bit 26 : Include or exclude subregion 26 in region */
  3254. #define MWU_PREGION_SUBS_SR26_Pos (26UL) /*!< Position of SR26 field. */
  3255. #define MWU_PREGION_SUBS_SR26_Msk (0x1UL << MWU_PREGION_SUBS_SR26_Pos) /*!< Bit mask of SR26 field. */
  3256. #define MWU_PREGION_SUBS_SR26_Exclude (0UL) /*!< Exclude */
  3257. #define MWU_PREGION_SUBS_SR26_Include (1UL) /*!< Include */
  3258. /* Bit 25 : Include or exclude subregion 25 in region */
  3259. #define MWU_PREGION_SUBS_SR25_Pos (25UL) /*!< Position of SR25 field. */
  3260. #define MWU_PREGION_SUBS_SR25_Msk (0x1UL << MWU_PREGION_SUBS_SR25_Pos) /*!< Bit mask of SR25 field. */
  3261. #define MWU_PREGION_SUBS_SR25_Exclude (0UL) /*!< Exclude */
  3262. #define MWU_PREGION_SUBS_SR25_Include (1UL) /*!< Include */
  3263. /* Bit 24 : Include or exclude subregion 24 in region */
  3264. #define MWU_PREGION_SUBS_SR24_Pos (24UL) /*!< Position of SR24 field. */
  3265. #define MWU_PREGION_SUBS_SR24_Msk (0x1UL << MWU_PREGION_SUBS_SR24_Pos) /*!< Bit mask of SR24 field. */
  3266. #define MWU_PREGION_SUBS_SR24_Exclude (0UL) /*!< Exclude */
  3267. #define MWU_PREGION_SUBS_SR24_Include (1UL) /*!< Include */
  3268. /* Bit 23 : Include or exclude subregion 23 in region */
  3269. #define MWU_PREGION_SUBS_SR23_Pos (23UL) /*!< Position of SR23 field. */
  3270. #define MWU_PREGION_SUBS_SR23_Msk (0x1UL << MWU_PREGION_SUBS_SR23_Pos) /*!< Bit mask of SR23 field. */
  3271. #define MWU_PREGION_SUBS_SR23_Exclude (0UL) /*!< Exclude */
  3272. #define MWU_PREGION_SUBS_SR23_Include (1UL) /*!< Include */
  3273. /* Bit 22 : Include or exclude subregion 22 in region */
  3274. #define MWU_PREGION_SUBS_SR22_Pos (22UL) /*!< Position of SR22 field. */
  3275. #define MWU_PREGION_SUBS_SR22_Msk (0x1UL << MWU_PREGION_SUBS_SR22_Pos) /*!< Bit mask of SR22 field. */
  3276. #define MWU_PREGION_SUBS_SR22_Exclude (0UL) /*!< Exclude */
  3277. #define MWU_PREGION_SUBS_SR22_Include (1UL) /*!< Include */
  3278. /* Bit 21 : Include or exclude subregion 21 in region */
  3279. #define MWU_PREGION_SUBS_SR21_Pos (21UL) /*!< Position of SR21 field. */
  3280. #define MWU_PREGION_SUBS_SR21_Msk (0x1UL << MWU_PREGION_SUBS_SR21_Pos) /*!< Bit mask of SR21 field. */
  3281. #define MWU_PREGION_SUBS_SR21_Exclude (0UL) /*!< Exclude */
  3282. #define MWU_PREGION_SUBS_SR21_Include (1UL) /*!< Include */
  3283. /* Bit 20 : Include or exclude subregion 20 in region */
  3284. #define MWU_PREGION_SUBS_SR20_Pos (20UL) /*!< Position of SR20 field. */
  3285. #define MWU_PREGION_SUBS_SR20_Msk (0x1UL << MWU_PREGION_SUBS_SR20_Pos) /*!< Bit mask of SR20 field. */
  3286. #define MWU_PREGION_SUBS_SR20_Exclude (0UL) /*!< Exclude */
  3287. #define MWU_PREGION_SUBS_SR20_Include (1UL) /*!< Include */
  3288. /* Bit 19 : Include or exclude subregion 19 in region */
  3289. #define MWU_PREGION_SUBS_SR19_Pos (19UL) /*!< Position of SR19 field. */
  3290. #define MWU_PREGION_SUBS_SR19_Msk (0x1UL << MWU_PREGION_SUBS_SR19_Pos) /*!< Bit mask of SR19 field. */
  3291. #define MWU_PREGION_SUBS_SR19_Exclude (0UL) /*!< Exclude */
  3292. #define MWU_PREGION_SUBS_SR19_Include (1UL) /*!< Include */
  3293. /* Bit 18 : Include or exclude subregion 18 in region */
  3294. #define MWU_PREGION_SUBS_SR18_Pos (18UL) /*!< Position of SR18 field. */
  3295. #define MWU_PREGION_SUBS_SR18_Msk (0x1UL << MWU_PREGION_SUBS_SR18_Pos) /*!< Bit mask of SR18 field. */
  3296. #define MWU_PREGION_SUBS_SR18_Exclude (0UL) /*!< Exclude */
  3297. #define MWU_PREGION_SUBS_SR18_Include (1UL) /*!< Include */
  3298. /* Bit 17 : Include or exclude subregion 17 in region */
  3299. #define MWU_PREGION_SUBS_SR17_Pos (17UL) /*!< Position of SR17 field. */
  3300. #define MWU_PREGION_SUBS_SR17_Msk (0x1UL << MWU_PREGION_SUBS_SR17_Pos) /*!< Bit mask of SR17 field. */
  3301. #define MWU_PREGION_SUBS_SR17_Exclude (0UL) /*!< Exclude */
  3302. #define MWU_PREGION_SUBS_SR17_Include (1UL) /*!< Include */
  3303. /* Bit 16 : Include or exclude subregion 16 in region */
  3304. #define MWU_PREGION_SUBS_SR16_Pos (16UL) /*!< Position of SR16 field. */
  3305. #define MWU_PREGION_SUBS_SR16_Msk (0x1UL << MWU_PREGION_SUBS_SR16_Pos) /*!< Bit mask of SR16 field. */
  3306. #define MWU_PREGION_SUBS_SR16_Exclude (0UL) /*!< Exclude */
  3307. #define MWU_PREGION_SUBS_SR16_Include (1UL) /*!< Include */
  3308. /* Bit 15 : Include or exclude subregion 15 in region */
  3309. #define MWU_PREGION_SUBS_SR15_Pos (15UL) /*!< Position of SR15 field. */
  3310. #define MWU_PREGION_SUBS_SR15_Msk (0x1UL << MWU_PREGION_SUBS_SR15_Pos) /*!< Bit mask of SR15 field. */
  3311. #define MWU_PREGION_SUBS_SR15_Exclude (0UL) /*!< Exclude */
  3312. #define MWU_PREGION_SUBS_SR15_Include (1UL) /*!< Include */
  3313. /* Bit 14 : Include or exclude subregion 14 in region */
  3314. #define MWU_PREGION_SUBS_SR14_Pos (14UL) /*!< Position of SR14 field. */
  3315. #define MWU_PREGION_SUBS_SR14_Msk (0x1UL << MWU_PREGION_SUBS_SR14_Pos) /*!< Bit mask of SR14 field. */
  3316. #define MWU_PREGION_SUBS_SR14_Exclude (0UL) /*!< Exclude */
  3317. #define MWU_PREGION_SUBS_SR14_Include (1UL) /*!< Include */
  3318. /* Bit 13 : Include or exclude subregion 13 in region */
  3319. #define MWU_PREGION_SUBS_SR13_Pos (13UL) /*!< Position of SR13 field. */
  3320. #define MWU_PREGION_SUBS_SR13_Msk (0x1UL << MWU_PREGION_SUBS_SR13_Pos) /*!< Bit mask of SR13 field. */
  3321. #define MWU_PREGION_SUBS_SR13_Exclude (0UL) /*!< Exclude */
  3322. #define MWU_PREGION_SUBS_SR13_Include (1UL) /*!< Include */
  3323. /* Bit 12 : Include or exclude subregion 12 in region */
  3324. #define MWU_PREGION_SUBS_SR12_Pos (12UL) /*!< Position of SR12 field. */
  3325. #define MWU_PREGION_SUBS_SR12_Msk (0x1UL << MWU_PREGION_SUBS_SR12_Pos) /*!< Bit mask of SR12 field. */
  3326. #define MWU_PREGION_SUBS_SR12_Exclude (0UL) /*!< Exclude */
  3327. #define MWU_PREGION_SUBS_SR12_Include (1UL) /*!< Include */
  3328. /* Bit 11 : Include or exclude subregion 11 in region */
  3329. #define MWU_PREGION_SUBS_SR11_Pos (11UL) /*!< Position of SR11 field. */
  3330. #define MWU_PREGION_SUBS_SR11_Msk (0x1UL << MWU_PREGION_SUBS_SR11_Pos) /*!< Bit mask of SR11 field. */
  3331. #define MWU_PREGION_SUBS_SR11_Exclude (0UL) /*!< Exclude */
  3332. #define MWU_PREGION_SUBS_SR11_Include (1UL) /*!< Include */
  3333. /* Bit 10 : Include or exclude subregion 10 in region */
  3334. #define MWU_PREGION_SUBS_SR10_Pos (10UL) /*!< Position of SR10 field. */
  3335. #define MWU_PREGION_SUBS_SR10_Msk (0x1UL << MWU_PREGION_SUBS_SR10_Pos) /*!< Bit mask of SR10 field. */
  3336. #define MWU_PREGION_SUBS_SR10_Exclude (0UL) /*!< Exclude */
  3337. #define MWU_PREGION_SUBS_SR10_Include (1UL) /*!< Include */
  3338. /* Bit 9 : Include or exclude subregion 9 in region */
  3339. #define MWU_PREGION_SUBS_SR9_Pos (9UL) /*!< Position of SR9 field. */
  3340. #define MWU_PREGION_SUBS_SR9_Msk (0x1UL << MWU_PREGION_SUBS_SR9_Pos) /*!< Bit mask of SR9 field. */
  3341. #define MWU_PREGION_SUBS_SR9_Exclude (0UL) /*!< Exclude */
  3342. #define MWU_PREGION_SUBS_SR9_Include (1UL) /*!< Include */
  3343. /* Bit 8 : Include or exclude subregion 8 in region */
  3344. #define MWU_PREGION_SUBS_SR8_Pos (8UL) /*!< Position of SR8 field. */
  3345. #define MWU_PREGION_SUBS_SR8_Msk (0x1UL << MWU_PREGION_SUBS_SR8_Pos) /*!< Bit mask of SR8 field. */
  3346. #define MWU_PREGION_SUBS_SR8_Exclude (0UL) /*!< Exclude */
  3347. #define MWU_PREGION_SUBS_SR8_Include (1UL) /*!< Include */
  3348. /* Bit 7 : Include or exclude subregion 7 in region */
  3349. #define MWU_PREGION_SUBS_SR7_Pos (7UL) /*!< Position of SR7 field. */
  3350. #define MWU_PREGION_SUBS_SR7_Msk (0x1UL << MWU_PREGION_SUBS_SR7_Pos) /*!< Bit mask of SR7 field. */
  3351. #define MWU_PREGION_SUBS_SR7_Exclude (0UL) /*!< Exclude */
  3352. #define MWU_PREGION_SUBS_SR7_Include (1UL) /*!< Include */
  3353. /* Bit 6 : Include or exclude subregion 6 in region */
  3354. #define MWU_PREGION_SUBS_SR6_Pos (6UL) /*!< Position of SR6 field. */
  3355. #define MWU_PREGION_SUBS_SR6_Msk (0x1UL << MWU_PREGION_SUBS_SR6_Pos) /*!< Bit mask of SR6 field. */
  3356. #define MWU_PREGION_SUBS_SR6_Exclude (0UL) /*!< Exclude */
  3357. #define MWU_PREGION_SUBS_SR6_Include (1UL) /*!< Include */
  3358. /* Bit 5 : Include or exclude subregion 5 in region */
  3359. #define MWU_PREGION_SUBS_SR5_Pos (5UL) /*!< Position of SR5 field. */
  3360. #define MWU_PREGION_SUBS_SR5_Msk (0x1UL << MWU_PREGION_SUBS_SR5_Pos) /*!< Bit mask of SR5 field. */
  3361. #define MWU_PREGION_SUBS_SR5_Exclude (0UL) /*!< Exclude */
  3362. #define MWU_PREGION_SUBS_SR5_Include (1UL) /*!< Include */
  3363. /* Bit 4 : Include or exclude subregion 4 in region */
  3364. #define MWU_PREGION_SUBS_SR4_Pos (4UL) /*!< Position of SR4 field. */
  3365. #define MWU_PREGION_SUBS_SR4_Msk (0x1UL << MWU_PREGION_SUBS_SR4_Pos) /*!< Bit mask of SR4 field. */
  3366. #define MWU_PREGION_SUBS_SR4_Exclude (0UL) /*!< Exclude */
  3367. #define MWU_PREGION_SUBS_SR4_Include (1UL) /*!< Include */
  3368. /* Bit 3 : Include or exclude subregion 3 in region */
  3369. #define MWU_PREGION_SUBS_SR3_Pos (3UL) /*!< Position of SR3 field. */
  3370. #define MWU_PREGION_SUBS_SR3_Msk (0x1UL << MWU_PREGION_SUBS_SR3_Pos) /*!< Bit mask of SR3 field. */
  3371. #define MWU_PREGION_SUBS_SR3_Exclude (0UL) /*!< Exclude */
  3372. #define MWU_PREGION_SUBS_SR3_Include (1UL) /*!< Include */
  3373. /* Bit 2 : Include or exclude subregion 2 in region */
  3374. #define MWU_PREGION_SUBS_SR2_Pos (2UL) /*!< Position of SR2 field. */
  3375. #define MWU_PREGION_SUBS_SR2_Msk (0x1UL << MWU_PREGION_SUBS_SR2_Pos) /*!< Bit mask of SR2 field. */
  3376. #define MWU_PREGION_SUBS_SR2_Exclude (0UL) /*!< Exclude */
  3377. #define MWU_PREGION_SUBS_SR2_Include (1UL) /*!< Include */
  3378. /* Bit 1 : Include or exclude subregion 1 in region */
  3379. #define MWU_PREGION_SUBS_SR1_Pos (1UL) /*!< Position of SR1 field. */
  3380. #define MWU_PREGION_SUBS_SR1_Msk (0x1UL << MWU_PREGION_SUBS_SR1_Pos) /*!< Bit mask of SR1 field. */
  3381. #define MWU_PREGION_SUBS_SR1_Exclude (0UL) /*!< Exclude */
  3382. #define MWU_PREGION_SUBS_SR1_Include (1UL) /*!< Include */
  3383. /* Bit 0 : Include or exclude subregion 0 in region */
  3384. #define MWU_PREGION_SUBS_SR0_Pos (0UL) /*!< Position of SR0 field. */
  3385. #define MWU_PREGION_SUBS_SR0_Msk (0x1UL << MWU_PREGION_SUBS_SR0_Pos) /*!< Bit mask of SR0 field. */
  3386. #define MWU_PREGION_SUBS_SR0_Exclude (0UL) /*!< Exclude */
  3387. #define MWU_PREGION_SUBS_SR0_Include (1UL) /*!< Include */
  3388. /* Peripheral: NFCT */
  3389. /* Description: NFC-A compatible radio */
  3390. /* Register: NFCT_SHORTS */
  3391. /* Description: Shortcut register */
  3392. /* Bit 1 : Shortcut between FIELDLOST event and SENSE task */
  3393. #define NFCT_SHORTS_FIELDLOST_SENSE_Pos (1UL) /*!< Position of FIELDLOST_SENSE field. */
  3394. #define NFCT_SHORTS_FIELDLOST_SENSE_Msk (0x1UL << NFCT_SHORTS_FIELDLOST_SENSE_Pos) /*!< Bit mask of FIELDLOST_SENSE field. */
  3395. #define NFCT_SHORTS_FIELDLOST_SENSE_Disabled (0UL) /*!< Disable shortcut */
  3396. #define NFCT_SHORTS_FIELDLOST_SENSE_Enabled (1UL) /*!< Enable shortcut */
  3397. /* Bit 0 : Shortcut between FIELDDETECTED event and ACTIVATE task */
  3398. #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Pos (0UL) /*!< Position of FIELDDETECTED_ACTIVATE field. */
  3399. #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Msk (0x1UL << NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Pos) /*!< Bit mask of FIELDDETECTED_ACTIVATE field. */
  3400. #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Disabled (0UL) /*!< Disable shortcut */
  3401. #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Enabled (1UL) /*!< Enable shortcut */
  3402. /* Register: NFCT_INTEN */
  3403. /* Description: Enable or disable interrupt */
  3404. /* Bit 20 : Enable or disable interrupt for STARTED event */
  3405. #define NFCT_INTEN_STARTED_Pos (20UL) /*!< Position of STARTED field. */
  3406. #define NFCT_INTEN_STARTED_Msk (0x1UL << NFCT_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */
  3407. #define NFCT_INTEN_STARTED_Disabled (0UL) /*!< Disable */
  3408. #define NFCT_INTEN_STARTED_Enabled (1UL) /*!< Enable */
  3409. /* Bit 19 : Enable or disable interrupt for SELECTED event */
  3410. #define NFCT_INTEN_SELECTED_Pos (19UL) /*!< Position of SELECTED field. */
  3411. #define NFCT_INTEN_SELECTED_Msk (0x1UL << NFCT_INTEN_SELECTED_Pos) /*!< Bit mask of SELECTED field. */
  3412. #define NFCT_INTEN_SELECTED_Disabled (0UL) /*!< Disable */
  3413. #define NFCT_INTEN_SELECTED_Enabled (1UL) /*!< Enable */
  3414. /* Bit 18 : Enable or disable interrupt for COLLISION event */
  3415. #define NFCT_INTEN_COLLISION_Pos (18UL) /*!< Position of COLLISION field. */
  3416. #define NFCT_INTEN_COLLISION_Msk (0x1UL << NFCT_INTEN_COLLISION_Pos) /*!< Bit mask of COLLISION field. */
  3417. #define NFCT_INTEN_COLLISION_Disabled (0UL) /*!< Disable */
  3418. #define NFCT_INTEN_COLLISION_Enabled (1UL) /*!< Enable */
  3419. /* Bit 14 : Enable or disable interrupt for AUTOCOLRESSTARTED event */
  3420. #define NFCT_INTEN_AUTOCOLRESSTARTED_Pos (14UL) /*!< Position of AUTOCOLRESSTARTED field. */
  3421. #define NFCT_INTEN_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_INTEN_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of AUTOCOLRESSTARTED field. */
  3422. #define NFCT_INTEN_AUTOCOLRESSTARTED_Disabled (0UL) /*!< Disable */
  3423. #define NFCT_INTEN_AUTOCOLRESSTARTED_Enabled (1UL) /*!< Enable */
  3424. /* Bit 12 : Enable or disable interrupt for ENDTX event */
  3425. #define NFCT_INTEN_ENDTX_Pos (12UL) /*!< Position of ENDTX field. */
  3426. #define NFCT_INTEN_ENDTX_Msk (0x1UL << NFCT_INTEN_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  3427. #define NFCT_INTEN_ENDTX_Disabled (0UL) /*!< Disable */
  3428. #define NFCT_INTEN_ENDTX_Enabled (1UL) /*!< Enable */
  3429. /* Bit 11 : Enable or disable interrupt for ENDRX event */
  3430. #define NFCT_INTEN_ENDRX_Pos (11UL) /*!< Position of ENDRX field. */
  3431. #define NFCT_INTEN_ENDRX_Msk (0x1UL << NFCT_INTEN_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  3432. #define NFCT_INTEN_ENDRX_Disabled (0UL) /*!< Disable */
  3433. #define NFCT_INTEN_ENDRX_Enabled (1UL) /*!< Enable */
  3434. /* Bit 10 : Enable or disable interrupt for RXERROR event */
  3435. #define NFCT_INTEN_RXERROR_Pos (10UL) /*!< Position of RXERROR field. */
  3436. #define NFCT_INTEN_RXERROR_Msk (0x1UL << NFCT_INTEN_RXERROR_Pos) /*!< Bit mask of RXERROR field. */
  3437. #define NFCT_INTEN_RXERROR_Disabled (0UL) /*!< Disable */
  3438. #define NFCT_INTEN_RXERROR_Enabled (1UL) /*!< Enable */
  3439. /* Bit 7 : Enable or disable interrupt for ERROR event */
  3440. #define NFCT_INTEN_ERROR_Pos (7UL) /*!< Position of ERROR field. */
  3441. #define NFCT_INTEN_ERROR_Msk (0x1UL << NFCT_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */
  3442. #define NFCT_INTEN_ERROR_Disabled (0UL) /*!< Disable */
  3443. #define NFCT_INTEN_ERROR_Enabled (1UL) /*!< Enable */
  3444. /* Bit 6 : Enable or disable interrupt for RXFRAMEEND event */
  3445. #define NFCT_INTEN_RXFRAMEEND_Pos (6UL) /*!< Position of RXFRAMEEND field. */
  3446. #define NFCT_INTEN_RXFRAMEEND_Msk (0x1UL << NFCT_INTEN_RXFRAMEEND_Pos) /*!< Bit mask of RXFRAMEEND field. */
  3447. #define NFCT_INTEN_RXFRAMEEND_Disabled (0UL) /*!< Disable */
  3448. #define NFCT_INTEN_RXFRAMEEND_Enabled (1UL) /*!< Enable */
  3449. /* Bit 5 : Enable or disable interrupt for RXFRAMESTART event */
  3450. #define NFCT_INTEN_RXFRAMESTART_Pos (5UL) /*!< Position of RXFRAMESTART field. */
  3451. #define NFCT_INTEN_RXFRAMESTART_Msk (0x1UL << NFCT_INTEN_RXFRAMESTART_Pos) /*!< Bit mask of RXFRAMESTART field. */
  3452. #define NFCT_INTEN_RXFRAMESTART_Disabled (0UL) /*!< Disable */
  3453. #define NFCT_INTEN_RXFRAMESTART_Enabled (1UL) /*!< Enable */
  3454. /* Bit 4 : Enable or disable interrupt for TXFRAMEEND event */
  3455. #define NFCT_INTEN_TXFRAMEEND_Pos (4UL) /*!< Position of TXFRAMEEND field. */
  3456. #define NFCT_INTEN_TXFRAMEEND_Msk (0x1UL << NFCT_INTEN_TXFRAMEEND_Pos) /*!< Bit mask of TXFRAMEEND field. */
  3457. #define NFCT_INTEN_TXFRAMEEND_Disabled (0UL) /*!< Disable */
  3458. #define NFCT_INTEN_TXFRAMEEND_Enabled (1UL) /*!< Enable */
  3459. /* Bit 3 : Enable or disable interrupt for TXFRAMESTART event */
  3460. #define NFCT_INTEN_TXFRAMESTART_Pos (3UL) /*!< Position of TXFRAMESTART field. */
  3461. #define NFCT_INTEN_TXFRAMESTART_Msk (0x1UL << NFCT_INTEN_TXFRAMESTART_Pos) /*!< Bit mask of TXFRAMESTART field. */
  3462. #define NFCT_INTEN_TXFRAMESTART_Disabled (0UL) /*!< Disable */
  3463. #define NFCT_INTEN_TXFRAMESTART_Enabled (1UL) /*!< Enable */
  3464. /* Bit 2 : Enable or disable interrupt for FIELDLOST event */
  3465. #define NFCT_INTEN_FIELDLOST_Pos (2UL) /*!< Position of FIELDLOST field. */
  3466. #define NFCT_INTEN_FIELDLOST_Msk (0x1UL << NFCT_INTEN_FIELDLOST_Pos) /*!< Bit mask of FIELDLOST field. */
  3467. #define NFCT_INTEN_FIELDLOST_Disabled (0UL) /*!< Disable */
  3468. #define NFCT_INTEN_FIELDLOST_Enabled (1UL) /*!< Enable */
  3469. /* Bit 1 : Enable or disable interrupt for FIELDDETECTED event */
  3470. #define NFCT_INTEN_FIELDDETECTED_Pos (1UL) /*!< Position of FIELDDETECTED field. */
  3471. #define NFCT_INTEN_FIELDDETECTED_Msk (0x1UL << NFCT_INTEN_FIELDDETECTED_Pos) /*!< Bit mask of FIELDDETECTED field. */
  3472. #define NFCT_INTEN_FIELDDETECTED_Disabled (0UL) /*!< Disable */
  3473. #define NFCT_INTEN_FIELDDETECTED_Enabled (1UL) /*!< Enable */
  3474. /* Bit 0 : Enable or disable interrupt for READY event */
  3475. #define NFCT_INTEN_READY_Pos (0UL) /*!< Position of READY field. */
  3476. #define NFCT_INTEN_READY_Msk (0x1UL << NFCT_INTEN_READY_Pos) /*!< Bit mask of READY field. */
  3477. #define NFCT_INTEN_READY_Disabled (0UL) /*!< Disable */
  3478. #define NFCT_INTEN_READY_Enabled (1UL) /*!< Enable */
  3479. /* Register: NFCT_INTENSET */
  3480. /* Description: Enable interrupt */
  3481. /* Bit 20 : Write '1' to Enable interrupt for STARTED event */
  3482. #define NFCT_INTENSET_STARTED_Pos (20UL) /*!< Position of STARTED field. */
  3483. #define NFCT_INTENSET_STARTED_Msk (0x1UL << NFCT_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */
  3484. #define NFCT_INTENSET_STARTED_Disabled (0UL) /*!< Read: Disabled */
  3485. #define NFCT_INTENSET_STARTED_Enabled (1UL) /*!< Read: Enabled */
  3486. #define NFCT_INTENSET_STARTED_Set (1UL) /*!< Enable */
  3487. /* Bit 19 : Write '1' to Enable interrupt for SELECTED event */
  3488. #define NFCT_INTENSET_SELECTED_Pos (19UL) /*!< Position of SELECTED field. */
  3489. #define NFCT_INTENSET_SELECTED_Msk (0x1UL << NFCT_INTENSET_SELECTED_Pos) /*!< Bit mask of SELECTED field. */
  3490. #define NFCT_INTENSET_SELECTED_Disabled (0UL) /*!< Read: Disabled */
  3491. #define NFCT_INTENSET_SELECTED_Enabled (1UL) /*!< Read: Enabled */
  3492. #define NFCT_INTENSET_SELECTED_Set (1UL) /*!< Enable */
  3493. /* Bit 18 : Write '1' to Enable interrupt for COLLISION event */
  3494. #define NFCT_INTENSET_COLLISION_Pos (18UL) /*!< Position of COLLISION field. */
  3495. #define NFCT_INTENSET_COLLISION_Msk (0x1UL << NFCT_INTENSET_COLLISION_Pos) /*!< Bit mask of COLLISION field. */
  3496. #define NFCT_INTENSET_COLLISION_Disabled (0UL) /*!< Read: Disabled */
  3497. #define NFCT_INTENSET_COLLISION_Enabled (1UL) /*!< Read: Enabled */
  3498. #define NFCT_INTENSET_COLLISION_Set (1UL) /*!< Enable */
  3499. /* Bit 14 : Write '1' to Enable interrupt for AUTOCOLRESSTARTED event */
  3500. #define NFCT_INTENSET_AUTOCOLRESSTARTED_Pos (14UL) /*!< Position of AUTOCOLRESSTARTED field. */
  3501. #define NFCT_INTENSET_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_INTENSET_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of AUTOCOLRESSTARTED field. */
  3502. #define NFCT_INTENSET_AUTOCOLRESSTARTED_Disabled (0UL) /*!< Read: Disabled */
  3503. #define NFCT_INTENSET_AUTOCOLRESSTARTED_Enabled (1UL) /*!< Read: Enabled */
  3504. #define NFCT_INTENSET_AUTOCOLRESSTARTED_Set (1UL) /*!< Enable */
  3505. /* Bit 12 : Write '1' to Enable interrupt for ENDTX event */
  3506. #define NFCT_INTENSET_ENDTX_Pos (12UL) /*!< Position of ENDTX field. */
  3507. #define NFCT_INTENSET_ENDTX_Msk (0x1UL << NFCT_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  3508. #define NFCT_INTENSET_ENDTX_Disabled (0UL) /*!< Read: Disabled */
  3509. #define NFCT_INTENSET_ENDTX_Enabled (1UL) /*!< Read: Enabled */
  3510. #define NFCT_INTENSET_ENDTX_Set (1UL) /*!< Enable */
  3511. /* Bit 11 : Write '1' to Enable interrupt for ENDRX event */
  3512. #define NFCT_INTENSET_ENDRX_Pos (11UL) /*!< Position of ENDRX field. */
  3513. #define NFCT_INTENSET_ENDRX_Msk (0x1UL << NFCT_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  3514. #define NFCT_INTENSET_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  3515. #define NFCT_INTENSET_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  3516. #define NFCT_INTENSET_ENDRX_Set (1UL) /*!< Enable */
  3517. /* Bit 10 : Write '1' to Enable interrupt for RXERROR event */
  3518. #define NFCT_INTENSET_RXERROR_Pos (10UL) /*!< Position of RXERROR field. */
  3519. #define NFCT_INTENSET_RXERROR_Msk (0x1UL << NFCT_INTENSET_RXERROR_Pos) /*!< Bit mask of RXERROR field. */
  3520. #define NFCT_INTENSET_RXERROR_Disabled (0UL) /*!< Read: Disabled */
  3521. #define NFCT_INTENSET_RXERROR_Enabled (1UL) /*!< Read: Enabled */
  3522. #define NFCT_INTENSET_RXERROR_Set (1UL) /*!< Enable */
  3523. /* Bit 7 : Write '1' to Enable interrupt for ERROR event */
  3524. #define NFCT_INTENSET_ERROR_Pos (7UL) /*!< Position of ERROR field. */
  3525. #define NFCT_INTENSET_ERROR_Msk (0x1UL << NFCT_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  3526. #define NFCT_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  3527. #define NFCT_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  3528. #define NFCT_INTENSET_ERROR_Set (1UL) /*!< Enable */
  3529. /* Bit 6 : Write '1' to Enable interrupt for RXFRAMEEND event */
  3530. #define NFCT_INTENSET_RXFRAMEEND_Pos (6UL) /*!< Position of RXFRAMEEND field. */
  3531. #define NFCT_INTENSET_RXFRAMEEND_Msk (0x1UL << NFCT_INTENSET_RXFRAMEEND_Pos) /*!< Bit mask of RXFRAMEEND field. */
  3532. #define NFCT_INTENSET_RXFRAMEEND_Disabled (0UL) /*!< Read: Disabled */
  3533. #define NFCT_INTENSET_RXFRAMEEND_Enabled (1UL) /*!< Read: Enabled */
  3534. #define NFCT_INTENSET_RXFRAMEEND_Set (1UL) /*!< Enable */
  3535. /* Bit 5 : Write '1' to Enable interrupt for RXFRAMESTART event */
  3536. #define NFCT_INTENSET_RXFRAMESTART_Pos (5UL) /*!< Position of RXFRAMESTART field. */
  3537. #define NFCT_INTENSET_RXFRAMESTART_Msk (0x1UL << NFCT_INTENSET_RXFRAMESTART_Pos) /*!< Bit mask of RXFRAMESTART field. */
  3538. #define NFCT_INTENSET_RXFRAMESTART_Disabled (0UL) /*!< Read: Disabled */
  3539. #define NFCT_INTENSET_RXFRAMESTART_Enabled (1UL) /*!< Read: Enabled */
  3540. #define NFCT_INTENSET_RXFRAMESTART_Set (1UL) /*!< Enable */
  3541. /* Bit 4 : Write '1' to Enable interrupt for TXFRAMEEND event */
  3542. #define NFCT_INTENSET_TXFRAMEEND_Pos (4UL) /*!< Position of TXFRAMEEND field. */
  3543. #define NFCT_INTENSET_TXFRAMEEND_Msk (0x1UL << NFCT_INTENSET_TXFRAMEEND_Pos) /*!< Bit mask of TXFRAMEEND field. */
  3544. #define NFCT_INTENSET_TXFRAMEEND_Disabled (0UL) /*!< Read: Disabled */
  3545. #define NFCT_INTENSET_TXFRAMEEND_Enabled (1UL) /*!< Read: Enabled */
  3546. #define NFCT_INTENSET_TXFRAMEEND_Set (1UL) /*!< Enable */
  3547. /* Bit 3 : Write '1' to Enable interrupt for TXFRAMESTART event */
  3548. #define NFCT_INTENSET_TXFRAMESTART_Pos (3UL) /*!< Position of TXFRAMESTART field. */
  3549. #define NFCT_INTENSET_TXFRAMESTART_Msk (0x1UL << NFCT_INTENSET_TXFRAMESTART_Pos) /*!< Bit mask of TXFRAMESTART field. */
  3550. #define NFCT_INTENSET_TXFRAMESTART_Disabled (0UL) /*!< Read: Disabled */
  3551. #define NFCT_INTENSET_TXFRAMESTART_Enabled (1UL) /*!< Read: Enabled */
  3552. #define NFCT_INTENSET_TXFRAMESTART_Set (1UL) /*!< Enable */
  3553. /* Bit 2 : Write '1' to Enable interrupt for FIELDLOST event */
  3554. #define NFCT_INTENSET_FIELDLOST_Pos (2UL) /*!< Position of FIELDLOST field. */
  3555. #define NFCT_INTENSET_FIELDLOST_Msk (0x1UL << NFCT_INTENSET_FIELDLOST_Pos) /*!< Bit mask of FIELDLOST field. */
  3556. #define NFCT_INTENSET_FIELDLOST_Disabled (0UL) /*!< Read: Disabled */
  3557. #define NFCT_INTENSET_FIELDLOST_Enabled (1UL) /*!< Read: Enabled */
  3558. #define NFCT_INTENSET_FIELDLOST_Set (1UL) /*!< Enable */
  3559. /* Bit 1 : Write '1' to Enable interrupt for FIELDDETECTED event */
  3560. #define NFCT_INTENSET_FIELDDETECTED_Pos (1UL) /*!< Position of FIELDDETECTED field. */
  3561. #define NFCT_INTENSET_FIELDDETECTED_Msk (0x1UL << NFCT_INTENSET_FIELDDETECTED_Pos) /*!< Bit mask of FIELDDETECTED field. */
  3562. #define NFCT_INTENSET_FIELDDETECTED_Disabled (0UL) /*!< Read: Disabled */
  3563. #define NFCT_INTENSET_FIELDDETECTED_Enabled (1UL) /*!< Read: Enabled */
  3564. #define NFCT_INTENSET_FIELDDETECTED_Set (1UL) /*!< Enable */
  3565. /* Bit 0 : Write '1' to Enable interrupt for READY event */
  3566. #define NFCT_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  3567. #define NFCT_INTENSET_READY_Msk (0x1UL << NFCT_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  3568. #define NFCT_INTENSET_READY_Disabled (0UL) /*!< Read: Disabled */
  3569. #define NFCT_INTENSET_READY_Enabled (1UL) /*!< Read: Enabled */
  3570. #define NFCT_INTENSET_READY_Set (1UL) /*!< Enable */
  3571. /* Register: NFCT_INTENCLR */
  3572. /* Description: Disable interrupt */
  3573. /* Bit 20 : Write '1' to Disable interrupt for STARTED event */
  3574. #define NFCT_INTENCLR_STARTED_Pos (20UL) /*!< Position of STARTED field. */
  3575. #define NFCT_INTENCLR_STARTED_Msk (0x1UL << NFCT_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */
  3576. #define NFCT_INTENCLR_STARTED_Disabled (0UL) /*!< Read: Disabled */
  3577. #define NFCT_INTENCLR_STARTED_Enabled (1UL) /*!< Read: Enabled */
  3578. #define NFCT_INTENCLR_STARTED_Clear (1UL) /*!< Disable */
  3579. /* Bit 19 : Write '1' to Disable interrupt for SELECTED event */
  3580. #define NFCT_INTENCLR_SELECTED_Pos (19UL) /*!< Position of SELECTED field. */
  3581. #define NFCT_INTENCLR_SELECTED_Msk (0x1UL << NFCT_INTENCLR_SELECTED_Pos) /*!< Bit mask of SELECTED field. */
  3582. #define NFCT_INTENCLR_SELECTED_Disabled (0UL) /*!< Read: Disabled */
  3583. #define NFCT_INTENCLR_SELECTED_Enabled (1UL) /*!< Read: Enabled */
  3584. #define NFCT_INTENCLR_SELECTED_Clear (1UL) /*!< Disable */
  3585. /* Bit 18 : Write '1' to Disable interrupt for COLLISION event */
  3586. #define NFCT_INTENCLR_COLLISION_Pos (18UL) /*!< Position of COLLISION field. */
  3587. #define NFCT_INTENCLR_COLLISION_Msk (0x1UL << NFCT_INTENCLR_COLLISION_Pos) /*!< Bit mask of COLLISION field. */
  3588. #define NFCT_INTENCLR_COLLISION_Disabled (0UL) /*!< Read: Disabled */
  3589. #define NFCT_INTENCLR_COLLISION_Enabled (1UL) /*!< Read: Enabled */
  3590. #define NFCT_INTENCLR_COLLISION_Clear (1UL) /*!< Disable */
  3591. /* Bit 14 : Write '1' to Disable interrupt for AUTOCOLRESSTARTED event */
  3592. #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Pos (14UL) /*!< Position of AUTOCOLRESSTARTED field. */
  3593. #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_INTENCLR_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of AUTOCOLRESSTARTED field. */
  3594. #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Disabled (0UL) /*!< Read: Disabled */
  3595. #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Enabled (1UL) /*!< Read: Enabled */
  3596. #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Clear (1UL) /*!< Disable */
  3597. /* Bit 12 : Write '1' to Disable interrupt for ENDTX event */
  3598. #define NFCT_INTENCLR_ENDTX_Pos (12UL) /*!< Position of ENDTX field. */
  3599. #define NFCT_INTENCLR_ENDTX_Msk (0x1UL << NFCT_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  3600. #define NFCT_INTENCLR_ENDTX_Disabled (0UL) /*!< Read: Disabled */
  3601. #define NFCT_INTENCLR_ENDTX_Enabled (1UL) /*!< Read: Enabled */
  3602. #define NFCT_INTENCLR_ENDTX_Clear (1UL) /*!< Disable */
  3603. /* Bit 11 : Write '1' to Disable interrupt for ENDRX event */
  3604. #define NFCT_INTENCLR_ENDRX_Pos (11UL) /*!< Position of ENDRX field. */
  3605. #define NFCT_INTENCLR_ENDRX_Msk (0x1UL << NFCT_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  3606. #define NFCT_INTENCLR_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  3607. #define NFCT_INTENCLR_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  3608. #define NFCT_INTENCLR_ENDRX_Clear (1UL) /*!< Disable */
  3609. /* Bit 10 : Write '1' to Disable interrupt for RXERROR event */
  3610. #define NFCT_INTENCLR_RXERROR_Pos (10UL) /*!< Position of RXERROR field. */
  3611. #define NFCT_INTENCLR_RXERROR_Msk (0x1UL << NFCT_INTENCLR_RXERROR_Pos) /*!< Bit mask of RXERROR field. */
  3612. #define NFCT_INTENCLR_RXERROR_Disabled (0UL) /*!< Read: Disabled */
  3613. #define NFCT_INTENCLR_RXERROR_Enabled (1UL) /*!< Read: Enabled */
  3614. #define NFCT_INTENCLR_RXERROR_Clear (1UL) /*!< Disable */
  3615. /* Bit 7 : Write '1' to Disable interrupt for ERROR event */
  3616. #define NFCT_INTENCLR_ERROR_Pos (7UL) /*!< Position of ERROR field. */
  3617. #define NFCT_INTENCLR_ERROR_Msk (0x1UL << NFCT_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  3618. #define NFCT_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  3619. #define NFCT_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  3620. #define NFCT_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  3621. /* Bit 6 : Write '1' to Disable interrupt for RXFRAMEEND event */
  3622. #define NFCT_INTENCLR_RXFRAMEEND_Pos (6UL) /*!< Position of RXFRAMEEND field. */
  3623. #define NFCT_INTENCLR_RXFRAMEEND_Msk (0x1UL << NFCT_INTENCLR_RXFRAMEEND_Pos) /*!< Bit mask of RXFRAMEEND field. */
  3624. #define NFCT_INTENCLR_RXFRAMEEND_Disabled (0UL) /*!< Read: Disabled */
  3625. #define NFCT_INTENCLR_RXFRAMEEND_Enabled (1UL) /*!< Read: Enabled */
  3626. #define NFCT_INTENCLR_RXFRAMEEND_Clear (1UL) /*!< Disable */
  3627. /* Bit 5 : Write '1' to Disable interrupt for RXFRAMESTART event */
  3628. #define NFCT_INTENCLR_RXFRAMESTART_Pos (5UL) /*!< Position of RXFRAMESTART field. */
  3629. #define NFCT_INTENCLR_RXFRAMESTART_Msk (0x1UL << NFCT_INTENCLR_RXFRAMESTART_Pos) /*!< Bit mask of RXFRAMESTART field. */
  3630. #define NFCT_INTENCLR_RXFRAMESTART_Disabled (0UL) /*!< Read: Disabled */
  3631. #define NFCT_INTENCLR_RXFRAMESTART_Enabled (1UL) /*!< Read: Enabled */
  3632. #define NFCT_INTENCLR_RXFRAMESTART_Clear (1UL) /*!< Disable */
  3633. /* Bit 4 : Write '1' to Disable interrupt for TXFRAMEEND event */
  3634. #define NFCT_INTENCLR_TXFRAMEEND_Pos (4UL) /*!< Position of TXFRAMEEND field. */
  3635. #define NFCT_INTENCLR_TXFRAMEEND_Msk (0x1UL << NFCT_INTENCLR_TXFRAMEEND_Pos) /*!< Bit mask of TXFRAMEEND field. */
  3636. #define NFCT_INTENCLR_TXFRAMEEND_Disabled (0UL) /*!< Read: Disabled */
  3637. #define NFCT_INTENCLR_TXFRAMEEND_Enabled (1UL) /*!< Read: Enabled */
  3638. #define NFCT_INTENCLR_TXFRAMEEND_Clear (1UL) /*!< Disable */
  3639. /* Bit 3 : Write '1' to Disable interrupt for TXFRAMESTART event */
  3640. #define NFCT_INTENCLR_TXFRAMESTART_Pos (3UL) /*!< Position of TXFRAMESTART field. */
  3641. #define NFCT_INTENCLR_TXFRAMESTART_Msk (0x1UL << NFCT_INTENCLR_TXFRAMESTART_Pos) /*!< Bit mask of TXFRAMESTART field. */
  3642. #define NFCT_INTENCLR_TXFRAMESTART_Disabled (0UL) /*!< Read: Disabled */
  3643. #define NFCT_INTENCLR_TXFRAMESTART_Enabled (1UL) /*!< Read: Enabled */
  3644. #define NFCT_INTENCLR_TXFRAMESTART_Clear (1UL) /*!< Disable */
  3645. /* Bit 2 : Write '1' to Disable interrupt for FIELDLOST event */
  3646. #define NFCT_INTENCLR_FIELDLOST_Pos (2UL) /*!< Position of FIELDLOST field. */
  3647. #define NFCT_INTENCLR_FIELDLOST_Msk (0x1UL << NFCT_INTENCLR_FIELDLOST_Pos) /*!< Bit mask of FIELDLOST field. */
  3648. #define NFCT_INTENCLR_FIELDLOST_Disabled (0UL) /*!< Read: Disabled */
  3649. #define NFCT_INTENCLR_FIELDLOST_Enabled (1UL) /*!< Read: Enabled */
  3650. #define NFCT_INTENCLR_FIELDLOST_Clear (1UL) /*!< Disable */
  3651. /* Bit 1 : Write '1' to Disable interrupt for FIELDDETECTED event */
  3652. #define NFCT_INTENCLR_FIELDDETECTED_Pos (1UL) /*!< Position of FIELDDETECTED field. */
  3653. #define NFCT_INTENCLR_FIELDDETECTED_Msk (0x1UL << NFCT_INTENCLR_FIELDDETECTED_Pos) /*!< Bit mask of FIELDDETECTED field. */
  3654. #define NFCT_INTENCLR_FIELDDETECTED_Disabled (0UL) /*!< Read: Disabled */
  3655. #define NFCT_INTENCLR_FIELDDETECTED_Enabled (1UL) /*!< Read: Enabled */
  3656. #define NFCT_INTENCLR_FIELDDETECTED_Clear (1UL) /*!< Disable */
  3657. /* Bit 0 : Write '1' to Disable interrupt for READY event */
  3658. #define NFCT_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  3659. #define NFCT_INTENCLR_READY_Msk (0x1UL << NFCT_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  3660. #define NFCT_INTENCLR_READY_Disabled (0UL) /*!< Read: Disabled */
  3661. #define NFCT_INTENCLR_READY_Enabled (1UL) /*!< Read: Enabled */
  3662. #define NFCT_INTENCLR_READY_Clear (1UL) /*!< Disable */
  3663. /* Register: NFCT_ERRORSTATUS */
  3664. /* Description: NFC Error Status register */
  3665. /* Bit 3 : Field level is too low at min load resistance */
  3666. #define NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Pos (3UL) /*!< Position of NFCFIELDTOOWEAK field. */
  3667. #define NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk (0x1UL << NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Pos) /*!< Bit mask of NFCFIELDTOOWEAK field. */
  3668. /* Bit 2 : Field level is too high at max load resistance */
  3669. #define NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Pos (2UL) /*!< Position of NFCFIELDTOOSTRONG field. */
  3670. #define NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk (0x1UL << NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Pos) /*!< Bit mask of NFCFIELDTOOSTRONG field. */
  3671. /* Bit 0 : No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX */
  3672. #define NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Pos (0UL) /*!< Position of FRAMEDELAYTIMEOUT field. */
  3673. #define NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk (0x1UL << NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Pos) /*!< Bit mask of FRAMEDELAYTIMEOUT field. */
  3674. /* Register: NFCT_FRAMESTATUS_RX */
  3675. /* Description: Result of last incoming frames */
  3676. /* Bit 3 : Overrun detected */
  3677. #define NFCT_FRAMESTATUS_RX_OVERRUN_Pos (3UL) /*!< Position of OVERRUN field. */
  3678. #define NFCT_FRAMESTATUS_RX_OVERRUN_Msk (0x1UL << NFCT_FRAMESTATUS_RX_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  3679. #define NFCT_FRAMESTATUS_RX_OVERRUN_NoOverrun (0UL) /*!< No overrun detected */
  3680. #define NFCT_FRAMESTATUS_RX_OVERRUN_Overrun (1UL) /*!< Overrun error */
  3681. /* Bit 2 : Parity status of received frame */
  3682. #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_Pos (2UL) /*!< Position of PARITYSTATUS field. */
  3683. #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_Msk (0x1UL << NFCT_FRAMESTATUS_RX_PARITYSTATUS_Pos) /*!< Bit mask of PARITYSTATUS field. */
  3684. #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_ParityOK (0UL) /*!< Frame received with parity OK */
  3685. #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_ParityError (1UL) /*!< Frame received with parity error */
  3686. /* Bit 0 : No valid End of Frame detected */
  3687. #define NFCT_FRAMESTATUS_RX_CRCERROR_Pos (0UL) /*!< Position of CRCERROR field. */
  3688. #define NFCT_FRAMESTATUS_RX_CRCERROR_Msk (0x1UL << NFCT_FRAMESTATUS_RX_CRCERROR_Pos) /*!< Bit mask of CRCERROR field. */
  3689. #define NFCT_FRAMESTATUS_RX_CRCERROR_CRCCorrect (0UL) /*!< Valid CRC detected */
  3690. #define NFCT_FRAMESTATUS_RX_CRCERROR_CRCError (1UL) /*!< CRC received does not match local check */
  3691. /* Register: NFCT_CURRENTLOADCTRL */
  3692. /* Description: Current value driven to the NFC Load Control */
  3693. /* Bits 5..0 : Current value driven to the NFC Load Control */
  3694. #define NFCT_CURRENTLOADCTRL_CURRENTLOADCTRL_Pos (0UL) /*!< Position of CURRENTLOADCTRL field. */
  3695. #define NFCT_CURRENTLOADCTRL_CURRENTLOADCTRL_Msk (0x3FUL << NFCT_CURRENTLOADCTRL_CURRENTLOADCTRL_Pos) /*!< Bit mask of CURRENTLOADCTRL field. */
  3696. /* Register: NFCT_FIELDPRESENT */
  3697. /* Description: Indicates the presence or not of a valid field */
  3698. /* Bit 1 : Indicates if the low level has locked to the field */
  3699. #define NFCT_FIELDPRESENT_LOCKDETECT_Pos (1UL) /*!< Position of LOCKDETECT field. */
  3700. #define NFCT_FIELDPRESENT_LOCKDETECT_Msk (0x1UL << NFCT_FIELDPRESENT_LOCKDETECT_Pos) /*!< Bit mask of LOCKDETECT field. */
  3701. #define NFCT_FIELDPRESENT_LOCKDETECT_NotLocked (0UL) /*!< Not locked to field */
  3702. #define NFCT_FIELDPRESENT_LOCKDETECT_Locked (1UL) /*!< Locked to field */
  3703. /* Bit 0 : Indicates the presence or not of a valid field. Available only in the activated state. */
  3704. #define NFCT_FIELDPRESENT_FIELDPRESENT_Pos (0UL) /*!< Position of FIELDPRESENT field. */
  3705. #define NFCT_FIELDPRESENT_FIELDPRESENT_Msk (0x1UL << NFCT_FIELDPRESENT_FIELDPRESENT_Pos) /*!< Bit mask of FIELDPRESENT field. */
  3706. #define NFCT_FIELDPRESENT_FIELDPRESENT_NoField (0UL) /*!< No valid field detected */
  3707. #define NFCT_FIELDPRESENT_FIELDPRESENT_FieldPresent (1UL) /*!< Valid field detected */
  3708. /* Register: NFCT_FRAMEDELAYMIN */
  3709. /* Description: Minimum frame delay */
  3710. /* Bits 15..0 : Minimum frame delay in number of 13.56 MHz clocks */
  3711. #define NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Pos (0UL) /*!< Position of FRAMEDELAYMIN field. */
  3712. #define NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Msk (0xFFFFUL << NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Pos) /*!< Bit mask of FRAMEDELAYMIN field. */
  3713. /* Register: NFCT_FRAMEDELAYMAX */
  3714. /* Description: Maximum frame delay */
  3715. /* Bits 15..0 : Maximum frame delay in number of 13.56 MHz clocks */
  3716. #define NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Pos (0UL) /*!< Position of FRAMEDELAYMAX field. */
  3717. #define NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Msk (0xFFFFUL << NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Pos) /*!< Bit mask of FRAMEDELAYMAX field. */
  3718. /* Register: NFCT_FRAMEDELAYMODE */
  3719. /* Description: Configuration register for the Frame Delay Timer */
  3720. /* Bits 1..0 : Configuration register for the Frame Delay Timer */
  3721. #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Pos (0UL) /*!< Position of FRAMEDELAYMODE field. */
  3722. #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Msk (0x3UL << NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Pos) /*!< Bit mask of FRAMEDELAYMODE field. */
  3723. #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_FreeRun (0UL) /*!< Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout. */
  3724. #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Window (1UL) /*!< Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX */
  3725. #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_ExactVal (2UL) /*!< Frame is transmitted exactly at FRAMEDELAYMAX */
  3726. #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_WindowGrid (3UL) /*!< Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX */
  3727. /* Register: NFCT_PACKETPTR */
  3728. /* Description: Packet pointer for TXD and RXD data storage in Data RAM */
  3729. /* Bits 31..0 : Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte aligned RAM address. */
  3730. #define NFCT_PACKETPTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  3731. #define NFCT_PACKETPTR_PTR_Msk (0xFFFFFFFFUL << NFCT_PACKETPTR_PTR_Pos) /*!< Bit mask of PTR field. */
  3732. /* Register: NFCT_MAXLEN */
  3733. /* Description: Size of allocated for TXD and RXD data storage buffer in Data RAM */
  3734. /* Bits 8..0 : Size of allocated for TXD and RXD data storage buffer in Data RAM */
  3735. #define NFCT_MAXLEN_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */
  3736. #define NFCT_MAXLEN_MAXLEN_Msk (0x1FFUL << NFCT_MAXLEN_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */
  3737. /* Register: NFCT_TXD_FRAMECONFIG */
  3738. /* Description: Configuration of outgoing frames */
  3739. /* Bit 4 : CRC mode for outgoing frames */
  3740. #define NFCT_TXD_FRAMECONFIG_CRCMODETX_Pos (4UL) /*!< Position of CRCMODETX field. */
  3741. #define NFCT_TXD_FRAMECONFIG_CRCMODETX_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_CRCMODETX_Pos) /*!< Bit mask of CRCMODETX field. */
  3742. #define NFCT_TXD_FRAMECONFIG_CRCMODETX_NoCRCTX (0UL) /*!< CRC is not added to the frame */
  3743. #define NFCT_TXD_FRAMECONFIG_CRCMODETX_CRC16TX (1UL) /*!< 16 bit CRC added to the frame based on all the data read from RAM that is used in the frame */
  3744. /* Bit 2 : Adding SoF or not in TX frames */
  3745. #define NFCT_TXD_FRAMECONFIG_SOF_Pos (2UL) /*!< Position of SOF field. */
  3746. #define NFCT_TXD_FRAMECONFIG_SOF_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_SOF_Pos) /*!< Bit mask of SOF field. */
  3747. #define NFCT_TXD_FRAMECONFIG_SOF_NoSoF (0UL) /*!< Start of Frame symbol not added */
  3748. #define NFCT_TXD_FRAMECONFIG_SOF_SoF (1UL) /*!< Start of Frame symbol added */
  3749. /* Bit 1 : Discarding unused bits in start or at end of a Frame */
  3750. #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_Pos (1UL) /*!< Position of DISCARDMODE field. */
  3751. #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_DISCARDMODE_Pos) /*!< Bit mask of DISCARDMODE field. */
  3752. #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_DiscardEnd (0UL) /*!< Unused bits is discarded at end of frame */
  3753. #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_DiscardStart (1UL) /*!< Unused bits is discarded at start of frame */
  3754. /* Bit 0 : Adding parity or not in the frame */
  3755. #define NFCT_TXD_FRAMECONFIG_PARITY_Pos (0UL) /*!< Position of PARITY field. */
  3756. #define NFCT_TXD_FRAMECONFIG_PARITY_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
  3757. #define NFCT_TXD_FRAMECONFIG_PARITY_NoParity (0UL) /*!< Parity is not added in TX frames */
  3758. #define NFCT_TXD_FRAMECONFIG_PARITY_Parity (1UL) /*!< Parity is added TX frames */
  3759. /* Register: NFCT_TXD_AMOUNT */
  3760. /* Description: Size of outgoing frame */
  3761. /* Bits 11..3 : Number of complete bytes that shall be included in the frame, excluding CRC, parity and framing */
  3762. #define NFCT_TXD_AMOUNT_TXDATABYTES_Pos (3UL) /*!< Position of TXDATABYTES field. */
  3763. #define NFCT_TXD_AMOUNT_TXDATABYTES_Msk (0x1FFUL << NFCT_TXD_AMOUNT_TXDATABYTES_Pos) /*!< Bit mask of TXDATABYTES field. */
  3764. /* Bits 2..0 : Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit). */
  3765. #define NFCT_TXD_AMOUNT_TXDATABITS_Pos (0UL) /*!< Position of TXDATABITS field. */
  3766. #define NFCT_TXD_AMOUNT_TXDATABITS_Msk (0x7UL << NFCT_TXD_AMOUNT_TXDATABITS_Pos) /*!< Bit mask of TXDATABITS field. */
  3767. /* Register: NFCT_RXD_FRAMECONFIG */
  3768. /* Description: Configuration of incoming frames */
  3769. /* Bit 4 : CRC mode for incoming frames */
  3770. #define NFCT_RXD_FRAMECONFIG_CRCMODERX_Pos (4UL) /*!< Position of CRCMODERX field. */
  3771. #define NFCT_RXD_FRAMECONFIG_CRCMODERX_Msk (0x1UL << NFCT_RXD_FRAMECONFIG_CRCMODERX_Pos) /*!< Bit mask of CRCMODERX field. */
  3772. #define NFCT_RXD_FRAMECONFIG_CRCMODERX_NoCRCRX (0UL) /*!< CRC is not expected in RX frames */
  3773. #define NFCT_RXD_FRAMECONFIG_CRCMODERX_CRC16RX (1UL) /*!< Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated */
  3774. /* Bit 2 : SoF expected or not in RX frames */
  3775. #define NFCT_RXD_FRAMECONFIG_SOF_Pos (2UL) /*!< Position of SOF field. */
  3776. #define NFCT_RXD_FRAMECONFIG_SOF_Msk (0x1UL << NFCT_RXD_FRAMECONFIG_SOF_Pos) /*!< Bit mask of SOF field. */
  3777. #define NFCT_RXD_FRAMECONFIG_SOF_NoSoF (0UL) /*!< Start of Frame symbol is not expected in RX frames */
  3778. #define NFCT_RXD_FRAMECONFIG_SOF_SoF (1UL) /*!< Start of Frame symbol is expected in RX frames */
  3779. /* Bit 0 : Parity expected or not in RX frame */
  3780. #define NFCT_RXD_FRAMECONFIG_PARITY_Pos (0UL) /*!< Position of PARITY field. */
  3781. #define NFCT_RXD_FRAMECONFIG_PARITY_Msk (0x1UL << NFCT_RXD_FRAMECONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
  3782. #define NFCT_RXD_FRAMECONFIG_PARITY_NoParity (0UL) /*!< Parity is not expected in RX frames */
  3783. #define NFCT_RXD_FRAMECONFIG_PARITY_Parity (1UL) /*!< Parity is expected in RX frames */
  3784. /* Register: NFCT_RXD_AMOUNT */
  3785. /* Description: Size of last incoming frame */
  3786. /* Bits 11..3 : Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing) */
  3787. #define NFCT_RXD_AMOUNT_RXDATABYTES_Pos (3UL) /*!< Position of RXDATABYTES field. */
  3788. #define NFCT_RXD_AMOUNT_RXDATABYTES_Msk (0x1FFUL << NFCT_RXD_AMOUNT_RXDATABYTES_Pos) /*!< Bit mask of RXDATABYTES field. */
  3789. /* Bits 2..0 : Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing). */
  3790. #define NFCT_RXD_AMOUNT_RXDATABITS_Pos (0UL) /*!< Position of RXDATABITS field. */
  3791. #define NFCT_RXD_AMOUNT_RXDATABITS_Msk (0x7UL << NFCT_RXD_AMOUNT_RXDATABITS_Pos) /*!< Bit mask of RXDATABITS field. */
  3792. /* Register: NFCT_NFCID1_LAST */
  3793. /* Description: Last NFCID1 part (4, 7 or 10 bytes ID) */
  3794. /* Bits 31..24 : NFCID1 byte W */
  3795. #define NFCT_NFCID1_LAST_NFCID1_W_Pos (24UL) /*!< Position of NFCID1_W field. */
  3796. #define NFCT_NFCID1_LAST_NFCID1_W_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_W_Pos) /*!< Bit mask of NFCID1_W field. */
  3797. /* Bits 23..16 : NFCID1 byte X */
  3798. #define NFCT_NFCID1_LAST_NFCID1_X_Pos (16UL) /*!< Position of NFCID1_X field. */
  3799. #define NFCT_NFCID1_LAST_NFCID1_X_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_X_Pos) /*!< Bit mask of NFCID1_X field. */
  3800. /* Bits 15..8 : NFCID1 byte Y */
  3801. #define NFCT_NFCID1_LAST_NFCID1_Y_Pos (8UL) /*!< Position of NFCID1_Y field. */
  3802. #define NFCT_NFCID1_LAST_NFCID1_Y_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_Y_Pos) /*!< Bit mask of NFCID1_Y field. */
  3803. /* Bits 7..0 : NFCID1 byte Z (very last byte sent) */
  3804. #define NFCT_NFCID1_LAST_NFCID1_Z_Pos (0UL) /*!< Position of NFCID1_Z field. */
  3805. #define NFCT_NFCID1_LAST_NFCID1_Z_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_Z_Pos) /*!< Bit mask of NFCID1_Z field. */
  3806. /* Register: NFCT_NFCID1_2ND_LAST */
  3807. /* Description: Second last NFCID1 part (7 or 10 bytes ID) */
  3808. /* Bits 23..16 : NFCID1 byte T */
  3809. #define NFCT_NFCID1_2ND_LAST_NFCID1_T_Pos (16UL) /*!< Position of NFCID1_T field. */
  3810. #define NFCT_NFCID1_2ND_LAST_NFCID1_T_Msk (0xFFUL << NFCT_NFCID1_2ND_LAST_NFCID1_T_Pos) /*!< Bit mask of NFCID1_T field. */
  3811. /* Bits 15..8 : NFCID1 byte U */
  3812. #define NFCT_NFCID1_2ND_LAST_NFCID1_U_Pos (8UL) /*!< Position of NFCID1_U field. */
  3813. #define NFCT_NFCID1_2ND_LAST_NFCID1_U_Msk (0xFFUL << NFCT_NFCID1_2ND_LAST_NFCID1_U_Pos) /*!< Bit mask of NFCID1_U field. */
  3814. /* Bits 7..0 : NFCID1 byte V */
  3815. #define NFCT_NFCID1_2ND_LAST_NFCID1_V_Pos (0UL) /*!< Position of NFCID1_V field. */
  3816. #define NFCT_NFCID1_2ND_LAST_NFCID1_V_Msk (0xFFUL << NFCT_NFCID1_2ND_LAST_NFCID1_V_Pos) /*!< Bit mask of NFCID1_V field. */
  3817. /* Register: NFCT_NFCID1_3RD_LAST */
  3818. /* Description: Third last NFCID1 part (10 bytes ID) */
  3819. /* Bits 23..16 : NFCID1 byte Q */
  3820. #define NFCT_NFCID1_3RD_LAST_NFCID1_Q_Pos (16UL) /*!< Position of NFCID1_Q field. */
  3821. #define NFCT_NFCID1_3RD_LAST_NFCID1_Q_Msk (0xFFUL << NFCT_NFCID1_3RD_LAST_NFCID1_Q_Pos) /*!< Bit mask of NFCID1_Q field. */
  3822. /* Bits 15..8 : NFCID1 byte R */
  3823. #define NFCT_NFCID1_3RD_LAST_NFCID1_R_Pos (8UL) /*!< Position of NFCID1_R field. */
  3824. #define NFCT_NFCID1_3RD_LAST_NFCID1_R_Msk (0xFFUL << NFCT_NFCID1_3RD_LAST_NFCID1_R_Pos) /*!< Bit mask of NFCID1_R field. */
  3825. /* Bits 7..0 : NFCID1 byte S */
  3826. #define NFCT_NFCID1_3RD_LAST_NFCID1_S_Pos (0UL) /*!< Position of NFCID1_S field. */
  3827. #define NFCT_NFCID1_3RD_LAST_NFCID1_S_Msk (0xFFUL << NFCT_NFCID1_3RD_LAST_NFCID1_S_Pos) /*!< Bit mask of NFCID1_S field. */
  3828. /* Register: NFCT_SENSRES */
  3829. /* Description: NFC-A SENS_RES auto-response settings */
  3830. /* Bits 15..12 : Reserved for future use. Shall be 0. */
  3831. #define NFCT_SENSRES_RFU74_Pos (12UL) /*!< Position of RFU74 field. */
  3832. #define NFCT_SENSRES_RFU74_Msk (0xFUL << NFCT_SENSRES_RFU74_Pos) /*!< Bit mask of RFU74 field. */
  3833. /* Bits 11..8 : Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification */
  3834. #define NFCT_SENSRES_PLATFCONFIG_Pos (8UL) /*!< Position of PLATFCONFIG field. */
  3835. #define NFCT_SENSRES_PLATFCONFIG_Msk (0xFUL << NFCT_SENSRES_PLATFCONFIG_Pos) /*!< Bit mask of PLATFCONFIG field. */
  3836. /* Bits 7..6 : NFCID1 size. This value is used by the Auto collision resolution engine. */
  3837. #define NFCT_SENSRES_NFCIDSIZE_Pos (6UL) /*!< Position of NFCIDSIZE field. */
  3838. #define NFCT_SENSRES_NFCIDSIZE_Msk (0x3UL << NFCT_SENSRES_NFCIDSIZE_Pos) /*!< Bit mask of NFCIDSIZE field. */
  3839. #define NFCT_SENSRES_NFCIDSIZE_NFCID1Single (0UL) /*!< NFCID1 size: single (4 bytes) */
  3840. #define NFCT_SENSRES_NFCIDSIZE_NFCID1Double (1UL) /*!< NFCID1 size: double (7 bytes) */
  3841. #define NFCT_SENSRES_NFCIDSIZE_NFCID1Triple (2UL) /*!< NFCID1 size: triple (10 bytes) */
  3842. /* Bit 5 : Reserved for future use. Shall be 0. */
  3843. #define NFCT_SENSRES_RFU5_Pos (5UL) /*!< Position of RFU5 field. */
  3844. #define NFCT_SENSRES_RFU5_Msk (0x1UL << NFCT_SENSRES_RFU5_Pos) /*!< Bit mask of RFU5 field. */
  3845. /* Bits 4..0 : Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification */
  3846. #define NFCT_SENSRES_BITFRAMESDD_Pos (0UL) /*!< Position of BITFRAMESDD field. */
  3847. #define NFCT_SENSRES_BITFRAMESDD_Msk (0x1FUL << NFCT_SENSRES_BITFRAMESDD_Pos) /*!< Bit mask of BITFRAMESDD field. */
  3848. #define NFCT_SENSRES_BITFRAMESDD_SDD00000 (0UL) /*!< SDD pattern 00000 */
  3849. #define NFCT_SENSRES_BITFRAMESDD_SDD00001 (1UL) /*!< SDD pattern 00001 */
  3850. #define NFCT_SENSRES_BITFRAMESDD_SDD00010 (2UL) /*!< SDD pattern 00010 */
  3851. #define NFCT_SENSRES_BITFRAMESDD_SDD00100 (4UL) /*!< SDD pattern 00100 */
  3852. #define NFCT_SENSRES_BITFRAMESDD_SDD01000 (8UL) /*!< SDD pattern 01000 */
  3853. #define NFCT_SENSRES_BITFRAMESDD_SDD10000 (16UL) /*!< SDD pattern 10000 */
  3854. /* Register: NFCT_SELRES */
  3855. /* Description: NFC-A SEL_RES auto-response settings */
  3856. /* Bit 7 : Reserved for future use. Shall be 0. */
  3857. #define NFCT_SELRES_RFU7_Pos (7UL) /*!< Position of RFU7 field. */
  3858. #define NFCT_SELRES_RFU7_Msk (0x1UL << NFCT_SELRES_RFU7_Pos) /*!< Bit mask of RFU7 field. */
  3859. /* Bits 6..5 : Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification */
  3860. #define NFCT_SELRES_PROTOCOL_Pos (5UL) /*!< Position of PROTOCOL field. */
  3861. #define NFCT_SELRES_PROTOCOL_Msk (0x3UL << NFCT_SELRES_PROTOCOL_Pos) /*!< Bit mask of PROTOCOL field. */
  3862. /* Bits 4..3 : Reserved for future use. Shall be 0. */
  3863. #define NFCT_SELRES_RFU43_Pos (3UL) /*!< Position of RFU43 field. */
  3864. #define NFCT_SELRES_RFU43_Msk (0x3UL << NFCT_SELRES_RFU43_Pos) /*!< Bit mask of RFU43 field. */
  3865. /* Bit 2 : Cascade bit (controlled by hardware, write has no effect) */
  3866. #define NFCT_SELRES_CASCADE_Pos (2UL) /*!< Position of CASCADE field. */
  3867. #define NFCT_SELRES_CASCADE_Msk (0x1UL << NFCT_SELRES_CASCADE_Pos) /*!< Bit mask of CASCADE field. */
  3868. #define NFCT_SELRES_CASCADE_Complete (0UL) /*!< NFCID1 complete */
  3869. #define NFCT_SELRES_CASCADE_NotComplete (1UL) /*!< NFCID1 not complete */
  3870. /* Bits 1..0 : Reserved for future use. Shall be 0. */
  3871. #define NFCT_SELRES_RFU10_Pos (0UL) /*!< Position of RFU10 field. */
  3872. #define NFCT_SELRES_RFU10_Msk (0x3UL << NFCT_SELRES_RFU10_Pos) /*!< Bit mask of RFU10 field. */
  3873. /* Peripheral: NVMC */
  3874. /* Description: Non Volatile Memory Controller */
  3875. /* Register: NVMC_READY */
  3876. /* Description: Ready flag */
  3877. /* Bit 0 : NVMC is ready or busy */
  3878. #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */
  3879. #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */
  3880. #define NVMC_READY_READY_Busy (0UL) /*!< NVMC is busy (on-going write or erase operation) */
  3881. #define NVMC_READY_READY_Ready (1UL) /*!< NVMC is ready */
  3882. /* Register: NVMC_CONFIG */
  3883. /* Description: Configuration register */
  3884. /* Bits 1..0 : Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. Enabling write or erase will invalidate the cache and keep it invalidated. */
  3885. #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */
  3886. #define NVMC_CONFIG_WEN_Msk (0x3UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */
  3887. #define NVMC_CONFIG_WEN_Ren (0UL) /*!< Read only access */
  3888. #define NVMC_CONFIG_WEN_Wen (1UL) /*!< Write Enabled */
  3889. #define NVMC_CONFIG_WEN_Een (2UL) /*!< Erase enabled */
  3890. /* Register: NVMC_ERASEPAGE */
  3891. /* Description: Register for erasing a page in Code area */
  3892. /* Bits 31..0 : Register for starting erase of a page in Code area */
  3893. #define NVMC_ERASEPAGE_ERASEPAGE_Pos (0UL) /*!< Position of ERASEPAGE field. */
  3894. #define NVMC_ERASEPAGE_ERASEPAGE_Msk (0xFFFFFFFFUL << NVMC_ERASEPAGE_ERASEPAGE_Pos) /*!< Bit mask of ERASEPAGE field. */
  3895. /* Register: NVMC_ERASEPCR1 */
  3896. /* Description: Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE. */
  3897. /* Bits 31..0 : Register for erasing a page in Code area. Equivalent to ERASEPAGE. */
  3898. #define NVMC_ERASEPCR1_ERASEPCR1_Pos (0UL) /*!< Position of ERASEPCR1 field. */
  3899. #define NVMC_ERASEPCR1_ERASEPCR1_Msk (0xFFFFFFFFUL << NVMC_ERASEPCR1_ERASEPCR1_Pos) /*!< Bit mask of ERASEPCR1 field. */
  3900. /* Register: NVMC_ERASEALL */
  3901. /* Description: Register for erasing all non-volatile user memory */
  3902. /* Bit 0 : Erase all non-volatile memory including UICR registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased. */
  3903. #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */
  3904. #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */
  3905. #define NVMC_ERASEALL_ERASEALL_NoOperation (0UL) /*!< No operation */
  3906. #define NVMC_ERASEALL_ERASEALL_Erase (1UL) /*!< Start chip erase */
  3907. /* Register: NVMC_ERASEPCR0 */
  3908. /* Description: Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE. */
  3909. /* Bits 31..0 : Register for starting erase of a page in Code area. Equivalent to ERASEPAGE. */
  3910. #define NVMC_ERASEPCR0_ERASEPCR0_Pos (0UL) /*!< Position of ERASEPCR0 field. */
  3911. #define NVMC_ERASEPCR0_ERASEPCR0_Msk (0xFFFFFFFFUL << NVMC_ERASEPCR0_ERASEPCR0_Pos) /*!< Bit mask of ERASEPCR0 field. */
  3912. /* Register: NVMC_ERASEUICR */
  3913. /* Description: Register for erasing User Information Configuration Registers */
  3914. /* Bit 0 : Register starting erase of all User Information Configuration Registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased. */
  3915. #define NVMC_ERASEUICR_ERASEUICR_Pos (0UL) /*!< Position of ERASEUICR field. */
  3916. #define NVMC_ERASEUICR_ERASEUICR_Msk (0x1UL << NVMC_ERASEUICR_ERASEUICR_Pos) /*!< Bit mask of ERASEUICR field. */
  3917. #define NVMC_ERASEUICR_ERASEUICR_NoOperation (0UL) /*!< No operation */
  3918. #define NVMC_ERASEUICR_ERASEUICR_Erase (1UL) /*!< Start erase of UICR */
  3919. /* Register: NVMC_ICACHECNF */
  3920. /* Description: I-Code cache configuration register. */
  3921. /* Bit 8 : Cache profiling enable */
  3922. #define NVMC_ICACHECNF_CACHEPROFEN_Pos (8UL) /*!< Position of CACHEPROFEN field. */
  3923. #define NVMC_ICACHECNF_CACHEPROFEN_Msk (0x1UL << NVMC_ICACHECNF_CACHEPROFEN_Pos) /*!< Bit mask of CACHEPROFEN field. */
  3924. #define NVMC_ICACHECNF_CACHEPROFEN_Disabled (0UL) /*!< Disable cache profiling */
  3925. #define NVMC_ICACHECNF_CACHEPROFEN_Enabled (1UL) /*!< Enable cache profiling */
  3926. /* Bit 0 : Cache enable */
  3927. #define NVMC_ICACHECNF_CACHEEN_Pos (0UL) /*!< Position of CACHEEN field. */
  3928. #define NVMC_ICACHECNF_CACHEEN_Msk (0x1UL << NVMC_ICACHECNF_CACHEEN_Pos) /*!< Bit mask of CACHEEN field. */
  3929. #define NVMC_ICACHECNF_CACHEEN_Disabled (0UL) /*!< Disable cache. Invalidates all cache entries. */
  3930. #define NVMC_ICACHECNF_CACHEEN_Enabled (1UL) /*!< Enable cache */
  3931. /* Register: NVMC_IHIT */
  3932. /* Description: I-Code cache hit counter. */
  3933. /* Bits 31..0 : Number of cache hits */
  3934. #define NVMC_IHIT_HITS_Pos (0UL) /*!< Position of HITS field. */
  3935. #define NVMC_IHIT_HITS_Msk (0xFFFFFFFFUL << NVMC_IHIT_HITS_Pos) /*!< Bit mask of HITS field. */
  3936. /* Register: NVMC_IMISS */
  3937. /* Description: I-Code cache miss counter. */
  3938. /* Bits 31..0 : Number of cache misses */
  3939. #define NVMC_IMISS_MISSES_Pos (0UL) /*!< Position of MISSES field. */
  3940. #define NVMC_IMISS_MISSES_Msk (0xFFFFFFFFUL << NVMC_IMISS_MISSES_Pos) /*!< Bit mask of MISSES field. */
  3941. /* Peripheral: GPIO */
  3942. /* Description: GPIO Port 1 */
  3943. /* Register: GPIO_OUT */
  3944. /* Description: Write GPIO port */
  3945. /* Bit 31 : Pin 31 */
  3946. #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  3947. #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  3948. #define GPIO_OUT_PIN31_Low (0UL) /*!< Pin driver is low */
  3949. #define GPIO_OUT_PIN31_High (1UL) /*!< Pin driver is high */
  3950. /* Bit 30 : Pin 30 */
  3951. #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  3952. #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  3953. #define GPIO_OUT_PIN30_Low (0UL) /*!< Pin driver is low */
  3954. #define GPIO_OUT_PIN30_High (1UL) /*!< Pin driver is high */
  3955. /* Bit 29 : Pin 29 */
  3956. #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  3957. #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  3958. #define GPIO_OUT_PIN29_Low (0UL) /*!< Pin driver is low */
  3959. #define GPIO_OUT_PIN29_High (1UL) /*!< Pin driver is high */
  3960. /* Bit 28 : Pin 28 */
  3961. #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  3962. #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  3963. #define GPIO_OUT_PIN28_Low (0UL) /*!< Pin driver is low */
  3964. #define GPIO_OUT_PIN28_High (1UL) /*!< Pin driver is high */
  3965. /* Bit 27 : Pin 27 */
  3966. #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  3967. #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  3968. #define GPIO_OUT_PIN27_Low (0UL) /*!< Pin driver is low */
  3969. #define GPIO_OUT_PIN27_High (1UL) /*!< Pin driver is high */
  3970. /* Bit 26 : Pin 26 */
  3971. #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  3972. #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  3973. #define GPIO_OUT_PIN26_Low (0UL) /*!< Pin driver is low */
  3974. #define GPIO_OUT_PIN26_High (1UL) /*!< Pin driver is high */
  3975. /* Bit 25 : Pin 25 */
  3976. #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  3977. #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  3978. #define GPIO_OUT_PIN25_Low (0UL) /*!< Pin driver is low */
  3979. #define GPIO_OUT_PIN25_High (1UL) /*!< Pin driver is high */
  3980. /* Bit 24 : Pin 24 */
  3981. #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  3982. #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  3983. #define GPIO_OUT_PIN24_Low (0UL) /*!< Pin driver is low */
  3984. #define GPIO_OUT_PIN24_High (1UL) /*!< Pin driver is high */
  3985. /* Bit 23 : Pin 23 */
  3986. #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  3987. #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  3988. #define GPIO_OUT_PIN23_Low (0UL) /*!< Pin driver is low */
  3989. #define GPIO_OUT_PIN23_High (1UL) /*!< Pin driver is high */
  3990. /* Bit 22 : Pin 22 */
  3991. #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  3992. #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  3993. #define GPIO_OUT_PIN22_Low (0UL) /*!< Pin driver is low */
  3994. #define GPIO_OUT_PIN22_High (1UL) /*!< Pin driver is high */
  3995. /* Bit 21 : Pin 21 */
  3996. #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  3997. #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  3998. #define GPIO_OUT_PIN21_Low (0UL) /*!< Pin driver is low */
  3999. #define GPIO_OUT_PIN21_High (1UL) /*!< Pin driver is high */
  4000. /* Bit 20 : Pin 20 */
  4001. #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  4002. #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  4003. #define GPIO_OUT_PIN20_Low (0UL) /*!< Pin driver is low */
  4004. #define GPIO_OUT_PIN20_High (1UL) /*!< Pin driver is high */
  4005. /* Bit 19 : Pin 19 */
  4006. #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  4007. #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  4008. #define GPIO_OUT_PIN19_Low (0UL) /*!< Pin driver is low */
  4009. #define GPIO_OUT_PIN19_High (1UL) /*!< Pin driver is high */
  4010. /* Bit 18 : Pin 18 */
  4011. #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  4012. #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  4013. #define GPIO_OUT_PIN18_Low (0UL) /*!< Pin driver is low */
  4014. #define GPIO_OUT_PIN18_High (1UL) /*!< Pin driver is high */
  4015. /* Bit 17 : Pin 17 */
  4016. #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  4017. #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  4018. #define GPIO_OUT_PIN17_Low (0UL) /*!< Pin driver is low */
  4019. #define GPIO_OUT_PIN17_High (1UL) /*!< Pin driver is high */
  4020. /* Bit 16 : Pin 16 */
  4021. #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  4022. #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  4023. #define GPIO_OUT_PIN16_Low (0UL) /*!< Pin driver is low */
  4024. #define GPIO_OUT_PIN16_High (1UL) /*!< Pin driver is high */
  4025. /* Bit 15 : Pin 15 */
  4026. #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  4027. #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  4028. #define GPIO_OUT_PIN15_Low (0UL) /*!< Pin driver is low */
  4029. #define GPIO_OUT_PIN15_High (1UL) /*!< Pin driver is high */
  4030. /* Bit 14 : Pin 14 */
  4031. #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  4032. #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  4033. #define GPIO_OUT_PIN14_Low (0UL) /*!< Pin driver is low */
  4034. #define GPIO_OUT_PIN14_High (1UL) /*!< Pin driver is high */
  4035. /* Bit 13 : Pin 13 */
  4036. #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  4037. #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  4038. #define GPIO_OUT_PIN13_Low (0UL) /*!< Pin driver is low */
  4039. #define GPIO_OUT_PIN13_High (1UL) /*!< Pin driver is high */
  4040. /* Bit 12 : Pin 12 */
  4041. #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  4042. #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  4043. #define GPIO_OUT_PIN12_Low (0UL) /*!< Pin driver is low */
  4044. #define GPIO_OUT_PIN12_High (1UL) /*!< Pin driver is high */
  4045. /* Bit 11 : Pin 11 */
  4046. #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  4047. #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  4048. #define GPIO_OUT_PIN11_Low (0UL) /*!< Pin driver is low */
  4049. #define GPIO_OUT_PIN11_High (1UL) /*!< Pin driver is high */
  4050. /* Bit 10 : Pin 10 */
  4051. #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  4052. #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  4053. #define GPIO_OUT_PIN10_Low (0UL) /*!< Pin driver is low */
  4054. #define GPIO_OUT_PIN10_High (1UL) /*!< Pin driver is high */
  4055. /* Bit 9 : Pin 9 */
  4056. #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  4057. #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  4058. #define GPIO_OUT_PIN9_Low (0UL) /*!< Pin driver is low */
  4059. #define GPIO_OUT_PIN9_High (1UL) /*!< Pin driver is high */
  4060. /* Bit 8 : Pin 8 */
  4061. #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  4062. #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  4063. #define GPIO_OUT_PIN8_Low (0UL) /*!< Pin driver is low */
  4064. #define GPIO_OUT_PIN8_High (1UL) /*!< Pin driver is high */
  4065. /* Bit 7 : Pin 7 */
  4066. #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  4067. #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  4068. #define GPIO_OUT_PIN7_Low (0UL) /*!< Pin driver is low */
  4069. #define GPIO_OUT_PIN7_High (1UL) /*!< Pin driver is high */
  4070. /* Bit 6 : Pin 6 */
  4071. #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  4072. #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  4073. #define GPIO_OUT_PIN6_Low (0UL) /*!< Pin driver is low */
  4074. #define GPIO_OUT_PIN6_High (1UL) /*!< Pin driver is high */
  4075. /* Bit 5 : Pin 5 */
  4076. #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  4077. #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  4078. #define GPIO_OUT_PIN5_Low (0UL) /*!< Pin driver is low */
  4079. #define GPIO_OUT_PIN5_High (1UL) /*!< Pin driver is high */
  4080. /* Bit 4 : Pin 4 */
  4081. #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  4082. #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  4083. #define GPIO_OUT_PIN4_Low (0UL) /*!< Pin driver is low */
  4084. #define GPIO_OUT_PIN4_High (1UL) /*!< Pin driver is high */
  4085. /* Bit 3 : Pin 3 */
  4086. #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  4087. #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  4088. #define GPIO_OUT_PIN3_Low (0UL) /*!< Pin driver is low */
  4089. #define GPIO_OUT_PIN3_High (1UL) /*!< Pin driver is high */
  4090. /* Bit 2 : Pin 2 */
  4091. #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  4092. #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  4093. #define GPIO_OUT_PIN2_Low (0UL) /*!< Pin driver is low */
  4094. #define GPIO_OUT_PIN2_High (1UL) /*!< Pin driver is high */
  4095. /* Bit 1 : Pin 1 */
  4096. #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  4097. #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  4098. #define GPIO_OUT_PIN1_Low (0UL) /*!< Pin driver is low */
  4099. #define GPIO_OUT_PIN1_High (1UL) /*!< Pin driver is high */
  4100. /* Bit 0 : Pin 0 */
  4101. #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  4102. #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  4103. #define GPIO_OUT_PIN0_Low (0UL) /*!< Pin driver is low */
  4104. #define GPIO_OUT_PIN0_High (1UL) /*!< Pin driver is high */
  4105. /* Register: GPIO_OUTSET */
  4106. /* Description: Set individual bits in GPIO port */
  4107. /* Bit 31 : Pin 31 */
  4108. #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  4109. #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  4110. #define GPIO_OUTSET_PIN31_Low (0UL) /*!< Read: pin driver is low */
  4111. #define GPIO_OUTSET_PIN31_High (1UL) /*!< Read: pin driver is high */
  4112. #define GPIO_OUTSET_PIN31_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4113. /* Bit 30 : Pin 30 */
  4114. #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  4115. #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  4116. #define GPIO_OUTSET_PIN30_Low (0UL) /*!< Read: pin driver is low */
  4117. #define GPIO_OUTSET_PIN30_High (1UL) /*!< Read: pin driver is high */
  4118. #define GPIO_OUTSET_PIN30_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4119. /* Bit 29 : Pin 29 */
  4120. #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  4121. #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  4122. #define GPIO_OUTSET_PIN29_Low (0UL) /*!< Read: pin driver is low */
  4123. #define GPIO_OUTSET_PIN29_High (1UL) /*!< Read: pin driver is high */
  4124. #define GPIO_OUTSET_PIN29_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4125. /* Bit 28 : Pin 28 */
  4126. #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  4127. #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  4128. #define GPIO_OUTSET_PIN28_Low (0UL) /*!< Read: pin driver is low */
  4129. #define GPIO_OUTSET_PIN28_High (1UL) /*!< Read: pin driver is high */
  4130. #define GPIO_OUTSET_PIN28_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4131. /* Bit 27 : Pin 27 */
  4132. #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  4133. #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  4134. #define GPIO_OUTSET_PIN27_Low (0UL) /*!< Read: pin driver is low */
  4135. #define GPIO_OUTSET_PIN27_High (1UL) /*!< Read: pin driver is high */
  4136. #define GPIO_OUTSET_PIN27_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4137. /* Bit 26 : Pin 26 */
  4138. #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  4139. #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  4140. #define GPIO_OUTSET_PIN26_Low (0UL) /*!< Read: pin driver is low */
  4141. #define GPIO_OUTSET_PIN26_High (1UL) /*!< Read: pin driver is high */
  4142. #define GPIO_OUTSET_PIN26_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4143. /* Bit 25 : Pin 25 */
  4144. #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  4145. #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  4146. #define GPIO_OUTSET_PIN25_Low (0UL) /*!< Read: pin driver is low */
  4147. #define GPIO_OUTSET_PIN25_High (1UL) /*!< Read: pin driver is high */
  4148. #define GPIO_OUTSET_PIN25_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4149. /* Bit 24 : Pin 24 */
  4150. #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  4151. #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  4152. #define GPIO_OUTSET_PIN24_Low (0UL) /*!< Read: pin driver is low */
  4153. #define GPIO_OUTSET_PIN24_High (1UL) /*!< Read: pin driver is high */
  4154. #define GPIO_OUTSET_PIN24_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4155. /* Bit 23 : Pin 23 */
  4156. #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  4157. #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  4158. #define GPIO_OUTSET_PIN23_Low (0UL) /*!< Read: pin driver is low */
  4159. #define GPIO_OUTSET_PIN23_High (1UL) /*!< Read: pin driver is high */
  4160. #define GPIO_OUTSET_PIN23_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4161. /* Bit 22 : Pin 22 */
  4162. #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  4163. #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  4164. #define GPIO_OUTSET_PIN22_Low (0UL) /*!< Read: pin driver is low */
  4165. #define GPIO_OUTSET_PIN22_High (1UL) /*!< Read: pin driver is high */
  4166. #define GPIO_OUTSET_PIN22_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4167. /* Bit 21 : Pin 21 */
  4168. #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  4169. #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  4170. #define GPIO_OUTSET_PIN21_Low (0UL) /*!< Read: pin driver is low */
  4171. #define GPIO_OUTSET_PIN21_High (1UL) /*!< Read: pin driver is high */
  4172. #define GPIO_OUTSET_PIN21_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4173. /* Bit 20 : Pin 20 */
  4174. #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  4175. #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  4176. #define GPIO_OUTSET_PIN20_Low (0UL) /*!< Read: pin driver is low */
  4177. #define GPIO_OUTSET_PIN20_High (1UL) /*!< Read: pin driver is high */
  4178. #define GPIO_OUTSET_PIN20_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4179. /* Bit 19 : Pin 19 */
  4180. #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  4181. #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  4182. #define GPIO_OUTSET_PIN19_Low (0UL) /*!< Read: pin driver is low */
  4183. #define GPIO_OUTSET_PIN19_High (1UL) /*!< Read: pin driver is high */
  4184. #define GPIO_OUTSET_PIN19_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4185. /* Bit 18 : Pin 18 */
  4186. #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  4187. #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  4188. #define GPIO_OUTSET_PIN18_Low (0UL) /*!< Read: pin driver is low */
  4189. #define GPIO_OUTSET_PIN18_High (1UL) /*!< Read: pin driver is high */
  4190. #define GPIO_OUTSET_PIN18_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4191. /* Bit 17 : Pin 17 */
  4192. #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  4193. #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  4194. #define GPIO_OUTSET_PIN17_Low (0UL) /*!< Read: pin driver is low */
  4195. #define GPIO_OUTSET_PIN17_High (1UL) /*!< Read: pin driver is high */
  4196. #define GPIO_OUTSET_PIN17_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4197. /* Bit 16 : Pin 16 */
  4198. #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  4199. #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  4200. #define GPIO_OUTSET_PIN16_Low (0UL) /*!< Read: pin driver is low */
  4201. #define GPIO_OUTSET_PIN16_High (1UL) /*!< Read: pin driver is high */
  4202. #define GPIO_OUTSET_PIN16_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4203. /* Bit 15 : Pin 15 */
  4204. #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  4205. #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  4206. #define GPIO_OUTSET_PIN15_Low (0UL) /*!< Read: pin driver is low */
  4207. #define GPIO_OUTSET_PIN15_High (1UL) /*!< Read: pin driver is high */
  4208. #define GPIO_OUTSET_PIN15_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4209. /* Bit 14 : Pin 14 */
  4210. #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  4211. #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  4212. #define GPIO_OUTSET_PIN14_Low (0UL) /*!< Read: pin driver is low */
  4213. #define GPIO_OUTSET_PIN14_High (1UL) /*!< Read: pin driver is high */
  4214. #define GPIO_OUTSET_PIN14_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4215. /* Bit 13 : Pin 13 */
  4216. #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  4217. #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  4218. #define GPIO_OUTSET_PIN13_Low (0UL) /*!< Read: pin driver is low */
  4219. #define GPIO_OUTSET_PIN13_High (1UL) /*!< Read: pin driver is high */
  4220. #define GPIO_OUTSET_PIN13_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4221. /* Bit 12 : Pin 12 */
  4222. #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  4223. #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  4224. #define GPIO_OUTSET_PIN12_Low (0UL) /*!< Read: pin driver is low */
  4225. #define GPIO_OUTSET_PIN12_High (1UL) /*!< Read: pin driver is high */
  4226. #define GPIO_OUTSET_PIN12_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4227. /* Bit 11 : Pin 11 */
  4228. #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  4229. #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  4230. #define GPIO_OUTSET_PIN11_Low (0UL) /*!< Read: pin driver is low */
  4231. #define GPIO_OUTSET_PIN11_High (1UL) /*!< Read: pin driver is high */
  4232. #define GPIO_OUTSET_PIN11_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4233. /* Bit 10 : Pin 10 */
  4234. #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  4235. #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  4236. #define GPIO_OUTSET_PIN10_Low (0UL) /*!< Read: pin driver is low */
  4237. #define GPIO_OUTSET_PIN10_High (1UL) /*!< Read: pin driver is high */
  4238. #define GPIO_OUTSET_PIN10_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4239. /* Bit 9 : Pin 9 */
  4240. #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  4241. #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  4242. #define GPIO_OUTSET_PIN9_Low (0UL) /*!< Read: pin driver is low */
  4243. #define GPIO_OUTSET_PIN9_High (1UL) /*!< Read: pin driver is high */
  4244. #define GPIO_OUTSET_PIN9_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4245. /* Bit 8 : Pin 8 */
  4246. #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  4247. #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  4248. #define GPIO_OUTSET_PIN8_Low (0UL) /*!< Read: pin driver is low */
  4249. #define GPIO_OUTSET_PIN8_High (1UL) /*!< Read: pin driver is high */
  4250. #define GPIO_OUTSET_PIN8_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4251. /* Bit 7 : Pin 7 */
  4252. #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  4253. #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  4254. #define GPIO_OUTSET_PIN7_Low (0UL) /*!< Read: pin driver is low */
  4255. #define GPIO_OUTSET_PIN7_High (1UL) /*!< Read: pin driver is high */
  4256. #define GPIO_OUTSET_PIN7_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4257. /* Bit 6 : Pin 6 */
  4258. #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  4259. #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  4260. #define GPIO_OUTSET_PIN6_Low (0UL) /*!< Read: pin driver is low */
  4261. #define GPIO_OUTSET_PIN6_High (1UL) /*!< Read: pin driver is high */
  4262. #define GPIO_OUTSET_PIN6_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4263. /* Bit 5 : Pin 5 */
  4264. #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  4265. #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  4266. #define GPIO_OUTSET_PIN5_Low (0UL) /*!< Read: pin driver is low */
  4267. #define GPIO_OUTSET_PIN5_High (1UL) /*!< Read: pin driver is high */
  4268. #define GPIO_OUTSET_PIN5_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4269. /* Bit 4 : Pin 4 */
  4270. #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  4271. #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  4272. #define GPIO_OUTSET_PIN4_Low (0UL) /*!< Read: pin driver is low */
  4273. #define GPIO_OUTSET_PIN4_High (1UL) /*!< Read: pin driver is high */
  4274. #define GPIO_OUTSET_PIN4_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4275. /* Bit 3 : Pin 3 */
  4276. #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  4277. #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  4278. #define GPIO_OUTSET_PIN3_Low (0UL) /*!< Read: pin driver is low */
  4279. #define GPIO_OUTSET_PIN3_High (1UL) /*!< Read: pin driver is high */
  4280. #define GPIO_OUTSET_PIN3_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4281. /* Bit 2 : Pin 2 */
  4282. #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  4283. #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  4284. #define GPIO_OUTSET_PIN2_Low (0UL) /*!< Read: pin driver is low */
  4285. #define GPIO_OUTSET_PIN2_High (1UL) /*!< Read: pin driver is high */
  4286. #define GPIO_OUTSET_PIN2_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4287. /* Bit 1 : Pin 1 */
  4288. #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  4289. #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  4290. #define GPIO_OUTSET_PIN1_Low (0UL) /*!< Read: pin driver is low */
  4291. #define GPIO_OUTSET_PIN1_High (1UL) /*!< Read: pin driver is high */
  4292. #define GPIO_OUTSET_PIN1_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4293. /* Bit 0 : Pin 0 */
  4294. #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  4295. #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  4296. #define GPIO_OUTSET_PIN0_Low (0UL) /*!< Read: pin driver is low */
  4297. #define GPIO_OUTSET_PIN0_High (1UL) /*!< Read: pin driver is high */
  4298. #define GPIO_OUTSET_PIN0_Set (1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */
  4299. /* Register: GPIO_OUTCLR */
  4300. /* Description: Clear individual bits in GPIO port */
  4301. /* Bit 31 : Pin 31 */
  4302. #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  4303. #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  4304. #define GPIO_OUTCLR_PIN31_Low (0UL) /*!< Read: pin driver is low */
  4305. #define GPIO_OUTCLR_PIN31_High (1UL) /*!< Read: pin driver is high */
  4306. #define GPIO_OUTCLR_PIN31_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4307. /* Bit 30 : Pin 30 */
  4308. #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  4309. #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  4310. #define GPIO_OUTCLR_PIN30_Low (0UL) /*!< Read: pin driver is low */
  4311. #define GPIO_OUTCLR_PIN30_High (1UL) /*!< Read: pin driver is high */
  4312. #define GPIO_OUTCLR_PIN30_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4313. /* Bit 29 : Pin 29 */
  4314. #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  4315. #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  4316. #define GPIO_OUTCLR_PIN29_Low (0UL) /*!< Read: pin driver is low */
  4317. #define GPIO_OUTCLR_PIN29_High (1UL) /*!< Read: pin driver is high */
  4318. #define GPIO_OUTCLR_PIN29_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4319. /* Bit 28 : Pin 28 */
  4320. #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  4321. #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  4322. #define GPIO_OUTCLR_PIN28_Low (0UL) /*!< Read: pin driver is low */
  4323. #define GPIO_OUTCLR_PIN28_High (1UL) /*!< Read: pin driver is high */
  4324. #define GPIO_OUTCLR_PIN28_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4325. /* Bit 27 : Pin 27 */
  4326. #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  4327. #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  4328. #define GPIO_OUTCLR_PIN27_Low (0UL) /*!< Read: pin driver is low */
  4329. #define GPIO_OUTCLR_PIN27_High (1UL) /*!< Read: pin driver is high */
  4330. #define GPIO_OUTCLR_PIN27_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4331. /* Bit 26 : Pin 26 */
  4332. #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  4333. #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  4334. #define GPIO_OUTCLR_PIN26_Low (0UL) /*!< Read: pin driver is low */
  4335. #define GPIO_OUTCLR_PIN26_High (1UL) /*!< Read: pin driver is high */
  4336. #define GPIO_OUTCLR_PIN26_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4337. /* Bit 25 : Pin 25 */
  4338. #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  4339. #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  4340. #define GPIO_OUTCLR_PIN25_Low (0UL) /*!< Read: pin driver is low */
  4341. #define GPIO_OUTCLR_PIN25_High (1UL) /*!< Read: pin driver is high */
  4342. #define GPIO_OUTCLR_PIN25_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4343. /* Bit 24 : Pin 24 */
  4344. #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  4345. #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  4346. #define GPIO_OUTCLR_PIN24_Low (0UL) /*!< Read: pin driver is low */
  4347. #define GPIO_OUTCLR_PIN24_High (1UL) /*!< Read: pin driver is high */
  4348. #define GPIO_OUTCLR_PIN24_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4349. /* Bit 23 : Pin 23 */
  4350. #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  4351. #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  4352. #define GPIO_OUTCLR_PIN23_Low (0UL) /*!< Read: pin driver is low */
  4353. #define GPIO_OUTCLR_PIN23_High (1UL) /*!< Read: pin driver is high */
  4354. #define GPIO_OUTCLR_PIN23_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4355. /* Bit 22 : Pin 22 */
  4356. #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  4357. #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  4358. #define GPIO_OUTCLR_PIN22_Low (0UL) /*!< Read: pin driver is low */
  4359. #define GPIO_OUTCLR_PIN22_High (1UL) /*!< Read: pin driver is high */
  4360. #define GPIO_OUTCLR_PIN22_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4361. /* Bit 21 : Pin 21 */
  4362. #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  4363. #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  4364. #define GPIO_OUTCLR_PIN21_Low (0UL) /*!< Read: pin driver is low */
  4365. #define GPIO_OUTCLR_PIN21_High (1UL) /*!< Read: pin driver is high */
  4366. #define GPIO_OUTCLR_PIN21_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4367. /* Bit 20 : Pin 20 */
  4368. #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  4369. #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  4370. #define GPIO_OUTCLR_PIN20_Low (0UL) /*!< Read: pin driver is low */
  4371. #define GPIO_OUTCLR_PIN20_High (1UL) /*!< Read: pin driver is high */
  4372. #define GPIO_OUTCLR_PIN20_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4373. /* Bit 19 : Pin 19 */
  4374. #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  4375. #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  4376. #define GPIO_OUTCLR_PIN19_Low (0UL) /*!< Read: pin driver is low */
  4377. #define GPIO_OUTCLR_PIN19_High (1UL) /*!< Read: pin driver is high */
  4378. #define GPIO_OUTCLR_PIN19_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4379. /* Bit 18 : Pin 18 */
  4380. #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  4381. #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  4382. #define GPIO_OUTCLR_PIN18_Low (0UL) /*!< Read: pin driver is low */
  4383. #define GPIO_OUTCLR_PIN18_High (1UL) /*!< Read: pin driver is high */
  4384. #define GPIO_OUTCLR_PIN18_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4385. /* Bit 17 : Pin 17 */
  4386. #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  4387. #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  4388. #define GPIO_OUTCLR_PIN17_Low (0UL) /*!< Read: pin driver is low */
  4389. #define GPIO_OUTCLR_PIN17_High (1UL) /*!< Read: pin driver is high */
  4390. #define GPIO_OUTCLR_PIN17_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4391. /* Bit 16 : Pin 16 */
  4392. #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  4393. #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  4394. #define GPIO_OUTCLR_PIN16_Low (0UL) /*!< Read: pin driver is low */
  4395. #define GPIO_OUTCLR_PIN16_High (1UL) /*!< Read: pin driver is high */
  4396. #define GPIO_OUTCLR_PIN16_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4397. /* Bit 15 : Pin 15 */
  4398. #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  4399. #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  4400. #define GPIO_OUTCLR_PIN15_Low (0UL) /*!< Read: pin driver is low */
  4401. #define GPIO_OUTCLR_PIN15_High (1UL) /*!< Read: pin driver is high */
  4402. #define GPIO_OUTCLR_PIN15_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4403. /* Bit 14 : Pin 14 */
  4404. #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  4405. #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  4406. #define GPIO_OUTCLR_PIN14_Low (0UL) /*!< Read: pin driver is low */
  4407. #define GPIO_OUTCLR_PIN14_High (1UL) /*!< Read: pin driver is high */
  4408. #define GPIO_OUTCLR_PIN14_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4409. /* Bit 13 : Pin 13 */
  4410. #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  4411. #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  4412. #define GPIO_OUTCLR_PIN13_Low (0UL) /*!< Read: pin driver is low */
  4413. #define GPIO_OUTCLR_PIN13_High (1UL) /*!< Read: pin driver is high */
  4414. #define GPIO_OUTCLR_PIN13_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4415. /* Bit 12 : Pin 12 */
  4416. #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  4417. #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  4418. #define GPIO_OUTCLR_PIN12_Low (0UL) /*!< Read: pin driver is low */
  4419. #define GPIO_OUTCLR_PIN12_High (1UL) /*!< Read: pin driver is high */
  4420. #define GPIO_OUTCLR_PIN12_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4421. /* Bit 11 : Pin 11 */
  4422. #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  4423. #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  4424. #define GPIO_OUTCLR_PIN11_Low (0UL) /*!< Read: pin driver is low */
  4425. #define GPIO_OUTCLR_PIN11_High (1UL) /*!< Read: pin driver is high */
  4426. #define GPIO_OUTCLR_PIN11_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4427. /* Bit 10 : Pin 10 */
  4428. #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  4429. #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  4430. #define GPIO_OUTCLR_PIN10_Low (0UL) /*!< Read: pin driver is low */
  4431. #define GPIO_OUTCLR_PIN10_High (1UL) /*!< Read: pin driver is high */
  4432. #define GPIO_OUTCLR_PIN10_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4433. /* Bit 9 : Pin 9 */
  4434. #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  4435. #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  4436. #define GPIO_OUTCLR_PIN9_Low (0UL) /*!< Read: pin driver is low */
  4437. #define GPIO_OUTCLR_PIN9_High (1UL) /*!< Read: pin driver is high */
  4438. #define GPIO_OUTCLR_PIN9_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4439. /* Bit 8 : Pin 8 */
  4440. #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  4441. #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  4442. #define GPIO_OUTCLR_PIN8_Low (0UL) /*!< Read: pin driver is low */
  4443. #define GPIO_OUTCLR_PIN8_High (1UL) /*!< Read: pin driver is high */
  4444. #define GPIO_OUTCLR_PIN8_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4445. /* Bit 7 : Pin 7 */
  4446. #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  4447. #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  4448. #define GPIO_OUTCLR_PIN7_Low (0UL) /*!< Read: pin driver is low */
  4449. #define GPIO_OUTCLR_PIN7_High (1UL) /*!< Read: pin driver is high */
  4450. #define GPIO_OUTCLR_PIN7_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4451. /* Bit 6 : Pin 6 */
  4452. #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  4453. #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  4454. #define GPIO_OUTCLR_PIN6_Low (0UL) /*!< Read: pin driver is low */
  4455. #define GPIO_OUTCLR_PIN6_High (1UL) /*!< Read: pin driver is high */
  4456. #define GPIO_OUTCLR_PIN6_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4457. /* Bit 5 : Pin 5 */
  4458. #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  4459. #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  4460. #define GPIO_OUTCLR_PIN5_Low (0UL) /*!< Read: pin driver is low */
  4461. #define GPIO_OUTCLR_PIN5_High (1UL) /*!< Read: pin driver is high */
  4462. #define GPIO_OUTCLR_PIN5_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4463. /* Bit 4 : Pin 4 */
  4464. #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  4465. #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  4466. #define GPIO_OUTCLR_PIN4_Low (0UL) /*!< Read: pin driver is low */
  4467. #define GPIO_OUTCLR_PIN4_High (1UL) /*!< Read: pin driver is high */
  4468. #define GPIO_OUTCLR_PIN4_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4469. /* Bit 3 : Pin 3 */
  4470. #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  4471. #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  4472. #define GPIO_OUTCLR_PIN3_Low (0UL) /*!< Read: pin driver is low */
  4473. #define GPIO_OUTCLR_PIN3_High (1UL) /*!< Read: pin driver is high */
  4474. #define GPIO_OUTCLR_PIN3_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4475. /* Bit 2 : Pin 2 */
  4476. #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  4477. #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  4478. #define GPIO_OUTCLR_PIN2_Low (0UL) /*!< Read: pin driver is low */
  4479. #define GPIO_OUTCLR_PIN2_High (1UL) /*!< Read: pin driver is high */
  4480. #define GPIO_OUTCLR_PIN2_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4481. /* Bit 1 : Pin 1 */
  4482. #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  4483. #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  4484. #define GPIO_OUTCLR_PIN1_Low (0UL) /*!< Read: pin driver is low */
  4485. #define GPIO_OUTCLR_PIN1_High (1UL) /*!< Read: pin driver is high */
  4486. #define GPIO_OUTCLR_PIN1_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4487. /* Bit 0 : Pin 0 */
  4488. #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  4489. #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  4490. #define GPIO_OUTCLR_PIN0_Low (0UL) /*!< Read: pin driver is low */
  4491. #define GPIO_OUTCLR_PIN0_High (1UL) /*!< Read: pin driver is high */
  4492. #define GPIO_OUTCLR_PIN0_Clear (1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */
  4493. /* Register: GPIO_IN */
  4494. /* Description: Read GPIO port */
  4495. /* Bit 31 : Pin 31 */
  4496. #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  4497. #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  4498. #define GPIO_IN_PIN31_Low (0UL) /*!< Pin input is low */
  4499. #define GPIO_IN_PIN31_High (1UL) /*!< Pin input is high */
  4500. /* Bit 30 : Pin 30 */
  4501. #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  4502. #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  4503. #define GPIO_IN_PIN30_Low (0UL) /*!< Pin input is low */
  4504. #define GPIO_IN_PIN30_High (1UL) /*!< Pin input is high */
  4505. /* Bit 29 : Pin 29 */
  4506. #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  4507. #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  4508. #define GPIO_IN_PIN29_Low (0UL) /*!< Pin input is low */
  4509. #define GPIO_IN_PIN29_High (1UL) /*!< Pin input is high */
  4510. /* Bit 28 : Pin 28 */
  4511. #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  4512. #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  4513. #define GPIO_IN_PIN28_Low (0UL) /*!< Pin input is low */
  4514. #define GPIO_IN_PIN28_High (1UL) /*!< Pin input is high */
  4515. /* Bit 27 : Pin 27 */
  4516. #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  4517. #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  4518. #define GPIO_IN_PIN27_Low (0UL) /*!< Pin input is low */
  4519. #define GPIO_IN_PIN27_High (1UL) /*!< Pin input is high */
  4520. /* Bit 26 : Pin 26 */
  4521. #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  4522. #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  4523. #define GPIO_IN_PIN26_Low (0UL) /*!< Pin input is low */
  4524. #define GPIO_IN_PIN26_High (1UL) /*!< Pin input is high */
  4525. /* Bit 25 : Pin 25 */
  4526. #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  4527. #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  4528. #define GPIO_IN_PIN25_Low (0UL) /*!< Pin input is low */
  4529. #define GPIO_IN_PIN25_High (1UL) /*!< Pin input is high */
  4530. /* Bit 24 : Pin 24 */
  4531. #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  4532. #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  4533. #define GPIO_IN_PIN24_Low (0UL) /*!< Pin input is low */
  4534. #define GPIO_IN_PIN24_High (1UL) /*!< Pin input is high */
  4535. /* Bit 23 : Pin 23 */
  4536. #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  4537. #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  4538. #define GPIO_IN_PIN23_Low (0UL) /*!< Pin input is low */
  4539. #define GPIO_IN_PIN23_High (1UL) /*!< Pin input is high */
  4540. /* Bit 22 : Pin 22 */
  4541. #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  4542. #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  4543. #define GPIO_IN_PIN22_Low (0UL) /*!< Pin input is low */
  4544. #define GPIO_IN_PIN22_High (1UL) /*!< Pin input is high */
  4545. /* Bit 21 : Pin 21 */
  4546. #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  4547. #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  4548. #define GPIO_IN_PIN21_Low (0UL) /*!< Pin input is low */
  4549. #define GPIO_IN_PIN21_High (1UL) /*!< Pin input is high */
  4550. /* Bit 20 : Pin 20 */
  4551. #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  4552. #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  4553. #define GPIO_IN_PIN20_Low (0UL) /*!< Pin input is low */
  4554. #define GPIO_IN_PIN20_High (1UL) /*!< Pin input is high */
  4555. /* Bit 19 : Pin 19 */
  4556. #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  4557. #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  4558. #define GPIO_IN_PIN19_Low (0UL) /*!< Pin input is low */
  4559. #define GPIO_IN_PIN19_High (1UL) /*!< Pin input is high */
  4560. /* Bit 18 : Pin 18 */
  4561. #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  4562. #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  4563. #define GPIO_IN_PIN18_Low (0UL) /*!< Pin input is low */
  4564. #define GPIO_IN_PIN18_High (1UL) /*!< Pin input is high */
  4565. /* Bit 17 : Pin 17 */
  4566. #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  4567. #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  4568. #define GPIO_IN_PIN17_Low (0UL) /*!< Pin input is low */
  4569. #define GPIO_IN_PIN17_High (1UL) /*!< Pin input is high */
  4570. /* Bit 16 : Pin 16 */
  4571. #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  4572. #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  4573. #define GPIO_IN_PIN16_Low (0UL) /*!< Pin input is low */
  4574. #define GPIO_IN_PIN16_High (1UL) /*!< Pin input is high */
  4575. /* Bit 15 : Pin 15 */
  4576. #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  4577. #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  4578. #define GPIO_IN_PIN15_Low (0UL) /*!< Pin input is low */
  4579. #define GPIO_IN_PIN15_High (1UL) /*!< Pin input is high */
  4580. /* Bit 14 : Pin 14 */
  4581. #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  4582. #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  4583. #define GPIO_IN_PIN14_Low (0UL) /*!< Pin input is low */
  4584. #define GPIO_IN_PIN14_High (1UL) /*!< Pin input is high */
  4585. /* Bit 13 : Pin 13 */
  4586. #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  4587. #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  4588. #define GPIO_IN_PIN13_Low (0UL) /*!< Pin input is low */
  4589. #define GPIO_IN_PIN13_High (1UL) /*!< Pin input is high */
  4590. /* Bit 12 : Pin 12 */
  4591. #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  4592. #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  4593. #define GPIO_IN_PIN12_Low (0UL) /*!< Pin input is low */
  4594. #define GPIO_IN_PIN12_High (1UL) /*!< Pin input is high */
  4595. /* Bit 11 : Pin 11 */
  4596. #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  4597. #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  4598. #define GPIO_IN_PIN11_Low (0UL) /*!< Pin input is low */
  4599. #define GPIO_IN_PIN11_High (1UL) /*!< Pin input is high */
  4600. /* Bit 10 : Pin 10 */
  4601. #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  4602. #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  4603. #define GPIO_IN_PIN10_Low (0UL) /*!< Pin input is low */
  4604. #define GPIO_IN_PIN10_High (1UL) /*!< Pin input is high */
  4605. /* Bit 9 : Pin 9 */
  4606. #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  4607. #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  4608. #define GPIO_IN_PIN9_Low (0UL) /*!< Pin input is low */
  4609. #define GPIO_IN_PIN9_High (1UL) /*!< Pin input is high */
  4610. /* Bit 8 : Pin 8 */
  4611. #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  4612. #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  4613. #define GPIO_IN_PIN8_Low (0UL) /*!< Pin input is low */
  4614. #define GPIO_IN_PIN8_High (1UL) /*!< Pin input is high */
  4615. /* Bit 7 : Pin 7 */
  4616. #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  4617. #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  4618. #define GPIO_IN_PIN7_Low (0UL) /*!< Pin input is low */
  4619. #define GPIO_IN_PIN7_High (1UL) /*!< Pin input is high */
  4620. /* Bit 6 : Pin 6 */
  4621. #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  4622. #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  4623. #define GPIO_IN_PIN6_Low (0UL) /*!< Pin input is low */
  4624. #define GPIO_IN_PIN6_High (1UL) /*!< Pin input is high */
  4625. /* Bit 5 : Pin 5 */
  4626. #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  4627. #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  4628. #define GPIO_IN_PIN5_Low (0UL) /*!< Pin input is low */
  4629. #define GPIO_IN_PIN5_High (1UL) /*!< Pin input is high */
  4630. /* Bit 4 : Pin 4 */
  4631. #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  4632. #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  4633. #define GPIO_IN_PIN4_Low (0UL) /*!< Pin input is low */
  4634. #define GPIO_IN_PIN4_High (1UL) /*!< Pin input is high */
  4635. /* Bit 3 : Pin 3 */
  4636. #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  4637. #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  4638. #define GPIO_IN_PIN3_Low (0UL) /*!< Pin input is low */
  4639. #define GPIO_IN_PIN3_High (1UL) /*!< Pin input is high */
  4640. /* Bit 2 : Pin 2 */
  4641. #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  4642. #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  4643. #define GPIO_IN_PIN2_Low (0UL) /*!< Pin input is low */
  4644. #define GPIO_IN_PIN2_High (1UL) /*!< Pin input is high */
  4645. /* Bit 1 : Pin 1 */
  4646. #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  4647. #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  4648. #define GPIO_IN_PIN1_Low (0UL) /*!< Pin input is low */
  4649. #define GPIO_IN_PIN1_High (1UL) /*!< Pin input is high */
  4650. /* Bit 0 : Pin 0 */
  4651. #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  4652. #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  4653. #define GPIO_IN_PIN0_Low (0UL) /*!< Pin input is low */
  4654. #define GPIO_IN_PIN0_High (1UL) /*!< Pin input is high */
  4655. /* Register: GPIO_DIR */
  4656. /* Description: Direction of GPIO pins */
  4657. /* Bit 31 : Pin 31 */
  4658. #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  4659. #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  4660. #define GPIO_DIR_PIN31_Input (0UL) /*!< Pin set as input */
  4661. #define GPIO_DIR_PIN31_Output (1UL) /*!< Pin set as output */
  4662. /* Bit 30 : Pin 30 */
  4663. #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  4664. #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  4665. #define GPIO_DIR_PIN30_Input (0UL) /*!< Pin set as input */
  4666. #define GPIO_DIR_PIN30_Output (1UL) /*!< Pin set as output */
  4667. /* Bit 29 : Pin 29 */
  4668. #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  4669. #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  4670. #define GPIO_DIR_PIN29_Input (0UL) /*!< Pin set as input */
  4671. #define GPIO_DIR_PIN29_Output (1UL) /*!< Pin set as output */
  4672. /* Bit 28 : Pin 28 */
  4673. #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  4674. #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  4675. #define GPIO_DIR_PIN28_Input (0UL) /*!< Pin set as input */
  4676. #define GPIO_DIR_PIN28_Output (1UL) /*!< Pin set as output */
  4677. /* Bit 27 : Pin 27 */
  4678. #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  4679. #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  4680. #define GPIO_DIR_PIN27_Input (0UL) /*!< Pin set as input */
  4681. #define GPIO_DIR_PIN27_Output (1UL) /*!< Pin set as output */
  4682. /* Bit 26 : Pin 26 */
  4683. #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  4684. #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  4685. #define GPIO_DIR_PIN26_Input (0UL) /*!< Pin set as input */
  4686. #define GPIO_DIR_PIN26_Output (1UL) /*!< Pin set as output */
  4687. /* Bit 25 : Pin 25 */
  4688. #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  4689. #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  4690. #define GPIO_DIR_PIN25_Input (0UL) /*!< Pin set as input */
  4691. #define GPIO_DIR_PIN25_Output (1UL) /*!< Pin set as output */
  4692. /* Bit 24 : Pin 24 */
  4693. #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  4694. #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  4695. #define GPIO_DIR_PIN24_Input (0UL) /*!< Pin set as input */
  4696. #define GPIO_DIR_PIN24_Output (1UL) /*!< Pin set as output */
  4697. /* Bit 23 : Pin 23 */
  4698. #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  4699. #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  4700. #define GPIO_DIR_PIN23_Input (0UL) /*!< Pin set as input */
  4701. #define GPIO_DIR_PIN23_Output (1UL) /*!< Pin set as output */
  4702. /* Bit 22 : Pin 22 */
  4703. #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  4704. #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  4705. #define GPIO_DIR_PIN22_Input (0UL) /*!< Pin set as input */
  4706. #define GPIO_DIR_PIN22_Output (1UL) /*!< Pin set as output */
  4707. /* Bit 21 : Pin 21 */
  4708. #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  4709. #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  4710. #define GPIO_DIR_PIN21_Input (0UL) /*!< Pin set as input */
  4711. #define GPIO_DIR_PIN21_Output (1UL) /*!< Pin set as output */
  4712. /* Bit 20 : Pin 20 */
  4713. #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  4714. #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  4715. #define GPIO_DIR_PIN20_Input (0UL) /*!< Pin set as input */
  4716. #define GPIO_DIR_PIN20_Output (1UL) /*!< Pin set as output */
  4717. /* Bit 19 : Pin 19 */
  4718. #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  4719. #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  4720. #define GPIO_DIR_PIN19_Input (0UL) /*!< Pin set as input */
  4721. #define GPIO_DIR_PIN19_Output (1UL) /*!< Pin set as output */
  4722. /* Bit 18 : Pin 18 */
  4723. #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  4724. #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  4725. #define GPIO_DIR_PIN18_Input (0UL) /*!< Pin set as input */
  4726. #define GPIO_DIR_PIN18_Output (1UL) /*!< Pin set as output */
  4727. /* Bit 17 : Pin 17 */
  4728. #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  4729. #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  4730. #define GPIO_DIR_PIN17_Input (0UL) /*!< Pin set as input */
  4731. #define GPIO_DIR_PIN17_Output (1UL) /*!< Pin set as output */
  4732. /* Bit 16 : Pin 16 */
  4733. #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  4734. #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  4735. #define GPIO_DIR_PIN16_Input (0UL) /*!< Pin set as input */
  4736. #define GPIO_DIR_PIN16_Output (1UL) /*!< Pin set as output */
  4737. /* Bit 15 : Pin 15 */
  4738. #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  4739. #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  4740. #define GPIO_DIR_PIN15_Input (0UL) /*!< Pin set as input */
  4741. #define GPIO_DIR_PIN15_Output (1UL) /*!< Pin set as output */
  4742. /* Bit 14 : Pin 14 */
  4743. #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  4744. #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  4745. #define GPIO_DIR_PIN14_Input (0UL) /*!< Pin set as input */
  4746. #define GPIO_DIR_PIN14_Output (1UL) /*!< Pin set as output */
  4747. /* Bit 13 : Pin 13 */
  4748. #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  4749. #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  4750. #define GPIO_DIR_PIN13_Input (0UL) /*!< Pin set as input */
  4751. #define GPIO_DIR_PIN13_Output (1UL) /*!< Pin set as output */
  4752. /* Bit 12 : Pin 12 */
  4753. #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  4754. #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  4755. #define GPIO_DIR_PIN12_Input (0UL) /*!< Pin set as input */
  4756. #define GPIO_DIR_PIN12_Output (1UL) /*!< Pin set as output */
  4757. /* Bit 11 : Pin 11 */
  4758. #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  4759. #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  4760. #define GPIO_DIR_PIN11_Input (0UL) /*!< Pin set as input */
  4761. #define GPIO_DIR_PIN11_Output (1UL) /*!< Pin set as output */
  4762. /* Bit 10 : Pin 10 */
  4763. #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  4764. #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  4765. #define GPIO_DIR_PIN10_Input (0UL) /*!< Pin set as input */
  4766. #define GPIO_DIR_PIN10_Output (1UL) /*!< Pin set as output */
  4767. /* Bit 9 : Pin 9 */
  4768. #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  4769. #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  4770. #define GPIO_DIR_PIN9_Input (0UL) /*!< Pin set as input */
  4771. #define GPIO_DIR_PIN9_Output (1UL) /*!< Pin set as output */
  4772. /* Bit 8 : Pin 8 */
  4773. #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  4774. #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  4775. #define GPIO_DIR_PIN8_Input (0UL) /*!< Pin set as input */
  4776. #define GPIO_DIR_PIN8_Output (1UL) /*!< Pin set as output */
  4777. /* Bit 7 : Pin 7 */
  4778. #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  4779. #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  4780. #define GPIO_DIR_PIN7_Input (0UL) /*!< Pin set as input */
  4781. #define GPIO_DIR_PIN7_Output (1UL) /*!< Pin set as output */
  4782. /* Bit 6 : Pin 6 */
  4783. #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  4784. #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  4785. #define GPIO_DIR_PIN6_Input (0UL) /*!< Pin set as input */
  4786. #define GPIO_DIR_PIN6_Output (1UL) /*!< Pin set as output */
  4787. /* Bit 5 : Pin 5 */
  4788. #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  4789. #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  4790. #define GPIO_DIR_PIN5_Input (0UL) /*!< Pin set as input */
  4791. #define GPIO_DIR_PIN5_Output (1UL) /*!< Pin set as output */
  4792. /* Bit 4 : Pin 4 */
  4793. #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  4794. #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  4795. #define GPIO_DIR_PIN4_Input (0UL) /*!< Pin set as input */
  4796. #define GPIO_DIR_PIN4_Output (1UL) /*!< Pin set as output */
  4797. /* Bit 3 : Pin 3 */
  4798. #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  4799. #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  4800. #define GPIO_DIR_PIN3_Input (0UL) /*!< Pin set as input */
  4801. #define GPIO_DIR_PIN3_Output (1UL) /*!< Pin set as output */
  4802. /* Bit 2 : Pin 2 */
  4803. #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  4804. #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  4805. #define GPIO_DIR_PIN2_Input (0UL) /*!< Pin set as input */
  4806. #define GPIO_DIR_PIN2_Output (1UL) /*!< Pin set as output */
  4807. /* Bit 1 : Pin 1 */
  4808. #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  4809. #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  4810. #define GPIO_DIR_PIN1_Input (0UL) /*!< Pin set as input */
  4811. #define GPIO_DIR_PIN1_Output (1UL) /*!< Pin set as output */
  4812. /* Bit 0 : Pin 0 */
  4813. #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  4814. #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  4815. #define GPIO_DIR_PIN0_Input (0UL) /*!< Pin set as input */
  4816. #define GPIO_DIR_PIN0_Output (1UL) /*!< Pin set as output */
  4817. /* Register: GPIO_DIRSET */
  4818. /* Description: DIR set register */
  4819. /* Bit 31 : Set as output pin 31 */
  4820. #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  4821. #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  4822. #define GPIO_DIRSET_PIN31_Input (0UL) /*!< Read: pin set as input */
  4823. #define GPIO_DIRSET_PIN31_Output (1UL) /*!< Read: pin set as output */
  4824. #define GPIO_DIRSET_PIN31_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4825. /* Bit 30 : Set as output pin 30 */
  4826. #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  4827. #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  4828. #define GPIO_DIRSET_PIN30_Input (0UL) /*!< Read: pin set as input */
  4829. #define GPIO_DIRSET_PIN30_Output (1UL) /*!< Read: pin set as output */
  4830. #define GPIO_DIRSET_PIN30_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4831. /* Bit 29 : Set as output pin 29 */
  4832. #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  4833. #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  4834. #define GPIO_DIRSET_PIN29_Input (0UL) /*!< Read: pin set as input */
  4835. #define GPIO_DIRSET_PIN29_Output (1UL) /*!< Read: pin set as output */
  4836. #define GPIO_DIRSET_PIN29_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4837. /* Bit 28 : Set as output pin 28 */
  4838. #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  4839. #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  4840. #define GPIO_DIRSET_PIN28_Input (0UL) /*!< Read: pin set as input */
  4841. #define GPIO_DIRSET_PIN28_Output (1UL) /*!< Read: pin set as output */
  4842. #define GPIO_DIRSET_PIN28_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4843. /* Bit 27 : Set as output pin 27 */
  4844. #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  4845. #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  4846. #define GPIO_DIRSET_PIN27_Input (0UL) /*!< Read: pin set as input */
  4847. #define GPIO_DIRSET_PIN27_Output (1UL) /*!< Read: pin set as output */
  4848. #define GPIO_DIRSET_PIN27_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4849. /* Bit 26 : Set as output pin 26 */
  4850. #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  4851. #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  4852. #define GPIO_DIRSET_PIN26_Input (0UL) /*!< Read: pin set as input */
  4853. #define GPIO_DIRSET_PIN26_Output (1UL) /*!< Read: pin set as output */
  4854. #define GPIO_DIRSET_PIN26_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4855. /* Bit 25 : Set as output pin 25 */
  4856. #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  4857. #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  4858. #define GPIO_DIRSET_PIN25_Input (0UL) /*!< Read: pin set as input */
  4859. #define GPIO_DIRSET_PIN25_Output (1UL) /*!< Read: pin set as output */
  4860. #define GPIO_DIRSET_PIN25_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4861. /* Bit 24 : Set as output pin 24 */
  4862. #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  4863. #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  4864. #define GPIO_DIRSET_PIN24_Input (0UL) /*!< Read: pin set as input */
  4865. #define GPIO_DIRSET_PIN24_Output (1UL) /*!< Read: pin set as output */
  4866. #define GPIO_DIRSET_PIN24_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4867. /* Bit 23 : Set as output pin 23 */
  4868. #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  4869. #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  4870. #define GPIO_DIRSET_PIN23_Input (0UL) /*!< Read: pin set as input */
  4871. #define GPIO_DIRSET_PIN23_Output (1UL) /*!< Read: pin set as output */
  4872. #define GPIO_DIRSET_PIN23_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4873. /* Bit 22 : Set as output pin 22 */
  4874. #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  4875. #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  4876. #define GPIO_DIRSET_PIN22_Input (0UL) /*!< Read: pin set as input */
  4877. #define GPIO_DIRSET_PIN22_Output (1UL) /*!< Read: pin set as output */
  4878. #define GPIO_DIRSET_PIN22_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4879. /* Bit 21 : Set as output pin 21 */
  4880. #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  4881. #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  4882. #define GPIO_DIRSET_PIN21_Input (0UL) /*!< Read: pin set as input */
  4883. #define GPIO_DIRSET_PIN21_Output (1UL) /*!< Read: pin set as output */
  4884. #define GPIO_DIRSET_PIN21_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4885. /* Bit 20 : Set as output pin 20 */
  4886. #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  4887. #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  4888. #define GPIO_DIRSET_PIN20_Input (0UL) /*!< Read: pin set as input */
  4889. #define GPIO_DIRSET_PIN20_Output (1UL) /*!< Read: pin set as output */
  4890. #define GPIO_DIRSET_PIN20_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4891. /* Bit 19 : Set as output pin 19 */
  4892. #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  4893. #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  4894. #define GPIO_DIRSET_PIN19_Input (0UL) /*!< Read: pin set as input */
  4895. #define GPIO_DIRSET_PIN19_Output (1UL) /*!< Read: pin set as output */
  4896. #define GPIO_DIRSET_PIN19_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4897. /* Bit 18 : Set as output pin 18 */
  4898. #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  4899. #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  4900. #define GPIO_DIRSET_PIN18_Input (0UL) /*!< Read: pin set as input */
  4901. #define GPIO_DIRSET_PIN18_Output (1UL) /*!< Read: pin set as output */
  4902. #define GPIO_DIRSET_PIN18_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4903. /* Bit 17 : Set as output pin 17 */
  4904. #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  4905. #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  4906. #define GPIO_DIRSET_PIN17_Input (0UL) /*!< Read: pin set as input */
  4907. #define GPIO_DIRSET_PIN17_Output (1UL) /*!< Read: pin set as output */
  4908. #define GPIO_DIRSET_PIN17_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4909. /* Bit 16 : Set as output pin 16 */
  4910. #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  4911. #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  4912. #define GPIO_DIRSET_PIN16_Input (0UL) /*!< Read: pin set as input */
  4913. #define GPIO_DIRSET_PIN16_Output (1UL) /*!< Read: pin set as output */
  4914. #define GPIO_DIRSET_PIN16_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4915. /* Bit 15 : Set as output pin 15 */
  4916. #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  4917. #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  4918. #define GPIO_DIRSET_PIN15_Input (0UL) /*!< Read: pin set as input */
  4919. #define GPIO_DIRSET_PIN15_Output (1UL) /*!< Read: pin set as output */
  4920. #define GPIO_DIRSET_PIN15_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4921. /* Bit 14 : Set as output pin 14 */
  4922. #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  4923. #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  4924. #define GPIO_DIRSET_PIN14_Input (0UL) /*!< Read: pin set as input */
  4925. #define GPIO_DIRSET_PIN14_Output (1UL) /*!< Read: pin set as output */
  4926. #define GPIO_DIRSET_PIN14_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4927. /* Bit 13 : Set as output pin 13 */
  4928. #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  4929. #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  4930. #define GPIO_DIRSET_PIN13_Input (0UL) /*!< Read: pin set as input */
  4931. #define GPIO_DIRSET_PIN13_Output (1UL) /*!< Read: pin set as output */
  4932. #define GPIO_DIRSET_PIN13_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4933. /* Bit 12 : Set as output pin 12 */
  4934. #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  4935. #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  4936. #define GPIO_DIRSET_PIN12_Input (0UL) /*!< Read: pin set as input */
  4937. #define GPIO_DIRSET_PIN12_Output (1UL) /*!< Read: pin set as output */
  4938. #define GPIO_DIRSET_PIN12_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4939. /* Bit 11 : Set as output pin 11 */
  4940. #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  4941. #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  4942. #define GPIO_DIRSET_PIN11_Input (0UL) /*!< Read: pin set as input */
  4943. #define GPIO_DIRSET_PIN11_Output (1UL) /*!< Read: pin set as output */
  4944. #define GPIO_DIRSET_PIN11_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4945. /* Bit 10 : Set as output pin 10 */
  4946. #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  4947. #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  4948. #define GPIO_DIRSET_PIN10_Input (0UL) /*!< Read: pin set as input */
  4949. #define GPIO_DIRSET_PIN10_Output (1UL) /*!< Read: pin set as output */
  4950. #define GPIO_DIRSET_PIN10_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4951. /* Bit 9 : Set as output pin 9 */
  4952. #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  4953. #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  4954. #define GPIO_DIRSET_PIN9_Input (0UL) /*!< Read: pin set as input */
  4955. #define GPIO_DIRSET_PIN9_Output (1UL) /*!< Read: pin set as output */
  4956. #define GPIO_DIRSET_PIN9_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4957. /* Bit 8 : Set as output pin 8 */
  4958. #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  4959. #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  4960. #define GPIO_DIRSET_PIN8_Input (0UL) /*!< Read: pin set as input */
  4961. #define GPIO_DIRSET_PIN8_Output (1UL) /*!< Read: pin set as output */
  4962. #define GPIO_DIRSET_PIN8_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4963. /* Bit 7 : Set as output pin 7 */
  4964. #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  4965. #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  4966. #define GPIO_DIRSET_PIN7_Input (0UL) /*!< Read: pin set as input */
  4967. #define GPIO_DIRSET_PIN7_Output (1UL) /*!< Read: pin set as output */
  4968. #define GPIO_DIRSET_PIN7_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4969. /* Bit 6 : Set as output pin 6 */
  4970. #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  4971. #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  4972. #define GPIO_DIRSET_PIN6_Input (0UL) /*!< Read: pin set as input */
  4973. #define GPIO_DIRSET_PIN6_Output (1UL) /*!< Read: pin set as output */
  4974. #define GPIO_DIRSET_PIN6_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4975. /* Bit 5 : Set as output pin 5 */
  4976. #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  4977. #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  4978. #define GPIO_DIRSET_PIN5_Input (0UL) /*!< Read: pin set as input */
  4979. #define GPIO_DIRSET_PIN5_Output (1UL) /*!< Read: pin set as output */
  4980. #define GPIO_DIRSET_PIN5_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4981. /* Bit 4 : Set as output pin 4 */
  4982. #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  4983. #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  4984. #define GPIO_DIRSET_PIN4_Input (0UL) /*!< Read: pin set as input */
  4985. #define GPIO_DIRSET_PIN4_Output (1UL) /*!< Read: pin set as output */
  4986. #define GPIO_DIRSET_PIN4_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4987. /* Bit 3 : Set as output pin 3 */
  4988. #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  4989. #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  4990. #define GPIO_DIRSET_PIN3_Input (0UL) /*!< Read: pin set as input */
  4991. #define GPIO_DIRSET_PIN3_Output (1UL) /*!< Read: pin set as output */
  4992. #define GPIO_DIRSET_PIN3_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4993. /* Bit 2 : Set as output pin 2 */
  4994. #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  4995. #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  4996. #define GPIO_DIRSET_PIN2_Input (0UL) /*!< Read: pin set as input */
  4997. #define GPIO_DIRSET_PIN2_Output (1UL) /*!< Read: pin set as output */
  4998. #define GPIO_DIRSET_PIN2_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  4999. /* Bit 1 : Set as output pin 1 */
  5000. #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  5001. #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  5002. #define GPIO_DIRSET_PIN1_Input (0UL) /*!< Read: pin set as input */
  5003. #define GPIO_DIRSET_PIN1_Output (1UL) /*!< Read: pin set as output */
  5004. #define GPIO_DIRSET_PIN1_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  5005. /* Bit 0 : Set as output pin 0 */
  5006. #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  5007. #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  5008. #define GPIO_DIRSET_PIN0_Input (0UL) /*!< Read: pin set as input */
  5009. #define GPIO_DIRSET_PIN0_Output (1UL) /*!< Read: pin set as output */
  5010. #define GPIO_DIRSET_PIN0_Set (1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */
  5011. /* Register: GPIO_DIRCLR */
  5012. /* Description: DIR clear register */
  5013. /* Bit 31 : Set as input pin 31 */
  5014. #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  5015. #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  5016. #define GPIO_DIRCLR_PIN31_Input (0UL) /*!< Read: pin set as input */
  5017. #define GPIO_DIRCLR_PIN31_Output (1UL) /*!< Read: pin set as output */
  5018. #define GPIO_DIRCLR_PIN31_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5019. /* Bit 30 : Set as input pin 30 */
  5020. #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  5021. #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  5022. #define GPIO_DIRCLR_PIN30_Input (0UL) /*!< Read: pin set as input */
  5023. #define GPIO_DIRCLR_PIN30_Output (1UL) /*!< Read: pin set as output */
  5024. #define GPIO_DIRCLR_PIN30_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5025. /* Bit 29 : Set as input pin 29 */
  5026. #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  5027. #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  5028. #define GPIO_DIRCLR_PIN29_Input (0UL) /*!< Read: pin set as input */
  5029. #define GPIO_DIRCLR_PIN29_Output (1UL) /*!< Read: pin set as output */
  5030. #define GPIO_DIRCLR_PIN29_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5031. /* Bit 28 : Set as input pin 28 */
  5032. #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  5033. #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  5034. #define GPIO_DIRCLR_PIN28_Input (0UL) /*!< Read: pin set as input */
  5035. #define GPIO_DIRCLR_PIN28_Output (1UL) /*!< Read: pin set as output */
  5036. #define GPIO_DIRCLR_PIN28_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5037. /* Bit 27 : Set as input pin 27 */
  5038. #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  5039. #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  5040. #define GPIO_DIRCLR_PIN27_Input (0UL) /*!< Read: pin set as input */
  5041. #define GPIO_DIRCLR_PIN27_Output (1UL) /*!< Read: pin set as output */
  5042. #define GPIO_DIRCLR_PIN27_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5043. /* Bit 26 : Set as input pin 26 */
  5044. #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  5045. #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  5046. #define GPIO_DIRCLR_PIN26_Input (0UL) /*!< Read: pin set as input */
  5047. #define GPIO_DIRCLR_PIN26_Output (1UL) /*!< Read: pin set as output */
  5048. #define GPIO_DIRCLR_PIN26_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5049. /* Bit 25 : Set as input pin 25 */
  5050. #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  5051. #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  5052. #define GPIO_DIRCLR_PIN25_Input (0UL) /*!< Read: pin set as input */
  5053. #define GPIO_DIRCLR_PIN25_Output (1UL) /*!< Read: pin set as output */
  5054. #define GPIO_DIRCLR_PIN25_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5055. /* Bit 24 : Set as input pin 24 */
  5056. #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  5057. #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  5058. #define GPIO_DIRCLR_PIN24_Input (0UL) /*!< Read: pin set as input */
  5059. #define GPIO_DIRCLR_PIN24_Output (1UL) /*!< Read: pin set as output */
  5060. #define GPIO_DIRCLR_PIN24_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5061. /* Bit 23 : Set as input pin 23 */
  5062. #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  5063. #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  5064. #define GPIO_DIRCLR_PIN23_Input (0UL) /*!< Read: pin set as input */
  5065. #define GPIO_DIRCLR_PIN23_Output (1UL) /*!< Read: pin set as output */
  5066. #define GPIO_DIRCLR_PIN23_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5067. /* Bit 22 : Set as input pin 22 */
  5068. #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  5069. #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  5070. #define GPIO_DIRCLR_PIN22_Input (0UL) /*!< Read: pin set as input */
  5071. #define GPIO_DIRCLR_PIN22_Output (1UL) /*!< Read: pin set as output */
  5072. #define GPIO_DIRCLR_PIN22_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5073. /* Bit 21 : Set as input pin 21 */
  5074. #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  5075. #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  5076. #define GPIO_DIRCLR_PIN21_Input (0UL) /*!< Read: pin set as input */
  5077. #define GPIO_DIRCLR_PIN21_Output (1UL) /*!< Read: pin set as output */
  5078. #define GPIO_DIRCLR_PIN21_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5079. /* Bit 20 : Set as input pin 20 */
  5080. #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  5081. #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  5082. #define GPIO_DIRCLR_PIN20_Input (0UL) /*!< Read: pin set as input */
  5083. #define GPIO_DIRCLR_PIN20_Output (1UL) /*!< Read: pin set as output */
  5084. #define GPIO_DIRCLR_PIN20_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5085. /* Bit 19 : Set as input pin 19 */
  5086. #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  5087. #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  5088. #define GPIO_DIRCLR_PIN19_Input (0UL) /*!< Read: pin set as input */
  5089. #define GPIO_DIRCLR_PIN19_Output (1UL) /*!< Read: pin set as output */
  5090. #define GPIO_DIRCLR_PIN19_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5091. /* Bit 18 : Set as input pin 18 */
  5092. #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  5093. #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  5094. #define GPIO_DIRCLR_PIN18_Input (0UL) /*!< Read: pin set as input */
  5095. #define GPIO_DIRCLR_PIN18_Output (1UL) /*!< Read: pin set as output */
  5096. #define GPIO_DIRCLR_PIN18_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5097. /* Bit 17 : Set as input pin 17 */
  5098. #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  5099. #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  5100. #define GPIO_DIRCLR_PIN17_Input (0UL) /*!< Read: pin set as input */
  5101. #define GPIO_DIRCLR_PIN17_Output (1UL) /*!< Read: pin set as output */
  5102. #define GPIO_DIRCLR_PIN17_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5103. /* Bit 16 : Set as input pin 16 */
  5104. #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  5105. #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  5106. #define GPIO_DIRCLR_PIN16_Input (0UL) /*!< Read: pin set as input */
  5107. #define GPIO_DIRCLR_PIN16_Output (1UL) /*!< Read: pin set as output */
  5108. #define GPIO_DIRCLR_PIN16_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5109. /* Bit 15 : Set as input pin 15 */
  5110. #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  5111. #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  5112. #define GPIO_DIRCLR_PIN15_Input (0UL) /*!< Read: pin set as input */
  5113. #define GPIO_DIRCLR_PIN15_Output (1UL) /*!< Read: pin set as output */
  5114. #define GPIO_DIRCLR_PIN15_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5115. /* Bit 14 : Set as input pin 14 */
  5116. #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  5117. #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  5118. #define GPIO_DIRCLR_PIN14_Input (0UL) /*!< Read: pin set as input */
  5119. #define GPIO_DIRCLR_PIN14_Output (1UL) /*!< Read: pin set as output */
  5120. #define GPIO_DIRCLR_PIN14_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5121. /* Bit 13 : Set as input pin 13 */
  5122. #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  5123. #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  5124. #define GPIO_DIRCLR_PIN13_Input (0UL) /*!< Read: pin set as input */
  5125. #define GPIO_DIRCLR_PIN13_Output (1UL) /*!< Read: pin set as output */
  5126. #define GPIO_DIRCLR_PIN13_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5127. /* Bit 12 : Set as input pin 12 */
  5128. #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  5129. #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  5130. #define GPIO_DIRCLR_PIN12_Input (0UL) /*!< Read: pin set as input */
  5131. #define GPIO_DIRCLR_PIN12_Output (1UL) /*!< Read: pin set as output */
  5132. #define GPIO_DIRCLR_PIN12_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5133. /* Bit 11 : Set as input pin 11 */
  5134. #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  5135. #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  5136. #define GPIO_DIRCLR_PIN11_Input (0UL) /*!< Read: pin set as input */
  5137. #define GPIO_DIRCLR_PIN11_Output (1UL) /*!< Read: pin set as output */
  5138. #define GPIO_DIRCLR_PIN11_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5139. /* Bit 10 : Set as input pin 10 */
  5140. #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  5141. #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  5142. #define GPIO_DIRCLR_PIN10_Input (0UL) /*!< Read: pin set as input */
  5143. #define GPIO_DIRCLR_PIN10_Output (1UL) /*!< Read: pin set as output */
  5144. #define GPIO_DIRCLR_PIN10_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5145. /* Bit 9 : Set as input pin 9 */
  5146. #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  5147. #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  5148. #define GPIO_DIRCLR_PIN9_Input (0UL) /*!< Read: pin set as input */
  5149. #define GPIO_DIRCLR_PIN9_Output (1UL) /*!< Read: pin set as output */
  5150. #define GPIO_DIRCLR_PIN9_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5151. /* Bit 8 : Set as input pin 8 */
  5152. #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  5153. #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  5154. #define GPIO_DIRCLR_PIN8_Input (0UL) /*!< Read: pin set as input */
  5155. #define GPIO_DIRCLR_PIN8_Output (1UL) /*!< Read: pin set as output */
  5156. #define GPIO_DIRCLR_PIN8_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5157. /* Bit 7 : Set as input pin 7 */
  5158. #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  5159. #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  5160. #define GPIO_DIRCLR_PIN7_Input (0UL) /*!< Read: pin set as input */
  5161. #define GPIO_DIRCLR_PIN7_Output (1UL) /*!< Read: pin set as output */
  5162. #define GPIO_DIRCLR_PIN7_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5163. /* Bit 6 : Set as input pin 6 */
  5164. #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  5165. #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  5166. #define GPIO_DIRCLR_PIN6_Input (0UL) /*!< Read: pin set as input */
  5167. #define GPIO_DIRCLR_PIN6_Output (1UL) /*!< Read: pin set as output */
  5168. #define GPIO_DIRCLR_PIN6_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5169. /* Bit 5 : Set as input pin 5 */
  5170. #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  5171. #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  5172. #define GPIO_DIRCLR_PIN5_Input (0UL) /*!< Read: pin set as input */
  5173. #define GPIO_DIRCLR_PIN5_Output (1UL) /*!< Read: pin set as output */
  5174. #define GPIO_DIRCLR_PIN5_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5175. /* Bit 4 : Set as input pin 4 */
  5176. #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  5177. #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  5178. #define GPIO_DIRCLR_PIN4_Input (0UL) /*!< Read: pin set as input */
  5179. #define GPIO_DIRCLR_PIN4_Output (1UL) /*!< Read: pin set as output */
  5180. #define GPIO_DIRCLR_PIN4_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5181. /* Bit 3 : Set as input pin 3 */
  5182. #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  5183. #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  5184. #define GPIO_DIRCLR_PIN3_Input (0UL) /*!< Read: pin set as input */
  5185. #define GPIO_DIRCLR_PIN3_Output (1UL) /*!< Read: pin set as output */
  5186. #define GPIO_DIRCLR_PIN3_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5187. /* Bit 2 : Set as input pin 2 */
  5188. #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  5189. #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  5190. #define GPIO_DIRCLR_PIN2_Input (0UL) /*!< Read: pin set as input */
  5191. #define GPIO_DIRCLR_PIN2_Output (1UL) /*!< Read: pin set as output */
  5192. #define GPIO_DIRCLR_PIN2_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5193. /* Bit 1 : Set as input pin 1 */
  5194. #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  5195. #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  5196. #define GPIO_DIRCLR_PIN1_Input (0UL) /*!< Read: pin set as input */
  5197. #define GPIO_DIRCLR_PIN1_Output (1UL) /*!< Read: pin set as output */
  5198. #define GPIO_DIRCLR_PIN1_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5199. /* Bit 0 : Set as input pin 0 */
  5200. #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  5201. #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  5202. #define GPIO_DIRCLR_PIN0_Input (0UL) /*!< Read: pin set as input */
  5203. #define GPIO_DIRCLR_PIN0_Output (1UL) /*!< Read: pin set as output */
  5204. #define GPIO_DIRCLR_PIN0_Clear (1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */
  5205. /* Register: GPIO_LATCH */
  5206. /* Description: Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers */
  5207. /* Bit 31 : Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write '1' to clear. */
  5208. #define GPIO_LATCH_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  5209. #define GPIO_LATCH_PIN31_Msk (0x1UL << GPIO_LATCH_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  5210. #define GPIO_LATCH_PIN31_NotLatched (0UL) /*!< Criteria has not been met */
  5211. #define GPIO_LATCH_PIN31_Latched (1UL) /*!< Criteria has been met */
  5212. /* Bit 30 : Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write '1' to clear. */
  5213. #define GPIO_LATCH_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  5214. #define GPIO_LATCH_PIN30_Msk (0x1UL << GPIO_LATCH_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  5215. #define GPIO_LATCH_PIN30_NotLatched (0UL) /*!< Criteria has not been met */
  5216. #define GPIO_LATCH_PIN30_Latched (1UL) /*!< Criteria has been met */
  5217. /* Bit 29 : Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write '1' to clear. */
  5218. #define GPIO_LATCH_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  5219. #define GPIO_LATCH_PIN29_Msk (0x1UL << GPIO_LATCH_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  5220. #define GPIO_LATCH_PIN29_NotLatched (0UL) /*!< Criteria has not been met */
  5221. #define GPIO_LATCH_PIN29_Latched (1UL) /*!< Criteria has been met */
  5222. /* Bit 28 : Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write '1' to clear. */
  5223. #define GPIO_LATCH_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  5224. #define GPIO_LATCH_PIN28_Msk (0x1UL << GPIO_LATCH_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  5225. #define GPIO_LATCH_PIN28_NotLatched (0UL) /*!< Criteria has not been met */
  5226. #define GPIO_LATCH_PIN28_Latched (1UL) /*!< Criteria has been met */
  5227. /* Bit 27 : Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write '1' to clear. */
  5228. #define GPIO_LATCH_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  5229. #define GPIO_LATCH_PIN27_Msk (0x1UL << GPIO_LATCH_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  5230. #define GPIO_LATCH_PIN27_NotLatched (0UL) /*!< Criteria has not been met */
  5231. #define GPIO_LATCH_PIN27_Latched (1UL) /*!< Criteria has been met */
  5232. /* Bit 26 : Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write '1' to clear. */
  5233. #define GPIO_LATCH_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  5234. #define GPIO_LATCH_PIN26_Msk (0x1UL << GPIO_LATCH_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  5235. #define GPIO_LATCH_PIN26_NotLatched (0UL) /*!< Criteria has not been met */
  5236. #define GPIO_LATCH_PIN26_Latched (1UL) /*!< Criteria has been met */
  5237. /* Bit 25 : Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write '1' to clear. */
  5238. #define GPIO_LATCH_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  5239. #define GPIO_LATCH_PIN25_Msk (0x1UL << GPIO_LATCH_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  5240. #define GPIO_LATCH_PIN25_NotLatched (0UL) /*!< Criteria has not been met */
  5241. #define GPIO_LATCH_PIN25_Latched (1UL) /*!< Criteria has been met */
  5242. /* Bit 24 : Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write '1' to clear. */
  5243. #define GPIO_LATCH_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  5244. #define GPIO_LATCH_PIN24_Msk (0x1UL << GPIO_LATCH_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  5245. #define GPIO_LATCH_PIN24_NotLatched (0UL) /*!< Criteria has not been met */
  5246. #define GPIO_LATCH_PIN24_Latched (1UL) /*!< Criteria has been met */
  5247. /* Bit 23 : Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write '1' to clear. */
  5248. #define GPIO_LATCH_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  5249. #define GPIO_LATCH_PIN23_Msk (0x1UL << GPIO_LATCH_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  5250. #define GPIO_LATCH_PIN23_NotLatched (0UL) /*!< Criteria has not been met */
  5251. #define GPIO_LATCH_PIN23_Latched (1UL) /*!< Criteria has been met */
  5252. /* Bit 22 : Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write '1' to clear. */
  5253. #define GPIO_LATCH_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  5254. #define GPIO_LATCH_PIN22_Msk (0x1UL << GPIO_LATCH_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  5255. #define GPIO_LATCH_PIN22_NotLatched (0UL) /*!< Criteria has not been met */
  5256. #define GPIO_LATCH_PIN22_Latched (1UL) /*!< Criteria has been met */
  5257. /* Bit 21 : Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write '1' to clear. */
  5258. #define GPIO_LATCH_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  5259. #define GPIO_LATCH_PIN21_Msk (0x1UL << GPIO_LATCH_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  5260. #define GPIO_LATCH_PIN21_NotLatched (0UL) /*!< Criteria has not been met */
  5261. #define GPIO_LATCH_PIN21_Latched (1UL) /*!< Criteria has been met */
  5262. /* Bit 20 : Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write '1' to clear. */
  5263. #define GPIO_LATCH_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  5264. #define GPIO_LATCH_PIN20_Msk (0x1UL << GPIO_LATCH_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  5265. #define GPIO_LATCH_PIN20_NotLatched (0UL) /*!< Criteria has not been met */
  5266. #define GPIO_LATCH_PIN20_Latched (1UL) /*!< Criteria has been met */
  5267. /* Bit 19 : Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write '1' to clear. */
  5268. #define GPIO_LATCH_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  5269. #define GPIO_LATCH_PIN19_Msk (0x1UL << GPIO_LATCH_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  5270. #define GPIO_LATCH_PIN19_NotLatched (0UL) /*!< Criteria has not been met */
  5271. #define GPIO_LATCH_PIN19_Latched (1UL) /*!< Criteria has been met */
  5272. /* Bit 18 : Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write '1' to clear. */
  5273. #define GPIO_LATCH_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  5274. #define GPIO_LATCH_PIN18_Msk (0x1UL << GPIO_LATCH_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  5275. #define GPIO_LATCH_PIN18_NotLatched (0UL) /*!< Criteria has not been met */
  5276. #define GPIO_LATCH_PIN18_Latched (1UL) /*!< Criteria has been met */
  5277. /* Bit 17 : Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write '1' to clear. */
  5278. #define GPIO_LATCH_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  5279. #define GPIO_LATCH_PIN17_Msk (0x1UL << GPIO_LATCH_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  5280. #define GPIO_LATCH_PIN17_NotLatched (0UL) /*!< Criteria has not been met */
  5281. #define GPIO_LATCH_PIN17_Latched (1UL) /*!< Criteria has been met */
  5282. /* Bit 16 : Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write '1' to clear. */
  5283. #define GPIO_LATCH_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  5284. #define GPIO_LATCH_PIN16_Msk (0x1UL << GPIO_LATCH_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  5285. #define GPIO_LATCH_PIN16_NotLatched (0UL) /*!< Criteria has not been met */
  5286. #define GPIO_LATCH_PIN16_Latched (1UL) /*!< Criteria has been met */
  5287. /* Bit 15 : Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write '1' to clear. */
  5288. #define GPIO_LATCH_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  5289. #define GPIO_LATCH_PIN15_Msk (0x1UL << GPIO_LATCH_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  5290. #define GPIO_LATCH_PIN15_NotLatched (0UL) /*!< Criteria has not been met */
  5291. #define GPIO_LATCH_PIN15_Latched (1UL) /*!< Criteria has been met */
  5292. /* Bit 14 : Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write '1' to clear. */
  5293. #define GPIO_LATCH_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  5294. #define GPIO_LATCH_PIN14_Msk (0x1UL << GPIO_LATCH_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  5295. #define GPIO_LATCH_PIN14_NotLatched (0UL) /*!< Criteria has not been met */
  5296. #define GPIO_LATCH_PIN14_Latched (1UL) /*!< Criteria has been met */
  5297. /* Bit 13 : Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write '1' to clear. */
  5298. #define GPIO_LATCH_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  5299. #define GPIO_LATCH_PIN13_Msk (0x1UL << GPIO_LATCH_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  5300. #define GPIO_LATCH_PIN13_NotLatched (0UL) /*!< Criteria has not been met */
  5301. #define GPIO_LATCH_PIN13_Latched (1UL) /*!< Criteria has been met */
  5302. /* Bit 12 : Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write '1' to clear. */
  5303. #define GPIO_LATCH_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  5304. #define GPIO_LATCH_PIN12_Msk (0x1UL << GPIO_LATCH_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  5305. #define GPIO_LATCH_PIN12_NotLatched (0UL) /*!< Criteria has not been met */
  5306. #define GPIO_LATCH_PIN12_Latched (1UL) /*!< Criteria has been met */
  5307. /* Bit 11 : Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write '1' to clear. */
  5308. #define GPIO_LATCH_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  5309. #define GPIO_LATCH_PIN11_Msk (0x1UL << GPIO_LATCH_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  5310. #define GPIO_LATCH_PIN11_NotLatched (0UL) /*!< Criteria has not been met */
  5311. #define GPIO_LATCH_PIN11_Latched (1UL) /*!< Criteria has been met */
  5312. /* Bit 10 : Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write '1' to clear. */
  5313. #define GPIO_LATCH_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  5314. #define GPIO_LATCH_PIN10_Msk (0x1UL << GPIO_LATCH_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  5315. #define GPIO_LATCH_PIN10_NotLatched (0UL) /*!< Criteria has not been met */
  5316. #define GPIO_LATCH_PIN10_Latched (1UL) /*!< Criteria has been met */
  5317. /* Bit 9 : Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write '1' to clear. */
  5318. #define GPIO_LATCH_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  5319. #define GPIO_LATCH_PIN9_Msk (0x1UL << GPIO_LATCH_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  5320. #define GPIO_LATCH_PIN9_NotLatched (0UL) /*!< Criteria has not been met */
  5321. #define GPIO_LATCH_PIN9_Latched (1UL) /*!< Criteria has been met */
  5322. /* Bit 8 : Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write '1' to clear. */
  5323. #define GPIO_LATCH_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  5324. #define GPIO_LATCH_PIN8_Msk (0x1UL << GPIO_LATCH_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  5325. #define GPIO_LATCH_PIN8_NotLatched (0UL) /*!< Criteria has not been met */
  5326. #define GPIO_LATCH_PIN8_Latched (1UL) /*!< Criteria has been met */
  5327. /* Bit 7 : Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write '1' to clear. */
  5328. #define GPIO_LATCH_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  5329. #define GPIO_LATCH_PIN7_Msk (0x1UL << GPIO_LATCH_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  5330. #define GPIO_LATCH_PIN7_NotLatched (0UL) /*!< Criteria has not been met */
  5331. #define GPIO_LATCH_PIN7_Latched (1UL) /*!< Criteria has been met */
  5332. /* Bit 6 : Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write '1' to clear. */
  5333. #define GPIO_LATCH_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  5334. #define GPIO_LATCH_PIN6_Msk (0x1UL << GPIO_LATCH_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  5335. #define GPIO_LATCH_PIN6_NotLatched (0UL) /*!< Criteria has not been met */
  5336. #define GPIO_LATCH_PIN6_Latched (1UL) /*!< Criteria has been met */
  5337. /* Bit 5 : Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write '1' to clear. */
  5338. #define GPIO_LATCH_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  5339. #define GPIO_LATCH_PIN5_Msk (0x1UL << GPIO_LATCH_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  5340. #define GPIO_LATCH_PIN5_NotLatched (0UL) /*!< Criteria has not been met */
  5341. #define GPIO_LATCH_PIN5_Latched (1UL) /*!< Criteria has been met */
  5342. /* Bit 4 : Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write '1' to clear. */
  5343. #define GPIO_LATCH_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  5344. #define GPIO_LATCH_PIN4_Msk (0x1UL << GPIO_LATCH_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  5345. #define GPIO_LATCH_PIN4_NotLatched (0UL) /*!< Criteria has not been met */
  5346. #define GPIO_LATCH_PIN4_Latched (1UL) /*!< Criteria has been met */
  5347. /* Bit 3 : Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write '1' to clear. */
  5348. #define GPIO_LATCH_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  5349. #define GPIO_LATCH_PIN3_Msk (0x1UL << GPIO_LATCH_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  5350. #define GPIO_LATCH_PIN3_NotLatched (0UL) /*!< Criteria has not been met */
  5351. #define GPIO_LATCH_PIN3_Latched (1UL) /*!< Criteria has been met */
  5352. /* Bit 2 : Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write '1' to clear. */
  5353. #define GPIO_LATCH_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  5354. #define GPIO_LATCH_PIN2_Msk (0x1UL << GPIO_LATCH_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  5355. #define GPIO_LATCH_PIN2_NotLatched (0UL) /*!< Criteria has not been met */
  5356. #define GPIO_LATCH_PIN2_Latched (1UL) /*!< Criteria has been met */
  5357. /* Bit 1 : Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write '1' to clear. */
  5358. #define GPIO_LATCH_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  5359. #define GPIO_LATCH_PIN1_Msk (0x1UL << GPIO_LATCH_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  5360. #define GPIO_LATCH_PIN1_NotLatched (0UL) /*!< Criteria has not been met */
  5361. #define GPIO_LATCH_PIN1_Latched (1UL) /*!< Criteria has been met */
  5362. /* Bit 0 : Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write '1' to clear. */
  5363. #define GPIO_LATCH_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  5364. #define GPIO_LATCH_PIN0_Msk (0x1UL << GPIO_LATCH_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  5365. #define GPIO_LATCH_PIN0_NotLatched (0UL) /*!< Criteria has not been met */
  5366. #define GPIO_LATCH_PIN0_Latched (1UL) /*!< Criteria has been met */
  5367. /* Register: GPIO_DETECTMODE */
  5368. /* Description: Select between default DETECT signal behaviour and LDETECT mode */
  5369. /* Bit 0 : Select between default DETECT signal behaviour and LDETECT mode */
  5370. #define GPIO_DETECTMODE_DETECTMODE_Pos (0UL) /*!< Position of DETECTMODE field. */
  5371. #define GPIO_DETECTMODE_DETECTMODE_Msk (0x1UL << GPIO_DETECTMODE_DETECTMODE_Pos) /*!< Bit mask of DETECTMODE field. */
  5372. #define GPIO_DETECTMODE_DETECTMODE_Default (0UL) /*!< DETECT directly connected to PIN DETECT signals */
  5373. #define GPIO_DETECTMODE_DETECTMODE_LDETECT (1UL) /*!< Use the latched LDETECT behaviour */
  5374. /* Register: GPIO_PIN_CNF */
  5375. /* Description: Description collection[0]: Configuration of GPIO pins */
  5376. /* Bits 17..16 : Pin sensing mechanism */
  5377. #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */
  5378. #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */
  5379. #define GPIO_PIN_CNF_SENSE_Disabled (0UL) /*!< Disabled */
  5380. #define GPIO_PIN_CNF_SENSE_High (2UL) /*!< Sense for high level */
  5381. #define GPIO_PIN_CNF_SENSE_Low (3UL) /*!< Sense for low level */
  5382. /* Bits 10..8 : Drive configuration */
  5383. #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */
  5384. #define GPIO_PIN_CNF_DRIVE_Msk (0x7UL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */
  5385. #define GPIO_PIN_CNF_DRIVE_S0S1 (0UL) /*!< Standard '0', standard '1' */
  5386. #define GPIO_PIN_CNF_DRIVE_H0S1 (1UL) /*!< High drive '0', standard '1' */
  5387. #define GPIO_PIN_CNF_DRIVE_S0H1 (2UL) /*!< Standard '0', high drive '1' */
  5388. #define GPIO_PIN_CNF_DRIVE_H0H1 (3UL) /*!< High drive '0', high 'drive '1'' */
  5389. #define GPIO_PIN_CNF_DRIVE_D0S1 (4UL) /*!< Disconnect '0' standard '1' (normally used for wired-or connections) */
  5390. #define GPIO_PIN_CNF_DRIVE_D0H1 (5UL) /*!< Disconnect '0', high drive '1' (normally used for wired-or connections) */
  5391. #define GPIO_PIN_CNF_DRIVE_S0D1 (6UL) /*!< Standard '0'. disconnect '1' (normally used for wired-and connections) */
  5392. #define GPIO_PIN_CNF_DRIVE_H0D1 (7UL) /*!< High drive '0', disconnect '1' (normally used for wired-and connections) */
  5393. /* Bits 3..2 : Pull configuration */
  5394. #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */
  5395. #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */
  5396. #define GPIO_PIN_CNF_PULL_Disabled (0UL) /*!< No pull */
  5397. #define GPIO_PIN_CNF_PULL_Pulldown (1UL) /*!< Pull down on pin */
  5398. #define GPIO_PIN_CNF_PULL_Pullup (3UL) /*!< Pull up on pin */
  5399. /* Bit 1 : Connect or disconnect input buffer */
  5400. #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */
  5401. #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */
  5402. #define GPIO_PIN_CNF_INPUT_Connect (0UL) /*!< Connect input buffer */
  5403. #define GPIO_PIN_CNF_INPUT_Disconnect (1UL) /*!< Disconnect input buffer */
  5404. /* Bit 0 : Pin direction. Same physical register as DIR register */
  5405. #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */
  5406. #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */
  5407. #define GPIO_PIN_CNF_DIR_Input (0UL) /*!< Configure pin as an input pin */
  5408. #define GPIO_PIN_CNF_DIR_Output (1UL) /*!< Configure pin as an output pin */
  5409. /* Peripheral: PDM */
  5410. /* Description: Pulse Density Modulation (Digital Microphone) Interface */
  5411. /* Register: PDM_INTEN */
  5412. /* Description: Enable or disable interrupt */
  5413. /* Bit 2 : Enable or disable interrupt for END event */
  5414. #define PDM_INTEN_END_Pos (2UL) /*!< Position of END field. */
  5415. #define PDM_INTEN_END_Msk (0x1UL << PDM_INTEN_END_Pos) /*!< Bit mask of END field. */
  5416. #define PDM_INTEN_END_Disabled (0UL) /*!< Disable */
  5417. #define PDM_INTEN_END_Enabled (1UL) /*!< Enable */
  5418. /* Bit 1 : Enable or disable interrupt for STOPPED event */
  5419. #define PDM_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  5420. #define PDM_INTEN_STOPPED_Msk (0x1UL << PDM_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  5421. #define PDM_INTEN_STOPPED_Disabled (0UL) /*!< Disable */
  5422. #define PDM_INTEN_STOPPED_Enabled (1UL) /*!< Enable */
  5423. /* Bit 0 : Enable or disable interrupt for STARTED event */
  5424. #define PDM_INTEN_STARTED_Pos (0UL) /*!< Position of STARTED field. */
  5425. #define PDM_INTEN_STARTED_Msk (0x1UL << PDM_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */
  5426. #define PDM_INTEN_STARTED_Disabled (0UL) /*!< Disable */
  5427. #define PDM_INTEN_STARTED_Enabled (1UL) /*!< Enable */
  5428. /* Register: PDM_INTENSET */
  5429. /* Description: Enable interrupt */
  5430. /* Bit 2 : Write '1' to Enable interrupt for END event */
  5431. #define PDM_INTENSET_END_Pos (2UL) /*!< Position of END field. */
  5432. #define PDM_INTENSET_END_Msk (0x1UL << PDM_INTENSET_END_Pos) /*!< Bit mask of END field. */
  5433. #define PDM_INTENSET_END_Disabled (0UL) /*!< Read: Disabled */
  5434. #define PDM_INTENSET_END_Enabled (1UL) /*!< Read: Enabled */
  5435. #define PDM_INTENSET_END_Set (1UL) /*!< Enable */
  5436. /* Bit 1 : Write '1' to Enable interrupt for STOPPED event */
  5437. #define PDM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  5438. #define PDM_INTENSET_STOPPED_Msk (0x1UL << PDM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  5439. #define PDM_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  5440. #define PDM_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  5441. #define PDM_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  5442. /* Bit 0 : Write '1' to Enable interrupt for STARTED event */
  5443. #define PDM_INTENSET_STARTED_Pos (0UL) /*!< Position of STARTED field. */
  5444. #define PDM_INTENSET_STARTED_Msk (0x1UL << PDM_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */
  5445. #define PDM_INTENSET_STARTED_Disabled (0UL) /*!< Read: Disabled */
  5446. #define PDM_INTENSET_STARTED_Enabled (1UL) /*!< Read: Enabled */
  5447. #define PDM_INTENSET_STARTED_Set (1UL) /*!< Enable */
  5448. /* Register: PDM_INTENCLR */
  5449. /* Description: Disable interrupt */
  5450. /* Bit 2 : Write '1' to Disable interrupt for END event */
  5451. #define PDM_INTENCLR_END_Pos (2UL) /*!< Position of END field. */
  5452. #define PDM_INTENCLR_END_Msk (0x1UL << PDM_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  5453. #define PDM_INTENCLR_END_Disabled (0UL) /*!< Read: Disabled */
  5454. #define PDM_INTENCLR_END_Enabled (1UL) /*!< Read: Enabled */
  5455. #define PDM_INTENCLR_END_Clear (1UL) /*!< Disable */
  5456. /* Bit 1 : Write '1' to Disable interrupt for STOPPED event */
  5457. #define PDM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  5458. #define PDM_INTENCLR_STOPPED_Msk (0x1UL << PDM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  5459. #define PDM_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  5460. #define PDM_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  5461. #define PDM_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  5462. /* Bit 0 : Write '1' to Disable interrupt for STARTED event */
  5463. #define PDM_INTENCLR_STARTED_Pos (0UL) /*!< Position of STARTED field. */
  5464. #define PDM_INTENCLR_STARTED_Msk (0x1UL << PDM_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */
  5465. #define PDM_INTENCLR_STARTED_Disabled (0UL) /*!< Read: Disabled */
  5466. #define PDM_INTENCLR_STARTED_Enabled (1UL) /*!< Read: Enabled */
  5467. #define PDM_INTENCLR_STARTED_Clear (1UL) /*!< Disable */
  5468. /* Register: PDM_ENABLE */
  5469. /* Description: PDM module enable register */
  5470. /* Bit 0 : Enable or disable PDM module */
  5471. #define PDM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  5472. #define PDM_ENABLE_ENABLE_Msk (0x1UL << PDM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  5473. #define PDM_ENABLE_ENABLE_Disabled (0UL) /*!< Disable */
  5474. #define PDM_ENABLE_ENABLE_Enabled (1UL) /*!< Enable */
  5475. /* Register: PDM_PDMCLKCTRL */
  5476. /* Description: PDM clock generator control */
  5477. /* Bits 31..0 : PDM_CLK frequency */
  5478. #define PDM_PDMCLKCTRL_FREQ_Pos (0UL) /*!< Position of FREQ field. */
  5479. #define PDM_PDMCLKCTRL_FREQ_Msk (0xFFFFFFFFUL << PDM_PDMCLKCTRL_FREQ_Pos) /*!< Bit mask of FREQ field. */
  5480. #define PDM_PDMCLKCTRL_FREQ_1000K (0x08000000UL) /*!< PDM_CLK = 32 MHz / 32 = 1.000 MHz */
  5481. #define PDM_PDMCLKCTRL_FREQ_Default (0x08400000UL) /*!< PDM_CLK = 32 MHz / 31 = 1.032 MHz */
  5482. #define PDM_PDMCLKCTRL_FREQ_1067K (0x08800000UL) /*!< PDM_CLK = 32 MHz / 30 = 1.067 MHz */
  5483. /* Register: PDM_MODE */
  5484. /* Description: Defines the routing of the connected PDM microphones' signals */
  5485. /* Bit 1 : Defines on which PDM_CLK edge Left (or mono) is sampled */
  5486. #define PDM_MODE_EDGE_Pos (1UL) /*!< Position of EDGE field. */
  5487. #define PDM_MODE_EDGE_Msk (0x1UL << PDM_MODE_EDGE_Pos) /*!< Bit mask of EDGE field. */
  5488. #define PDM_MODE_EDGE_LeftFalling (0UL) /*!< Left (or mono) is sampled on falling edge of PDM_CLK */
  5489. #define PDM_MODE_EDGE_LeftRising (1UL) /*!< Left (or mono) is sampled on rising edge of PDM_CLK */
  5490. /* Bit 0 : Mono or stereo operation */
  5491. #define PDM_MODE_OPERATION_Pos (0UL) /*!< Position of OPERATION field. */
  5492. #define PDM_MODE_OPERATION_Msk (0x1UL << PDM_MODE_OPERATION_Pos) /*!< Bit mask of OPERATION field. */
  5493. #define PDM_MODE_OPERATION_Stereo (0UL) /*!< Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0] */
  5494. #define PDM_MODE_OPERATION_Mono (1UL) /*!< Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0] */
  5495. /* Register: PDM_GAINL */
  5496. /* Description: Left output gain adjustment */
  5497. /* Bits 6..0 : Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (...) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (...) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust */
  5498. #define PDM_GAINL_GAINL_Pos (0UL) /*!< Position of GAINL field. */
  5499. #define PDM_GAINL_GAINL_Msk (0x7FUL << PDM_GAINL_GAINL_Pos) /*!< Bit mask of GAINL field. */
  5500. #define PDM_GAINL_GAINL_MinGain (0x00UL) /*!< -20dB gain adjustment (minimum) */
  5501. #define PDM_GAINL_GAINL_DefaultGain (0x28UL) /*!< 0dB gain adjustment ('2500 RMS' requirement) */
  5502. #define PDM_GAINL_GAINL_MaxGain (0x50UL) /*!< +20dB gain adjustment (maximum) */
  5503. /* Register: PDM_GAINR */
  5504. /* Description: Right output gain adjustment */
  5505. /* Bits 7..0 : Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) */
  5506. #define PDM_GAINR_GAINR_Pos (0UL) /*!< Position of GAINR field. */
  5507. #define PDM_GAINR_GAINR_Msk (0xFFUL << PDM_GAINR_GAINR_Pos) /*!< Bit mask of GAINR field. */
  5508. #define PDM_GAINR_GAINR_MinGain (0x00UL) /*!< -20dB gain adjustment (minimum) */
  5509. #define PDM_GAINR_GAINR_DefaultGain (0x28UL) /*!< 0dB gain adjustment ('2500 RMS' requirement) */
  5510. #define PDM_GAINR_GAINR_MaxGain (0x50UL) /*!< +20dB gain adjustment (maximum) */
  5511. /* Register: PDM_PSEL_CLK */
  5512. /* Description: Pin number configuration for PDM CLK signal */
  5513. /* Bit 31 : Connection */
  5514. #define PDM_PSEL_CLK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  5515. #define PDM_PSEL_CLK_CONNECT_Msk (0x1UL << PDM_PSEL_CLK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  5516. #define PDM_PSEL_CLK_CONNECT_Connected (0UL) /*!< Connect */
  5517. #define PDM_PSEL_CLK_CONNECT_Disconnected (1UL) /*!< Disconnect */
  5518. /* Bits 4..0 : Pin number */
  5519. #define PDM_PSEL_CLK_PIN_Pos (0UL) /*!< Position of PIN field. */
  5520. #define PDM_PSEL_CLK_PIN_Msk (0x1FUL << PDM_PSEL_CLK_PIN_Pos) /*!< Bit mask of PIN field. */
  5521. /* Register: PDM_PSEL_DIN */
  5522. /* Description: Pin number configuration for PDM DIN signal */
  5523. /* Bit 31 : Connection */
  5524. #define PDM_PSEL_DIN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  5525. #define PDM_PSEL_DIN_CONNECT_Msk (0x1UL << PDM_PSEL_DIN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  5526. #define PDM_PSEL_DIN_CONNECT_Connected (0UL) /*!< Connect */
  5527. #define PDM_PSEL_DIN_CONNECT_Disconnected (1UL) /*!< Disconnect */
  5528. /* Bits 4..0 : Pin number */
  5529. #define PDM_PSEL_DIN_PIN_Pos (0UL) /*!< Position of PIN field. */
  5530. #define PDM_PSEL_DIN_PIN_Msk (0x1FUL << PDM_PSEL_DIN_PIN_Pos) /*!< Bit mask of PIN field. */
  5531. /* Register: PDM_SAMPLE_PTR */
  5532. /* Description: RAM address pointer to write samples to with EasyDMA */
  5533. /* Bits 31..0 : Address to write PDM samples to over DMA */
  5534. #define PDM_SAMPLE_PTR_SAMPLEPTR_Pos (0UL) /*!< Position of SAMPLEPTR field. */
  5535. #define PDM_SAMPLE_PTR_SAMPLEPTR_Msk (0xFFFFFFFFUL << PDM_SAMPLE_PTR_SAMPLEPTR_Pos) /*!< Bit mask of SAMPLEPTR field. */
  5536. /* Register: PDM_SAMPLE_MAXCNT */
  5537. /* Description: Number of samples to allocate memory for in EasyDMA mode */
  5538. /* Bits 14..0 : Length of DMA RAM allocation in number of samples */
  5539. #define PDM_SAMPLE_MAXCNT_BUFFSIZE_Pos (0UL) /*!< Position of BUFFSIZE field. */
  5540. #define PDM_SAMPLE_MAXCNT_BUFFSIZE_Msk (0x7FFFUL << PDM_SAMPLE_MAXCNT_BUFFSIZE_Pos) /*!< Bit mask of BUFFSIZE field. */
  5541. /* Peripheral: POWER */
  5542. /* Description: Power control */
  5543. /* Register: POWER_INTENSET */
  5544. /* Description: Enable interrupt */
  5545. /* Bit 6 : Write '1' to Enable interrupt for SLEEPEXIT event */
  5546. #define POWER_INTENSET_SLEEPEXIT_Pos (6UL) /*!< Position of SLEEPEXIT field. */
  5547. #define POWER_INTENSET_SLEEPEXIT_Msk (0x1UL << POWER_INTENSET_SLEEPEXIT_Pos) /*!< Bit mask of SLEEPEXIT field. */
  5548. #define POWER_INTENSET_SLEEPEXIT_Disabled (0UL) /*!< Read: Disabled */
  5549. #define POWER_INTENSET_SLEEPEXIT_Enabled (1UL) /*!< Read: Enabled */
  5550. #define POWER_INTENSET_SLEEPEXIT_Set (1UL) /*!< Enable */
  5551. /* Bit 5 : Write '1' to Enable interrupt for SLEEPENTER event */
  5552. #define POWER_INTENSET_SLEEPENTER_Pos (5UL) /*!< Position of SLEEPENTER field. */
  5553. #define POWER_INTENSET_SLEEPENTER_Msk (0x1UL << POWER_INTENSET_SLEEPENTER_Pos) /*!< Bit mask of SLEEPENTER field. */
  5554. #define POWER_INTENSET_SLEEPENTER_Disabled (0UL) /*!< Read: Disabled */
  5555. #define POWER_INTENSET_SLEEPENTER_Enabled (1UL) /*!< Read: Enabled */
  5556. #define POWER_INTENSET_SLEEPENTER_Set (1UL) /*!< Enable */
  5557. /* Bit 2 : Write '1' to Enable interrupt for POFWARN event */
  5558. #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
  5559. #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
  5560. #define POWER_INTENSET_POFWARN_Disabled (0UL) /*!< Read: Disabled */
  5561. #define POWER_INTENSET_POFWARN_Enabled (1UL) /*!< Read: Enabled */
  5562. #define POWER_INTENSET_POFWARN_Set (1UL) /*!< Enable */
  5563. /* Register: POWER_INTENCLR */
  5564. /* Description: Disable interrupt */
  5565. /* Bit 6 : Write '1' to Disable interrupt for SLEEPEXIT event */
  5566. #define POWER_INTENCLR_SLEEPEXIT_Pos (6UL) /*!< Position of SLEEPEXIT field. */
  5567. #define POWER_INTENCLR_SLEEPEXIT_Msk (0x1UL << POWER_INTENCLR_SLEEPEXIT_Pos) /*!< Bit mask of SLEEPEXIT field. */
  5568. #define POWER_INTENCLR_SLEEPEXIT_Disabled (0UL) /*!< Read: Disabled */
  5569. #define POWER_INTENCLR_SLEEPEXIT_Enabled (1UL) /*!< Read: Enabled */
  5570. #define POWER_INTENCLR_SLEEPEXIT_Clear (1UL) /*!< Disable */
  5571. /* Bit 5 : Write '1' to Disable interrupt for SLEEPENTER event */
  5572. #define POWER_INTENCLR_SLEEPENTER_Pos (5UL) /*!< Position of SLEEPENTER field. */
  5573. #define POWER_INTENCLR_SLEEPENTER_Msk (0x1UL << POWER_INTENCLR_SLEEPENTER_Pos) /*!< Bit mask of SLEEPENTER field. */
  5574. #define POWER_INTENCLR_SLEEPENTER_Disabled (0UL) /*!< Read: Disabled */
  5575. #define POWER_INTENCLR_SLEEPENTER_Enabled (1UL) /*!< Read: Enabled */
  5576. #define POWER_INTENCLR_SLEEPENTER_Clear (1UL) /*!< Disable */
  5577. /* Bit 2 : Write '1' to Disable interrupt for POFWARN event */
  5578. #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
  5579. #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
  5580. #define POWER_INTENCLR_POFWARN_Disabled (0UL) /*!< Read: Disabled */
  5581. #define POWER_INTENCLR_POFWARN_Enabled (1UL) /*!< Read: Enabled */
  5582. #define POWER_INTENCLR_POFWARN_Clear (1UL) /*!< Disable */
  5583. /* Register: POWER_RESETREAS */
  5584. /* Description: Reset reason */
  5585. /* Bit 19 : Reset due to wake up from System OFF mode by NFC field detect */
  5586. #define POWER_RESETREAS_NFC_Pos (19UL) /*!< Position of NFC field. */
  5587. #define POWER_RESETREAS_NFC_Msk (0x1UL << POWER_RESETREAS_NFC_Pos) /*!< Bit mask of NFC field. */
  5588. #define POWER_RESETREAS_NFC_NotDetected (0UL) /*!< Not detected */
  5589. #define POWER_RESETREAS_NFC_Detected (1UL) /*!< Detected */
  5590. /* Bit 18 : Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode */
  5591. #define POWER_RESETREAS_DIF_Pos (18UL) /*!< Position of DIF field. */
  5592. #define POWER_RESETREAS_DIF_Msk (0x1UL << POWER_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */
  5593. #define POWER_RESETREAS_DIF_NotDetected (0UL) /*!< Not detected */
  5594. #define POWER_RESETREAS_DIF_Detected (1UL) /*!< Detected */
  5595. /* Bit 17 : Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP */
  5596. #define POWER_RESETREAS_LPCOMP_Pos (17UL) /*!< Position of LPCOMP field. */
  5597. #define POWER_RESETREAS_LPCOMP_Msk (0x1UL << POWER_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */
  5598. #define POWER_RESETREAS_LPCOMP_NotDetected (0UL) /*!< Not detected */
  5599. #define POWER_RESETREAS_LPCOMP_Detected (1UL) /*!< Detected */
  5600. /* Bit 16 : Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO */
  5601. #define POWER_RESETREAS_OFF_Pos (16UL) /*!< Position of OFF field. */
  5602. #define POWER_RESETREAS_OFF_Msk (0x1UL << POWER_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */
  5603. #define POWER_RESETREAS_OFF_NotDetected (0UL) /*!< Not detected */
  5604. #define POWER_RESETREAS_OFF_Detected (1UL) /*!< Detected */
  5605. /* Bit 3 : Reset from CPU lock-up detected */
  5606. #define POWER_RESETREAS_LOCKUP_Pos (3UL) /*!< Position of LOCKUP field. */
  5607. #define POWER_RESETREAS_LOCKUP_Msk (0x1UL << POWER_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */
  5608. #define POWER_RESETREAS_LOCKUP_NotDetected (0UL) /*!< Not detected */
  5609. #define POWER_RESETREAS_LOCKUP_Detected (1UL) /*!< Detected */
  5610. /* Bit 2 : Reset from soft reset detected */
  5611. #define POWER_RESETREAS_SREQ_Pos (2UL) /*!< Position of SREQ field. */
  5612. #define POWER_RESETREAS_SREQ_Msk (0x1UL << POWER_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */
  5613. #define POWER_RESETREAS_SREQ_NotDetected (0UL) /*!< Not detected */
  5614. #define POWER_RESETREAS_SREQ_Detected (1UL) /*!< Detected */
  5615. /* Bit 1 : Reset from watchdog detected */
  5616. #define POWER_RESETREAS_DOG_Pos (1UL) /*!< Position of DOG field. */
  5617. #define POWER_RESETREAS_DOG_Msk (0x1UL << POWER_RESETREAS_DOG_Pos) /*!< Bit mask of DOG field. */
  5618. #define POWER_RESETREAS_DOG_NotDetected (0UL) /*!< Not detected */
  5619. #define POWER_RESETREAS_DOG_Detected (1UL) /*!< Detected */
  5620. /* Bit 0 : Reset from pin-reset detected */
  5621. #define POWER_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */
  5622. #define POWER_RESETREAS_RESETPIN_Msk (0x1UL << POWER_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */
  5623. #define POWER_RESETREAS_RESETPIN_NotDetected (0UL) /*!< Not detected */
  5624. #define POWER_RESETREAS_RESETPIN_Detected (1UL) /*!< Detected */
  5625. /* Register: POWER_RAMSTATUS */
  5626. /* Description: Deprecated register - RAM status register */
  5627. /* Bit 3 : RAM block 3 is on or off/powering up */
  5628. #define POWER_RAMSTATUS_RAMBLOCK3_Pos (3UL) /*!< Position of RAMBLOCK3 field. */
  5629. #define POWER_RAMSTATUS_RAMBLOCK3_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK3_Pos) /*!< Bit mask of RAMBLOCK3 field. */
  5630. #define POWER_RAMSTATUS_RAMBLOCK3_Off (0UL) /*!< Off */
  5631. #define POWER_RAMSTATUS_RAMBLOCK3_On (1UL) /*!< On */
  5632. /* Bit 2 : RAM block 2 is on or off/powering up */
  5633. #define POWER_RAMSTATUS_RAMBLOCK2_Pos (2UL) /*!< Position of RAMBLOCK2 field. */
  5634. #define POWER_RAMSTATUS_RAMBLOCK2_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK2_Pos) /*!< Bit mask of RAMBLOCK2 field. */
  5635. #define POWER_RAMSTATUS_RAMBLOCK2_Off (0UL) /*!< Off */
  5636. #define POWER_RAMSTATUS_RAMBLOCK2_On (1UL) /*!< On */
  5637. /* Bit 1 : RAM block 1 is on or off/powering up */
  5638. #define POWER_RAMSTATUS_RAMBLOCK1_Pos (1UL) /*!< Position of RAMBLOCK1 field. */
  5639. #define POWER_RAMSTATUS_RAMBLOCK1_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK1_Pos) /*!< Bit mask of RAMBLOCK1 field. */
  5640. #define POWER_RAMSTATUS_RAMBLOCK1_Off (0UL) /*!< Off */
  5641. #define POWER_RAMSTATUS_RAMBLOCK1_On (1UL) /*!< On */
  5642. /* Bit 0 : RAM block 0 is on or off/powering up */
  5643. #define POWER_RAMSTATUS_RAMBLOCK0_Pos (0UL) /*!< Position of RAMBLOCK0 field. */
  5644. #define POWER_RAMSTATUS_RAMBLOCK0_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK0_Pos) /*!< Bit mask of RAMBLOCK0 field. */
  5645. #define POWER_RAMSTATUS_RAMBLOCK0_Off (0UL) /*!< Off */
  5646. #define POWER_RAMSTATUS_RAMBLOCK0_On (1UL) /*!< On */
  5647. /* Register: POWER_SYSTEMOFF */
  5648. /* Description: System OFF register */
  5649. /* Bit 0 : Enable System OFF mode */
  5650. #define POWER_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */
  5651. #define POWER_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << POWER_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */
  5652. #define POWER_SYSTEMOFF_SYSTEMOFF_Enter (1UL) /*!< Enable System OFF mode */
  5653. /* Register: POWER_POFCON */
  5654. /* Description: Power failure comparator configuration */
  5655. /* Bits 4..1 : Power failure comparator threshold setting */
  5656. #define POWER_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */
  5657. #define POWER_POFCON_THRESHOLD_Msk (0xFUL << POWER_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */
  5658. #define POWER_POFCON_THRESHOLD_V17 (4UL) /*!< Set threshold to 1.7 V */
  5659. #define POWER_POFCON_THRESHOLD_V18 (5UL) /*!< Set threshold to 1.8 V */
  5660. #define POWER_POFCON_THRESHOLD_V19 (6UL) /*!< Set threshold to 1.9 V */
  5661. #define POWER_POFCON_THRESHOLD_V20 (7UL) /*!< Set threshold to 2.0 V */
  5662. #define POWER_POFCON_THRESHOLD_V21 (8UL) /*!< Set threshold to 2.1 V */
  5663. #define POWER_POFCON_THRESHOLD_V22 (9UL) /*!< Set threshold to 2.2 V */
  5664. #define POWER_POFCON_THRESHOLD_V23 (10UL) /*!< Set threshold to 2.3 V */
  5665. #define POWER_POFCON_THRESHOLD_V24 (11UL) /*!< Set threshold to 2.4 V */
  5666. #define POWER_POFCON_THRESHOLD_V25 (12UL) /*!< Set threshold to 2.5 V */
  5667. #define POWER_POFCON_THRESHOLD_V26 (13UL) /*!< Set threshold to 2.6 V */
  5668. #define POWER_POFCON_THRESHOLD_V27 (14UL) /*!< Set threshold to 2.7 V */
  5669. #define POWER_POFCON_THRESHOLD_V28 (15UL) /*!< Set threshold to 2.8 V */
  5670. /* Bit 0 : Enable or disable power failure comparator */
  5671. #define POWER_POFCON_POF_Pos (0UL) /*!< Position of POF field. */
  5672. #define POWER_POFCON_POF_Msk (0x1UL << POWER_POFCON_POF_Pos) /*!< Bit mask of POF field. */
  5673. #define POWER_POFCON_POF_Disabled (0UL) /*!< Disable */
  5674. #define POWER_POFCON_POF_Enabled (1UL) /*!< Enable */
  5675. /* Register: POWER_GPREGRET */
  5676. /* Description: General purpose retention register */
  5677. /* Bits 7..0 : General purpose retention register */
  5678. #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */
  5679. #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */
  5680. /* Register: POWER_GPREGRET2 */
  5681. /* Description: General purpose retention register */
  5682. /* Bits 7..0 : General purpose retention register */
  5683. #define POWER_GPREGRET2_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */
  5684. #define POWER_GPREGRET2_GPREGRET_Msk (0xFFUL << POWER_GPREGRET2_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */
  5685. /* Register: POWER_RAMON */
  5686. /* Description: Deprecated register - RAM on/off register (this register is retained) */
  5687. /* Bit 17 : Keep retention on RAM block 1 when RAM block is switched off */
  5688. #define POWER_RAMON_OFFRAM1_Pos (17UL) /*!< Position of OFFRAM1 field. */
  5689. #define POWER_RAMON_OFFRAM1_Msk (0x1UL << POWER_RAMON_OFFRAM1_Pos) /*!< Bit mask of OFFRAM1 field. */
  5690. #define POWER_RAMON_OFFRAM1_RAM1Off (0UL) /*!< Off */
  5691. #define POWER_RAMON_OFFRAM1_RAM1On (1UL) /*!< On */
  5692. /* Bit 16 : Keep retention on RAM block 0 when RAM block is switched off */
  5693. #define POWER_RAMON_OFFRAM0_Pos (16UL) /*!< Position of OFFRAM0 field. */
  5694. #define POWER_RAMON_OFFRAM0_Msk (0x1UL << POWER_RAMON_OFFRAM0_Pos) /*!< Bit mask of OFFRAM0 field. */
  5695. #define POWER_RAMON_OFFRAM0_RAM0Off (0UL) /*!< Off */
  5696. #define POWER_RAMON_OFFRAM0_RAM0On (1UL) /*!< On */
  5697. /* Bit 1 : Keep RAM block 1 on or off in system ON Mode */
  5698. #define POWER_RAMON_ONRAM1_Pos (1UL) /*!< Position of ONRAM1 field. */
  5699. #define POWER_RAMON_ONRAM1_Msk (0x1UL << POWER_RAMON_ONRAM1_Pos) /*!< Bit mask of ONRAM1 field. */
  5700. #define POWER_RAMON_ONRAM1_RAM1Off (0UL) /*!< Off */
  5701. #define POWER_RAMON_ONRAM1_RAM1On (1UL) /*!< On */
  5702. /* Bit 0 : Keep RAM block 0 on or off in system ON Mode */
  5703. #define POWER_RAMON_ONRAM0_Pos (0UL) /*!< Position of ONRAM0 field. */
  5704. #define POWER_RAMON_ONRAM0_Msk (0x1UL << POWER_RAMON_ONRAM0_Pos) /*!< Bit mask of ONRAM0 field. */
  5705. #define POWER_RAMON_ONRAM0_RAM0Off (0UL) /*!< Off */
  5706. #define POWER_RAMON_ONRAM0_RAM0On (1UL) /*!< On */
  5707. /* Register: POWER_RAMONB */
  5708. /* Description: Deprecated register - RAM on/off register (this register is retained) */
  5709. /* Bit 17 : Keep retention on RAM block 3 when RAM block is switched off */
  5710. #define POWER_RAMONB_OFFRAM3_Pos (17UL) /*!< Position of OFFRAM3 field. */
  5711. #define POWER_RAMONB_OFFRAM3_Msk (0x1UL << POWER_RAMONB_OFFRAM3_Pos) /*!< Bit mask of OFFRAM3 field. */
  5712. #define POWER_RAMONB_OFFRAM3_RAM3Off (0UL) /*!< Off */
  5713. #define POWER_RAMONB_OFFRAM3_RAM3On (1UL) /*!< On */
  5714. /* Bit 16 : Keep retention on RAM block 2 when RAM block is switched off */
  5715. #define POWER_RAMONB_OFFRAM2_Pos (16UL) /*!< Position of OFFRAM2 field. */
  5716. #define POWER_RAMONB_OFFRAM2_Msk (0x1UL << POWER_RAMONB_OFFRAM2_Pos) /*!< Bit mask of OFFRAM2 field. */
  5717. #define POWER_RAMONB_OFFRAM2_RAM2Off (0UL) /*!< Off */
  5718. #define POWER_RAMONB_OFFRAM2_RAM2On (1UL) /*!< On */
  5719. /* Bit 1 : Keep RAM block 3 on or off in system ON Mode */
  5720. #define POWER_RAMONB_ONRAM3_Pos (1UL) /*!< Position of ONRAM3 field. */
  5721. #define POWER_RAMONB_ONRAM3_Msk (0x1UL << POWER_RAMONB_ONRAM3_Pos) /*!< Bit mask of ONRAM3 field. */
  5722. #define POWER_RAMONB_ONRAM3_RAM3Off (0UL) /*!< Off */
  5723. #define POWER_RAMONB_ONRAM3_RAM3On (1UL) /*!< On */
  5724. /* Bit 0 : Keep RAM block 2 on or off in system ON Mode */
  5725. #define POWER_RAMONB_ONRAM2_Pos (0UL) /*!< Position of ONRAM2 field. */
  5726. #define POWER_RAMONB_ONRAM2_Msk (0x1UL << POWER_RAMONB_ONRAM2_Pos) /*!< Bit mask of ONRAM2 field. */
  5727. #define POWER_RAMONB_ONRAM2_RAM2Off (0UL) /*!< Off */
  5728. #define POWER_RAMONB_ONRAM2_RAM2On (1UL) /*!< On */
  5729. /* Register: POWER_DCDCEN */
  5730. /* Description: DC/DC enable register */
  5731. /* Bit 0 : Enable or disable DC/DC converter */
  5732. #define POWER_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */
  5733. #define POWER_DCDCEN_DCDCEN_Msk (0x1UL << POWER_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */
  5734. #define POWER_DCDCEN_DCDCEN_Disabled (0UL) /*!< Disable */
  5735. #define POWER_DCDCEN_DCDCEN_Enabled (1UL) /*!< Enable */
  5736. /* Register: POWER_RAM_POWER */
  5737. /* Description: Description cluster[0]: RAM0 power control register */
  5738. /* Bit 17 : Keep retention on RAM section S1 when RAM section is in OFF */
  5739. #define POWER_RAM_POWER_S1RETENTION_Pos (17UL) /*!< Position of S1RETENTION field. */
  5740. #define POWER_RAM_POWER_S1RETENTION_Msk (0x1UL << POWER_RAM_POWER_S1RETENTION_Pos) /*!< Bit mask of S1RETENTION field. */
  5741. #define POWER_RAM_POWER_S1RETENTION_Off (0UL) /*!< Off */
  5742. #define POWER_RAM_POWER_S1RETENTION_On (1UL) /*!< On */
  5743. /* Bit 16 : Keep retention on RAM section S0 when RAM section is in OFF */
  5744. #define POWER_RAM_POWER_S0RETENTION_Pos (16UL) /*!< Position of S0RETENTION field. */
  5745. #define POWER_RAM_POWER_S0RETENTION_Msk (0x1UL << POWER_RAM_POWER_S0RETENTION_Pos) /*!< Bit mask of S0RETENTION field. */
  5746. #define POWER_RAM_POWER_S0RETENTION_Off (0UL) /*!< Off */
  5747. #define POWER_RAM_POWER_S0RETENTION_On (1UL) /*!< On */
  5748. /* Bit 1 : Keep RAM section S1 ON or OFF in System ON mode. */
  5749. #define POWER_RAM_POWER_S1POWER_Pos (1UL) /*!< Position of S1POWER field. */
  5750. #define POWER_RAM_POWER_S1POWER_Msk (0x1UL << POWER_RAM_POWER_S1POWER_Pos) /*!< Bit mask of S1POWER field. */
  5751. #define POWER_RAM_POWER_S1POWER_Off (0UL) /*!< Off */
  5752. #define POWER_RAM_POWER_S1POWER_On (1UL) /*!< On */
  5753. /* Bit 0 : Keep RAM section S0 ON or OFF in System ON mode. */
  5754. #define POWER_RAM_POWER_S0POWER_Pos (0UL) /*!< Position of S0POWER field. */
  5755. #define POWER_RAM_POWER_S0POWER_Msk (0x1UL << POWER_RAM_POWER_S0POWER_Pos) /*!< Bit mask of S0POWER field. */
  5756. #define POWER_RAM_POWER_S0POWER_Off (0UL) /*!< Off */
  5757. #define POWER_RAM_POWER_S0POWER_On (1UL) /*!< On */
  5758. /* Register: POWER_RAM_POWERSET */
  5759. /* Description: Description cluster[0]: RAM0 power control set register */
  5760. /* Bit 17 : Keep retention on RAM section S1 when RAM section is switched off */
  5761. #define POWER_RAM_POWERSET_S1RETENTION_Pos (17UL) /*!< Position of S1RETENTION field. */
  5762. #define POWER_RAM_POWERSET_S1RETENTION_Msk (0x1UL << POWER_RAM_POWERSET_S1RETENTION_Pos) /*!< Bit mask of S1RETENTION field. */
  5763. #define POWER_RAM_POWERSET_S1RETENTION_On (1UL) /*!< On */
  5764. /* Bit 16 : Keep retention on RAM section S0 when RAM section is switched off */
  5765. #define POWER_RAM_POWERSET_S0RETENTION_Pos (16UL) /*!< Position of S0RETENTION field. */
  5766. #define POWER_RAM_POWERSET_S0RETENTION_Msk (0x1UL << POWER_RAM_POWERSET_S0RETENTION_Pos) /*!< Bit mask of S0RETENTION field. */
  5767. #define POWER_RAM_POWERSET_S0RETENTION_On (1UL) /*!< On */
  5768. /* Bit 1 : Keep RAM section S1 of RAM0 on or off in System ON mode */
  5769. #define POWER_RAM_POWERSET_S1POWER_Pos (1UL) /*!< Position of S1POWER field. */
  5770. #define POWER_RAM_POWERSET_S1POWER_Msk (0x1UL << POWER_RAM_POWERSET_S1POWER_Pos) /*!< Bit mask of S1POWER field. */
  5771. #define POWER_RAM_POWERSET_S1POWER_On (1UL) /*!< On */
  5772. /* Bit 0 : Keep RAM section S0 of RAM0 on or off in System ON mode */
  5773. #define POWER_RAM_POWERSET_S0POWER_Pos (0UL) /*!< Position of S0POWER field. */
  5774. #define POWER_RAM_POWERSET_S0POWER_Msk (0x1UL << POWER_RAM_POWERSET_S0POWER_Pos) /*!< Bit mask of S0POWER field. */
  5775. #define POWER_RAM_POWERSET_S0POWER_On (1UL) /*!< On */
  5776. /* Register: POWER_RAM_POWERCLR */
  5777. /* Description: Description cluster[0]: RAM0 power control clear register */
  5778. /* Bit 17 : Keep retention on RAM section S1 when RAM section is switched off */
  5779. #define POWER_RAM_POWERCLR_S1RETENTION_Pos (17UL) /*!< Position of S1RETENTION field. */
  5780. #define POWER_RAM_POWERCLR_S1RETENTION_Msk (0x1UL << POWER_RAM_POWERCLR_S1RETENTION_Pos) /*!< Bit mask of S1RETENTION field. */
  5781. #define POWER_RAM_POWERCLR_S1RETENTION_Off (1UL) /*!< Off */
  5782. /* Bit 16 : Keep retention on RAM section S0 when RAM section is switched off */
  5783. #define POWER_RAM_POWERCLR_S0RETENTION_Pos (16UL) /*!< Position of S0RETENTION field. */
  5784. #define POWER_RAM_POWERCLR_S0RETENTION_Msk (0x1UL << POWER_RAM_POWERCLR_S0RETENTION_Pos) /*!< Bit mask of S0RETENTION field. */
  5785. #define POWER_RAM_POWERCLR_S0RETENTION_Off (1UL) /*!< Off */
  5786. /* Bit 1 : Keep RAM section S1 of RAM0 on or off in System ON mode */
  5787. #define POWER_RAM_POWERCLR_S1POWER_Pos (1UL) /*!< Position of S1POWER field. */
  5788. #define POWER_RAM_POWERCLR_S1POWER_Msk (0x1UL << POWER_RAM_POWERCLR_S1POWER_Pos) /*!< Bit mask of S1POWER field. */
  5789. #define POWER_RAM_POWERCLR_S1POWER_Off (1UL) /*!< Off */
  5790. /* Bit 0 : Keep RAM section S0 of RAM0 on or off in System ON mode */
  5791. #define POWER_RAM_POWERCLR_S0POWER_Pos (0UL) /*!< Position of S0POWER field. */
  5792. #define POWER_RAM_POWERCLR_S0POWER_Msk (0x1UL << POWER_RAM_POWERCLR_S0POWER_Pos) /*!< Bit mask of S0POWER field. */
  5793. #define POWER_RAM_POWERCLR_S0POWER_Off (1UL) /*!< Off */
  5794. /* Peripheral: PPI */
  5795. /* Description: Programmable Peripheral Interconnect */
  5796. /* Register: PPI_CHEN */
  5797. /* Description: Channel enable register */
  5798. /* Bit 31 : Enable or disable channel 31 */
  5799. #define PPI_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */
  5800. #define PPI_CHEN_CH31_Msk (0x1UL << PPI_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */
  5801. #define PPI_CHEN_CH31_Disabled (0UL) /*!< Disable channel */
  5802. #define PPI_CHEN_CH31_Enabled (1UL) /*!< Enable channel */
  5803. /* Bit 30 : Enable or disable channel 30 */
  5804. #define PPI_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */
  5805. #define PPI_CHEN_CH30_Msk (0x1UL << PPI_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */
  5806. #define PPI_CHEN_CH30_Disabled (0UL) /*!< Disable channel */
  5807. #define PPI_CHEN_CH30_Enabled (1UL) /*!< Enable channel */
  5808. /* Bit 29 : Enable or disable channel 29 */
  5809. #define PPI_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */
  5810. #define PPI_CHEN_CH29_Msk (0x1UL << PPI_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */
  5811. #define PPI_CHEN_CH29_Disabled (0UL) /*!< Disable channel */
  5812. #define PPI_CHEN_CH29_Enabled (1UL) /*!< Enable channel */
  5813. /* Bit 28 : Enable or disable channel 28 */
  5814. #define PPI_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */
  5815. #define PPI_CHEN_CH28_Msk (0x1UL << PPI_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */
  5816. #define PPI_CHEN_CH28_Disabled (0UL) /*!< Disable channel */
  5817. #define PPI_CHEN_CH28_Enabled (1UL) /*!< Enable channel */
  5818. /* Bit 27 : Enable or disable channel 27 */
  5819. #define PPI_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */
  5820. #define PPI_CHEN_CH27_Msk (0x1UL << PPI_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */
  5821. #define PPI_CHEN_CH27_Disabled (0UL) /*!< Disable channel */
  5822. #define PPI_CHEN_CH27_Enabled (1UL) /*!< Enable channel */
  5823. /* Bit 26 : Enable or disable channel 26 */
  5824. #define PPI_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */
  5825. #define PPI_CHEN_CH26_Msk (0x1UL << PPI_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */
  5826. #define PPI_CHEN_CH26_Disabled (0UL) /*!< Disable channel */
  5827. #define PPI_CHEN_CH26_Enabled (1UL) /*!< Enable channel */
  5828. /* Bit 25 : Enable or disable channel 25 */
  5829. #define PPI_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */
  5830. #define PPI_CHEN_CH25_Msk (0x1UL << PPI_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */
  5831. #define PPI_CHEN_CH25_Disabled (0UL) /*!< Disable channel */
  5832. #define PPI_CHEN_CH25_Enabled (1UL) /*!< Enable channel */
  5833. /* Bit 24 : Enable or disable channel 24 */
  5834. #define PPI_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */
  5835. #define PPI_CHEN_CH24_Msk (0x1UL << PPI_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */
  5836. #define PPI_CHEN_CH24_Disabled (0UL) /*!< Disable channel */
  5837. #define PPI_CHEN_CH24_Enabled (1UL) /*!< Enable channel */
  5838. /* Bit 23 : Enable or disable channel 23 */
  5839. #define PPI_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */
  5840. #define PPI_CHEN_CH23_Msk (0x1UL << PPI_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */
  5841. #define PPI_CHEN_CH23_Disabled (0UL) /*!< Disable channel */
  5842. #define PPI_CHEN_CH23_Enabled (1UL) /*!< Enable channel */
  5843. /* Bit 22 : Enable or disable channel 22 */
  5844. #define PPI_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */
  5845. #define PPI_CHEN_CH22_Msk (0x1UL << PPI_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */
  5846. #define PPI_CHEN_CH22_Disabled (0UL) /*!< Disable channel */
  5847. #define PPI_CHEN_CH22_Enabled (1UL) /*!< Enable channel */
  5848. /* Bit 21 : Enable or disable channel 21 */
  5849. #define PPI_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */
  5850. #define PPI_CHEN_CH21_Msk (0x1UL << PPI_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */
  5851. #define PPI_CHEN_CH21_Disabled (0UL) /*!< Disable channel */
  5852. #define PPI_CHEN_CH21_Enabled (1UL) /*!< Enable channel */
  5853. /* Bit 20 : Enable or disable channel 20 */
  5854. #define PPI_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */
  5855. #define PPI_CHEN_CH20_Msk (0x1UL << PPI_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */
  5856. #define PPI_CHEN_CH20_Disabled (0UL) /*!< Disable channel */
  5857. #define PPI_CHEN_CH20_Enabled (1UL) /*!< Enable channel */
  5858. /* Bit 19 : Enable or disable channel 19 */
  5859. #define PPI_CHEN_CH19_Pos (19UL) /*!< Position of CH19 field. */
  5860. #define PPI_CHEN_CH19_Msk (0x1UL << PPI_CHEN_CH19_Pos) /*!< Bit mask of CH19 field. */
  5861. #define PPI_CHEN_CH19_Disabled (0UL) /*!< Disable channel */
  5862. #define PPI_CHEN_CH19_Enabled (1UL) /*!< Enable channel */
  5863. /* Bit 18 : Enable or disable channel 18 */
  5864. #define PPI_CHEN_CH18_Pos (18UL) /*!< Position of CH18 field. */
  5865. #define PPI_CHEN_CH18_Msk (0x1UL << PPI_CHEN_CH18_Pos) /*!< Bit mask of CH18 field. */
  5866. #define PPI_CHEN_CH18_Disabled (0UL) /*!< Disable channel */
  5867. #define PPI_CHEN_CH18_Enabled (1UL) /*!< Enable channel */
  5868. /* Bit 17 : Enable or disable channel 17 */
  5869. #define PPI_CHEN_CH17_Pos (17UL) /*!< Position of CH17 field. */
  5870. #define PPI_CHEN_CH17_Msk (0x1UL << PPI_CHEN_CH17_Pos) /*!< Bit mask of CH17 field. */
  5871. #define PPI_CHEN_CH17_Disabled (0UL) /*!< Disable channel */
  5872. #define PPI_CHEN_CH17_Enabled (1UL) /*!< Enable channel */
  5873. /* Bit 16 : Enable or disable channel 16 */
  5874. #define PPI_CHEN_CH16_Pos (16UL) /*!< Position of CH16 field. */
  5875. #define PPI_CHEN_CH16_Msk (0x1UL << PPI_CHEN_CH16_Pos) /*!< Bit mask of CH16 field. */
  5876. #define PPI_CHEN_CH16_Disabled (0UL) /*!< Disable channel */
  5877. #define PPI_CHEN_CH16_Enabled (1UL) /*!< Enable channel */
  5878. /* Bit 15 : Enable or disable channel 15 */
  5879. #define PPI_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */
  5880. #define PPI_CHEN_CH15_Msk (0x1UL << PPI_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */
  5881. #define PPI_CHEN_CH15_Disabled (0UL) /*!< Disable channel */
  5882. #define PPI_CHEN_CH15_Enabled (1UL) /*!< Enable channel */
  5883. /* Bit 14 : Enable or disable channel 14 */
  5884. #define PPI_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */
  5885. #define PPI_CHEN_CH14_Msk (0x1UL << PPI_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */
  5886. #define PPI_CHEN_CH14_Disabled (0UL) /*!< Disable channel */
  5887. #define PPI_CHEN_CH14_Enabled (1UL) /*!< Enable channel */
  5888. /* Bit 13 : Enable or disable channel 13 */
  5889. #define PPI_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */
  5890. #define PPI_CHEN_CH13_Msk (0x1UL << PPI_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */
  5891. #define PPI_CHEN_CH13_Disabled (0UL) /*!< Disable channel */
  5892. #define PPI_CHEN_CH13_Enabled (1UL) /*!< Enable channel */
  5893. /* Bit 12 : Enable or disable channel 12 */
  5894. #define PPI_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */
  5895. #define PPI_CHEN_CH12_Msk (0x1UL << PPI_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */
  5896. #define PPI_CHEN_CH12_Disabled (0UL) /*!< Disable channel */
  5897. #define PPI_CHEN_CH12_Enabled (1UL) /*!< Enable channel */
  5898. /* Bit 11 : Enable or disable channel 11 */
  5899. #define PPI_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */
  5900. #define PPI_CHEN_CH11_Msk (0x1UL << PPI_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */
  5901. #define PPI_CHEN_CH11_Disabled (0UL) /*!< Disable channel */
  5902. #define PPI_CHEN_CH11_Enabled (1UL) /*!< Enable channel */
  5903. /* Bit 10 : Enable or disable channel 10 */
  5904. #define PPI_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */
  5905. #define PPI_CHEN_CH10_Msk (0x1UL << PPI_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */
  5906. #define PPI_CHEN_CH10_Disabled (0UL) /*!< Disable channel */
  5907. #define PPI_CHEN_CH10_Enabled (1UL) /*!< Enable channel */
  5908. /* Bit 9 : Enable or disable channel 9 */
  5909. #define PPI_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */
  5910. #define PPI_CHEN_CH9_Msk (0x1UL << PPI_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */
  5911. #define PPI_CHEN_CH9_Disabled (0UL) /*!< Disable channel */
  5912. #define PPI_CHEN_CH9_Enabled (1UL) /*!< Enable channel */
  5913. /* Bit 8 : Enable or disable channel 8 */
  5914. #define PPI_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */
  5915. #define PPI_CHEN_CH8_Msk (0x1UL << PPI_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */
  5916. #define PPI_CHEN_CH8_Disabled (0UL) /*!< Disable channel */
  5917. #define PPI_CHEN_CH8_Enabled (1UL) /*!< Enable channel */
  5918. /* Bit 7 : Enable or disable channel 7 */
  5919. #define PPI_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */
  5920. #define PPI_CHEN_CH7_Msk (0x1UL << PPI_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */
  5921. #define PPI_CHEN_CH7_Disabled (0UL) /*!< Disable channel */
  5922. #define PPI_CHEN_CH7_Enabled (1UL) /*!< Enable channel */
  5923. /* Bit 6 : Enable or disable channel 6 */
  5924. #define PPI_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */
  5925. #define PPI_CHEN_CH6_Msk (0x1UL << PPI_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */
  5926. #define PPI_CHEN_CH6_Disabled (0UL) /*!< Disable channel */
  5927. #define PPI_CHEN_CH6_Enabled (1UL) /*!< Enable channel */
  5928. /* Bit 5 : Enable or disable channel 5 */
  5929. #define PPI_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */
  5930. #define PPI_CHEN_CH5_Msk (0x1UL << PPI_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */
  5931. #define PPI_CHEN_CH5_Disabled (0UL) /*!< Disable channel */
  5932. #define PPI_CHEN_CH5_Enabled (1UL) /*!< Enable channel */
  5933. /* Bit 4 : Enable or disable channel 4 */
  5934. #define PPI_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */
  5935. #define PPI_CHEN_CH4_Msk (0x1UL << PPI_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */
  5936. #define PPI_CHEN_CH4_Disabled (0UL) /*!< Disable channel */
  5937. #define PPI_CHEN_CH4_Enabled (1UL) /*!< Enable channel */
  5938. /* Bit 3 : Enable or disable channel 3 */
  5939. #define PPI_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */
  5940. #define PPI_CHEN_CH3_Msk (0x1UL << PPI_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */
  5941. #define PPI_CHEN_CH3_Disabled (0UL) /*!< Disable channel */
  5942. #define PPI_CHEN_CH3_Enabled (1UL) /*!< Enable channel */
  5943. /* Bit 2 : Enable or disable channel 2 */
  5944. #define PPI_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */
  5945. #define PPI_CHEN_CH2_Msk (0x1UL << PPI_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */
  5946. #define PPI_CHEN_CH2_Disabled (0UL) /*!< Disable channel */
  5947. #define PPI_CHEN_CH2_Enabled (1UL) /*!< Enable channel */
  5948. /* Bit 1 : Enable or disable channel 1 */
  5949. #define PPI_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */
  5950. #define PPI_CHEN_CH1_Msk (0x1UL << PPI_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */
  5951. #define PPI_CHEN_CH1_Disabled (0UL) /*!< Disable channel */
  5952. #define PPI_CHEN_CH1_Enabled (1UL) /*!< Enable channel */
  5953. /* Bit 0 : Enable or disable channel 0 */
  5954. #define PPI_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */
  5955. #define PPI_CHEN_CH0_Msk (0x1UL << PPI_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */
  5956. #define PPI_CHEN_CH0_Disabled (0UL) /*!< Disable channel */
  5957. #define PPI_CHEN_CH0_Enabled (1UL) /*!< Enable channel */
  5958. /* Register: PPI_CHENSET */
  5959. /* Description: Channel enable set register */
  5960. /* Bit 31 : Channel 31 enable set register. Writing '0' has no effect */
  5961. #define PPI_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */
  5962. #define PPI_CHENSET_CH31_Msk (0x1UL << PPI_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */
  5963. #define PPI_CHENSET_CH31_Disabled (0UL) /*!< Read: channel disabled */
  5964. #define PPI_CHENSET_CH31_Enabled (1UL) /*!< Read: channel enabled */
  5965. #define PPI_CHENSET_CH31_Set (1UL) /*!< Write: Enable channel */
  5966. /* Bit 30 : Channel 30 enable set register. Writing '0' has no effect */
  5967. #define PPI_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */
  5968. #define PPI_CHENSET_CH30_Msk (0x1UL << PPI_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */
  5969. #define PPI_CHENSET_CH30_Disabled (0UL) /*!< Read: channel disabled */
  5970. #define PPI_CHENSET_CH30_Enabled (1UL) /*!< Read: channel enabled */
  5971. #define PPI_CHENSET_CH30_Set (1UL) /*!< Write: Enable channel */
  5972. /* Bit 29 : Channel 29 enable set register. Writing '0' has no effect */
  5973. #define PPI_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */
  5974. #define PPI_CHENSET_CH29_Msk (0x1UL << PPI_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */
  5975. #define PPI_CHENSET_CH29_Disabled (0UL) /*!< Read: channel disabled */
  5976. #define PPI_CHENSET_CH29_Enabled (1UL) /*!< Read: channel enabled */
  5977. #define PPI_CHENSET_CH29_Set (1UL) /*!< Write: Enable channel */
  5978. /* Bit 28 : Channel 28 enable set register. Writing '0' has no effect */
  5979. #define PPI_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */
  5980. #define PPI_CHENSET_CH28_Msk (0x1UL << PPI_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */
  5981. #define PPI_CHENSET_CH28_Disabled (0UL) /*!< Read: channel disabled */
  5982. #define PPI_CHENSET_CH28_Enabled (1UL) /*!< Read: channel enabled */
  5983. #define PPI_CHENSET_CH28_Set (1UL) /*!< Write: Enable channel */
  5984. /* Bit 27 : Channel 27 enable set register. Writing '0' has no effect */
  5985. #define PPI_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */
  5986. #define PPI_CHENSET_CH27_Msk (0x1UL << PPI_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */
  5987. #define PPI_CHENSET_CH27_Disabled (0UL) /*!< Read: channel disabled */
  5988. #define PPI_CHENSET_CH27_Enabled (1UL) /*!< Read: channel enabled */
  5989. #define PPI_CHENSET_CH27_Set (1UL) /*!< Write: Enable channel */
  5990. /* Bit 26 : Channel 26 enable set register. Writing '0' has no effect */
  5991. #define PPI_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */
  5992. #define PPI_CHENSET_CH26_Msk (0x1UL << PPI_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */
  5993. #define PPI_CHENSET_CH26_Disabled (0UL) /*!< Read: channel disabled */
  5994. #define PPI_CHENSET_CH26_Enabled (1UL) /*!< Read: channel enabled */
  5995. #define PPI_CHENSET_CH26_Set (1UL) /*!< Write: Enable channel */
  5996. /* Bit 25 : Channel 25 enable set register. Writing '0' has no effect */
  5997. #define PPI_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */
  5998. #define PPI_CHENSET_CH25_Msk (0x1UL << PPI_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */
  5999. #define PPI_CHENSET_CH25_Disabled (0UL) /*!< Read: channel disabled */
  6000. #define PPI_CHENSET_CH25_Enabled (1UL) /*!< Read: channel enabled */
  6001. #define PPI_CHENSET_CH25_Set (1UL) /*!< Write: Enable channel */
  6002. /* Bit 24 : Channel 24 enable set register. Writing '0' has no effect */
  6003. #define PPI_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */
  6004. #define PPI_CHENSET_CH24_Msk (0x1UL << PPI_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */
  6005. #define PPI_CHENSET_CH24_Disabled (0UL) /*!< Read: channel disabled */
  6006. #define PPI_CHENSET_CH24_Enabled (1UL) /*!< Read: channel enabled */
  6007. #define PPI_CHENSET_CH24_Set (1UL) /*!< Write: Enable channel */
  6008. /* Bit 23 : Channel 23 enable set register. Writing '0' has no effect */
  6009. #define PPI_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */
  6010. #define PPI_CHENSET_CH23_Msk (0x1UL << PPI_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */
  6011. #define PPI_CHENSET_CH23_Disabled (0UL) /*!< Read: channel disabled */
  6012. #define PPI_CHENSET_CH23_Enabled (1UL) /*!< Read: channel enabled */
  6013. #define PPI_CHENSET_CH23_Set (1UL) /*!< Write: Enable channel */
  6014. /* Bit 22 : Channel 22 enable set register. Writing '0' has no effect */
  6015. #define PPI_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */
  6016. #define PPI_CHENSET_CH22_Msk (0x1UL << PPI_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */
  6017. #define PPI_CHENSET_CH22_Disabled (0UL) /*!< Read: channel disabled */
  6018. #define PPI_CHENSET_CH22_Enabled (1UL) /*!< Read: channel enabled */
  6019. #define PPI_CHENSET_CH22_Set (1UL) /*!< Write: Enable channel */
  6020. /* Bit 21 : Channel 21 enable set register. Writing '0' has no effect */
  6021. #define PPI_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */
  6022. #define PPI_CHENSET_CH21_Msk (0x1UL << PPI_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */
  6023. #define PPI_CHENSET_CH21_Disabled (0UL) /*!< Read: channel disabled */
  6024. #define PPI_CHENSET_CH21_Enabled (1UL) /*!< Read: channel enabled */
  6025. #define PPI_CHENSET_CH21_Set (1UL) /*!< Write: Enable channel */
  6026. /* Bit 20 : Channel 20 enable set register. Writing '0' has no effect */
  6027. #define PPI_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */
  6028. #define PPI_CHENSET_CH20_Msk (0x1UL << PPI_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */
  6029. #define PPI_CHENSET_CH20_Disabled (0UL) /*!< Read: channel disabled */
  6030. #define PPI_CHENSET_CH20_Enabled (1UL) /*!< Read: channel enabled */
  6031. #define PPI_CHENSET_CH20_Set (1UL) /*!< Write: Enable channel */
  6032. /* Bit 19 : Channel 19 enable set register. Writing '0' has no effect */
  6033. #define PPI_CHENSET_CH19_Pos (19UL) /*!< Position of CH19 field. */
  6034. #define PPI_CHENSET_CH19_Msk (0x1UL << PPI_CHENSET_CH19_Pos) /*!< Bit mask of CH19 field. */
  6035. #define PPI_CHENSET_CH19_Disabled (0UL) /*!< Read: channel disabled */
  6036. #define PPI_CHENSET_CH19_Enabled (1UL) /*!< Read: channel enabled */
  6037. #define PPI_CHENSET_CH19_Set (1UL) /*!< Write: Enable channel */
  6038. /* Bit 18 : Channel 18 enable set register. Writing '0' has no effect */
  6039. #define PPI_CHENSET_CH18_Pos (18UL) /*!< Position of CH18 field. */
  6040. #define PPI_CHENSET_CH18_Msk (0x1UL << PPI_CHENSET_CH18_Pos) /*!< Bit mask of CH18 field. */
  6041. #define PPI_CHENSET_CH18_Disabled (0UL) /*!< Read: channel disabled */
  6042. #define PPI_CHENSET_CH18_Enabled (1UL) /*!< Read: channel enabled */
  6043. #define PPI_CHENSET_CH18_Set (1UL) /*!< Write: Enable channel */
  6044. /* Bit 17 : Channel 17 enable set register. Writing '0' has no effect */
  6045. #define PPI_CHENSET_CH17_Pos (17UL) /*!< Position of CH17 field. */
  6046. #define PPI_CHENSET_CH17_Msk (0x1UL << PPI_CHENSET_CH17_Pos) /*!< Bit mask of CH17 field. */
  6047. #define PPI_CHENSET_CH17_Disabled (0UL) /*!< Read: channel disabled */
  6048. #define PPI_CHENSET_CH17_Enabled (1UL) /*!< Read: channel enabled */
  6049. #define PPI_CHENSET_CH17_Set (1UL) /*!< Write: Enable channel */
  6050. /* Bit 16 : Channel 16 enable set register. Writing '0' has no effect */
  6051. #define PPI_CHENSET_CH16_Pos (16UL) /*!< Position of CH16 field. */
  6052. #define PPI_CHENSET_CH16_Msk (0x1UL << PPI_CHENSET_CH16_Pos) /*!< Bit mask of CH16 field. */
  6053. #define PPI_CHENSET_CH16_Disabled (0UL) /*!< Read: channel disabled */
  6054. #define PPI_CHENSET_CH16_Enabled (1UL) /*!< Read: channel enabled */
  6055. #define PPI_CHENSET_CH16_Set (1UL) /*!< Write: Enable channel */
  6056. /* Bit 15 : Channel 15 enable set register. Writing '0' has no effect */
  6057. #define PPI_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */
  6058. #define PPI_CHENSET_CH15_Msk (0x1UL << PPI_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */
  6059. #define PPI_CHENSET_CH15_Disabled (0UL) /*!< Read: channel disabled */
  6060. #define PPI_CHENSET_CH15_Enabled (1UL) /*!< Read: channel enabled */
  6061. #define PPI_CHENSET_CH15_Set (1UL) /*!< Write: Enable channel */
  6062. /* Bit 14 : Channel 14 enable set register. Writing '0' has no effect */
  6063. #define PPI_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */
  6064. #define PPI_CHENSET_CH14_Msk (0x1UL << PPI_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */
  6065. #define PPI_CHENSET_CH14_Disabled (0UL) /*!< Read: channel disabled */
  6066. #define PPI_CHENSET_CH14_Enabled (1UL) /*!< Read: channel enabled */
  6067. #define PPI_CHENSET_CH14_Set (1UL) /*!< Write: Enable channel */
  6068. /* Bit 13 : Channel 13 enable set register. Writing '0' has no effect */
  6069. #define PPI_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */
  6070. #define PPI_CHENSET_CH13_Msk (0x1UL << PPI_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */
  6071. #define PPI_CHENSET_CH13_Disabled (0UL) /*!< Read: channel disabled */
  6072. #define PPI_CHENSET_CH13_Enabled (1UL) /*!< Read: channel enabled */
  6073. #define PPI_CHENSET_CH13_Set (1UL) /*!< Write: Enable channel */
  6074. /* Bit 12 : Channel 12 enable set register. Writing '0' has no effect */
  6075. #define PPI_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */
  6076. #define PPI_CHENSET_CH12_Msk (0x1UL << PPI_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */
  6077. #define PPI_CHENSET_CH12_Disabled (0UL) /*!< Read: channel disabled */
  6078. #define PPI_CHENSET_CH12_Enabled (1UL) /*!< Read: channel enabled */
  6079. #define PPI_CHENSET_CH12_Set (1UL) /*!< Write: Enable channel */
  6080. /* Bit 11 : Channel 11 enable set register. Writing '0' has no effect */
  6081. #define PPI_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */
  6082. #define PPI_CHENSET_CH11_Msk (0x1UL << PPI_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */
  6083. #define PPI_CHENSET_CH11_Disabled (0UL) /*!< Read: channel disabled */
  6084. #define PPI_CHENSET_CH11_Enabled (1UL) /*!< Read: channel enabled */
  6085. #define PPI_CHENSET_CH11_Set (1UL) /*!< Write: Enable channel */
  6086. /* Bit 10 : Channel 10 enable set register. Writing '0' has no effect */
  6087. #define PPI_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */
  6088. #define PPI_CHENSET_CH10_Msk (0x1UL << PPI_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */
  6089. #define PPI_CHENSET_CH10_Disabled (0UL) /*!< Read: channel disabled */
  6090. #define PPI_CHENSET_CH10_Enabled (1UL) /*!< Read: channel enabled */
  6091. #define PPI_CHENSET_CH10_Set (1UL) /*!< Write: Enable channel */
  6092. /* Bit 9 : Channel 9 enable set register. Writing '0' has no effect */
  6093. #define PPI_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */
  6094. #define PPI_CHENSET_CH9_Msk (0x1UL << PPI_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */
  6095. #define PPI_CHENSET_CH9_Disabled (0UL) /*!< Read: channel disabled */
  6096. #define PPI_CHENSET_CH9_Enabled (1UL) /*!< Read: channel enabled */
  6097. #define PPI_CHENSET_CH9_Set (1UL) /*!< Write: Enable channel */
  6098. /* Bit 8 : Channel 8 enable set register. Writing '0' has no effect */
  6099. #define PPI_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */
  6100. #define PPI_CHENSET_CH8_Msk (0x1UL << PPI_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */
  6101. #define PPI_CHENSET_CH8_Disabled (0UL) /*!< Read: channel disabled */
  6102. #define PPI_CHENSET_CH8_Enabled (1UL) /*!< Read: channel enabled */
  6103. #define PPI_CHENSET_CH8_Set (1UL) /*!< Write: Enable channel */
  6104. /* Bit 7 : Channel 7 enable set register. Writing '0' has no effect */
  6105. #define PPI_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */
  6106. #define PPI_CHENSET_CH7_Msk (0x1UL << PPI_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */
  6107. #define PPI_CHENSET_CH7_Disabled (0UL) /*!< Read: channel disabled */
  6108. #define PPI_CHENSET_CH7_Enabled (1UL) /*!< Read: channel enabled */
  6109. #define PPI_CHENSET_CH7_Set (1UL) /*!< Write: Enable channel */
  6110. /* Bit 6 : Channel 6 enable set register. Writing '0' has no effect */
  6111. #define PPI_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */
  6112. #define PPI_CHENSET_CH6_Msk (0x1UL << PPI_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */
  6113. #define PPI_CHENSET_CH6_Disabled (0UL) /*!< Read: channel disabled */
  6114. #define PPI_CHENSET_CH6_Enabled (1UL) /*!< Read: channel enabled */
  6115. #define PPI_CHENSET_CH6_Set (1UL) /*!< Write: Enable channel */
  6116. /* Bit 5 : Channel 5 enable set register. Writing '0' has no effect */
  6117. #define PPI_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */
  6118. #define PPI_CHENSET_CH5_Msk (0x1UL << PPI_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */
  6119. #define PPI_CHENSET_CH5_Disabled (0UL) /*!< Read: channel disabled */
  6120. #define PPI_CHENSET_CH5_Enabled (1UL) /*!< Read: channel enabled */
  6121. #define PPI_CHENSET_CH5_Set (1UL) /*!< Write: Enable channel */
  6122. /* Bit 4 : Channel 4 enable set register. Writing '0' has no effect */
  6123. #define PPI_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */
  6124. #define PPI_CHENSET_CH4_Msk (0x1UL << PPI_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */
  6125. #define PPI_CHENSET_CH4_Disabled (0UL) /*!< Read: channel disabled */
  6126. #define PPI_CHENSET_CH4_Enabled (1UL) /*!< Read: channel enabled */
  6127. #define PPI_CHENSET_CH4_Set (1UL) /*!< Write: Enable channel */
  6128. /* Bit 3 : Channel 3 enable set register. Writing '0' has no effect */
  6129. #define PPI_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */
  6130. #define PPI_CHENSET_CH3_Msk (0x1UL << PPI_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */
  6131. #define PPI_CHENSET_CH3_Disabled (0UL) /*!< Read: channel disabled */
  6132. #define PPI_CHENSET_CH3_Enabled (1UL) /*!< Read: channel enabled */
  6133. #define PPI_CHENSET_CH3_Set (1UL) /*!< Write: Enable channel */
  6134. /* Bit 2 : Channel 2 enable set register. Writing '0' has no effect */
  6135. #define PPI_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */
  6136. #define PPI_CHENSET_CH2_Msk (0x1UL << PPI_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */
  6137. #define PPI_CHENSET_CH2_Disabled (0UL) /*!< Read: channel disabled */
  6138. #define PPI_CHENSET_CH2_Enabled (1UL) /*!< Read: channel enabled */
  6139. #define PPI_CHENSET_CH2_Set (1UL) /*!< Write: Enable channel */
  6140. /* Bit 1 : Channel 1 enable set register. Writing '0' has no effect */
  6141. #define PPI_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */
  6142. #define PPI_CHENSET_CH1_Msk (0x1UL << PPI_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */
  6143. #define PPI_CHENSET_CH1_Disabled (0UL) /*!< Read: channel disabled */
  6144. #define PPI_CHENSET_CH1_Enabled (1UL) /*!< Read: channel enabled */
  6145. #define PPI_CHENSET_CH1_Set (1UL) /*!< Write: Enable channel */
  6146. /* Bit 0 : Channel 0 enable set register. Writing '0' has no effect */
  6147. #define PPI_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */
  6148. #define PPI_CHENSET_CH0_Msk (0x1UL << PPI_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */
  6149. #define PPI_CHENSET_CH0_Disabled (0UL) /*!< Read: channel disabled */
  6150. #define PPI_CHENSET_CH0_Enabled (1UL) /*!< Read: channel enabled */
  6151. #define PPI_CHENSET_CH0_Set (1UL) /*!< Write: Enable channel */
  6152. /* Register: PPI_CHENCLR */
  6153. /* Description: Channel enable clear register */
  6154. /* Bit 31 : Channel 31 enable clear register. Writing '0' has no effect */
  6155. #define PPI_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */
  6156. #define PPI_CHENCLR_CH31_Msk (0x1UL << PPI_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */
  6157. #define PPI_CHENCLR_CH31_Disabled (0UL) /*!< Read: channel disabled */
  6158. #define PPI_CHENCLR_CH31_Enabled (1UL) /*!< Read: channel enabled */
  6159. #define PPI_CHENCLR_CH31_Clear (1UL) /*!< Write: disable channel */
  6160. /* Bit 30 : Channel 30 enable clear register. Writing '0' has no effect */
  6161. #define PPI_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */
  6162. #define PPI_CHENCLR_CH30_Msk (0x1UL << PPI_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */
  6163. #define PPI_CHENCLR_CH30_Disabled (0UL) /*!< Read: channel disabled */
  6164. #define PPI_CHENCLR_CH30_Enabled (1UL) /*!< Read: channel enabled */
  6165. #define PPI_CHENCLR_CH30_Clear (1UL) /*!< Write: disable channel */
  6166. /* Bit 29 : Channel 29 enable clear register. Writing '0' has no effect */
  6167. #define PPI_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */
  6168. #define PPI_CHENCLR_CH29_Msk (0x1UL << PPI_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */
  6169. #define PPI_CHENCLR_CH29_Disabled (0UL) /*!< Read: channel disabled */
  6170. #define PPI_CHENCLR_CH29_Enabled (1UL) /*!< Read: channel enabled */
  6171. #define PPI_CHENCLR_CH29_Clear (1UL) /*!< Write: disable channel */
  6172. /* Bit 28 : Channel 28 enable clear register. Writing '0' has no effect */
  6173. #define PPI_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */
  6174. #define PPI_CHENCLR_CH28_Msk (0x1UL << PPI_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */
  6175. #define PPI_CHENCLR_CH28_Disabled (0UL) /*!< Read: channel disabled */
  6176. #define PPI_CHENCLR_CH28_Enabled (1UL) /*!< Read: channel enabled */
  6177. #define PPI_CHENCLR_CH28_Clear (1UL) /*!< Write: disable channel */
  6178. /* Bit 27 : Channel 27 enable clear register. Writing '0' has no effect */
  6179. #define PPI_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */
  6180. #define PPI_CHENCLR_CH27_Msk (0x1UL << PPI_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */
  6181. #define PPI_CHENCLR_CH27_Disabled (0UL) /*!< Read: channel disabled */
  6182. #define PPI_CHENCLR_CH27_Enabled (1UL) /*!< Read: channel enabled */
  6183. #define PPI_CHENCLR_CH27_Clear (1UL) /*!< Write: disable channel */
  6184. /* Bit 26 : Channel 26 enable clear register. Writing '0' has no effect */
  6185. #define PPI_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */
  6186. #define PPI_CHENCLR_CH26_Msk (0x1UL << PPI_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */
  6187. #define PPI_CHENCLR_CH26_Disabled (0UL) /*!< Read: channel disabled */
  6188. #define PPI_CHENCLR_CH26_Enabled (1UL) /*!< Read: channel enabled */
  6189. #define PPI_CHENCLR_CH26_Clear (1UL) /*!< Write: disable channel */
  6190. /* Bit 25 : Channel 25 enable clear register. Writing '0' has no effect */
  6191. #define PPI_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */
  6192. #define PPI_CHENCLR_CH25_Msk (0x1UL << PPI_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */
  6193. #define PPI_CHENCLR_CH25_Disabled (0UL) /*!< Read: channel disabled */
  6194. #define PPI_CHENCLR_CH25_Enabled (1UL) /*!< Read: channel enabled */
  6195. #define PPI_CHENCLR_CH25_Clear (1UL) /*!< Write: disable channel */
  6196. /* Bit 24 : Channel 24 enable clear register. Writing '0' has no effect */
  6197. #define PPI_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */
  6198. #define PPI_CHENCLR_CH24_Msk (0x1UL << PPI_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */
  6199. #define PPI_CHENCLR_CH24_Disabled (0UL) /*!< Read: channel disabled */
  6200. #define PPI_CHENCLR_CH24_Enabled (1UL) /*!< Read: channel enabled */
  6201. #define PPI_CHENCLR_CH24_Clear (1UL) /*!< Write: disable channel */
  6202. /* Bit 23 : Channel 23 enable clear register. Writing '0' has no effect */
  6203. #define PPI_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */
  6204. #define PPI_CHENCLR_CH23_Msk (0x1UL << PPI_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */
  6205. #define PPI_CHENCLR_CH23_Disabled (0UL) /*!< Read: channel disabled */
  6206. #define PPI_CHENCLR_CH23_Enabled (1UL) /*!< Read: channel enabled */
  6207. #define PPI_CHENCLR_CH23_Clear (1UL) /*!< Write: disable channel */
  6208. /* Bit 22 : Channel 22 enable clear register. Writing '0' has no effect */
  6209. #define PPI_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */
  6210. #define PPI_CHENCLR_CH22_Msk (0x1UL << PPI_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */
  6211. #define PPI_CHENCLR_CH22_Disabled (0UL) /*!< Read: channel disabled */
  6212. #define PPI_CHENCLR_CH22_Enabled (1UL) /*!< Read: channel enabled */
  6213. #define PPI_CHENCLR_CH22_Clear (1UL) /*!< Write: disable channel */
  6214. /* Bit 21 : Channel 21 enable clear register. Writing '0' has no effect */
  6215. #define PPI_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */
  6216. #define PPI_CHENCLR_CH21_Msk (0x1UL << PPI_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */
  6217. #define PPI_CHENCLR_CH21_Disabled (0UL) /*!< Read: channel disabled */
  6218. #define PPI_CHENCLR_CH21_Enabled (1UL) /*!< Read: channel enabled */
  6219. #define PPI_CHENCLR_CH21_Clear (1UL) /*!< Write: disable channel */
  6220. /* Bit 20 : Channel 20 enable clear register. Writing '0' has no effect */
  6221. #define PPI_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */
  6222. #define PPI_CHENCLR_CH20_Msk (0x1UL << PPI_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */
  6223. #define PPI_CHENCLR_CH20_Disabled (0UL) /*!< Read: channel disabled */
  6224. #define PPI_CHENCLR_CH20_Enabled (1UL) /*!< Read: channel enabled */
  6225. #define PPI_CHENCLR_CH20_Clear (1UL) /*!< Write: disable channel */
  6226. /* Bit 19 : Channel 19 enable clear register. Writing '0' has no effect */
  6227. #define PPI_CHENCLR_CH19_Pos (19UL) /*!< Position of CH19 field. */
  6228. #define PPI_CHENCLR_CH19_Msk (0x1UL << PPI_CHENCLR_CH19_Pos) /*!< Bit mask of CH19 field. */
  6229. #define PPI_CHENCLR_CH19_Disabled (0UL) /*!< Read: channel disabled */
  6230. #define PPI_CHENCLR_CH19_Enabled (1UL) /*!< Read: channel enabled */
  6231. #define PPI_CHENCLR_CH19_Clear (1UL) /*!< Write: disable channel */
  6232. /* Bit 18 : Channel 18 enable clear register. Writing '0' has no effect */
  6233. #define PPI_CHENCLR_CH18_Pos (18UL) /*!< Position of CH18 field. */
  6234. #define PPI_CHENCLR_CH18_Msk (0x1UL << PPI_CHENCLR_CH18_Pos) /*!< Bit mask of CH18 field. */
  6235. #define PPI_CHENCLR_CH18_Disabled (0UL) /*!< Read: channel disabled */
  6236. #define PPI_CHENCLR_CH18_Enabled (1UL) /*!< Read: channel enabled */
  6237. #define PPI_CHENCLR_CH18_Clear (1UL) /*!< Write: disable channel */
  6238. /* Bit 17 : Channel 17 enable clear register. Writing '0' has no effect */
  6239. #define PPI_CHENCLR_CH17_Pos (17UL) /*!< Position of CH17 field. */
  6240. #define PPI_CHENCLR_CH17_Msk (0x1UL << PPI_CHENCLR_CH17_Pos) /*!< Bit mask of CH17 field. */
  6241. #define PPI_CHENCLR_CH17_Disabled (0UL) /*!< Read: channel disabled */
  6242. #define PPI_CHENCLR_CH17_Enabled (1UL) /*!< Read: channel enabled */
  6243. #define PPI_CHENCLR_CH17_Clear (1UL) /*!< Write: disable channel */
  6244. /* Bit 16 : Channel 16 enable clear register. Writing '0' has no effect */
  6245. #define PPI_CHENCLR_CH16_Pos (16UL) /*!< Position of CH16 field. */
  6246. #define PPI_CHENCLR_CH16_Msk (0x1UL << PPI_CHENCLR_CH16_Pos) /*!< Bit mask of CH16 field. */
  6247. #define PPI_CHENCLR_CH16_Disabled (0UL) /*!< Read: channel disabled */
  6248. #define PPI_CHENCLR_CH16_Enabled (1UL) /*!< Read: channel enabled */
  6249. #define PPI_CHENCLR_CH16_Clear (1UL) /*!< Write: disable channel */
  6250. /* Bit 15 : Channel 15 enable clear register. Writing '0' has no effect */
  6251. #define PPI_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */
  6252. #define PPI_CHENCLR_CH15_Msk (0x1UL << PPI_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */
  6253. #define PPI_CHENCLR_CH15_Disabled (0UL) /*!< Read: channel disabled */
  6254. #define PPI_CHENCLR_CH15_Enabled (1UL) /*!< Read: channel enabled */
  6255. #define PPI_CHENCLR_CH15_Clear (1UL) /*!< Write: disable channel */
  6256. /* Bit 14 : Channel 14 enable clear register. Writing '0' has no effect */
  6257. #define PPI_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */
  6258. #define PPI_CHENCLR_CH14_Msk (0x1UL << PPI_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */
  6259. #define PPI_CHENCLR_CH14_Disabled (0UL) /*!< Read: channel disabled */
  6260. #define PPI_CHENCLR_CH14_Enabled (1UL) /*!< Read: channel enabled */
  6261. #define PPI_CHENCLR_CH14_Clear (1UL) /*!< Write: disable channel */
  6262. /* Bit 13 : Channel 13 enable clear register. Writing '0' has no effect */
  6263. #define PPI_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */
  6264. #define PPI_CHENCLR_CH13_Msk (0x1UL << PPI_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */
  6265. #define PPI_CHENCLR_CH13_Disabled (0UL) /*!< Read: channel disabled */
  6266. #define PPI_CHENCLR_CH13_Enabled (1UL) /*!< Read: channel enabled */
  6267. #define PPI_CHENCLR_CH13_Clear (1UL) /*!< Write: disable channel */
  6268. /* Bit 12 : Channel 12 enable clear register. Writing '0' has no effect */
  6269. #define PPI_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */
  6270. #define PPI_CHENCLR_CH12_Msk (0x1UL << PPI_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */
  6271. #define PPI_CHENCLR_CH12_Disabled (0UL) /*!< Read: channel disabled */
  6272. #define PPI_CHENCLR_CH12_Enabled (1UL) /*!< Read: channel enabled */
  6273. #define PPI_CHENCLR_CH12_Clear (1UL) /*!< Write: disable channel */
  6274. /* Bit 11 : Channel 11 enable clear register. Writing '0' has no effect */
  6275. #define PPI_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */
  6276. #define PPI_CHENCLR_CH11_Msk (0x1UL << PPI_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */
  6277. #define PPI_CHENCLR_CH11_Disabled (0UL) /*!< Read: channel disabled */
  6278. #define PPI_CHENCLR_CH11_Enabled (1UL) /*!< Read: channel enabled */
  6279. #define PPI_CHENCLR_CH11_Clear (1UL) /*!< Write: disable channel */
  6280. /* Bit 10 : Channel 10 enable clear register. Writing '0' has no effect */
  6281. #define PPI_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */
  6282. #define PPI_CHENCLR_CH10_Msk (0x1UL << PPI_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */
  6283. #define PPI_CHENCLR_CH10_Disabled (0UL) /*!< Read: channel disabled */
  6284. #define PPI_CHENCLR_CH10_Enabled (1UL) /*!< Read: channel enabled */
  6285. #define PPI_CHENCLR_CH10_Clear (1UL) /*!< Write: disable channel */
  6286. /* Bit 9 : Channel 9 enable clear register. Writing '0' has no effect */
  6287. #define PPI_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */
  6288. #define PPI_CHENCLR_CH9_Msk (0x1UL << PPI_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */
  6289. #define PPI_CHENCLR_CH9_Disabled (0UL) /*!< Read: channel disabled */
  6290. #define PPI_CHENCLR_CH9_Enabled (1UL) /*!< Read: channel enabled */
  6291. #define PPI_CHENCLR_CH9_Clear (1UL) /*!< Write: disable channel */
  6292. /* Bit 8 : Channel 8 enable clear register. Writing '0' has no effect */
  6293. #define PPI_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */
  6294. #define PPI_CHENCLR_CH8_Msk (0x1UL << PPI_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */
  6295. #define PPI_CHENCLR_CH8_Disabled (0UL) /*!< Read: channel disabled */
  6296. #define PPI_CHENCLR_CH8_Enabled (1UL) /*!< Read: channel enabled */
  6297. #define PPI_CHENCLR_CH8_Clear (1UL) /*!< Write: disable channel */
  6298. /* Bit 7 : Channel 7 enable clear register. Writing '0' has no effect */
  6299. #define PPI_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */
  6300. #define PPI_CHENCLR_CH7_Msk (0x1UL << PPI_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */
  6301. #define PPI_CHENCLR_CH7_Disabled (0UL) /*!< Read: channel disabled */
  6302. #define PPI_CHENCLR_CH7_Enabled (1UL) /*!< Read: channel enabled */
  6303. #define PPI_CHENCLR_CH7_Clear (1UL) /*!< Write: disable channel */
  6304. /* Bit 6 : Channel 6 enable clear register. Writing '0' has no effect */
  6305. #define PPI_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */
  6306. #define PPI_CHENCLR_CH6_Msk (0x1UL << PPI_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */
  6307. #define PPI_CHENCLR_CH6_Disabled (0UL) /*!< Read: channel disabled */
  6308. #define PPI_CHENCLR_CH6_Enabled (1UL) /*!< Read: channel enabled */
  6309. #define PPI_CHENCLR_CH6_Clear (1UL) /*!< Write: disable channel */
  6310. /* Bit 5 : Channel 5 enable clear register. Writing '0' has no effect */
  6311. #define PPI_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */
  6312. #define PPI_CHENCLR_CH5_Msk (0x1UL << PPI_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */
  6313. #define PPI_CHENCLR_CH5_Disabled (0UL) /*!< Read: channel disabled */
  6314. #define PPI_CHENCLR_CH5_Enabled (1UL) /*!< Read: channel enabled */
  6315. #define PPI_CHENCLR_CH5_Clear (1UL) /*!< Write: disable channel */
  6316. /* Bit 4 : Channel 4 enable clear register. Writing '0' has no effect */
  6317. #define PPI_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */
  6318. #define PPI_CHENCLR_CH4_Msk (0x1UL << PPI_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */
  6319. #define PPI_CHENCLR_CH4_Disabled (0UL) /*!< Read: channel disabled */
  6320. #define PPI_CHENCLR_CH4_Enabled (1UL) /*!< Read: channel enabled */
  6321. #define PPI_CHENCLR_CH4_Clear (1UL) /*!< Write: disable channel */
  6322. /* Bit 3 : Channel 3 enable clear register. Writing '0' has no effect */
  6323. #define PPI_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */
  6324. #define PPI_CHENCLR_CH3_Msk (0x1UL << PPI_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */
  6325. #define PPI_CHENCLR_CH3_Disabled (0UL) /*!< Read: channel disabled */
  6326. #define PPI_CHENCLR_CH3_Enabled (1UL) /*!< Read: channel enabled */
  6327. #define PPI_CHENCLR_CH3_Clear (1UL) /*!< Write: disable channel */
  6328. /* Bit 2 : Channel 2 enable clear register. Writing '0' has no effect */
  6329. #define PPI_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */
  6330. #define PPI_CHENCLR_CH2_Msk (0x1UL << PPI_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */
  6331. #define PPI_CHENCLR_CH2_Disabled (0UL) /*!< Read: channel disabled */
  6332. #define PPI_CHENCLR_CH2_Enabled (1UL) /*!< Read: channel enabled */
  6333. #define PPI_CHENCLR_CH2_Clear (1UL) /*!< Write: disable channel */
  6334. /* Bit 1 : Channel 1 enable clear register. Writing '0' has no effect */
  6335. #define PPI_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */
  6336. #define PPI_CHENCLR_CH1_Msk (0x1UL << PPI_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */
  6337. #define PPI_CHENCLR_CH1_Disabled (0UL) /*!< Read: channel disabled */
  6338. #define PPI_CHENCLR_CH1_Enabled (1UL) /*!< Read: channel enabled */
  6339. #define PPI_CHENCLR_CH1_Clear (1UL) /*!< Write: disable channel */
  6340. /* Bit 0 : Channel 0 enable clear register. Writing '0' has no effect */
  6341. #define PPI_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */
  6342. #define PPI_CHENCLR_CH0_Msk (0x1UL << PPI_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */
  6343. #define PPI_CHENCLR_CH0_Disabled (0UL) /*!< Read: channel disabled */
  6344. #define PPI_CHENCLR_CH0_Enabled (1UL) /*!< Read: channel enabled */
  6345. #define PPI_CHENCLR_CH0_Clear (1UL) /*!< Write: disable channel */
  6346. /* Register: PPI_CH_EEP */
  6347. /* Description: Description cluster[0]: Channel 0 event end-point */
  6348. /* Bits 31..0 : Pointer to event register. Accepts only addresses to registers from the Event group. */
  6349. #define PPI_CH_EEP_EEP_Pos (0UL) /*!< Position of EEP field. */
  6350. #define PPI_CH_EEP_EEP_Msk (0xFFFFFFFFUL << PPI_CH_EEP_EEP_Pos) /*!< Bit mask of EEP field. */
  6351. /* Register: PPI_CH_TEP */
  6352. /* Description: Description cluster[0]: Channel 0 task end-point */
  6353. /* Bits 31..0 : Pointer to task register. Accepts only addresses to registers from the Task group. */
  6354. #define PPI_CH_TEP_TEP_Pos (0UL) /*!< Position of TEP field. */
  6355. #define PPI_CH_TEP_TEP_Msk (0xFFFFFFFFUL << PPI_CH_TEP_TEP_Pos) /*!< Bit mask of TEP field. */
  6356. /* Register: PPI_CHG */
  6357. /* Description: Description collection[0]: Channel group 0 */
  6358. /* Bit 31 : Include or exclude channel 31 */
  6359. #define PPI_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */
  6360. #define PPI_CHG_CH31_Msk (0x1UL << PPI_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */
  6361. #define PPI_CHG_CH31_Excluded (0UL) /*!< Exclude */
  6362. #define PPI_CHG_CH31_Included (1UL) /*!< Include */
  6363. /* Bit 30 : Include or exclude channel 30 */
  6364. #define PPI_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */
  6365. #define PPI_CHG_CH30_Msk (0x1UL << PPI_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */
  6366. #define PPI_CHG_CH30_Excluded (0UL) /*!< Exclude */
  6367. #define PPI_CHG_CH30_Included (1UL) /*!< Include */
  6368. /* Bit 29 : Include or exclude channel 29 */
  6369. #define PPI_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */
  6370. #define PPI_CHG_CH29_Msk (0x1UL << PPI_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */
  6371. #define PPI_CHG_CH29_Excluded (0UL) /*!< Exclude */
  6372. #define PPI_CHG_CH29_Included (1UL) /*!< Include */
  6373. /* Bit 28 : Include or exclude channel 28 */
  6374. #define PPI_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */
  6375. #define PPI_CHG_CH28_Msk (0x1UL << PPI_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */
  6376. #define PPI_CHG_CH28_Excluded (0UL) /*!< Exclude */
  6377. #define PPI_CHG_CH28_Included (1UL) /*!< Include */
  6378. /* Bit 27 : Include or exclude channel 27 */
  6379. #define PPI_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */
  6380. #define PPI_CHG_CH27_Msk (0x1UL << PPI_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */
  6381. #define PPI_CHG_CH27_Excluded (0UL) /*!< Exclude */
  6382. #define PPI_CHG_CH27_Included (1UL) /*!< Include */
  6383. /* Bit 26 : Include or exclude channel 26 */
  6384. #define PPI_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */
  6385. #define PPI_CHG_CH26_Msk (0x1UL << PPI_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */
  6386. #define PPI_CHG_CH26_Excluded (0UL) /*!< Exclude */
  6387. #define PPI_CHG_CH26_Included (1UL) /*!< Include */
  6388. /* Bit 25 : Include or exclude channel 25 */
  6389. #define PPI_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */
  6390. #define PPI_CHG_CH25_Msk (0x1UL << PPI_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */
  6391. #define PPI_CHG_CH25_Excluded (0UL) /*!< Exclude */
  6392. #define PPI_CHG_CH25_Included (1UL) /*!< Include */
  6393. /* Bit 24 : Include or exclude channel 24 */
  6394. #define PPI_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */
  6395. #define PPI_CHG_CH24_Msk (0x1UL << PPI_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */
  6396. #define PPI_CHG_CH24_Excluded (0UL) /*!< Exclude */
  6397. #define PPI_CHG_CH24_Included (1UL) /*!< Include */
  6398. /* Bit 23 : Include or exclude channel 23 */
  6399. #define PPI_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */
  6400. #define PPI_CHG_CH23_Msk (0x1UL << PPI_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */
  6401. #define PPI_CHG_CH23_Excluded (0UL) /*!< Exclude */
  6402. #define PPI_CHG_CH23_Included (1UL) /*!< Include */
  6403. /* Bit 22 : Include or exclude channel 22 */
  6404. #define PPI_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */
  6405. #define PPI_CHG_CH22_Msk (0x1UL << PPI_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */
  6406. #define PPI_CHG_CH22_Excluded (0UL) /*!< Exclude */
  6407. #define PPI_CHG_CH22_Included (1UL) /*!< Include */
  6408. /* Bit 21 : Include or exclude channel 21 */
  6409. #define PPI_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */
  6410. #define PPI_CHG_CH21_Msk (0x1UL << PPI_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */
  6411. #define PPI_CHG_CH21_Excluded (0UL) /*!< Exclude */
  6412. #define PPI_CHG_CH21_Included (1UL) /*!< Include */
  6413. /* Bit 20 : Include or exclude channel 20 */
  6414. #define PPI_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */
  6415. #define PPI_CHG_CH20_Msk (0x1UL << PPI_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */
  6416. #define PPI_CHG_CH20_Excluded (0UL) /*!< Exclude */
  6417. #define PPI_CHG_CH20_Included (1UL) /*!< Include */
  6418. /* Bit 19 : Include or exclude channel 19 */
  6419. #define PPI_CHG_CH19_Pos (19UL) /*!< Position of CH19 field. */
  6420. #define PPI_CHG_CH19_Msk (0x1UL << PPI_CHG_CH19_Pos) /*!< Bit mask of CH19 field. */
  6421. #define PPI_CHG_CH19_Excluded (0UL) /*!< Exclude */
  6422. #define PPI_CHG_CH19_Included (1UL) /*!< Include */
  6423. /* Bit 18 : Include or exclude channel 18 */
  6424. #define PPI_CHG_CH18_Pos (18UL) /*!< Position of CH18 field. */
  6425. #define PPI_CHG_CH18_Msk (0x1UL << PPI_CHG_CH18_Pos) /*!< Bit mask of CH18 field. */
  6426. #define PPI_CHG_CH18_Excluded (0UL) /*!< Exclude */
  6427. #define PPI_CHG_CH18_Included (1UL) /*!< Include */
  6428. /* Bit 17 : Include or exclude channel 17 */
  6429. #define PPI_CHG_CH17_Pos (17UL) /*!< Position of CH17 field. */
  6430. #define PPI_CHG_CH17_Msk (0x1UL << PPI_CHG_CH17_Pos) /*!< Bit mask of CH17 field. */
  6431. #define PPI_CHG_CH17_Excluded (0UL) /*!< Exclude */
  6432. #define PPI_CHG_CH17_Included (1UL) /*!< Include */
  6433. /* Bit 16 : Include or exclude channel 16 */
  6434. #define PPI_CHG_CH16_Pos (16UL) /*!< Position of CH16 field. */
  6435. #define PPI_CHG_CH16_Msk (0x1UL << PPI_CHG_CH16_Pos) /*!< Bit mask of CH16 field. */
  6436. #define PPI_CHG_CH16_Excluded (0UL) /*!< Exclude */
  6437. #define PPI_CHG_CH16_Included (1UL) /*!< Include */
  6438. /* Bit 15 : Include or exclude channel 15 */
  6439. #define PPI_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */
  6440. #define PPI_CHG_CH15_Msk (0x1UL << PPI_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */
  6441. #define PPI_CHG_CH15_Excluded (0UL) /*!< Exclude */
  6442. #define PPI_CHG_CH15_Included (1UL) /*!< Include */
  6443. /* Bit 14 : Include or exclude channel 14 */
  6444. #define PPI_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */
  6445. #define PPI_CHG_CH14_Msk (0x1UL << PPI_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */
  6446. #define PPI_CHG_CH14_Excluded (0UL) /*!< Exclude */
  6447. #define PPI_CHG_CH14_Included (1UL) /*!< Include */
  6448. /* Bit 13 : Include or exclude channel 13 */
  6449. #define PPI_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */
  6450. #define PPI_CHG_CH13_Msk (0x1UL << PPI_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */
  6451. #define PPI_CHG_CH13_Excluded (0UL) /*!< Exclude */
  6452. #define PPI_CHG_CH13_Included (1UL) /*!< Include */
  6453. /* Bit 12 : Include or exclude channel 12 */
  6454. #define PPI_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */
  6455. #define PPI_CHG_CH12_Msk (0x1UL << PPI_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */
  6456. #define PPI_CHG_CH12_Excluded (0UL) /*!< Exclude */
  6457. #define PPI_CHG_CH12_Included (1UL) /*!< Include */
  6458. /* Bit 11 : Include or exclude channel 11 */
  6459. #define PPI_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */
  6460. #define PPI_CHG_CH11_Msk (0x1UL << PPI_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */
  6461. #define PPI_CHG_CH11_Excluded (0UL) /*!< Exclude */
  6462. #define PPI_CHG_CH11_Included (1UL) /*!< Include */
  6463. /* Bit 10 : Include or exclude channel 10 */
  6464. #define PPI_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */
  6465. #define PPI_CHG_CH10_Msk (0x1UL << PPI_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */
  6466. #define PPI_CHG_CH10_Excluded (0UL) /*!< Exclude */
  6467. #define PPI_CHG_CH10_Included (1UL) /*!< Include */
  6468. /* Bit 9 : Include or exclude channel 9 */
  6469. #define PPI_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */
  6470. #define PPI_CHG_CH9_Msk (0x1UL << PPI_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */
  6471. #define PPI_CHG_CH9_Excluded (0UL) /*!< Exclude */
  6472. #define PPI_CHG_CH9_Included (1UL) /*!< Include */
  6473. /* Bit 8 : Include or exclude channel 8 */
  6474. #define PPI_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */
  6475. #define PPI_CHG_CH8_Msk (0x1UL << PPI_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */
  6476. #define PPI_CHG_CH8_Excluded (0UL) /*!< Exclude */
  6477. #define PPI_CHG_CH8_Included (1UL) /*!< Include */
  6478. /* Bit 7 : Include or exclude channel 7 */
  6479. #define PPI_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */
  6480. #define PPI_CHG_CH7_Msk (0x1UL << PPI_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */
  6481. #define PPI_CHG_CH7_Excluded (0UL) /*!< Exclude */
  6482. #define PPI_CHG_CH7_Included (1UL) /*!< Include */
  6483. /* Bit 6 : Include or exclude channel 6 */
  6484. #define PPI_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */
  6485. #define PPI_CHG_CH6_Msk (0x1UL << PPI_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */
  6486. #define PPI_CHG_CH6_Excluded (0UL) /*!< Exclude */
  6487. #define PPI_CHG_CH6_Included (1UL) /*!< Include */
  6488. /* Bit 5 : Include or exclude channel 5 */
  6489. #define PPI_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */
  6490. #define PPI_CHG_CH5_Msk (0x1UL << PPI_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */
  6491. #define PPI_CHG_CH5_Excluded (0UL) /*!< Exclude */
  6492. #define PPI_CHG_CH5_Included (1UL) /*!< Include */
  6493. /* Bit 4 : Include or exclude channel 4 */
  6494. #define PPI_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */
  6495. #define PPI_CHG_CH4_Msk (0x1UL << PPI_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */
  6496. #define PPI_CHG_CH4_Excluded (0UL) /*!< Exclude */
  6497. #define PPI_CHG_CH4_Included (1UL) /*!< Include */
  6498. /* Bit 3 : Include or exclude channel 3 */
  6499. #define PPI_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */
  6500. #define PPI_CHG_CH3_Msk (0x1UL << PPI_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */
  6501. #define PPI_CHG_CH3_Excluded (0UL) /*!< Exclude */
  6502. #define PPI_CHG_CH3_Included (1UL) /*!< Include */
  6503. /* Bit 2 : Include or exclude channel 2 */
  6504. #define PPI_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */
  6505. #define PPI_CHG_CH2_Msk (0x1UL << PPI_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */
  6506. #define PPI_CHG_CH2_Excluded (0UL) /*!< Exclude */
  6507. #define PPI_CHG_CH2_Included (1UL) /*!< Include */
  6508. /* Bit 1 : Include or exclude channel 1 */
  6509. #define PPI_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */
  6510. #define PPI_CHG_CH1_Msk (0x1UL << PPI_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */
  6511. #define PPI_CHG_CH1_Excluded (0UL) /*!< Exclude */
  6512. #define PPI_CHG_CH1_Included (1UL) /*!< Include */
  6513. /* Bit 0 : Include or exclude channel 0 */
  6514. #define PPI_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */
  6515. #define PPI_CHG_CH0_Msk (0x1UL << PPI_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */
  6516. #define PPI_CHG_CH0_Excluded (0UL) /*!< Exclude */
  6517. #define PPI_CHG_CH0_Included (1UL) /*!< Include */
  6518. /* Register: PPI_FORK_TEP */
  6519. /* Description: Description cluster[0]: Channel 0 task end-point */
  6520. /* Bits 31..0 : Pointer to task register */
  6521. #define PPI_FORK_TEP_TEP_Pos (0UL) /*!< Position of TEP field. */
  6522. #define PPI_FORK_TEP_TEP_Msk (0xFFFFFFFFUL << PPI_FORK_TEP_TEP_Pos) /*!< Bit mask of TEP field. */
  6523. /* Peripheral: PWM */
  6524. /* Description: Pulse Width Modulation Unit 0 */
  6525. /* Register: PWM_SHORTS */
  6526. /* Description: Shortcut register */
  6527. /* Bit 4 : Shortcut between LOOPSDONE event and STOP task */
  6528. #define PWM_SHORTS_LOOPSDONE_STOP_Pos (4UL) /*!< Position of LOOPSDONE_STOP field. */
  6529. #define PWM_SHORTS_LOOPSDONE_STOP_Msk (0x1UL << PWM_SHORTS_LOOPSDONE_STOP_Pos) /*!< Bit mask of LOOPSDONE_STOP field. */
  6530. #define PWM_SHORTS_LOOPSDONE_STOP_Disabled (0UL) /*!< Disable shortcut */
  6531. #define PWM_SHORTS_LOOPSDONE_STOP_Enabled (1UL) /*!< Enable shortcut */
  6532. /* Bit 3 : Shortcut between LOOPSDONE event and SEQSTART[1] task */
  6533. #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Pos (3UL) /*!< Position of LOOPSDONE_SEQSTART1 field. */
  6534. #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Msk (0x1UL << PWM_SHORTS_LOOPSDONE_SEQSTART1_Pos) /*!< Bit mask of LOOPSDONE_SEQSTART1 field. */
  6535. #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Disabled (0UL) /*!< Disable shortcut */
  6536. #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Enabled (1UL) /*!< Enable shortcut */
  6537. /* Bit 2 : Shortcut between LOOPSDONE event and SEQSTART[0] task */
  6538. #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Pos (2UL) /*!< Position of LOOPSDONE_SEQSTART0 field. */
  6539. #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Msk (0x1UL << PWM_SHORTS_LOOPSDONE_SEQSTART0_Pos) /*!< Bit mask of LOOPSDONE_SEQSTART0 field. */
  6540. #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Disabled (0UL) /*!< Disable shortcut */
  6541. #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Enabled (1UL) /*!< Enable shortcut */
  6542. /* Bit 1 : Shortcut between SEQEND[1] event and STOP task */
  6543. #define PWM_SHORTS_SEQEND1_STOP_Pos (1UL) /*!< Position of SEQEND1_STOP field. */
  6544. #define PWM_SHORTS_SEQEND1_STOP_Msk (0x1UL << PWM_SHORTS_SEQEND1_STOP_Pos) /*!< Bit mask of SEQEND1_STOP field. */
  6545. #define PWM_SHORTS_SEQEND1_STOP_Disabled (0UL) /*!< Disable shortcut */
  6546. #define PWM_SHORTS_SEQEND1_STOP_Enabled (1UL) /*!< Enable shortcut */
  6547. /* Bit 0 : Shortcut between SEQEND[0] event and STOP task */
  6548. #define PWM_SHORTS_SEQEND0_STOP_Pos (0UL) /*!< Position of SEQEND0_STOP field. */
  6549. #define PWM_SHORTS_SEQEND0_STOP_Msk (0x1UL << PWM_SHORTS_SEQEND0_STOP_Pos) /*!< Bit mask of SEQEND0_STOP field. */
  6550. #define PWM_SHORTS_SEQEND0_STOP_Disabled (0UL) /*!< Disable shortcut */
  6551. #define PWM_SHORTS_SEQEND0_STOP_Enabled (1UL) /*!< Enable shortcut */
  6552. /* Register: PWM_INTEN */
  6553. /* Description: Enable or disable interrupt */
  6554. /* Bit 7 : Enable or disable interrupt for LOOPSDONE event */
  6555. #define PWM_INTEN_LOOPSDONE_Pos (7UL) /*!< Position of LOOPSDONE field. */
  6556. #define PWM_INTEN_LOOPSDONE_Msk (0x1UL << PWM_INTEN_LOOPSDONE_Pos) /*!< Bit mask of LOOPSDONE field. */
  6557. #define PWM_INTEN_LOOPSDONE_Disabled (0UL) /*!< Disable */
  6558. #define PWM_INTEN_LOOPSDONE_Enabled (1UL) /*!< Enable */
  6559. /* Bit 6 : Enable or disable interrupt for PWMPERIODEND event */
  6560. #define PWM_INTEN_PWMPERIODEND_Pos (6UL) /*!< Position of PWMPERIODEND field. */
  6561. #define PWM_INTEN_PWMPERIODEND_Msk (0x1UL << PWM_INTEN_PWMPERIODEND_Pos) /*!< Bit mask of PWMPERIODEND field. */
  6562. #define PWM_INTEN_PWMPERIODEND_Disabled (0UL) /*!< Disable */
  6563. #define PWM_INTEN_PWMPERIODEND_Enabled (1UL) /*!< Enable */
  6564. /* Bit 5 : Enable or disable interrupt for SEQEND[1] event */
  6565. #define PWM_INTEN_SEQEND1_Pos (5UL) /*!< Position of SEQEND1 field. */
  6566. #define PWM_INTEN_SEQEND1_Msk (0x1UL << PWM_INTEN_SEQEND1_Pos) /*!< Bit mask of SEQEND1 field. */
  6567. #define PWM_INTEN_SEQEND1_Disabled (0UL) /*!< Disable */
  6568. #define PWM_INTEN_SEQEND1_Enabled (1UL) /*!< Enable */
  6569. /* Bit 4 : Enable or disable interrupt for SEQEND[0] event */
  6570. #define PWM_INTEN_SEQEND0_Pos (4UL) /*!< Position of SEQEND0 field. */
  6571. #define PWM_INTEN_SEQEND0_Msk (0x1UL << PWM_INTEN_SEQEND0_Pos) /*!< Bit mask of SEQEND0 field. */
  6572. #define PWM_INTEN_SEQEND0_Disabled (0UL) /*!< Disable */
  6573. #define PWM_INTEN_SEQEND0_Enabled (1UL) /*!< Enable */
  6574. /* Bit 3 : Enable or disable interrupt for SEQSTARTED[1] event */
  6575. #define PWM_INTEN_SEQSTARTED1_Pos (3UL) /*!< Position of SEQSTARTED1 field. */
  6576. #define PWM_INTEN_SEQSTARTED1_Msk (0x1UL << PWM_INTEN_SEQSTARTED1_Pos) /*!< Bit mask of SEQSTARTED1 field. */
  6577. #define PWM_INTEN_SEQSTARTED1_Disabled (0UL) /*!< Disable */
  6578. #define PWM_INTEN_SEQSTARTED1_Enabled (1UL) /*!< Enable */
  6579. /* Bit 2 : Enable or disable interrupt for SEQSTARTED[0] event */
  6580. #define PWM_INTEN_SEQSTARTED0_Pos (2UL) /*!< Position of SEQSTARTED0 field. */
  6581. #define PWM_INTEN_SEQSTARTED0_Msk (0x1UL << PWM_INTEN_SEQSTARTED0_Pos) /*!< Bit mask of SEQSTARTED0 field. */
  6582. #define PWM_INTEN_SEQSTARTED0_Disabled (0UL) /*!< Disable */
  6583. #define PWM_INTEN_SEQSTARTED0_Enabled (1UL) /*!< Enable */
  6584. /* Bit 1 : Enable or disable interrupt for STOPPED event */
  6585. #define PWM_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  6586. #define PWM_INTEN_STOPPED_Msk (0x1UL << PWM_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  6587. #define PWM_INTEN_STOPPED_Disabled (0UL) /*!< Disable */
  6588. #define PWM_INTEN_STOPPED_Enabled (1UL) /*!< Enable */
  6589. /* Register: PWM_INTENSET */
  6590. /* Description: Enable interrupt */
  6591. /* Bit 7 : Write '1' to Enable interrupt for LOOPSDONE event */
  6592. #define PWM_INTENSET_LOOPSDONE_Pos (7UL) /*!< Position of LOOPSDONE field. */
  6593. #define PWM_INTENSET_LOOPSDONE_Msk (0x1UL << PWM_INTENSET_LOOPSDONE_Pos) /*!< Bit mask of LOOPSDONE field. */
  6594. #define PWM_INTENSET_LOOPSDONE_Disabled (0UL) /*!< Read: Disabled */
  6595. #define PWM_INTENSET_LOOPSDONE_Enabled (1UL) /*!< Read: Enabled */
  6596. #define PWM_INTENSET_LOOPSDONE_Set (1UL) /*!< Enable */
  6597. /* Bit 6 : Write '1' to Enable interrupt for PWMPERIODEND event */
  6598. #define PWM_INTENSET_PWMPERIODEND_Pos (6UL) /*!< Position of PWMPERIODEND field. */
  6599. #define PWM_INTENSET_PWMPERIODEND_Msk (0x1UL << PWM_INTENSET_PWMPERIODEND_Pos) /*!< Bit mask of PWMPERIODEND field. */
  6600. #define PWM_INTENSET_PWMPERIODEND_Disabled (0UL) /*!< Read: Disabled */
  6601. #define PWM_INTENSET_PWMPERIODEND_Enabled (1UL) /*!< Read: Enabled */
  6602. #define PWM_INTENSET_PWMPERIODEND_Set (1UL) /*!< Enable */
  6603. /* Bit 5 : Write '1' to Enable interrupt for SEQEND[1] event */
  6604. #define PWM_INTENSET_SEQEND1_Pos (5UL) /*!< Position of SEQEND1 field. */
  6605. #define PWM_INTENSET_SEQEND1_Msk (0x1UL << PWM_INTENSET_SEQEND1_Pos) /*!< Bit mask of SEQEND1 field. */
  6606. #define PWM_INTENSET_SEQEND1_Disabled (0UL) /*!< Read: Disabled */
  6607. #define PWM_INTENSET_SEQEND1_Enabled (1UL) /*!< Read: Enabled */
  6608. #define PWM_INTENSET_SEQEND1_Set (1UL) /*!< Enable */
  6609. /* Bit 4 : Write '1' to Enable interrupt for SEQEND[0] event */
  6610. #define PWM_INTENSET_SEQEND0_Pos (4UL) /*!< Position of SEQEND0 field. */
  6611. #define PWM_INTENSET_SEQEND0_Msk (0x1UL << PWM_INTENSET_SEQEND0_Pos) /*!< Bit mask of SEQEND0 field. */
  6612. #define PWM_INTENSET_SEQEND0_Disabled (0UL) /*!< Read: Disabled */
  6613. #define PWM_INTENSET_SEQEND0_Enabled (1UL) /*!< Read: Enabled */
  6614. #define PWM_INTENSET_SEQEND0_Set (1UL) /*!< Enable */
  6615. /* Bit 3 : Write '1' to Enable interrupt for SEQSTARTED[1] event */
  6616. #define PWM_INTENSET_SEQSTARTED1_Pos (3UL) /*!< Position of SEQSTARTED1 field. */
  6617. #define PWM_INTENSET_SEQSTARTED1_Msk (0x1UL << PWM_INTENSET_SEQSTARTED1_Pos) /*!< Bit mask of SEQSTARTED1 field. */
  6618. #define PWM_INTENSET_SEQSTARTED1_Disabled (0UL) /*!< Read: Disabled */
  6619. #define PWM_INTENSET_SEQSTARTED1_Enabled (1UL) /*!< Read: Enabled */
  6620. #define PWM_INTENSET_SEQSTARTED1_Set (1UL) /*!< Enable */
  6621. /* Bit 2 : Write '1' to Enable interrupt for SEQSTARTED[0] event */
  6622. #define PWM_INTENSET_SEQSTARTED0_Pos (2UL) /*!< Position of SEQSTARTED0 field. */
  6623. #define PWM_INTENSET_SEQSTARTED0_Msk (0x1UL << PWM_INTENSET_SEQSTARTED0_Pos) /*!< Bit mask of SEQSTARTED0 field. */
  6624. #define PWM_INTENSET_SEQSTARTED0_Disabled (0UL) /*!< Read: Disabled */
  6625. #define PWM_INTENSET_SEQSTARTED0_Enabled (1UL) /*!< Read: Enabled */
  6626. #define PWM_INTENSET_SEQSTARTED0_Set (1UL) /*!< Enable */
  6627. /* Bit 1 : Write '1' to Enable interrupt for STOPPED event */
  6628. #define PWM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  6629. #define PWM_INTENSET_STOPPED_Msk (0x1UL << PWM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  6630. #define PWM_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  6631. #define PWM_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  6632. #define PWM_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  6633. /* Register: PWM_INTENCLR */
  6634. /* Description: Disable interrupt */
  6635. /* Bit 7 : Write '1' to Disable interrupt for LOOPSDONE event */
  6636. #define PWM_INTENCLR_LOOPSDONE_Pos (7UL) /*!< Position of LOOPSDONE field. */
  6637. #define PWM_INTENCLR_LOOPSDONE_Msk (0x1UL << PWM_INTENCLR_LOOPSDONE_Pos) /*!< Bit mask of LOOPSDONE field. */
  6638. #define PWM_INTENCLR_LOOPSDONE_Disabled (0UL) /*!< Read: Disabled */
  6639. #define PWM_INTENCLR_LOOPSDONE_Enabled (1UL) /*!< Read: Enabled */
  6640. #define PWM_INTENCLR_LOOPSDONE_Clear (1UL) /*!< Disable */
  6641. /* Bit 6 : Write '1' to Disable interrupt for PWMPERIODEND event */
  6642. #define PWM_INTENCLR_PWMPERIODEND_Pos (6UL) /*!< Position of PWMPERIODEND field. */
  6643. #define PWM_INTENCLR_PWMPERIODEND_Msk (0x1UL << PWM_INTENCLR_PWMPERIODEND_Pos) /*!< Bit mask of PWMPERIODEND field. */
  6644. #define PWM_INTENCLR_PWMPERIODEND_Disabled (0UL) /*!< Read: Disabled */
  6645. #define PWM_INTENCLR_PWMPERIODEND_Enabled (1UL) /*!< Read: Enabled */
  6646. #define PWM_INTENCLR_PWMPERIODEND_Clear (1UL) /*!< Disable */
  6647. /* Bit 5 : Write '1' to Disable interrupt for SEQEND[1] event */
  6648. #define PWM_INTENCLR_SEQEND1_Pos (5UL) /*!< Position of SEQEND1 field. */
  6649. #define PWM_INTENCLR_SEQEND1_Msk (0x1UL << PWM_INTENCLR_SEQEND1_Pos) /*!< Bit mask of SEQEND1 field. */
  6650. #define PWM_INTENCLR_SEQEND1_Disabled (0UL) /*!< Read: Disabled */
  6651. #define PWM_INTENCLR_SEQEND1_Enabled (1UL) /*!< Read: Enabled */
  6652. #define PWM_INTENCLR_SEQEND1_Clear (1UL) /*!< Disable */
  6653. /* Bit 4 : Write '1' to Disable interrupt for SEQEND[0] event */
  6654. #define PWM_INTENCLR_SEQEND0_Pos (4UL) /*!< Position of SEQEND0 field. */
  6655. #define PWM_INTENCLR_SEQEND0_Msk (0x1UL << PWM_INTENCLR_SEQEND0_Pos) /*!< Bit mask of SEQEND0 field. */
  6656. #define PWM_INTENCLR_SEQEND0_Disabled (0UL) /*!< Read: Disabled */
  6657. #define PWM_INTENCLR_SEQEND0_Enabled (1UL) /*!< Read: Enabled */
  6658. #define PWM_INTENCLR_SEQEND0_Clear (1UL) /*!< Disable */
  6659. /* Bit 3 : Write '1' to Disable interrupt for SEQSTARTED[1] event */
  6660. #define PWM_INTENCLR_SEQSTARTED1_Pos (3UL) /*!< Position of SEQSTARTED1 field. */
  6661. #define PWM_INTENCLR_SEQSTARTED1_Msk (0x1UL << PWM_INTENCLR_SEQSTARTED1_Pos) /*!< Bit mask of SEQSTARTED1 field. */
  6662. #define PWM_INTENCLR_SEQSTARTED1_Disabled (0UL) /*!< Read: Disabled */
  6663. #define PWM_INTENCLR_SEQSTARTED1_Enabled (1UL) /*!< Read: Enabled */
  6664. #define PWM_INTENCLR_SEQSTARTED1_Clear (1UL) /*!< Disable */
  6665. /* Bit 2 : Write '1' to Disable interrupt for SEQSTARTED[0] event */
  6666. #define PWM_INTENCLR_SEQSTARTED0_Pos (2UL) /*!< Position of SEQSTARTED0 field. */
  6667. #define PWM_INTENCLR_SEQSTARTED0_Msk (0x1UL << PWM_INTENCLR_SEQSTARTED0_Pos) /*!< Bit mask of SEQSTARTED0 field. */
  6668. #define PWM_INTENCLR_SEQSTARTED0_Disabled (0UL) /*!< Read: Disabled */
  6669. #define PWM_INTENCLR_SEQSTARTED0_Enabled (1UL) /*!< Read: Enabled */
  6670. #define PWM_INTENCLR_SEQSTARTED0_Clear (1UL) /*!< Disable */
  6671. /* Bit 1 : Write '1' to Disable interrupt for STOPPED event */
  6672. #define PWM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  6673. #define PWM_INTENCLR_STOPPED_Msk (0x1UL << PWM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  6674. #define PWM_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  6675. #define PWM_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  6676. #define PWM_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  6677. /* Register: PWM_ENABLE */
  6678. /* Description: PWM module enable register */
  6679. /* Bit 0 : Enable or disable PWM module */
  6680. #define PWM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  6681. #define PWM_ENABLE_ENABLE_Msk (0x1UL << PWM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  6682. #define PWM_ENABLE_ENABLE_Disabled (0UL) /*!< Disabled */
  6683. #define PWM_ENABLE_ENABLE_Enabled (1UL) /*!< Enable */
  6684. /* Register: PWM_MODE */
  6685. /* Description: Selects operating mode of the wave counter */
  6686. /* Bit 0 : Selects up or up and down as wave counter mode */
  6687. #define PWM_MODE_UPDOWN_Pos (0UL) /*!< Position of UPDOWN field. */
  6688. #define PWM_MODE_UPDOWN_Msk (0x1UL << PWM_MODE_UPDOWN_Pos) /*!< Bit mask of UPDOWN field. */
  6689. #define PWM_MODE_UPDOWN_Up (0UL) /*!< Up counter - edge aligned PWM duty-cycle */
  6690. #define PWM_MODE_UPDOWN_UpAndDown (1UL) /*!< Up and down counter - center aligned PWM duty cycle */
  6691. /* Register: PWM_COUNTERTOP */
  6692. /* Description: Value up to which the pulse generator counter counts */
  6693. /* Bits 14..0 : Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM will be used. */
  6694. #define PWM_COUNTERTOP_COUNTERTOP_Pos (0UL) /*!< Position of COUNTERTOP field. */
  6695. #define PWM_COUNTERTOP_COUNTERTOP_Msk (0x7FFFUL << PWM_COUNTERTOP_COUNTERTOP_Pos) /*!< Bit mask of COUNTERTOP field. */
  6696. /* Register: PWM_PRESCALER */
  6697. /* Description: Configuration for PWM_CLK */
  6698. /* Bits 2..0 : Pre-scaler of PWM_CLK */
  6699. #define PWM_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  6700. #define PWM_PRESCALER_PRESCALER_Msk (0x7UL << PWM_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  6701. #define PWM_PRESCALER_PRESCALER_DIV_1 (0UL) /*!< Divide by 1 (16MHz) */
  6702. #define PWM_PRESCALER_PRESCALER_DIV_2 (1UL) /*!< Divide by 2 ( 8MHz) */
  6703. #define PWM_PRESCALER_PRESCALER_DIV_4 (2UL) /*!< Divide by 4 ( 4MHz) */
  6704. #define PWM_PRESCALER_PRESCALER_DIV_8 (3UL) /*!< Divide by 8 ( 2MHz) */
  6705. #define PWM_PRESCALER_PRESCALER_DIV_16 (4UL) /*!< Divide by 16 ( 1MHz) */
  6706. #define PWM_PRESCALER_PRESCALER_DIV_32 (5UL) /*!< Divide by 32 ( 500kHz) */
  6707. #define PWM_PRESCALER_PRESCALER_DIV_64 (6UL) /*!< Divide by 64 ( 250kHz) */
  6708. #define PWM_PRESCALER_PRESCALER_DIV_128 (7UL) /*!< Divide by 128 ( 125kHz) */
  6709. /* Register: PWM_DECODER */
  6710. /* Description: Configuration of the decoder */
  6711. /* Bit 8 : Selects source for advancing the active sequence */
  6712. #define PWM_DECODER_MODE_Pos (8UL) /*!< Position of MODE field. */
  6713. #define PWM_DECODER_MODE_Msk (0x1UL << PWM_DECODER_MODE_Pos) /*!< Bit mask of MODE field. */
  6714. #define PWM_DECODER_MODE_RefreshCount (0UL) /*!< SEQ[n].REFRESH is used to determine loading internal compare registers */
  6715. #define PWM_DECODER_MODE_NextStep (1UL) /*!< NEXTSTEP task causes a new value to be loaded to internal compare registers */
  6716. /* Bits 1..0 : How a sequence is read from RAM and spread to the compare register */
  6717. #define PWM_DECODER_LOAD_Pos (0UL) /*!< Position of LOAD field. */
  6718. #define PWM_DECODER_LOAD_Msk (0x3UL << PWM_DECODER_LOAD_Pos) /*!< Bit mask of LOAD field. */
  6719. #define PWM_DECODER_LOAD_Common (0UL) /*!< 1st half word (16-bit) used in all PWM channels 0..3 */
  6720. #define PWM_DECODER_LOAD_Grouped (1UL) /*!< 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3 */
  6721. #define PWM_DECODER_LOAD_Individual (2UL) /*!< 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3 */
  6722. #define PWM_DECODER_LOAD_WaveForm (3UL) /*!< 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP */
  6723. /* Register: PWM_LOOP */
  6724. /* Description: Amount of playback of a loop */
  6725. /* Bits 15..0 : Amount of playback of pattern cycles */
  6726. #define PWM_LOOP_CNT_Pos (0UL) /*!< Position of CNT field. */
  6727. #define PWM_LOOP_CNT_Msk (0xFFFFUL << PWM_LOOP_CNT_Pos) /*!< Bit mask of CNT field. */
  6728. #define PWM_LOOP_CNT_Disabled (0UL) /*!< Looping disabled (stop at the end of the sequence) */
  6729. /* Register: PWM_SEQ_PTR */
  6730. /* Description: Description cluster[0]: Beginning address in Data RAM of this sequence */
  6731. /* Bits 31..0 : Beginning address in Data RAM of this sequence */
  6732. #define PWM_SEQ_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  6733. #define PWM_SEQ_PTR_PTR_Msk (0xFFFFFFFFUL << PWM_SEQ_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  6734. /* Register: PWM_SEQ_CNT */
  6735. /* Description: Description cluster[0]: Amount of values (duty cycles) in this sequence */
  6736. /* Bits 14..0 : Amount of values (duty cycles) in this sequence */
  6737. #define PWM_SEQ_CNT_CNT_Pos (0UL) /*!< Position of CNT field. */
  6738. #define PWM_SEQ_CNT_CNT_Msk (0x7FFFUL << PWM_SEQ_CNT_CNT_Pos) /*!< Bit mask of CNT field. */
  6739. #define PWM_SEQ_CNT_CNT_Disabled (0UL) /*!< Sequence is disabled, and shall not be started as it is empty */
  6740. /* Register: PWM_SEQ_REFRESH */
  6741. /* Description: Description cluster[0]: Amount of additional PWM periods between samples loaded into compare register */
  6742. /* Bits 23..0 : Amount of additional PWM periods between samples loaded into compare register (load every REFRESH.CNT+1 PWM periods) */
  6743. #define PWM_SEQ_REFRESH_CNT_Pos (0UL) /*!< Position of CNT field. */
  6744. #define PWM_SEQ_REFRESH_CNT_Msk (0xFFFFFFUL << PWM_SEQ_REFRESH_CNT_Pos) /*!< Bit mask of CNT field. */
  6745. #define PWM_SEQ_REFRESH_CNT_Continuous (0UL) /*!< Update every PWM period */
  6746. /* Register: PWM_SEQ_ENDDELAY */
  6747. /* Description: Description cluster[0]: Time added after the sequence */
  6748. /* Bits 23..0 : Time added after the sequence in PWM periods */
  6749. #define PWM_SEQ_ENDDELAY_CNT_Pos (0UL) /*!< Position of CNT field. */
  6750. #define PWM_SEQ_ENDDELAY_CNT_Msk (0xFFFFFFUL << PWM_SEQ_ENDDELAY_CNT_Pos) /*!< Bit mask of CNT field. */
  6751. /* Register: PWM_PSEL_OUT */
  6752. /* Description: Description collection[0]: Output pin select for PWM channel 0 */
  6753. /* Bit 31 : Connection */
  6754. #define PWM_PSEL_OUT_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  6755. #define PWM_PSEL_OUT_CONNECT_Msk (0x1UL << PWM_PSEL_OUT_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  6756. #define PWM_PSEL_OUT_CONNECT_Connected (0UL) /*!< Connect */
  6757. #define PWM_PSEL_OUT_CONNECT_Disconnected (1UL) /*!< Disconnect */
  6758. /* Bits 4..0 : Pin number */
  6759. #define PWM_PSEL_OUT_PIN_Pos (0UL) /*!< Position of PIN field. */
  6760. #define PWM_PSEL_OUT_PIN_Msk (0x1FUL << PWM_PSEL_OUT_PIN_Pos) /*!< Bit mask of PIN field. */
  6761. /* Peripheral: QDEC */
  6762. /* Description: Quadrature Decoder */
  6763. /* Register: QDEC_SHORTS */
  6764. /* Description: Shortcut register */
  6765. /* Bit 6 : Shortcut between SAMPLERDY event and READCLRACC task */
  6766. #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Pos (6UL) /*!< Position of SAMPLERDY_READCLRACC field. */
  6767. #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_READCLRACC_Pos) /*!< Bit mask of SAMPLERDY_READCLRACC field. */
  6768. #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Disabled (0UL) /*!< Disable shortcut */
  6769. #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Enabled (1UL) /*!< Enable shortcut */
  6770. /* Bit 5 : Shortcut between DBLRDY event and STOP task */
  6771. #define QDEC_SHORTS_DBLRDY_STOP_Pos (5UL) /*!< Position of DBLRDY_STOP field. */
  6772. #define QDEC_SHORTS_DBLRDY_STOP_Msk (0x1UL << QDEC_SHORTS_DBLRDY_STOP_Pos) /*!< Bit mask of DBLRDY_STOP field. */
  6773. #define QDEC_SHORTS_DBLRDY_STOP_Disabled (0UL) /*!< Disable shortcut */
  6774. #define QDEC_SHORTS_DBLRDY_STOP_Enabled (1UL) /*!< Enable shortcut */
  6775. /* Bit 4 : Shortcut between DBLRDY event and RDCLRDBL task */
  6776. #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Pos (4UL) /*!< Position of DBLRDY_RDCLRDBL field. */
  6777. #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Msk (0x1UL << QDEC_SHORTS_DBLRDY_RDCLRDBL_Pos) /*!< Bit mask of DBLRDY_RDCLRDBL field. */
  6778. #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Disabled (0UL) /*!< Disable shortcut */
  6779. #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Enabled (1UL) /*!< Enable shortcut */
  6780. /* Bit 3 : Shortcut between REPORTRDY event and STOP task */
  6781. #define QDEC_SHORTS_REPORTRDY_STOP_Pos (3UL) /*!< Position of REPORTRDY_STOP field. */
  6782. #define QDEC_SHORTS_REPORTRDY_STOP_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_STOP_Pos) /*!< Bit mask of REPORTRDY_STOP field. */
  6783. #define QDEC_SHORTS_REPORTRDY_STOP_Disabled (0UL) /*!< Disable shortcut */
  6784. #define QDEC_SHORTS_REPORTRDY_STOP_Enabled (1UL) /*!< Enable shortcut */
  6785. /* Bit 2 : Shortcut between REPORTRDY event and RDCLRACC task */
  6786. #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Pos (2UL) /*!< Position of REPORTRDY_RDCLRACC field. */
  6787. #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_RDCLRACC_Pos) /*!< Bit mask of REPORTRDY_RDCLRACC field. */
  6788. #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Disabled (0UL) /*!< Disable shortcut */
  6789. #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Enabled (1UL) /*!< Enable shortcut */
  6790. /* Bit 1 : Shortcut between SAMPLERDY event and STOP task */
  6791. #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */
  6792. #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */
  6793. #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0UL) /*!< Disable shortcut */
  6794. #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (1UL) /*!< Enable shortcut */
  6795. /* Bit 0 : Shortcut between REPORTRDY event and READCLRACC task */
  6796. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */
  6797. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */
  6798. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0UL) /*!< Disable shortcut */
  6799. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (1UL) /*!< Enable shortcut */
  6800. /* Register: QDEC_INTENSET */
  6801. /* Description: Enable interrupt */
  6802. /* Bit 4 : Write '1' to Enable interrupt for STOPPED event */
  6803. #define QDEC_INTENSET_STOPPED_Pos (4UL) /*!< Position of STOPPED field. */
  6804. #define QDEC_INTENSET_STOPPED_Msk (0x1UL << QDEC_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  6805. #define QDEC_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  6806. #define QDEC_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  6807. #define QDEC_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  6808. /* Bit 3 : Write '1' to Enable interrupt for DBLRDY event */
  6809. #define QDEC_INTENSET_DBLRDY_Pos (3UL) /*!< Position of DBLRDY field. */
  6810. #define QDEC_INTENSET_DBLRDY_Msk (0x1UL << QDEC_INTENSET_DBLRDY_Pos) /*!< Bit mask of DBLRDY field. */
  6811. #define QDEC_INTENSET_DBLRDY_Disabled (0UL) /*!< Read: Disabled */
  6812. #define QDEC_INTENSET_DBLRDY_Enabled (1UL) /*!< Read: Enabled */
  6813. #define QDEC_INTENSET_DBLRDY_Set (1UL) /*!< Enable */
  6814. /* Bit 2 : Write '1' to Enable interrupt for ACCOF event */
  6815. #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
  6816. #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
  6817. #define QDEC_INTENSET_ACCOF_Disabled (0UL) /*!< Read: Disabled */
  6818. #define QDEC_INTENSET_ACCOF_Enabled (1UL) /*!< Read: Enabled */
  6819. #define QDEC_INTENSET_ACCOF_Set (1UL) /*!< Enable */
  6820. /* Bit 1 : Write '1' to Enable interrupt for REPORTRDY event */
  6821. #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
  6822. #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
  6823. #define QDEC_INTENSET_REPORTRDY_Disabled (0UL) /*!< Read: Disabled */
  6824. #define QDEC_INTENSET_REPORTRDY_Enabled (1UL) /*!< Read: Enabled */
  6825. #define QDEC_INTENSET_REPORTRDY_Set (1UL) /*!< Enable */
  6826. /* Bit 0 : Write '1' to Enable interrupt for SAMPLERDY event */
  6827. #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
  6828. #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
  6829. #define QDEC_INTENSET_SAMPLERDY_Disabled (0UL) /*!< Read: Disabled */
  6830. #define QDEC_INTENSET_SAMPLERDY_Enabled (1UL) /*!< Read: Enabled */
  6831. #define QDEC_INTENSET_SAMPLERDY_Set (1UL) /*!< Enable */
  6832. /* Register: QDEC_INTENCLR */
  6833. /* Description: Disable interrupt */
  6834. /* Bit 4 : Write '1' to Disable interrupt for STOPPED event */
  6835. #define QDEC_INTENCLR_STOPPED_Pos (4UL) /*!< Position of STOPPED field. */
  6836. #define QDEC_INTENCLR_STOPPED_Msk (0x1UL << QDEC_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  6837. #define QDEC_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  6838. #define QDEC_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  6839. #define QDEC_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  6840. /* Bit 3 : Write '1' to Disable interrupt for DBLRDY event */
  6841. #define QDEC_INTENCLR_DBLRDY_Pos (3UL) /*!< Position of DBLRDY field. */
  6842. #define QDEC_INTENCLR_DBLRDY_Msk (0x1UL << QDEC_INTENCLR_DBLRDY_Pos) /*!< Bit mask of DBLRDY field. */
  6843. #define QDEC_INTENCLR_DBLRDY_Disabled (0UL) /*!< Read: Disabled */
  6844. #define QDEC_INTENCLR_DBLRDY_Enabled (1UL) /*!< Read: Enabled */
  6845. #define QDEC_INTENCLR_DBLRDY_Clear (1UL) /*!< Disable */
  6846. /* Bit 2 : Write '1' to Disable interrupt for ACCOF event */
  6847. #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
  6848. #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
  6849. #define QDEC_INTENCLR_ACCOF_Disabled (0UL) /*!< Read: Disabled */
  6850. #define QDEC_INTENCLR_ACCOF_Enabled (1UL) /*!< Read: Enabled */
  6851. #define QDEC_INTENCLR_ACCOF_Clear (1UL) /*!< Disable */
  6852. /* Bit 1 : Write '1' to Disable interrupt for REPORTRDY event */
  6853. #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
  6854. #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
  6855. #define QDEC_INTENCLR_REPORTRDY_Disabled (0UL) /*!< Read: Disabled */
  6856. #define QDEC_INTENCLR_REPORTRDY_Enabled (1UL) /*!< Read: Enabled */
  6857. #define QDEC_INTENCLR_REPORTRDY_Clear (1UL) /*!< Disable */
  6858. /* Bit 0 : Write '1' to Disable interrupt for SAMPLERDY event */
  6859. #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
  6860. #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
  6861. #define QDEC_INTENCLR_SAMPLERDY_Disabled (0UL) /*!< Read: Disabled */
  6862. #define QDEC_INTENCLR_SAMPLERDY_Enabled (1UL) /*!< Read: Enabled */
  6863. #define QDEC_INTENCLR_SAMPLERDY_Clear (1UL) /*!< Disable */
  6864. /* Register: QDEC_ENABLE */
  6865. /* Description: Enable the quadrature decoder */
  6866. /* Bit 0 : Enable or disable the quadrature decoder */
  6867. #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  6868. #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  6869. #define QDEC_ENABLE_ENABLE_Disabled (0UL) /*!< Disable */
  6870. #define QDEC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable */
  6871. /* Register: QDEC_LEDPOL */
  6872. /* Description: LED output pin polarity */
  6873. /* Bit 0 : LED output pin polarity */
  6874. #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */
  6875. #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */
  6876. #define QDEC_LEDPOL_LEDPOL_ActiveLow (0UL) /*!< Led active on output pin low */
  6877. #define QDEC_LEDPOL_LEDPOL_ActiveHigh (1UL) /*!< Led active on output pin high */
  6878. /* Register: QDEC_SAMPLEPER */
  6879. /* Description: Sample period */
  6880. /* Bits 3..0 : Sample period. The SAMPLE register will be updated for every new sample */
  6881. #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */
  6882. #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0xFUL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */
  6883. #define QDEC_SAMPLEPER_SAMPLEPER_128us (0UL) /*!< 128 us */
  6884. #define QDEC_SAMPLEPER_SAMPLEPER_256us (1UL) /*!< 256 us */
  6885. #define QDEC_SAMPLEPER_SAMPLEPER_512us (2UL) /*!< 512 us */
  6886. #define QDEC_SAMPLEPER_SAMPLEPER_1024us (3UL) /*!< 1024 us */
  6887. #define QDEC_SAMPLEPER_SAMPLEPER_2048us (4UL) /*!< 2048 us */
  6888. #define QDEC_SAMPLEPER_SAMPLEPER_4096us (5UL) /*!< 4096 us */
  6889. #define QDEC_SAMPLEPER_SAMPLEPER_8192us (6UL) /*!< 8192 us */
  6890. #define QDEC_SAMPLEPER_SAMPLEPER_16384us (7UL) /*!< 16384 us */
  6891. #define QDEC_SAMPLEPER_SAMPLEPER_32ms (8UL) /*!< 32768 us */
  6892. #define QDEC_SAMPLEPER_SAMPLEPER_65ms (9UL) /*!< 65536 us */
  6893. #define QDEC_SAMPLEPER_SAMPLEPER_131ms (10UL) /*!< 131072 us */
  6894. /* Register: QDEC_SAMPLE */
  6895. /* Description: Motion sample value */
  6896. /* Bits 31..0 : Last motion sample */
  6897. #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */
  6898. #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */
  6899. /* Register: QDEC_REPORTPER */
  6900. /* Description: Number of samples to be taken before REPORTRDY and DBLRDY events can be generated */
  6901. /* Bits 3..0 : Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated */
  6902. #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */
  6903. #define QDEC_REPORTPER_REPORTPER_Msk (0xFUL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */
  6904. #define QDEC_REPORTPER_REPORTPER_10Smpl (0UL) /*!< 10 samples / report */
  6905. #define QDEC_REPORTPER_REPORTPER_40Smpl (1UL) /*!< 40 samples / report */
  6906. #define QDEC_REPORTPER_REPORTPER_80Smpl (2UL) /*!< 80 samples / report */
  6907. #define QDEC_REPORTPER_REPORTPER_120Smpl (3UL) /*!< 120 samples / report */
  6908. #define QDEC_REPORTPER_REPORTPER_160Smpl (4UL) /*!< 160 samples / report */
  6909. #define QDEC_REPORTPER_REPORTPER_200Smpl (5UL) /*!< 200 samples / report */
  6910. #define QDEC_REPORTPER_REPORTPER_240Smpl (6UL) /*!< 240 samples / report */
  6911. #define QDEC_REPORTPER_REPORTPER_280Smpl (7UL) /*!< 280 samples / report */
  6912. #define QDEC_REPORTPER_REPORTPER_1Smpl (8UL) /*!< 1 sample / report */
  6913. /* Register: QDEC_ACC */
  6914. /* Description: Register accumulating the valid transitions */
  6915. /* Bits 31..0 : Register accumulating all valid samples (not double transition) read from the SAMPLE register */
  6916. #define QDEC_ACC_ACC_Pos (0UL) /*!< Position of ACC field. */
  6917. #define QDEC_ACC_ACC_Msk (0xFFFFFFFFUL << QDEC_ACC_ACC_Pos) /*!< Bit mask of ACC field. */
  6918. /* Register: QDEC_ACCREAD */
  6919. /* Description: Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task */
  6920. /* Bits 31..0 : Snapshot of the ACC register. */
  6921. #define QDEC_ACCREAD_ACCREAD_Pos (0UL) /*!< Position of ACCREAD field. */
  6922. #define QDEC_ACCREAD_ACCREAD_Msk (0xFFFFFFFFUL << QDEC_ACCREAD_ACCREAD_Pos) /*!< Bit mask of ACCREAD field. */
  6923. /* Register: QDEC_PSEL_LED */
  6924. /* Description: Pin select for LED signal */
  6925. /* Bit 31 : Connection */
  6926. #define QDEC_PSEL_LED_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  6927. #define QDEC_PSEL_LED_CONNECT_Msk (0x1UL << QDEC_PSEL_LED_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  6928. #define QDEC_PSEL_LED_CONNECT_Connected (0UL) /*!< Connect */
  6929. #define QDEC_PSEL_LED_CONNECT_Disconnected (1UL) /*!< Disconnect */
  6930. /* Bits 4..0 : Pin number */
  6931. #define QDEC_PSEL_LED_PIN_Pos (0UL) /*!< Position of PIN field. */
  6932. #define QDEC_PSEL_LED_PIN_Msk (0x1FUL << QDEC_PSEL_LED_PIN_Pos) /*!< Bit mask of PIN field. */
  6933. /* Register: QDEC_PSEL_A */
  6934. /* Description: Pin select for A signal */
  6935. /* Bit 31 : Connection */
  6936. #define QDEC_PSEL_A_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  6937. #define QDEC_PSEL_A_CONNECT_Msk (0x1UL << QDEC_PSEL_A_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  6938. #define QDEC_PSEL_A_CONNECT_Connected (0UL) /*!< Connect */
  6939. #define QDEC_PSEL_A_CONNECT_Disconnected (1UL) /*!< Disconnect */
  6940. /* Bits 4..0 : Pin number */
  6941. #define QDEC_PSEL_A_PIN_Pos (0UL) /*!< Position of PIN field. */
  6942. #define QDEC_PSEL_A_PIN_Msk (0x1FUL << QDEC_PSEL_A_PIN_Pos) /*!< Bit mask of PIN field. */
  6943. /* Register: QDEC_PSEL_B */
  6944. /* Description: Pin select for B signal */
  6945. /* Bit 31 : Connection */
  6946. #define QDEC_PSEL_B_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  6947. #define QDEC_PSEL_B_CONNECT_Msk (0x1UL << QDEC_PSEL_B_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  6948. #define QDEC_PSEL_B_CONNECT_Connected (0UL) /*!< Connect */
  6949. #define QDEC_PSEL_B_CONNECT_Disconnected (1UL) /*!< Disconnect */
  6950. /* Bits 4..0 : Pin number */
  6951. #define QDEC_PSEL_B_PIN_Pos (0UL) /*!< Position of PIN field. */
  6952. #define QDEC_PSEL_B_PIN_Msk (0x1FUL << QDEC_PSEL_B_PIN_Pos) /*!< Bit mask of PIN field. */
  6953. /* Register: QDEC_DBFEN */
  6954. /* Description: Enable input debounce filters */
  6955. /* Bit 0 : Enable input debounce filters */
  6956. #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */
  6957. #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */
  6958. #define QDEC_DBFEN_DBFEN_Disabled (0UL) /*!< Debounce input filters disabled */
  6959. #define QDEC_DBFEN_DBFEN_Enabled (1UL) /*!< Debounce input filters enabled */
  6960. /* Register: QDEC_LEDPRE */
  6961. /* Description: Time period the LED is switched ON prior to sampling */
  6962. /* Bits 8..0 : Period in us the LED is switched on prior to sampling */
  6963. #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */
  6964. #define QDEC_LEDPRE_LEDPRE_Msk (0x1FFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */
  6965. /* Register: QDEC_ACCDBL */
  6966. /* Description: Register accumulating the number of detected double transitions */
  6967. /* Bits 3..0 : Register accumulating the number of detected double or illegal transitions. ( SAMPLE = 2 ). */
  6968. #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */
  6969. #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */
  6970. /* Register: QDEC_ACCDBLREAD */
  6971. /* Description: Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task */
  6972. /* Bits 3..0 : Snapshot of the ACCDBL register. This field is updated when the READCLRACC or RDCLRDBL task is triggered. */
  6973. #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */
  6974. #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */
  6975. /* Peripheral: RADIO */
  6976. /* Description: 2.4 GHz Radio */
  6977. /* Register: RADIO_SHORTS */
  6978. /* Description: Shortcut register */
  6979. /* Bit 8 : Shortcut between DISABLED event and RSSISTOP task */
  6980. #define RADIO_SHORTS_DISABLED_RSSISTOP_Pos (8UL) /*!< Position of DISABLED_RSSISTOP field. */
  6981. #define RADIO_SHORTS_DISABLED_RSSISTOP_Msk (0x1UL << RADIO_SHORTS_DISABLED_RSSISTOP_Pos) /*!< Bit mask of DISABLED_RSSISTOP field. */
  6982. #define RADIO_SHORTS_DISABLED_RSSISTOP_Disabled (0UL) /*!< Disable shortcut */
  6983. #define RADIO_SHORTS_DISABLED_RSSISTOP_Enabled (1UL) /*!< Enable shortcut */
  6984. /* Bit 6 : Shortcut between ADDRESS event and BCSTART task */
  6985. #define RADIO_SHORTS_ADDRESS_BCSTART_Pos (6UL) /*!< Position of ADDRESS_BCSTART field. */
  6986. #define RADIO_SHORTS_ADDRESS_BCSTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_BCSTART_Pos) /*!< Bit mask of ADDRESS_BCSTART field. */
  6987. #define RADIO_SHORTS_ADDRESS_BCSTART_Disabled (0UL) /*!< Disable shortcut */
  6988. #define RADIO_SHORTS_ADDRESS_BCSTART_Enabled (1UL) /*!< Enable shortcut */
  6989. /* Bit 5 : Shortcut between END event and START task */
  6990. #define RADIO_SHORTS_END_START_Pos (5UL) /*!< Position of END_START field. */
  6991. #define RADIO_SHORTS_END_START_Msk (0x1UL << RADIO_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */
  6992. #define RADIO_SHORTS_END_START_Disabled (0UL) /*!< Disable shortcut */
  6993. #define RADIO_SHORTS_END_START_Enabled (1UL) /*!< Enable shortcut */
  6994. /* Bit 4 : Shortcut between ADDRESS event and RSSISTART task */
  6995. #define RADIO_SHORTS_ADDRESS_RSSISTART_Pos (4UL) /*!< Position of ADDRESS_RSSISTART field. */
  6996. #define RADIO_SHORTS_ADDRESS_RSSISTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_RSSISTART_Pos) /*!< Bit mask of ADDRESS_RSSISTART field. */
  6997. #define RADIO_SHORTS_ADDRESS_RSSISTART_Disabled (0UL) /*!< Disable shortcut */
  6998. #define RADIO_SHORTS_ADDRESS_RSSISTART_Enabled (1UL) /*!< Enable shortcut */
  6999. /* Bit 3 : Shortcut between DISABLED event and RXEN task */
  7000. #define RADIO_SHORTS_DISABLED_RXEN_Pos (3UL) /*!< Position of DISABLED_RXEN field. */
  7001. #define RADIO_SHORTS_DISABLED_RXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_RXEN_Pos) /*!< Bit mask of DISABLED_RXEN field. */
  7002. #define RADIO_SHORTS_DISABLED_RXEN_Disabled (0UL) /*!< Disable shortcut */
  7003. #define RADIO_SHORTS_DISABLED_RXEN_Enabled (1UL) /*!< Enable shortcut */
  7004. /* Bit 2 : Shortcut between DISABLED event and TXEN task */
  7005. #define RADIO_SHORTS_DISABLED_TXEN_Pos (2UL) /*!< Position of DISABLED_TXEN field. */
  7006. #define RADIO_SHORTS_DISABLED_TXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_TXEN_Pos) /*!< Bit mask of DISABLED_TXEN field. */
  7007. #define RADIO_SHORTS_DISABLED_TXEN_Disabled (0UL) /*!< Disable shortcut */
  7008. #define RADIO_SHORTS_DISABLED_TXEN_Enabled (1UL) /*!< Enable shortcut */
  7009. /* Bit 1 : Shortcut between END event and DISABLE task */
  7010. #define RADIO_SHORTS_END_DISABLE_Pos (1UL) /*!< Position of END_DISABLE field. */
  7011. #define RADIO_SHORTS_END_DISABLE_Msk (0x1UL << RADIO_SHORTS_END_DISABLE_Pos) /*!< Bit mask of END_DISABLE field. */
  7012. #define RADIO_SHORTS_END_DISABLE_Disabled (0UL) /*!< Disable shortcut */
  7013. #define RADIO_SHORTS_END_DISABLE_Enabled (1UL) /*!< Enable shortcut */
  7014. /* Bit 0 : Shortcut between READY event and START task */
  7015. #define RADIO_SHORTS_READY_START_Pos (0UL) /*!< Position of READY_START field. */
  7016. #define RADIO_SHORTS_READY_START_Msk (0x1UL << RADIO_SHORTS_READY_START_Pos) /*!< Bit mask of READY_START field. */
  7017. #define RADIO_SHORTS_READY_START_Disabled (0UL) /*!< Disable shortcut */
  7018. #define RADIO_SHORTS_READY_START_Enabled (1UL) /*!< Enable shortcut */
  7019. /* Register: RADIO_INTENSET */
  7020. /* Description: Enable interrupt */
  7021. /* Bit 13 : Write '1' to Enable interrupt for CRCERROR event */
  7022. #define RADIO_INTENSET_CRCERROR_Pos (13UL) /*!< Position of CRCERROR field. */
  7023. #define RADIO_INTENSET_CRCERROR_Msk (0x1UL << RADIO_INTENSET_CRCERROR_Pos) /*!< Bit mask of CRCERROR field. */
  7024. #define RADIO_INTENSET_CRCERROR_Disabled (0UL) /*!< Read: Disabled */
  7025. #define RADIO_INTENSET_CRCERROR_Enabled (1UL) /*!< Read: Enabled */
  7026. #define RADIO_INTENSET_CRCERROR_Set (1UL) /*!< Enable */
  7027. /* Bit 12 : Write '1' to Enable interrupt for CRCOK event */
  7028. #define RADIO_INTENSET_CRCOK_Pos (12UL) /*!< Position of CRCOK field. */
  7029. #define RADIO_INTENSET_CRCOK_Msk (0x1UL << RADIO_INTENSET_CRCOK_Pos) /*!< Bit mask of CRCOK field. */
  7030. #define RADIO_INTENSET_CRCOK_Disabled (0UL) /*!< Read: Disabled */
  7031. #define RADIO_INTENSET_CRCOK_Enabled (1UL) /*!< Read: Enabled */
  7032. #define RADIO_INTENSET_CRCOK_Set (1UL) /*!< Enable */
  7033. /* Bit 10 : Write '1' to Enable interrupt for BCMATCH event */
  7034. #define RADIO_INTENSET_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
  7035. #define RADIO_INTENSET_BCMATCH_Msk (0x1UL << RADIO_INTENSET_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
  7036. #define RADIO_INTENSET_BCMATCH_Disabled (0UL) /*!< Read: Disabled */
  7037. #define RADIO_INTENSET_BCMATCH_Enabled (1UL) /*!< Read: Enabled */
  7038. #define RADIO_INTENSET_BCMATCH_Set (1UL) /*!< Enable */
  7039. /* Bit 7 : Write '1' to Enable interrupt for RSSIEND event */
  7040. #define RADIO_INTENSET_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
  7041. #define RADIO_INTENSET_RSSIEND_Msk (0x1UL << RADIO_INTENSET_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
  7042. #define RADIO_INTENSET_RSSIEND_Disabled (0UL) /*!< Read: Disabled */
  7043. #define RADIO_INTENSET_RSSIEND_Enabled (1UL) /*!< Read: Enabled */
  7044. #define RADIO_INTENSET_RSSIEND_Set (1UL) /*!< Enable */
  7045. /* Bit 6 : Write '1' to Enable interrupt for DEVMISS event */
  7046. #define RADIO_INTENSET_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
  7047. #define RADIO_INTENSET_DEVMISS_Msk (0x1UL << RADIO_INTENSET_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
  7048. #define RADIO_INTENSET_DEVMISS_Disabled (0UL) /*!< Read: Disabled */
  7049. #define RADIO_INTENSET_DEVMISS_Enabled (1UL) /*!< Read: Enabled */
  7050. #define RADIO_INTENSET_DEVMISS_Set (1UL) /*!< Enable */
  7051. /* Bit 5 : Write '1' to Enable interrupt for DEVMATCH event */
  7052. #define RADIO_INTENSET_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
  7053. #define RADIO_INTENSET_DEVMATCH_Msk (0x1UL << RADIO_INTENSET_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
  7054. #define RADIO_INTENSET_DEVMATCH_Disabled (0UL) /*!< Read: Disabled */
  7055. #define RADIO_INTENSET_DEVMATCH_Enabled (1UL) /*!< Read: Enabled */
  7056. #define RADIO_INTENSET_DEVMATCH_Set (1UL) /*!< Enable */
  7057. /* Bit 4 : Write '1' to Enable interrupt for DISABLED event */
  7058. #define RADIO_INTENSET_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
  7059. #define RADIO_INTENSET_DISABLED_Msk (0x1UL << RADIO_INTENSET_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
  7060. #define RADIO_INTENSET_DISABLED_Disabled (0UL) /*!< Read: Disabled */
  7061. #define RADIO_INTENSET_DISABLED_Enabled (1UL) /*!< Read: Enabled */
  7062. #define RADIO_INTENSET_DISABLED_Set (1UL) /*!< Enable */
  7063. /* Bit 3 : Write '1' to Enable interrupt for END event */
  7064. #define RADIO_INTENSET_END_Pos (3UL) /*!< Position of END field. */
  7065. #define RADIO_INTENSET_END_Msk (0x1UL << RADIO_INTENSET_END_Pos) /*!< Bit mask of END field. */
  7066. #define RADIO_INTENSET_END_Disabled (0UL) /*!< Read: Disabled */
  7067. #define RADIO_INTENSET_END_Enabled (1UL) /*!< Read: Enabled */
  7068. #define RADIO_INTENSET_END_Set (1UL) /*!< Enable */
  7069. /* Bit 2 : Write '1' to Enable interrupt for PAYLOAD event */
  7070. #define RADIO_INTENSET_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
  7071. #define RADIO_INTENSET_PAYLOAD_Msk (0x1UL << RADIO_INTENSET_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
  7072. #define RADIO_INTENSET_PAYLOAD_Disabled (0UL) /*!< Read: Disabled */
  7073. #define RADIO_INTENSET_PAYLOAD_Enabled (1UL) /*!< Read: Enabled */
  7074. #define RADIO_INTENSET_PAYLOAD_Set (1UL) /*!< Enable */
  7075. /* Bit 1 : Write '1' to Enable interrupt for ADDRESS event */
  7076. #define RADIO_INTENSET_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
  7077. #define RADIO_INTENSET_ADDRESS_Msk (0x1UL << RADIO_INTENSET_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  7078. #define RADIO_INTENSET_ADDRESS_Disabled (0UL) /*!< Read: Disabled */
  7079. #define RADIO_INTENSET_ADDRESS_Enabled (1UL) /*!< Read: Enabled */
  7080. #define RADIO_INTENSET_ADDRESS_Set (1UL) /*!< Enable */
  7081. /* Bit 0 : Write '1' to Enable interrupt for READY event */
  7082. #define RADIO_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  7083. #define RADIO_INTENSET_READY_Msk (0x1UL << RADIO_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  7084. #define RADIO_INTENSET_READY_Disabled (0UL) /*!< Read: Disabled */
  7085. #define RADIO_INTENSET_READY_Enabled (1UL) /*!< Read: Enabled */
  7086. #define RADIO_INTENSET_READY_Set (1UL) /*!< Enable */
  7087. /* Register: RADIO_INTENCLR */
  7088. /* Description: Disable interrupt */
  7089. /* Bit 13 : Write '1' to Disable interrupt for CRCERROR event */
  7090. #define RADIO_INTENCLR_CRCERROR_Pos (13UL) /*!< Position of CRCERROR field. */
  7091. #define RADIO_INTENCLR_CRCERROR_Msk (0x1UL << RADIO_INTENCLR_CRCERROR_Pos) /*!< Bit mask of CRCERROR field. */
  7092. #define RADIO_INTENCLR_CRCERROR_Disabled (0UL) /*!< Read: Disabled */
  7093. #define RADIO_INTENCLR_CRCERROR_Enabled (1UL) /*!< Read: Enabled */
  7094. #define RADIO_INTENCLR_CRCERROR_Clear (1UL) /*!< Disable */
  7095. /* Bit 12 : Write '1' to Disable interrupt for CRCOK event */
  7096. #define RADIO_INTENCLR_CRCOK_Pos (12UL) /*!< Position of CRCOK field. */
  7097. #define RADIO_INTENCLR_CRCOK_Msk (0x1UL << RADIO_INTENCLR_CRCOK_Pos) /*!< Bit mask of CRCOK field. */
  7098. #define RADIO_INTENCLR_CRCOK_Disabled (0UL) /*!< Read: Disabled */
  7099. #define RADIO_INTENCLR_CRCOK_Enabled (1UL) /*!< Read: Enabled */
  7100. #define RADIO_INTENCLR_CRCOK_Clear (1UL) /*!< Disable */
  7101. /* Bit 10 : Write '1' to Disable interrupt for BCMATCH event */
  7102. #define RADIO_INTENCLR_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
  7103. #define RADIO_INTENCLR_BCMATCH_Msk (0x1UL << RADIO_INTENCLR_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
  7104. #define RADIO_INTENCLR_BCMATCH_Disabled (0UL) /*!< Read: Disabled */
  7105. #define RADIO_INTENCLR_BCMATCH_Enabled (1UL) /*!< Read: Enabled */
  7106. #define RADIO_INTENCLR_BCMATCH_Clear (1UL) /*!< Disable */
  7107. /* Bit 7 : Write '1' to Disable interrupt for RSSIEND event */
  7108. #define RADIO_INTENCLR_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
  7109. #define RADIO_INTENCLR_RSSIEND_Msk (0x1UL << RADIO_INTENCLR_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
  7110. #define RADIO_INTENCLR_RSSIEND_Disabled (0UL) /*!< Read: Disabled */
  7111. #define RADIO_INTENCLR_RSSIEND_Enabled (1UL) /*!< Read: Enabled */
  7112. #define RADIO_INTENCLR_RSSIEND_Clear (1UL) /*!< Disable */
  7113. /* Bit 6 : Write '1' to Disable interrupt for DEVMISS event */
  7114. #define RADIO_INTENCLR_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
  7115. #define RADIO_INTENCLR_DEVMISS_Msk (0x1UL << RADIO_INTENCLR_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
  7116. #define RADIO_INTENCLR_DEVMISS_Disabled (0UL) /*!< Read: Disabled */
  7117. #define RADIO_INTENCLR_DEVMISS_Enabled (1UL) /*!< Read: Enabled */
  7118. #define RADIO_INTENCLR_DEVMISS_Clear (1UL) /*!< Disable */
  7119. /* Bit 5 : Write '1' to Disable interrupt for DEVMATCH event */
  7120. #define RADIO_INTENCLR_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
  7121. #define RADIO_INTENCLR_DEVMATCH_Msk (0x1UL << RADIO_INTENCLR_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
  7122. #define RADIO_INTENCLR_DEVMATCH_Disabled (0UL) /*!< Read: Disabled */
  7123. #define RADIO_INTENCLR_DEVMATCH_Enabled (1UL) /*!< Read: Enabled */
  7124. #define RADIO_INTENCLR_DEVMATCH_Clear (1UL) /*!< Disable */
  7125. /* Bit 4 : Write '1' to Disable interrupt for DISABLED event */
  7126. #define RADIO_INTENCLR_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
  7127. #define RADIO_INTENCLR_DISABLED_Msk (0x1UL << RADIO_INTENCLR_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
  7128. #define RADIO_INTENCLR_DISABLED_Disabled (0UL) /*!< Read: Disabled */
  7129. #define RADIO_INTENCLR_DISABLED_Enabled (1UL) /*!< Read: Enabled */
  7130. #define RADIO_INTENCLR_DISABLED_Clear (1UL) /*!< Disable */
  7131. /* Bit 3 : Write '1' to Disable interrupt for END event */
  7132. #define RADIO_INTENCLR_END_Pos (3UL) /*!< Position of END field. */
  7133. #define RADIO_INTENCLR_END_Msk (0x1UL << RADIO_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  7134. #define RADIO_INTENCLR_END_Disabled (0UL) /*!< Read: Disabled */
  7135. #define RADIO_INTENCLR_END_Enabled (1UL) /*!< Read: Enabled */
  7136. #define RADIO_INTENCLR_END_Clear (1UL) /*!< Disable */
  7137. /* Bit 2 : Write '1' to Disable interrupt for PAYLOAD event */
  7138. #define RADIO_INTENCLR_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
  7139. #define RADIO_INTENCLR_PAYLOAD_Msk (0x1UL << RADIO_INTENCLR_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
  7140. #define RADIO_INTENCLR_PAYLOAD_Disabled (0UL) /*!< Read: Disabled */
  7141. #define RADIO_INTENCLR_PAYLOAD_Enabled (1UL) /*!< Read: Enabled */
  7142. #define RADIO_INTENCLR_PAYLOAD_Clear (1UL) /*!< Disable */
  7143. /* Bit 1 : Write '1' to Disable interrupt for ADDRESS event */
  7144. #define RADIO_INTENCLR_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
  7145. #define RADIO_INTENCLR_ADDRESS_Msk (0x1UL << RADIO_INTENCLR_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  7146. #define RADIO_INTENCLR_ADDRESS_Disabled (0UL) /*!< Read: Disabled */
  7147. #define RADIO_INTENCLR_ADDRESS_Enabled (1UL) /*!< Read: Enabled */
  7148. #define RADIO_INTENCLR_ADDRESS_Clear (1UL) /*!< Disable */
  7149. /* Bit 0 : Write '1' to Disable interrupt for READY event */
  7150. #define RADIO_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  7151. #define RADIO_INTENCLR_READY_Msk (0x1UL << RADIO_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  7152. #define RADIO_INTENCLR_READY_Disabled (0UL) /*!< Read: Disabled */
  7153. #define RADIO_INTENCLR_READY_Enabled (1UL) /*!< Read: Enabled */
  7154. #define RADIO_INTENCLR_READY_Clear (1UL) /*!< Disable */
  7155. /* Register: RADIO_CRCSTATUS */
  7156. /* Description: CRC status */
  7157. /* Bit 0 : CRC status of packet received */
  7158. #define RADIO_CRCSTATUS_CRCSTATUS_Pos (0UL) /*!< Position of CRCSTATUS field. */
  7159. #define RADIO_CRCSTATUS_CRCSTATUS_Msk (0x1UL << RADIO_CRCSTATUS_CRCSTATUS_Pos) /*!< Bit mask of CRCSTATUS field. */
  7160. #define RADIO_CRCSTATUS_CRCSTATUS_CRCError (0UL) /*!< Packet received with CRC error */
  7161. #define RADIO_CRCSTATUS_CRCSTATUS_CRCOk (1UL) /*!< Packet received with CRC ok */
  7162. /* Register: RADIO_RXMATCH */
  7163. /* Description: Received address */
  7164. /* Bits 2..0 : Received address */
  7165. #define RADIO_RXMATCH_RXMATCH_Pos (0UL) /*!< Position of RXMATCH field. */
  7166. #define RADIO_RXMATCH_RXMATCH_Msk (0x7UL << RADIO_RXMATCH_RXMATCH_Pos) /*!< Bit mask of RXMATCH field. */
  7167. /* Register: RADIO_RXCRC */
  7168. /* Description: CRC field of previously received packet */
  7169. /* Bits 23..0 : CRC field of previously received packet */
  7170. #define RADIO_RXCRC_RXCRC_Pos (0UL) /*!< Position of RXCRC field. */
  7171. #define RADIO_RXCRC_RXCRC_Msk (0xFFFFFFUL << RADIO_RXCRC_RXCRC_Pos) /*!< Bit mask of RXCRC field. */
  7172. /* Register: RADIO_DAI */
  7173. /* Description: Device address match index */
  7174. /* Bits 2..0 : Device address match index */
  7175. #define RADIO_DAI_DAI_Pos (0UL) /*!< Position of DAI field. */
  7176. #define RADIO_DAI_DAI_Msk (0x7UL << RADIO_DAI_DAI_Pos) /*!< Bit mask of DAI field. */
  7177. /* Register: RADIO_PACKETPTR */
  7178. /* Description: Packet pointer */
  7179. /* Bits 31..0 : Packet pointer */
  7180. #define RADIO_PACKETPTR_PACKETPTR_Pos (0UL) /*!< Position of PACKETPTR field. */
  7181. #define RADIO_PACKETPTR_PACKETPTR_Msk (0xFFFFFFFFUL << RADIO_PACKETPTR_PACKETPTR_Pos) /*!< Bit mask of PACKETPTR field. */
  7182. /* Register: RADIO_FREQUENCY */
  7183. /* Description: Frequency */
  7184. /* Bit 8 : Channel map selection. */
  7185. #define RADIO_FREQUENCY_MAP_Pos (8UL) /*!< Position of MAP field. */
  7186. #define RADIO_FREQUENCY_MAP_Msk (0x1UL << RADIO_FREQUENCY_MAP_Pos) /*!< Bit mask of MAP field. */
  7187. #define RADIO_FREQUENCY_MAP_Default (0UL) /*!< Channel map between 2400 MHZ .. 2500 MHz */
  7188. #define RADIO_FREQUENCY_MAP_Low (1UL) /*!< Channel map between 2360 MHZ .. 2460 MHz */
  7189. /* Bits 6..0 : Radio channel frequency */
  7190. #define RADIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  7191. #define RADIO_FREQUENCY_FREQUENCY_Msk (0x7FUL << RADIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  7192. /* Register: RADIO_TXPOWER */
  7193. /* Description: Output power */
  7194. /* Bits 7..0 : RADIO output power. */
  7195. #define RADIO_TXPOWER_TXPOWER_Pos (0UL) /*!< Position of TXPOWER field. */
  7196. #define RADIO_TXPOWER_TXPOWER_Msk (0xFFUL << RADIO_TXPOWER_TXPOWER_Pos) /*!< Bit mask of TXPOWER field. */
  7197. #define RADIO_TXPOWER_TXPOWER_0dBm (0x00UL) /*!< 0 dBm */
  7198. #define RADIO_TXPOWER_TXPOWER_Pos3dBm (0x03UL) /*!< +3 dBm */
  7199. #define RADIO_TXPOWER_TXPOWER_Pos4dBm (0x04UL) /*!< +4 dBm */
  7200. #define RADIO_TXPOWER_TXPOWER_Neg40dBm (0xD8UL) /*!< -40 dBm */
  7201. #define RADIO_TXPOWER_TXPOWER_Neg20dBm (0xECUL) /*!< -20 dBm */
  7202. #define RADIO_TXPOWER_TXPOWER_Neg16dBm (0xF0UL) /*!< -16 dBm */
  7203. #define RADIO_TXPOWER_TXPOWER_Neg12dBm (0xF4UL) /*!< -12 dBm */
  7204. #define RADIO_TXPOWER_TXPOWER_Neg8dBm (0xF8UL) /*!< -8 dBm */
  7205. #define RADIO_TXPOWER_TXPOWER_Neg4dBm (0xFCUL) /*!< -4 dBm */
  7206. #define RADIO_TXPOWER_TXPOWER_Neg30dBm (0xFFUL) /*!< Deprecated enumerator - -40 dBm */
  7207. /* Register: RADIO_MODE */
  7208. /* Description: Data rate and modulation */
  7209. /* Bits 3..0 : Radio data rate and modulation setting. The radio supports Frequency-shift Keying (FSK) modulation. */
  7210. #define RADIO_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  7211. #define RADIO_MODE_MODE_Msk (0xFUL << RADIO_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  7212. #define RADIO_MODE_MODE_Nrf_1Mbit (0UL) /*!< 1 Mbit/s Nordic proprietary radio mode */
  7213. #define RADIO_MODE_MODE_Nrf_2Mbit (1UL) /*!< 2 Mbit/s Nordic proprietary radio mode */
  7214. #define RADIO_MODE_MODE_Nrf_250Kbit (2UL) /*!< Deprecated enumerator - 250 kbit/s Nordic proprietary radio mode */
  7215. #define RADIO_MODE_MODE_Ble_1Mbit (3UL) /*!< 1 Mbit/s Bluetooth Low Energy */
  7216. #define RADIO_MODE_MODE_Ble_2Mbit (4UL) /*!< 2 Mbit/s Bluetooth Low Energy */
  7217. /* Register: RADIO_PCNF0 */
  7218. /* Description: Packet configuration register 0 */
  7219. /* Bit 24 : Length of preamble on air. Decision point: TASKS_START task */
  7220. #define RADIO_PCNF0_PLEN_Pos (24UL) /*!< Position of PLEN field. */
  7221. #define RADIO_PCNF0_PLEN_Msk (0x1UL << RADIO_PCNF0_PLEN_Pos) /*!< Bit mask of PLEN field. */
  7222. #define RADIO_PCNF0_PLEN_8bit (0UL) /*!< 8-bit preamble */
  7223. #define RADIO_PCNF0_PLEN_16bit (1UL) /*!< 16-bit preamble */
  7224. /* Bit 20 : Include or exclude S1 field in RAM */
  7225. #define RADIO_PCNF0_S1INCL_Pos (20UL) /*!< Position of S1INCL field. */
  7226. #define RADIO_PCNF0_S1INCL_Msk (0x1UL << RADIO_PCNF0_S1INCL_Pos) /*!< Bit mask of S1INCL field. */
  7227. #define RADIO_PCNF0_S1INCL_Automatic (0UL) /*!< Include S1 field in RAM only if S1LEN &gt; 0 */
  7228. #define RADIO_PCNF0_S1INCL_Include (1UL) /*!< Always include S1 field in RAM independent of S1LEN */
  7229. /* Bits 19..16 : Length on air of S1 field in number of bits. */
  7230. #define RADIO_PCNF0_S1LEN_Pos (16UL) /*!< Position of S1LEN field. */
  7231. #define RADIO_PCNF0_S1LEN_Msk (0xFUL << RADIO_PCNF0_S1LEN_Pos) /*!< Bit mask of S1LEN field. */
  7232. /* Bit 8 : Length on air of S0 field in number of bytes. */
  7233. #define RADIO_PCNF0_S0LEN_Pos (8UL) /*!< Position of S0LEN field. */
  7234. #define RADIO_PCNF0_S0LEN_Msk (0x1UL << RADIO_PCNF0_S0LEN_Pos) /*!< Bit mask of S0LEN field. */
  7235. /* Bits 3..0 : Length on air of LENGTH field in number of bits. */
  7236. #define RADIO_PCNF0_LFLEN_Pos (0UL) /*!< Position of LFLEN field. */
  7237. #define RADIO_PCNF0_LFLEN_Msk (0xFUL << RADIO_PCNF0_LFLEN_Pos) /*!< Bit mask of LFLEN field. */
  7238. /* Register: RADIO_PCNF1 */
  7239. /* Description: Packet configuration register 1 */
  7240. /* Bit 25 : Enable or disable packet whitening */
  7241. #define RADIO_PCNF1_WHITEEN_Pos (25UL) /*!< Position of WHITEEN field. */
  7242. #define RADIO_PCNF1_WHITEEN_Msk (0x1UL << RADIO_PCNF1_WHITEEN_Pos) /*!< Bit mask of WHITEEN field. */
  7243. #define RADIO_PCNF1_WHITEEN_Disabled (0UL) /*!< Disable */
  7244. #define RADIO_PCNF1_WHITEEN_Enabled (1UL) /*!< Enable */
  7245. /* Bit 24 : On air endianness of packet, this applies to the S0, LENGTH, S1 and the PAYLOAD fields. */
  7246. #define RADIO_PCNF1_ENDIAN_Pos (24UL) /*!< Position of ENDIAN field. */
  7247. #define RADIO_PCNF1_ENDIAN_Msk (0x1UL << RADIO_PCNF1_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */
  7248. #define RADIO_PCNF1_ENDIAN_Little (0UL) /*!< Least Significant bit on air first */
  7249. #define RADIO_PCNF1_ENDIAN_Big (1UL) /*!< Most significant bit on air first */
  7250. /* Bits 18..16 : Base address length in number of bytes */
  7251. #define RADIO_PCNF1_BALEN_Pos (16UL) /*!< Position of BALEN field. */
  7252. #define RADIO_PCNF1_BALEN_Msk (0x7UL << RADIO_PCNF1_BALEN_Pos) /*!< Bit mask of BALEN field. */
  7253. /* Bits 15..8 : Static length in number of bytes */
  7254. #define RADIO_PCNF1_STATLEN_Pos (8UL) /*!< Position of STATLEN field. */
  7255. #define RADIO_PCNF1_STATLEN_Msk (0xFFUL << RADIO_PCNF1_STATLEN_Pos) /*!< Bit mask of STATLEN field. */
  7256. /* Bits 7..0 : Maximum length of packet payload. If the packet payload is larger than MAXLEN, the radio will truncate the payload to MAXLEN. */
  7257. #define RADIO_PCNF1_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */
  7258. #define RADIO_PCNF1_MAXLEN_Msk (0xFFUL << RADIO_PCNF1_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */
  7259. /* Register: RADIO_BASE0 */
  7260. /* Description: Base address 0 */
  7261. /* Bits 31..0 : Base address 0 */
  7262. #define RADIO_BASE0_BASE0_Pos (0UL) /*!< Position of BASE0 field. */
  7263. #define RADIO_BASE0_BASE0_Msk (0xFFFFFFFFUL << RADIO_BASE0_BASE0_Pos) /*!< Bit mask of BASE0 field. */
  7264. /* Register: RADIO_BASE1 */
  7265. /* Description: Base address 1 */
  7266. /* Bits 31..0 : Base address 1 */
  7267. #define RADIO_BASE1_BASE1_Pos (0UL) /*!< Position of BASE1 field. */
  7268. #define RADIO_BASE1_BASE1_Msk (0xFFFFFFFFUL << RADIO_BASE1_BASE1_Pos) /*!< Bit mask of BASE1 field. */
  7269. /* Register: RADIO_PREFIX0 */
  7270. /* Description: Prefixes bytes for logical addresses 0-3 */
  7271. /* Bits 31..24 : Address prefix 3. */
  7272. #define RADIO_PREFIX0_AP3_Pos (24UL) /*!< Position of AP3 field. */
  7273. #define RADIO_PREFIX0_AP3_Msk (0xFFUL << RADIO_PREFIX0_AP3_Pos) /*!< Bit mask of AP3 field. */
  7274. /* Bits 23..16 : Address prefix 2. */
  7275. #define RADIO_PREFIX0_AP2_Pos (16UL) /*!< Position of AP2 field. */
  7276. #define RADIO_PREFIX0_AP2_Msk (0xFFUL << RADIO_PREFIX0_AP2_Pos) /*!< Bit mask of AP2 field. */
  7277. /* Bits 15..8 : Address prefix 1. */
  7278. #define RADIO_PREFIX0_AP1_Pos (8UL) /*!< Position of AP1 field. */
  7279. #define RADIO_PREFIX0_AP1_Msk (0xFFUL << RADIO_PREFIX0_AP1_Pos) /*!< Bit mask of AP1 field. */
  7280. /* Bits 7..0 : Address prefix 0. */
  7281. #define RADIO_PREFIX0_AP0_Pos (0UL) /*!< Position of AP0 field. */
  7282. #define RADIO_PREFIX0_AP0_Msk (0xFFUL << RADIO_PREFIX0_AP0_Pos) /*!< Bit mask of AP0 field. */
  7283. /* Register: RADIO_PREFIX1 */
  7284. /* Description: Prefixes bytes for logical addresses 4-7 */
  7285. /* Bits 31..24 : Address prefix 7. */
  7286. #define RADIO_PREFIX1_AP7_Pos (24UL) /*!< Position of AP7 field. */
  7287. #define RADIO_PREFIX1_AP7_Msk (0xFFUL << RADIO_PREFIX1_AP7_Pos) /*!< Bit mask of AP7 field. */
  7288. /* Bits 23..16 : Address prefix 6. */
  7289. #define RADIO_PREFIX1_AP6_Pos (16UL) /*!< Position of AP6 field. */
  7290. #define RADIO_PREFIX1_AP6_Msk (0xFFUL << RADIO_PREFIX1_AP6_Pos) /*!< Bit mask of AP6 field. */
  7291. /* Bits 15..8 : Address prefix 5. */
  7292. #define RADIO_PREFIX1_AP5_Pos (8UL) /*!< Position of AP5 field. */
  7293. #define RADIO_PREFIX1_AP5_Msk (0xFFUL << RADIO_PREFIX1_AP5_Pos) /*!< Bit mask of AP5 field. */
  7294. /* Bits 7..0 : Address prefix 4. */
  7295. #define RADIO_PREFIX1_AP4_Pos (0UL) /*!< Position of AP4 field. */
  7296. #define RADIO_PREFIX1_AP4_Msk (0xFFUL << RADIO_PREFIX1_AP4_Pos) /*!< Bit mask of AP4 field. */
  7297. /* Register: RADIO_TXADDRESS */
  7298. /* Description: Transmit address select */
  7299. /* Bits 2..0 : Transmit address select */
  7300. #define RADIO_TXADDRESS_TXADDRESS_Pos (0UL) /*!< Position of TXADDRESS field. */
  7301. #define RADIO_TXADDRESS_TXADDRESS_Msk (0x7UL << RADIO_TXADDRESS_TXADDRESS_Pos) /*!< Bit mask of TXADDRESS field. */
  7302. /* Register: RADIO_RXADDRESSES */
  7303. /* Description: Receive address select */
  7304. /* Bit 7 : Enable or disable reception on logical address 7. */
  7305. #define RADIO_RXADDRESSES_ADDR7_Pos (7UL) /*!< Position of ADDR7 field. */
  7306. #define RADIO_RXADDRESSES_ADDR7_Msk (0x1UL << RADIO_RXADDRESSES_ADDR7_Pos) /*!< Bit mask of ADDR7 field. */
  7307. #define RADIO_RXADDRESSES_ADDR7_Disabled (0UL) /*!< Disable */
  7308. #define RADIO_RXADDRESSES_ADDR7_Enabled (1UL) /*!< Enable */
  7309. /* Bit 6 : Enable or disable reception on logical address 6. */
  7310. #define RADIO_RXADDRESSES_ADDR6_Pos (6UL) /*!< Position of ADDR6 field. */
  7311. #define RADIO_RXADDRESSES_ADDR6_Msk (0x1UL << RADIO_RXADDRESSES_ADDR6_Pos) /*!< Bit mask of ADDR6 field. */
  7312. #define RADIO_RXADDRESSES_ADDR6_Disabled (0UL) /*!< Disable */
  7313. #define RADIO_RXADDRESSES_ADDR6_Enabled (1UL) /*!< Enable */
  7314. /* Bit 5 : Enable or disable reception on logical address 5. */
  7315. #define RADIO_RXADDRESSES_ADDR5_Pos (5UL) /*!< Position of ADDR5 field. */
  7316. #define RADIO_RXADDRESSES_ADDR5_Msk (0x1UL << RADIO_RXADDRESSES_ADDR5_Pos) /*!< Bit mask of ADDR5 field. */
  7317. #define RADIO_RXADDRESSES_ADDR5_Disabled (0UL) /*!< Disable */
  7318. #define RADIO_RXADDRESSES_ADDR5_Enabled (1UL) /*!< Enable */
  7319. /* Bit 4 : Enable or disable reception on logical address 4. */
  7320. #define RADIO_RXADDRESSES_ADDR4_Pos (4UL) /*!< Position of ADDR4 field. */
  7321. #define RADIO_RXADDRESSES_ADDR4_Msk (0x1UL << RADIO_RXADDRESSES_ADDR4_Pos) /*!< Bit mask of ADDR4 field. */
  7322. #define RADIO_RXADDRESSES_ADDR4_Disabled (0UL) /*!< Disable */
  7323. #define RADIO_RXADDRESSES_ADDR4_Enabled (1UL) /*!< Enable */
  7324. /* Bit 3 : Enable or disable reception on logical address 3. */
  7325. #define RADIO_RXADDRESSES_ADDR3_Pos (3UL) /*!< Position of ADDR3 field. */
  7326. #define RADIO_RXADDRESSES_ADDR3_Msk (0x1UL << RADIO_RXADDRESSES_ADDR3_Pos) /*!< Bit mask of ADDR3 field. */
  7327. #define RADIO_RXADDRESSES_ADDR3_Disabled (0UL) /*!< Disable */
  7328. #define RADIO_RXADDRESSES_ADDR3_Enabled (1UL) /*!< Enable */
  7329. /* Bit 2 : Enable or disable reception on logical address 2. */
  7330. #define RADIO_RXADDRESSES_ADDR2_Pos (2UL) /*!< Position of ADDR2 field. */
  7331. #define RADIO_RXADDRESSES_ADDR2_Msk (0x1UL << RADIO_RXADDRESSES_ADDR2_Pos) /*!< Bit mask of ADDR2 field. */
  7332. #define RADIO_RXADDRESSES_ADDR2_Disabled (0UL) /*!< Disable */
  7333. #define RADIO_RXADDRESSES_ADDR2_Enabled (1UL) /*!< Enable */
  7334. /* Bit 1 : Enable or disable reception on logical address 1. */
  7335. #define RADIO_RXADDRESSES_ADDR1_Pos (1UL) /*!< Position of ADDR1 field. */
  7336. #define RADIO_RXADDRESSES_ADDR1_Msk (0x1UL << RADIO_RXADDRESSES_ADDR1_Pos) /*!< Bit mask of ADDR1 field. */
  7337. #define RADIO_RXADDRESSES_ADDR1_Disabled (0UL) /*!< Disable */
  7338. #define RADIO_RXADDRESSES_ADDR1_Enabled (1UL) /*!< Enable */
  7339. /* Bit 0 : Enable or disable reception on logical address 0. */
  7340. #define RADIO_RXADDRESSES_ADDR0_Pos (0UL) /*!< Position of ADDR0 field. */
  7341. #define RADIO_RXADDRESSES_ADDR0_Msk (0x1UL << RADIO_RXADDRESSES_ADDR0_Pos) /*!< Bit mask of ADDR0 field. */
  7342. #define RADIO_RXADDRESSES_ADDR0_Disabled (0UL) /*!< Disable */
  7343. #define RADIO_RXADDRESSES_ADDR0_Enabled (1UL) /*!< Enable */
  7344. /* Register: RADIO_CRCCNF */
  7345. /* Description: CRC configuration */
  7346. /* Bit 8 : Include or exclude packet address field out of CRC calculation. */
  7347. #define RADIO_CRCCNF_SKIPADDR_Pos (8UL) /*!< Position of SKIPADDR field. */
  7348. #define RADIO_CRCCNF_SKIPADDR_Msk (0x1UL << RADIO_CRCCNF_SKIPADDR_Pos) /*!< Bit mask of SKIPADDR field. */
  7349. #define RADIO_CRCCNF_SKIPADDR_Include (0UL) /*!< CRC calculation includes address field */
  7350. #define RADIO_CRCCNF_SKIPADDR_Skip (1UL) /*!< CRC calculation does not include address field. The CRC calculation will start at the first byte after the address. */
  7351. /* Bits 1..0 : CRC length in number of bytes. */
  7352. #define RADIO_CRCCNF_LEN_Pos (0UL) /*!< Position of LEN field. */
  7353. #define RADIO_CRCCNF_LEN_Msk (0x3UL << RADIO_CRCCNF_LEN_Pos) /*!< Bit mask of LEN field. */
  7354. #define RADIO_CRCCNF_LEN_Disabled (0UL) /*!< CRC length is zero and CRC calculation is disabled */
  7355. #define RADIO_CRCCNF_LEN_One (1UL) /*!< CRC length is one byte and CRC calculation is enabled */
  7356. #define RADIO_CRCCNF_LEN_Two (2UL) /*!< CRC length is two bytes and CRC calculation is enabled */
  7357. #define RADIO_CRCCNF_LEN_Three (3UL) /*!< CRC length is three bytes and CRC calculation is enabled */
  7358. /* Register: RADIO_CRCPOLY */
  7359. /* Description: CRC polynomial */
  7360. /* Bits 23..0 : CRC polynomial */
  7361. #define RADIO_CRCPOLY_CRCPOLY_Pos (0UL) /*!< Position of CRCPOLY field. */
  7362. #define RADIO_CRCPOLY_CRCPOLY_Msk (0xFFFFFFUL << RADIO_CRCPOLY_CRCPOLY_Pos) /*!< Bit mask of CRCPOLY field. */
  7363. /* Register: RADIO_CRCINIT */
  7364. /* Description: CRC initial value */
  7365. /* Bits 23..0 : CRC initial value */
  7366. #define RADIO_CRCINIT_CRCINIT_Pos (0UL) /*!< Position of CRCINIT field. */
  7367. #define RADIO_CRCINIT_CRCINIT_Msk (0xFFFFFFUL << RADIO_CRCINIT_CRCINIT_Pos) /*!< Bit mask of CRCINIT field. */
  7368. /* Register: RADIO_TIFS */
  7369. /* Description: Inter Frame Spacing in us */
  7370. /* Bits 7..0 : Inter Frame Spacing in us */
  7371. #define RADIO_TIFS_TIFS_Pos (0UL) /*!< Position of TIFS field. */
  7372. #define RADIO_TIFS_TIFS_Msk (0xFFUL << RADIO_TIFS_TIFS_Pos) /*!< Bit mask of TIFS field. */
  7373. /* Register: RADIO_RSSISAMPLE */
  7374. /* Description: RSSI sample */
  7375. /* Bits 6..0 : RSSI sample */
  7376. #define RADIO_RSSISAMPLE_RSSISAMPLE_Pos (0UL) /*!< Position of RSSISAMPLE field. */
  7377. #define RADIO_RSSISAMPLE_RSSISAMPLE_Msk (0x7FUL << RADIO_RSSISAMPLE_RSSISAMPLE_Pos) /*!< Bit mask of RSSISAMPLE field. */
  7378. /* Register: RADIO_STATE */
  7379. /* Description: Current radio state */
  7380. /* Bits 3..0 : Current radio state */
  7381. #define RADIO_STATE_STATE_Pos (0UL) /*!< Position of STATE field. */
  7382. #define RADIO_STATE_STATE_Msk (0xFUL << RADIO_STATE_STATE_Pos) /*!< Bit mask of STATE field. */
  7383. #define RADIO_STATE_STATE_Disabled (0UL) /*!< RADIO is in the Disabled state */
  7384. #define RADIO_STATE_STATE_RxRu (1UL) /*!< RADIO is in the RXRU state */
  7385. #define RADIO_STATE_STATE_RxIdle (2UL) /*!< RADIO is in the RXIDLE state */
  7386. #define RADIO_STATE_STATE_Rx (3UL) /*!< RADIO is in the RX state */
  7387. #define RADIO_STATE_STATE_RxDisable (4UL) /*!< RADIO is in the RXDISABLED state */
  7388. #define RADIO_STATE_STATE_TxRu (9UL) /*!< RADIO is in the TXRU state */
  7389. #define RADIO_STATE_STATE_TxIdle (10UL) /*!< RADIO is in the TXIDLE state */
  7390. #define RADIO_STATE_STATE_Tx (11UL) /*!< RADIO is in the TX state */
  7391. #define RADIO_STATE_STATE_TxDisable (12UL) /*!< RADIO is in the TXDISABLED state */
  7392. /* Register: RADIO_DATAWHITEIV */
  7393. /* Description: Data whitening initial value */
  7394. /* Bits 6..0 : Data whitening initial value. Bit 6 is hard-wired to '1', writing '0' to it has no effect, and it will always be read back and used by the device as '1'. */
  7395. #define RADIO_DATAWHITEIV_DATAWHITEIV_Pos (0UL) /*!< Position of DATAWHITEIV field. */
  7396. #define RADIO_DATAWHITEIV_DATAWHITEIV_Msk (0x7FUL << RADIO_DATAWHITEIV_DATAWHITEIV_Pos) /*!< Bit mask of DATAWHITEIV field. */
  7397. /* Register: RADIO_BCC */
  7398. /* Description: Bit counter compare */
  7399. /* Bits 31..0 : Bit counter compare */
  7400. #define RADIO_BCC_BCC_Pos (0UL) /*!< Position of BCC field. */
  7401. #define RADIO_BCC_BCC_Msk (0xFFFFFFFFUL << RADIO_BCC_BCC_Pos) /*!< Bit mask of BCC field. */
  7402. /* Register: RADIO_DAB */
  7403. /* Description: Description collection[0]: Device address base segment 0 */
  7404. /* Bits 31..0 : Device address base segment 0 */
  7405. #define RADIO_DAB_DAB_Pos (0UL) /*!< Position of DAB field. */
  7406. #define RADIO_DAB_DAB_Msk (0xFFFFFFFFUL << RADIO_DAB_DAB_Pos) /*!< Bit mask of DAB field. */
  7407. /* Register: RADIO_DAP */
  7408. /* Description: Description collection[0]: Device address prefix 0 */
  7409. /* Bits 15..0 : Device address prefix 0 */
  7410. #define RADIO_DAP_DAP_Pos (0UL) /*!< Position of DAP field. */
  7411. #define RADIO_DAP_DAP_Msk (0xFFFFUL << RADIO_DAP_DAP_Pos) /*!< Bit mask of DAP field. */
  7412. /* Register: RADIO_DACNF */
  7413. /* Description: Device address match configuration */
  7414. /* Bit 15 : TxAdd for device address 7 */
  7415. #define RADIO_DACNF_TXADD7_Pos (15UL) /*!< Position of TXADD7 field. */
  7416. #define RADIO_DACNF_TXADD7_Msk (0x1UL << RADIO_DACNF_TXADD7_Pos) /*!< Bit mask of TXADD7 field. */
  7417. /* Bit 14 : TxAdd for device address 6 */
  7418. #define RADIO_DACNF_TXADD6_Pos (14UL) /*!< Position of TXADD6 field. */
  7419. #define RADIO_DACNF_TXADD6_Msk (0x1UL << RADIO_DACNF_TXADD6_Pos) /*!< Bit mask of TXADD6 field. */
  7420. /* Bit 13 : TxAdd for device address 5 */
  7421. #define RADIO_DACNF_TXADD5_Pos (13UL) /*!< Position of TXADD5 field. */
  7422. #define RADIO_DACNF_TXADD5_Msk (0x1UL << RADIO_DACNF_TXADD5_Pos) /*!< Bit mask of TXADD5 field. */
  7423. /* Bit 12 : TxAdd for device address 4 */
  7424. #define RADIO_DACNF_TXADD4_Pos (12UL) /*!< Position of TXADD4 field. */
  7425. #define RADIO_DACNF_TXADD4_Msk (0x1UL << RADIO_DACNF_TXADD4_Pos) /*!< Bit mask of TXADD4 field. */
  7426. /* Bit 11 : TxAdd for device address 3 */
  7427. #define RADIO_DACNF_TXADD3_Pos (11UL) /*!< Position of TXADD3 field. */
  7428. #define RADIO_DACNF_TXADD3_Msk (0x1UL << RADIO_DACNF_TXADD3_Pos) /*!< Bit mask of TXADD3 field. */
  7429. /* Bit 10 : TxAdd for device address 2 */
  7430. #define RADIO_DACNF_TXADD2_Pos (10UL) /*!< Position of TXADD2 field. */
  7431. #define RADIO_DACNF_TXADD2_Msk (0x1UL << RADIO_DACNF_TXADD2_Pos) /*!< Bit mask of TXADD2 field. */
  7432. /* Bit 9 : TxAdd for device address 1 */
  7433. #define RADIO_DACNF_TXADD1_Pos (9UL) /*!< Position of TXADD1 field. */
  7434. #define RADIO_DACNF_TXADD1_Msk (0x1UL << RADIO_DACNF_TXADD1_Pos) /*!< Bit mask of TXADD1 field. */
  7435. /* Bit 8 : TxAdd for device address 0 */
  7436. #define RADIO_DACNF_TXADD0_Pos (8UL) /*!< Position of TXADD0 field. */
  7437. #define RADIO_DACNF_TXADD0_Msk (0x1UL << RADIO_DACNF_TXADD0_Pos) /*!< Bit mask of TXADD0 field. */
  7438. /* Bit 7 : Enable or disable device address matching using device address 7 */
  7439. #define RADIO_DACNF_ENA7_Pos (7UL) /*!< Position of ENA7 field. */
  7440. #define RADIO_DACNF_ENA7_Msk (0x1UL << RADIO_DACNF_ENA7_Pos) /*!< Bit mask of ENA7 field. */
  7441. #define RADIO_DACNF_ENA7_Disabled (0UL) /*!< Disabled */
  7442. #define RADIO_DACNF_ENA7_Enabled (1UL) /*!< Enabled */
  7443. /* Bit 6 : Enable or disable device address matching using device address 6 */
  7444. #define RADIO_DACNF_ENA6_Pos (6UL) /*!< Position of ENA6 field. */
  7445. #define RADIO_DACNF_ENA6_Msk (0x1UL << RADIO_DACNF_ENA6_Pos) /*!< Bit mask of ENA6 field. */
  7446. #define RADIO_DACNF_ENA6_Disabled (0UL) /*!< Disabled */
  7447. #define RADIO_DACNF_ENA6_Enabled (1UL) /*!< Enabled */
  7448. /* Bit 5 : Enable or disable device address matching using device address 5 */
  7449. #define RADIO_DACNF_ENA5_Pos (5UL) /*!< Position of ENA5 field. */
  7450. #define RADIO_DACNF_ENA5_Msk (0x1UL << RADIO_DACNF_ENA5_Pos) /*!< Bit mask of ENA5 field. */
  7451. #define RADIO_DACNF_ENA5_Disabled (0UL) /*!< Disabled */
  7452. #define RADIO_DACNF_ENA5_Enabled (1UL) /*!< Enabled */
  7453. /* Bit 4 : Enable or disable device address matching using device address 4 */
  7454. #define RADIO_DACNF_ENA4_Pos (4UL) /*!< Position of ENA4 field. */
  7455. #define RADIO_DACNF_ENA4_Msk (0x1UL << RADIO_DACNF_ENA4_Pos) /*!< Bit mask of ENA4 field. */
  7456. #define RADIO_DACNF_ENA4_Disabled (0UL) /*!< Disabled */
  7457. #define RADIO_DACNF_ENA4_Enabled (1UL) /*!< Enabled */
  7458. /* Bit 3 : Enable or disable device address matching using device address 3 */
  7459. #define RADIO_DACNF_ENA3_Pos (3UL) /*!< Position of ENA3 field. */
  7460. #define RADIO_DACNF_ENA3_Msk (0x1UL << RADIO_DACNF_ENA3_Pos) /*!< Bit mask of ENA3 field. */
  7461. #define RADIO_DACNF_ENA3_Disabled (0UL) /*!< Disabled */
  7462. #define RADIO_DACNF_ENA3_Enabled (1UL) /*!< Enabled */
  7463. /* Bit 2 : Enable or disable device address matching using device address 2 */
  7464. #define RADIO_DACNF_ENA2_Pos (2UL) /*!< Position of ENA2 field. */
  7465. #define RADIO_DACNF_ENA2_Msk (0x1UL << RADIO_DACNF_ENA2_Pos) /*!< Bit mask of ENA2 field. */
  7466. #define RADIO_DACNF_ENA2_Disabled (0UL) /*!< Disabled */
  7467. #define RADIO_DACNF_ENA2_Enabled (1UL) /*!< Enabled */
  7468. /* Bit 1 : Enable or disable device address matching using device address 1 */
  7469. #define RADIO_DACNF_ENA1_Pos (1UL) /*!< Position of ENA1 field. */
  7470. #define RADIO_DACNF_ENA1_Msk (0x1UL << RADIO_DACNF_ENA1_Pos) /*!< Bit mask of ENA1 field. */
  7471. #define RADIO_DACNF_ENA1_Disabled (0UL) /*!< Disabled */
  7472. #define RADIO_DACNF_ENA1_Enabled (1UL) /*!< Enabled */
  7473. /* Bit 0 : Enable or disable device address matching using device address 0 */
  7474. #define RADIO_DACNF_ENA0_Pos (0UL) /*!< Position of ENA0 field. */
  7475. #define RADIO_DACNF_ENA0_Msk (0x1UL << RADIO_DACNF_ENA0_Pos) /*!< Bit mask of ENA0 field. */
  7476. #define RADIO_DACNF_ENA0_Disabled (0UL) /*!< Disabled */
  7477. #define RADIO_DACNF_ENA0_Enabled (1UL) /*!< Enabled */
  7478. /* Register: RADIO_MODECNF0 */
  7479. /* Description: Radio mode configuration register 0 */
  7480. /* Bits 9..8 : Default TX value */
  7481. #define RADIO_MODECNF0_DTX_Pos (8UL) /*!< Position of DTX field. */
  7482. #define RADIO_MODECNF0_DTX_Msk (0x3UL << RADIO_MODECNF0_DTX_Pos) /*!< Bit mask of DTX field. */
  7483. #define RADIO_MODECNF0_DTX_B1 (0UL) /*!< Transmit '1' */
  7484. #define RADIO_MODECNF0_DTX_B0 (1UL) /*!< Transmit '0' */
  7485. #define RADIO_MODECNF0_DTX_Center (2UL) /*!< Transmit center frequency */
  7486. /* Bit 0 : Radio ramp-up time */
  7487. #define RADIO_MODECNF0_RU_Pos (0UL) /*!< Position of RU field. */
  7488. #define RADIO_MODECNF0_RU_Msk (0x1UL << RADIO_MODECNF0_RU_Pos) /*!< Bit mask of RU field. */
  7489. #define RADIO_MODECNF0_RU_Default (0UL) /*!< Default ramp-up time (tRXEN), compatible with firmware written for nRF51 */
  7490. #define RADIO_MODECNF0_RU_Fast (1UL) /*!< Fast ramp-up (tRXEN,FAST), see electrical specification for more information */
  7491. /* Register: RADIO_POWER */
  7492. /* Description: Peripheral power control */
  7493. /* Bit 0 : Peripheral power control. The peripheral and its registers will be reset to its initial state by switching the peripheral off and then back on again. */
  7494. #define RADIO_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  7495. #define RADIO_POWER_POWER_Msk (0x1UL << RADIO_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  7496. #define RADIO_POWER_POWER_Disabled (0UL) /*!< Peripheral is powered off */
  7497. #define RADIO_POWER_POWER_Enabled (1UL) /*!< Peripheral is powered on */
  7498. /* Peripheral: RNG */
  7499. /* Description: Random Number Generator */
  7500. /* Register: RNG_SHORTS */
  7501. /* Description: Shortcut register */
  7502. /* Bit 0 : Shortcut between VALRDY event and STOP task */
  7503. #define RNG_SHORTS_VALRDY_STOP_Pos (0UL) /*!< Position of VALRDY_STOP field. */
  7504. #define RNG_SHORTS_VALRDY_STOP_Msk (0x1UL << RNG_SHORTS_VALRDY_STOP_Pos) /*!< Bit mask of VALRDY_STOP field. */
  7505. #define RNG_SHORTS_VALRDY_STOP_Disabled (0UL) /*!< Disable shortcut */
  7506. #define RNG_SHORTS_VALRDY_STOP_Enabled (1UL) /*!< Enable shortcut */
  7507. /* Register: RNG_INTENSET */
  7508. /* Description: Enable interrupt */
  7509. /* Bit 0 : Write '1' to Enable interrupt for VALRDY event */
  7510. #define RNG_INTENSET_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
  7511. #define RNG_INTENSET_VALRDY_Msk (0x1UL << RNG_INTENSET_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
  7512. #define RNG_INTENSET_VALRDY_Disabled (0UL) /*!< Read: Disabled */
  7513. #define RNG_INTENSET_VALRDY_Enabled (1UL) /*!< Read: Enabled */
  7514. #define RNG_INTENSET_VALRDY_Set (1UL) /*!< Enable */
  7515. /* Register: RNG_INTENCLR */
  7516. /* Description: Disable interrupt */
  7517. /* Bit 0 : Write '1' to Disable interrupt for VALRDY event */
  7518. #define RNG_INTENCLR_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
  7519. #define RNG_INTENCLR_VALRDY_Msk (0x1UL << RNG_INTENCLR_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
  7520. #define RNG_INTENCLR_VALRDY_Disabled (0UL) /*!< Read: Disabled */
  7521. #define RNG_INTENCLR_VALRDY_Enabled (1UL) /*!< Read: Enabled */
  7522. #define RNG_INTENCLR_VALRDY_Clear (1UL) /*!< Disable */
  7523. /* Register: RNG_CONFIG */
  7524. /* Description: Configuration register */
  7525. /* Bit 0 : Bias correction */
  7526. #define RNG_CONFIG_DERCEN_Pos (0UL) /*!< Position of DERCEN field. */
  7527. #define RNG_CONFIG_DERCEN_Msk (0x1UL << RNG_CONFIG_DERCEN_Pos) /*!< Bit mask of DERCEN field. */
  7528. #define RNG_CONFIG_DERCEN_Disabled (0UL) /*!< Disabled */
  7529. #define RNG_CONFIG_DERCEN_Enabled (1UL) /*!< Enabled */
  7530. /* Register: RNG_VALUE */
  7531. /* Description: Output random number */
  7532. /* Bits 7..0 : Generated random number */
  7533. #define RNG_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */
  7534. #define RNG_VALUE_VALUE_Msk (0xFFUL << RNG_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */
  7535. /* Peripheral: RTC */
  7536. /* Description: Real time counter 0 */
  7537. /* Register: RTC_INTENSET */
  7538. /* Description: Enable interrupt */
  7539. /* Bit 19 : Write '1' to Enable interrupt for COMPARE[3] event */
  7540. #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  7541. #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  7542. #define RTC_INTENSET_COMPARE3_Disabled (0UL) /*!< Read: Disabled */
  7543. #define RTC_INTENSET_COMPARE3_Enabled (1UL) /*!< Read: Enabled */
  7544. #define RTC_INTENSET_COMPARE3_Set (1UL) /*!< Enable */
  7545. /* Bit 18 : Write '1' to Enable interrupt for COMPARE[2] event */
  7546. #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  7547. #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  7548. #define RTC_INTENSET_COMPARE2_Disabled (0UL) /*!< Read: Disabled */
  7549. #define RTC_INTENSET_COMPARE2_Enabled (1UL) /*!< Read: Enabled */
  7550. #define RTC_INTENSET_COMPARE2_Set (1UL) /*!< Enable */
  7551. /* Bit 17 : Write '1' to Enable interrupt for COMPARE[1] event */
  7552. #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  7553. #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  7554. #define RTC_INTENSET_COMPARE1_Disabled (0UL) /*!< Read: Disabled */
  7555. #define RTC_INTENSET_COMPARE1_Enabled (1UL) /*!< Read: Enabled */
  7556. #define RTC_INTENSET_COMPARE1_Set (1UL) /*!< Enable */
  7557. /* Bit 16 : Write '1' to Enable interrupt for COMPARE[0] event */
  7558. #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  7559. #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  7560. #define RTC_INTENSET_COMPARE0_Disabled (0UL) /*!< Read: Disabled */
  7561. #define RTC_INTENSET_COMPARE0_Enabled (1UL) /*!< Read: Enabled */
  7562. #define RTC_INTENSET_COMPARE0_Set (1UL) /*!< Enable */
  7563. /* Bit 1 : Write '1' to Enable interrupt for OVRFLW event */
  7564. #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  7565. #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  7566. #define RTC_INTENSET_OVRFLW_Disabled (0UL) /*!< Read: Disabled */
  7567. #define RTC_INTENSET_OVRFLW_Enabled (1UL) /*!< Read: Enabled */
  7568. #define RTC_INTENSET_OVRFLW_Set (1UL) /*!< Enable */
  7569. /* Bit 0 : Write '1' to Enable interrupt for TICK event */
  7570. #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
  7571. #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
  7572. #define RTC_INTENSET_TICK_Disabled (0UL) /*!< Read: Disabled */
  7573. #define RTC_INTENSET_TICK_Enabled (1UL) /*!< Read: Enabled */
  7574. #define RTC_INTENSET_TICK_Set (1UL) /*!< Enable */
  7575. /* Register: RTC_INTENCLR */
  7576. /* Description: Disable interrupt */
  7577. /* Bit 19 : Write '1' to Disable interrupt for COMPARE[3] event */
  7578. #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  7579. #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  7580. #define RTC_INTENCLR_COMPARE3_Disabled (0UL) /*!< Read: Disabled */
  7581. #define RTC_INTENCLR_COMPARE3_Enabled (1UL) /*!< Read: Enabled */
  7582. #define RTC_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable */
  7583. /* Bit 18 : Write '1' to Disable interrupt for COMPARE[2] event */
  7584. #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  7585. #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  7586. #define RTC_INTENCLR_COMPARE2_Disabled (0UL) /*!< Read: Disabled */
  7587. #define RTC_INTENCLR_COMPARE2_Enabled (1UL) /*!< Read: Enabled */
  7588. #define RTC_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable */
  7589. /* Bit 17 : Write '1' to Disable interrupt for COMPARE[1] event */
  7590. #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  7591. #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  7592. #define RTC_INTENCLR_COMPARE1_Disabled (0UL) /*!< Read: Disabled */
  7593. #define RTC_INTENCLR_COMPARE1_Enabled (1UL) /*!< Read: Enabled */
  7594. #define RTC_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable */
  7595. /* Bit 16 : Write '1' to Disable interrupt for COMPARE[0] event */
  7596. #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  7597. #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  7598. #define RTC_INTENCLR_COMPARE0_Disabled (0UL) /*!< Read: Disabled */
  7599. #define RTC_INTENCLR_COMPARE0_Enabled (1UL) /*!< Read: Enabled */
  7600. #define RTC_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable */
  7601. /* Bit 1 : Write '1' to Disable interrupt for OVRFLW event */
  7602. #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  7603. #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  7604. #define RTC_INTENCLR_OVRFLW_Disabled (0UL) /*!< Read: Disabled */
  7605. #define RTC_INTENCLR_OVRFLW_Enabled (1UL) /*!< Read: Enabled */
  7606. #define RTC_INTENCLR_OVRFLW_Clear (1UL) /*!< Disable */
  7607. /* Bit 0 : Write '1' to Disable interrupt for TICK event */
  7608. #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
  7609. #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
  7610. #define RTC_INTENCLR_TICK_Disabled (0UL) /*!< Read: Disabled */
  7611. #define RTC_INTENCLR_TICK_Enabled (1UL) /*!< Read: Enabled */
  7612. #define RTC_INTENCLR_TICK_Clear (1UL) /*!< Disable */
  7613. /* Register: RTC_EVTEN */
  7614. /* Description: Enable or disable event routing */
  7615. /* Bit 19 : Enable or disable event routing for COMPARE[3] event */
  7616. #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  7617. #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  7618. #define RTC_EVTEN_COMPARE3_Disabled (0UL) /*!< Disable */
  7619. #define RTC_EVTEN_COMPARE3_Enabled (1UL) /*!< Enable */
  7620. /* Bit 18 : Enable or disable event routing for COMPARE[2] event */
  7621. #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  7622. #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  7623. #define RTC_EVTEN_COMPARE2_Disabled (0UL) /*!< Disable */
  7624. #define RTC_EVTEN_COMPARE2_Enabled (1UL) /*!< Enable */
  7625. /* Bit 17 : Enable or disable event routing for COMPARE[1] event */
  7626. #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  7627. #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  7628. #define RTC_EVTEN_COMPARE1_Disabled (0UL) /*!< Disable */
  7629. #define RTC_EVTEN_COMPARE1_Enabled (1UL) /*!< Enable */
  7630. /* Bit 16 : Enable or disable event routing for COMPARE[0] event */
  7631. #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  7632. #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  7633. #define RTC_EVTEN_COMPARE0_Disabled (0UL) /*!< Disable */
  7634. #define RTC_EVTEN_COMPARE0_Enabled (1UL) /*!< Enable */
  7635. /* Bit 1 : Enable or disable event routing for OVRFLW event */
  7636. #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  7637. #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  7638. #define RTC_EVTEN_OVRFLW_Disabled (0UL) /*!< Disable */
  7639. #define RTC_EVTEN_OVRFLW_Enabled (1UL) /*!< Enable */
  7640. /* Bit 0 : Enable or disable event routing for TICK event */
  7641. #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */
  7642. #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */
  7643. #define RTC_EVTEN_TICK_Disabled (0UL) /*!< Disable */
  7644. #define RTC_EVTEN_TICK_Enabled (1UL) /*!< Enable */
  7645. /* Register: RTC_EVTENSET */
  7646. /* Description: Enable event routing */
  7647. /* Bit 19 : Write '1' to Enable event routing for COMPARE[3] event */
  7648. #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  7649. #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  7650. #define RTC_EVTENSET_COMPARE3_Disabled (0UL) /*!< Read: Disabled */
  7651. #define RTC_EVTENSET_COMPARE3_Enabled (1UL) /*!< Read: Enabled */
  7652. #define RTC_EVTENSET_COMPARE3_Set (1UL) /*!< Enable */
  7653. /* Bit 18 : Write '1' to Enable event routing for COMPARE[2] event */
  7654. #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  7655. #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  7656. #define RTC_EVTENSET_COMPARE2_Disabled (0UL) /*!< Read: Disabled */
  7657. #define RTC_EVTENSET_COMPARE2_Enabled (1UL) /*!< Read: Enabled */
  7658. #define RTC_EVTENSET_COMPARE2_Set (1UL) /*!< Enable */
  7659. /* Bit 17 : Write '1' to Enable event routing for COMPARE[1] event */
  7660. #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  7661. #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  7662. #define RTC_EVTENSET_COMPARE1_Disabled (0UL) /*!< Read: Disabled */
  7663. #define RTC_EVTENSET_COMPARE1_Enabled (1UL) /*!< Read: Enabled */
  7664. #define RTC_EVTENSET_COMPARE1_Set (1UL) /*!< Enable */
  7665. /* Bit 16 : Write '1' to Enable event routing for COMPARE[0] event */
  7666. #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  7667. #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  7668. #define RTC_EVTENSET_COMPARE0_Disabled (0UL) /*!< Read: Disabled */
  7669. #define RTC_EVTENSET_COMPARE0_Enabled (1UL) /*!< Read: Enabled */
  7670. #define RTC_EVTENSET_COMPARE0_Set (1UL) /*!< Enable */
  7671. /* Bit 1 : Write '1' to Enable event routing for OVRFLW event */
  7672. #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  7673. #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  7674. #define RTC_EVTENSET_OVRFLW_Disabled (0UL) /*!< Read: Disabled */
  7675. #define RTC_EVTENSET_OVRFLW_Enabled (1UL) /*!< Read: Enabled */
  7676. #define RTC_EVTENSET_OVRFLW_Set (1UL) /*!< Enable */
  7677. /* Bit 0 : Write '1' to Enable event routing for TICK event */
  7678. #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
  7679. #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
  7680. #define RTC_EVTENSET_TICK_Disabled (0UL) /*!< Read: Disabled */
  7681. #define RTC_EVTENSET_TICK_Enabled (1UL) /*!< Read: Enabled */
  7682. #define RTC_EVTENSET_TICK_Set (1UL) /*!< Enable */
  7683. /* Register: RTC_EVTENCLR */
  7684. /* Description: Disable event routing */
  7685. /* Bit 19 : Write '1' to Disable event routing for COMPARE[3] event */
  7686. #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  7687. #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  7688. #define RTC_EVTENCLR_COMPARE3_Disabled (0UL) /*!< Read: Disabled */
  7689. #define RTC_EVTENCLR_COMPARE3_Enabled (1UL) /*!< Read: Enabled */
  7690. #define RTC_EVTENCLR_COMPARE3_Clear (1UL) /*!< Disable */
  7691. /* Bit 18 : Write '1' to Disable event routing for COMPARE[2] event */
  7692. #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  7693. #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  7694. #define RTC_EVTENCLR_COMPARE2_Disabled (0UL) /*!< Read: Disabled */
  7695. #define RTC_EVTENCLR_COMPARE2_Enabled (1UL) /*!< Read: Enabled */
  7696. #define RTC_EVTENCLR_COMPARE2_Clear (1UL) /*!< Disable */
  7697. /* Bit 17 : Write '1' to Disable event routing for COMPARE[1] event */
  7698. #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  7699. #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  7700. #define RTC_EVTENCLR_COMPARE1_Disabled (0UL) /*!< Read: Disabled */
  7701. #define RTC_EVTENCLR_COMPARE1_Enabled (1UL) /*!< Read: Enabled */
  7702. #define RTC_EVTENCLR_COMPARE1_Clear (1UL) /*!< Disable */
  7703. /* Bit 16 : Write '1' to Disable event routing for COMPARE[0] event */
  7704. #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  7705. #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  7706. #define RTC_EVTENCLR_COMPARE0_Disabled (0UL) /*!< Read: Disabled */
  7707. #define RTC_EVTENCLR_COMPARE0_Enabled (1UL) /*!< Read: Enabled */
  7708. #define RTC_EVTENCLR_COMPARE0_Clear (1UL) /*!< Disable */
  7709. /* Bit 1 : Write '1' to Disable event routing for OVRFLW event */
  7710. #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  7711. #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  7712. #define RTC_EVTENCLR_OVRFLW_Disabled (0UL) /*!< Read: Disabled */
  7713. #define RTC_EVTENCLR_OVRFLW_Enabled (1UL) /*!< Read: Enabled */
  7714. #define RTC_EVTENCLR_OVRFLW_Clear (1UL) /*!< Disable */
  7715. /* Bit 0 : Write '1' to Disable event routing for TICK event */
  7716. #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
  7717. #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
  7718. #define RTC_EVTENCLR_TICK_Disabled (0UL) /*!< Read: Disabled */
  7719. #define RTC_EVTENCLR_TICK_Enabled (1UL) /*!< Read: Enabled */
  7720. #define RTC_EVTENCLR_TICK_Clear (1UL) /*!< Disable */
  7721. /* Register: RTC_COUNTER */
  7722. /* Description: Current COUNTER value */
  7723. /* Bits 23..0 : Counter value */
  7724. #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */
  7725. #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */
  7726. /* Register: RTC_PRESCALER */
  7727. /* Description: 12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)).Must be written when RTC is stopped */
  7728. /* Bits 11..0 : Prescaler value */
  7729. #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  7730. #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  7731. /* Register: RTC_CC */
  7732. /* Description: Description collection[0]: Compare register 0 */
  7733. /* Bits 23..0 : Compare value */
  7734. #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */
  7735. #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */
  7736. /* Peripheral: SAADC */
  7737. /* Description: Analog to Digital Converter */
  7738. /* Register: SAADC_INTEN */
  7739. /* Description: Enable or disable interrupt */
  7740. /* Bit 21 : Enable or disable interrupt for CH[7].LIMITL event */
  7741. #define SAADC_INTEN_CH7LIMITL_Pos (21UL) /*!< Position of CH7LIMITL field. */
  7742. #define SAADC_INTEN_CH7LIMITL_Msk (0x1UL << SAADC_INTEN_CH7LIMITL_Pos) /*!< Bit mask of CH7LIMITL field. */
  7743. #define SAADC_INTEN_CH7LIMITL_Disabled (0UL) /*!< Disable */
  7744. #define SAADC_INTEN_CH7LIMITL_Enabled (1UL) /*!< Enable */
  7745. /* Bit 20 : Enable or disable interrupt for CH[7].LIMITH event */
  7746. #define SAADC_INTEN_CH7LIMITH_Pos (20UL) /*!< Position of CH7LIMITH field. */
  7747. #define SAADC_INTEN_CH7LIMITH_Msk (0x1UL << SAADC_INTEN_CH7LIMITH_Pos) /*!< Bit mask of CH7LIMITH field. */
  7748. #define SAADC_INTEN_CH7LIMITH_Disabled (0UL) /*!< Disable */
  7749. #define SAADC_INTEN_CH7LIMITH_Enabled (1UL) /*!< Enable */
  7750. /* Bit 19 : Enable or disable interrupt for CH[6].LIMITL event */
  7751. #define SAADC_INTEN_CH6LIMITL_Pos (19UL) /*!< Position of CH6LIMITL field. */
  7752. #define SAADC_INTEN_CH6LIMITL_Msk (0x1UL << SAADC_INTEN_CH6LIMITL_Pos) /*!< Bit mask of CH6LIMITL field. */
  7753. #define SAADC_INTEN_CH6LIMITL_Disabled (0UL) /*!< Disable */
  7754. #define SAADC_INTEN_CH6LIMITL_Enabled (1UL) /*!< Enable */
  7755. /* Bit 18 : Enable or disable interrupt for CH[6].LIMITH event */
  7756. #define SAADC_INTEN_CH6LIMITH_Pos (18UL) /*!< Position of CH6LIMITH field. */
  7757. #define SAADC_INTEN_CH6LIMITH_Msk (0x1UL << SAADC_INTEN_CH6LIMITH_Pos) /*!< Bit mask of CH6LIMITH field. */
  7758. #define SAADC_INTEN_CH6LIMITH_Disabled (0UL) /*!< Disable */
  7759. #define SAADC_INTEN_CH6LIMITH_Enabled (1UL) /*!< Enable */
  7760. /* Bit 17 : Enable or disable interrupt for CH[5].LIMITL event */
  7761. #define SAADC_INTEN_CH5LIMITL_Pos (17UL) /*!< Position of CH5LIMITL field. */
  7762. #define SAADC_INTEN_CH5LIMITL_Msk (0x1UL << SAADC_INTEN_CH5LIMITL_Pos) /*!< Bit mask of CH5LIMITL field. */
  7763. #define SAADC_INTEN_CH5LIMITL_Disabled (0UL) /*!< Disable */
  7764. #define SAADC_INTEN_CH5LIMITL_Enabled (1UL) /*!< Enable */
  7765. /* Bit 16 : Enable or disable interrupt for CH[5].LIMITH event */
  7766. #define SAADC_INTEN_CH5LIMITH_Pos (16UL) /*!< Position of CH5LIMITH field. */
  7767. #define SAADC_INTEN_CH5LIMITH_Msk (0x1UL << SAADC_INTEN_CH5LIMITH_Pos) /*!< Bit mask of CH5LIMITH field. */
  7768. #define SAADC_INTEN_CH5LIMITH_Disabled (0UL) /*!< Disable */
  7769. #define SAADC_INTEN_CH5LIMITH_Enabled (1UL) /*!< Enable */
  7770. /* Bit 15 : Enable or disable interrupt for CH[4].LIMITL event */
  7771. #define SAADC_INTEN_CH4LIMITL_Pos (15UL) /*!< Position of CH4LIMITL field. */
  7772. #define SAADC_INTEN_CH4LIMITL_Msk (0x1UL << SAADC_INTEN_CH4LIMITL_Pos) /*!< Bit mask of CH4LIMITL field. */
  7773. #define SAADC_INTEN_CH4LIMITL_Disabled (0UL) /*!< Disable */
  7774. #define SAADC_INTEN_CH4LIMITL_Enabled (1UL) /*!< Enable */
  7775. /* Bit 14 : Enable or disable interrupt for CH[4].LIMITH event */
  7776. #define SAADC_INTEN_CH4LIMITH_Pos (14UL) /*!< Position of CH4LIMITH field. */
  7777. #define SAADC_INTEN_CH4LIMITH_Msk (0x1UL << SAADC_INTEN_CH4LIMITH_Pos) /*!< Bit mask of CH4LIMITH field. */
  7778. #define SAADC_INTEN_CH4LIMITH_Disabled (0UL) /*!< Disable */
  7779. #define SAADC_INTEN_CH4LIMITH_Enabled (1UL) /*!< Enable */
  7780. /* Bit 13 : Enable or disable interrupt for CH[3].LIMITL event */
  7781. #define SAADC_INTEN_CH3LIMITL_Pos (13UL) /*!< Position of CH3LIMITL field. */
  7782. #define SAADC_INTEN_CH3LIMITL_Msk (0x1UL << SAADC_INTEN_CH3LIMITL_Pos) /*!< Bit mask of CH3LIMITL field. */
  7783. #define SAADC_INTEN_CH3LIMITL_Disabled (0UL) /*!< Disable */
  7784. #define SAADC_INTEN_CH3LIMITL_Enabled (1UL) /*!< Enable */
  7785. /* Bit 12 : Enable or disable interrupt for CH[3].LIMITH event */
  7786. #define SAADC_INTEN_CH3LIMITH_Pos (12UL) /*!< Position of CH3LIMITH field. */
  7787. #define SAADC_INTEN_CH3LIMITH_Msk (0x1UL << SAADC_INTEN_CH3LIMITH_Pos) /*!< Bit mask of CH3LIMITH field. */
  7788. #define SAADC_INTEN_CH3LIMITH_Disabled (0UL) /*!< Disable */
  7789. #define SAADC_INTEN_CH3LIMITH_Enabled (1UL) /*!< Enable */
  7790. /* Bit 11 : Enable or disable interrupt for CH[2].LIMITL event */
  7791. #define SAADC_INTEN_CH2LIMITL_Pos (11UL) /*!< Position of CH2LIMITL field. */
  7792. #define SAADC_INTEN_CH2LIMITL_Msk (0x1UL << SAADC_INTEN_CH2LIMITL_Pos) /*!< Bit mask of CH2LIMITL field. */
  7793. #define SAADC_INTEN_CH2LIMITL_Disabled (0UL) /*!< Disable */
  7794. #define SAADC_INTEN_CH2LIMITL_Enabled (1UL) /*!< Enable */
  7795. /* Bit 10 : Enable or disable interrupt for CH[2].LIMITH event */
  7796. #define SAADC_INTEN_CH2LIMITH_Pos (10UL) /*!< Position of CH2LIMITH field. */
  7797. #define SAADC_INTEN_CH2LIMITH_Msk (0x1UL << SAADC_INTEN_CH2LIMITH_Pos) /*!< Bit mask of CH2LIMITH field. */
  7798. #define SAADC_INTEN_CH2LIMITH_Disabled (0UL) /*!< Disable */
  7799. #define SAADC_INTEN_CH2LIMITH_Enabled (1UL) /*!< Enable */
  7800. /* Bit 9 : Enable or disable interrupt for CH[1].LIMITL event */
  7801. #define SAADC_INTEN_CH1LIMITL_Pos (9UL) /*!< Position of CH1LIMITL field. */
  7802. #define SAADC_INTEN_CH1LIMITL_Msk (0x1UL << SAADC_INTEN_CH1LIMITL_Pos) /*!< Bit mask of CH1LIMITL field. */
  7803. #define SAADC_INTEN_CH1LIMITL_Disabled (0UL) /*!< Disable */
  7804. #define SAADC_INTEN_CH1LIMITL_Enabled (1UL) /*!< Enable */
  7805. /* Bit 8 : Enable or disable interrupt for CH[1].LIMITH event */
  7806. #define SAADC_INTEN_CH1LIMITH_Pos (8UL) /*!< Position of CH1LIMITH field. */
  7807. #define SAADC_INTEN_CH1LIMITH_Msk (0x1UL << SAADC_INTEN_CH1LIMITH_Pos) /*!< Bit mask of CH1LIMITH field. */
  7808. #define SAADC_INTEN_CH1LIMITH_Disabled (0UL) /*!< Disable */
  7809. #define SAADC_INTEN_CH1LIMITH_Enabled (1UL) /*!< Enable */
  7810. /* Bit 7 : Enable or disable interrupt for CH[0].LIMITL event */
  7811. #define SAADC_INTEN_CH0LIMITL_Pos (7UL) /*!< Position of CH0LIMITL field. */
  7812. #define SAADC_INTEN_CH0LIMITL_Msk (0x1UL << SAADC_INTEN_CH0LIMITL_Pos) /*!< Bit mask of CH0LIMITL field. */
  7813. #define SAADC_INTEN_CH0LIMITL_Disabled (0UL) /*!< Disable */
  7814. #define SAADC_INTEN_CH0LIMITL_Enabled (1UL) /*!< Enable */
  7815. /* Bit 6 : Enable or disable interrupt for CH[0].LIMITH event */
  7816. #define SAADC_INTEN_CH0LIMITH_Pos (6UL) /*!< Position of CH0LIMITH field. */
  7817. #define SAADC_INTEN_CH0LIMITH_Msk (0x1UL << SAADC_INTEN_CH0LIMITH_Pos) /*!< Bit mask of CH0LIMITH field. */
  7818. #define SAADC_INTEN_CH0LIMITH_Disabled (0UL) /*!< Disable */
  7819. #define SAADC_INTEN_CH0LIMITH_Enabled (1UL) /*!< Enable */
  7820. /* Bit 5 : Enable or disable interrupt for STOPPED event */
  7821. #define SAADC_INTEN_STOPPED_Pos (5UL) /*!< Position of STOPPED field. */
  7822. #define SAADC_INTEN_STOPPED_Msk (0x1UL << SAADC_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  7823. #define SAADC_INTEN_STOPPED_Disabled (0UL) /*!< Disable */
  7824. #define SAADC_INTEN_STOPPED_Enabled (1UL) /*!< Enable */
  7825. /* Bit 4 : Enable or disable interrupt for CALIBRATEDONE event */
  7826. #define SAADC_INTEN_CALIBRATEDONE_Pos (4UL) /*!< Position of CALIBRATEDONE field. */
  7827. #define SAADC_INTEN_CALIBRATEDONE_Msk (0x1UL << SAADC_INTEN_CALIBRATEDONE_Pos) /*!< Bit mask of CALIBRATEDONE field. */
  7828. #define SAADC_INTEN_CALIBRATEDONE_Disabled (0UL) /*!< Disable */
  7829. #define SAADC_INTEN_CALIBRATEDONE_Enabled (1UL) /*!< Enable */
  7830. /* Bit 3 : Enable or disable interrupt for RESULTDONE event */
  7831. #define SAADC_INTEN_RESULTDONE_Pos (3UL) /*!< Position of RESULTDONE field. */
  7832. #define SAADC_INTEN_RESULTDONE_Msk (0x1UL << SAADC_INTEN_RESULTDONE_Pos) /*!< Bit mask of RESULTDONE field. */
  7833. #define SAADC_INTEN_RESULTDONE_Disabled (0UL) /*!< Disable */
  7834. #define SAADC_INTEN_RESULTDONE_Enabled (1UL) /*!< Enable */
  7835. /* Bit 2 : Enable or disable interrupt for DONE event */
  7836. #define SAADC_INTEN_DONE_Pos (2UL) /*!< Position of DONE field. */
  7837. #define SAADC_INTEN_DONE_Msk (0x1UL << SAADC_INTEN_DONE_Pos) /*!< Bit mask of DONE field. */
  7838. #define SAADC_INTEN_DONE_Disabled (0UL) /*!< Disable */
  7839. #define SAADC_INTEN_DONE_Enabled (1UL) /*!< Enable */
  7840. /* Bit 1 : Enable or disable interrupt for END event */
  7841. #define SAADC_INTEN_END_Pos (1UL) /*!< Position of END field. */
  7842. #define SAADC_INTEN_END_Msk (0x1UL << SAADC_INTEN_END_Pos) /*!< Bit mask of END field. */
  7843. #define SAADC_INTEN_END_Disabled (0UL) /*!< Disable */
  7844. #define SAADC_INTEN_END_Enabled (1UL) /*!< Enable */
  7845. /* Bit 0 : Enable or disable interrupt for STARTED event */
  7846. #define SAADC_INTEN_STARTED_Pos (0UL) /*!< Position of STARTED field. */
  7847. #define SAADC_INTEN_STARTED_Msk (0x1UL << SAADC_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */
  7848. #define SAADC_INTEN_STARTED_Disabled (0UL) /*!< Disable */
  7849. #define SAADC_INTEN_STARTED_Enabled (1UL) /*!< Enable */
  7850. /* Register: SAADC_INTENSET */
  7851. /* Description: Enable interrupt */
  7852. /* Bit 21 : Write '1' to Enable interrupt for CH[7].LIMITL event */
  7853. #define SAADC_INTENSET_CH7LIMITL_Pos (21UL) /*!< Position of CH7LIMITL field. */
  7854. #define SAADC_INTENSET_CH7LIMITL_Msk (0x1UL << SAADC_INTENSET_CH7LIMITL_Pos) /*!< Bit mask of CH7LIMITL field. */
  7855. #define SAADC_INTENSET_CH7LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7856. #define SAADC_INTENSET_CH7LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7857. #define SAADC_INTENSET_CH7LIMITL_Set (1UL) /*!< Enable */
  7858. /* Bit 20 : Write '1' to Enable interrupt for CH[7].LIMITH event */
  7859. #define SAADC_INTENSET_CH7LIMITH_Pos (20UL) /*!< Position of CH7LIMITH field. */
  7860. #define SAADC_INTENSET_CH7LIMITH_Msk (0x1UL << SAADC_INTENSET_CH7LIMITH_Pos) /*!< Bit mask of CH7LIMITH field. */
  7861. #define SAADC_INTENSET_CH7LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7862. #define SAADC_INTENSET_CH7LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7863. #define SAADC_INTENSET_CH7LIMITH_Set (1UL) /*!< Enable */
  7864. /* Bit 19 : Write '1' to Enable interrupt for CH[6].LIMITL event */
  7865. #define SAADC_INTENSET_CH6LIMITL_Pos (19UL) /*!< Position of CH6LIMITL field. */
  7866. #define SAADC_INTENSET_CH6LIMITL_Msk (0x1UL << SAADC_INTENSET_CH6LIMITL_Pos) /*!< Bit mask of CH6LIMITL field. */
  7867. #define SAADC_INTENSET_CH6LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7868. #define SAADC_INTENSET_CH6LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7869. #define SAADC_INTENSET_CH6LIMITL_Set (1UL) /*!< Enable */
  7870. /* Bit 18 : Write '1' to Enable interrupt for CH[6].LIMITH event */
  7871. #define SAADC_INTENSET_CH6LIMITH_Pos (18UL) /*!< Position of CH6LIMITH field. */
  7872. #define SAADC_INTENSET_CH6LIMITH_Msk (0x1UL << SAADC_INTENSET_CH6LIMITH_Pos) /*!< Bit mask of CH6LIMITH field. */
  7873. #define SAADC_INTENSET_CH6LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7874. #define SAADC_INTENSET_CH6LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7875. #define SAADC_INTENSET_CH6LIMITH_Set (1UL) /*!< Enable */
  7876. /* Bit 17 : Write '1' to Enable interrupt for CH[5].LIMITL event */
  7877. #define SAADC_INTENSET_CH5LIMITL_Pos (17UL) /*!< Position of CH5LIMITL field. */
  7878. #define SAADC_INTENSET_CH5LIMITL_Msk (0x1UL << SAADC_INTENSET_CH5LIMITL_Pos) /*!< Bit mask of CH5LIMITL field. */
  7879. #define SAADC_INTENSET_CH5LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7880. #define SAADC_INTENSET_CH5LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7881. #define SAADC_INTENSET_CH5LIMITL_Set (1UL) /*!< Enable */
  7882. /* Bit 16 : Write '1' to Enable interrupt for CH[5].LIMITH event */
  7883. #define SAADC_INTENSET_CH5LIMITH_Pos (16UL) /*!< Position of CH5LIMITH field. */
  7884. #define SAADC_INTENSET_CH5LIMITH_Msk (0x1UL << SAADC_INTENSET_CH5LIMITH_Pos) /*!< Bit mask of CH5LIMITH field. */
  7885. #define SAADC_INTENSET_CH5LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7886. #define SAADC_INTENSET_CH5LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7887. #define SAADC_INTENSET_CH5LIMITH_Set (1UL) /*!< Enable */
  7888. /* Bit 15 : Write '1' to Enable interrupt for CH[4].LIMITL event */
  7889. #define SAADC_INTENSET_CH4LIMITL_Pos (15UL) /*!< Position of CH4LIMITL field. */
  7890. #define SAADC_INTENSET_CH4LIMITL_Msk (0x1UL << SAADC_INTENSET_CH4LIMITL_Pos) /*!< Bit mask of CH4LIMITL field. */
  7891. #define SAADC_INTENSET_CH4LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7892. #define SAADC_INTENSET_CH4LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7893. #define SAADC_INTENSET_CH4LIMITL_Set (1UL) /*!< Enable */
  7894. /* Bit 14 : Write '1' to Enable interrupt for CH[4].LIMITH event */
  7895. #define SAADC_INTENSET_CH4LIMITH_Pos (14UL) /*!< Position of CH4LIMITH field. */
  7896. #define SAADC_INTENSET_CH4LIMITH_Msk (0x1UL << SAADC_INTENSET_CH4LIMITH_Pos) /*!< Bit mask of CH4LIMITH field. */
  7897. #define SAADC_INTENSET_CH4LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7898. #define SAADC_INTENSET_CH4LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7899. #define SAADC_INTENSET_CH4LIMITH_Set (1UL) /*!< Enable */
  7900. /* Bit 13 : Write '1' to Enable interrupt for CH[3].LIMITL event */
  7901. #define SAADC_INTENSET_CH3LIMITL_Pos (13UL) /*!< Position of CH3LIMITL field. */
  7902. #define SAADC_INTENSET_CH3LIMITL_Msk (0x1UL << SAADC_INTENSET_CH3LIMITL_Pos) /*!< Bit mask of CH3LIMITL field. */
  7903. #define SAADC_INTENSET_CH3LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7904. #define SAADC_INTENSET_CH3LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7905. #define SAADC_INTENSET_CH3LIMITL_Set (1UL) /*!< Enable */
  7906. /* Bit 12 : Write '1' to Enable interrupt for CH[3].LIMITH event */
  7907. #define SAADC_INTENSET_CH3LIMITH_Pos (12UL) /*!< Position of CH3LIMITH field. */
  7908. #define SAADC_INTENSET_CH3LIMITH_Msk (0x1UL << SAADC_INTENSET_CH3LIMITH_Pos) /*!< Bit mask of CH3LIMITH field. */
  7909. #define SAADC_INTENSET_CH3LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7910. #define SAADC_INTENSET_CH3LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7911. #define SAADC_INTENSET_CH3LIMITH_Set (1UL) /*!< Enable */
  7912. /* Bit 11 : Write '1' to Enable interrupt for CH[2].LIMITL event */
  7913. #define SAADC_INTENSET_CH2LIMITL_Pos (11UL) /*!< Position of CH2LIMITL field. */
  7914. #define SAADC_INTENSET_CH2LIMITL_Msk (0x1UL << SAADC_INTENSET_CH2LIMITL_Pos) /*!< Bit mask of CH2LIMITL field. */
  7915. #define SAADC_INTENSET_CH2LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7916. #define SAADC_INTENSET_CH2LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7917. #define SAADC_INTENSET_CH2LIMITL_Set (1UL) /*!< Enable */
  7918. /* Bit 10 : Write '1' to Enable interrupt for CH[2].LIMITH event */
  7919. #define SAADC_INTENSET_CH2LIMITH_Pos (10UL) /*!< Position of CH2LIMITH field. */
  7920. #define SAADC_INTENSET_CH2LIMITH_Msk (0x1UL << SAADC_INTENSET_CH2LIMITH_Pos) /*!< Bit mask of CH2LIMITH field. */
  7921. #define SAADC_INTENSET_CH2LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7922. #define SAADC_INTENSET_CH2LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7923. #define SAADC_INTENSET_CH2LIMITH_Set (1UL) /*!< Enable */
  7924. /* Bit 9 : Write '1' to Enable interrupt for CH[1].LIMITL event */
  7925. #define SAADC_INTENSET_CH1LIMITL_Pos (9UL) /*!< Position of CH1LIMITL field. */
  7926. #define SAADC_INTENSET_CH1LIMITL_Msk (0x1UL << SAADC_INTENSET_CH1LIMITL_Pos) /*!< Bit mask of CH1LIMITL field. */
  7927. #define SAADC_INTENSET_CH1LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7928. #define SAADC_INTENSET_CH1LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7929. #define SAADC_INTENSET_CH1LIMITL_Set (1UL) /*!< Enable */
  7930. /* Bit 8 : Write '1' to Enable interrupt for CH[1].LIMITH event */
  7931. #define SAADC_INTENSET_CH1LIMITH_Pos (8UL) /*!< Position of CH1LIMITH field. */
  7932. #define SAADC_INTENSET_CH1LIMITH_Msk (0x1UL << SAADC_INTENSET_CH1LIMITH_Pos) /*!< Bit mask of CH1LIMITH field. */
  7933. #define SAADC_INTENSET_CH1LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7934. #define SAADC_INTENSET_CH1LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7935. #define SAADC_INTENSET_CH1LIMITH_Set (1UL) /*!< Enable */
  7936. /* Bit 7 : Write '1' to Enable interrupt for CH[0].LIMITL event */
  7937. #define SAADC_INTENSET_CH0LIMITL_Pos (7UL) /*!< Position of CH0LIMITL field. */
  7938. #define SAADC_INTENSET_CH0LIMITL_Msk (0x1UL << SAADC_INTENSET_CH0LIMITL_Pos) /*!< Bit mask of CH0LIMITL field. */
  7939. #define SAADC_INTENSET_CH0LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7940. #define SAADC_INTENSET_CH0LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7941. #define SAADC_INTENSET_CH0LIMITL_Set (1UL) /*!< Enable */
  7942. /* Bit 6 : Write '1' to Enable interrupt for CH[0].LIMITH event */
  7943. #define SAADC_INTENSET_CH0LIMITH_Pos (6UL) /*!< Position of CH0LIMITH field. */
  7944. #define SAADC_INTENSET_CH0LIMITH_Msk (0x1UL << SAADC_INTENSET_CH0LIMITH_Pos) /*!< Bit mask of CH0LIMITH field. */
  7945. #define SAADC_INTENSET_CH0LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7946. #define SAADC_INTENSET_CH0LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7947. #define SAADC_INTENSET_CH0LIMITH_Set (1UL) /*!< Enable */
  7948. /* Bit 5 : Write '1' to Enable interrupt for STOPPED event */
  7949. #define SAADC_INTENSET_STOPPED_Pos (5UL) /*!< Position of STOPPED field. */
  7950. #define SAADC_INTENSET_STOPPED_Msk (0x1UL << SAADC_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  7951. #define SAADC_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  7952. #define SAADC_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  7953. #define SAADC_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  7954. /* Bit 4 : Write '1' to Enable interrupt for CALIBRATEDONE event */
  7955. #define SAADC_INTENSET_CALIBRATEDONE_Pos (4UL) /*!< Position of CALIBRATEDONE field. */
  7956. #define SAADC_INTENSET_CALIBRATEDONE_Msk (0x1UL << SAADC_INTENSET_CALIBRATEDONE_Pos) /*!< Bit mask of CALIBRATEDONE field. */
  7957. #define SAADC_INTENSET_CALIBRATEDONE_Disabled (0UL) /*!< Read: Disabled */
  7958. #define SAADC_INTENSET_CALIBRATEDONE_Enabled (1UL) /*!< Read: Enabled */
  7959. #define SAADC_INTENSET_CALIBRATEDONE_Set (1UL) /*!< Enable */
  7960. /* Bit 3 : Write '1' to Enable interrupt for RESULTDONE event */
  7961. #define SAADC_INTENSET_RESULTDONE_Pos (3UL) /*!< Position of RESULTDONE field. */
  7962. #define SAADC_INTENSET_RESULTDONE_Msk (0x1UL << SAADC_INTENSET_RESULTDONE_Pos) /*!< Bit mask of RESULTDONE field. */
  7963. #define SAADC_INTENSET_RESULTDONE_Disabled (0UL) /*!< Read: Disabled */
  7964. #define SAADC_INTENSET_RESULTDONE_Enabled (1UL) /*!< Read: Enabled */
  7965. #define SAADC_INTENSET_RESULTDONE_Set (1UL) /*!< Enable */
  7966. /* Bit 2 : Write '1' to Enable interrupt for DONE event */
  7967. #define SAADC_INTENSET_DONE_Pos (2UL) /*!< Position of DONE field. */
  7968. #define SAADC_INTENSET_DONE_Msk (0x1UL << SAADC_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */
  7969. #define SAADC_INTENSET_DONE_Disabled (0UL) /*!< Read: Disabled */
  7970. #define SAADC_INTENSET_DONE_Enabled (1UL) /*!< Read: Enabled */
  7971. #define SAADC_INTENSET_DONE_Set (1UL) /*!< Enable */
  7972. /* Bit 1 : Write '1' to Enable interrupt for END event */
  7973. #define SAADC_INTENSET_END_Pos (1UL) /*!< Position of END field. */
  7974. #define SAADC_INTENSET_END_Msk (0x1UL << SAADC_INTENSET_END_Pos) /*!< Bit mask of END field. */
  7975. #define SAADC_INTENSET_END_Disabled (0UL) /*!< Read: Disabled */
  7976. #define SAADC_INTENSET_END_Enabled (1UL) /*!< Read: Enabled */
  7977. #define SAADC_INTENSET_END_Set (1UL) /*!< Enable */
  7978. /* Bit 0 : Write '1' to Enable interrupt for STARTED event */
  7979. #define SAADC_INTENSET_STARTED_Pos (0UL) /*!< Position of STARTED field. */
  7980. #define SAADC_INTENSET_STARTED_Msk (0x1UL << SAADC_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */
  7981. #define SAADC_INTENSET_STARTED_Disabled (0UL) /*!< Read: Disabled */
  7982. #define SAADC_INTENSET_STARTED_Enabled (1UL) /*!< Read: Enabled */
  7983. #define SAADC_INTENSET_STARTED_Set (1UL) /*!< Enable */
  7984. /* Register: SAADC_INTENCLR */
  7985. /* Description: Disable interrupt */
  7986. /* Bit 21 : Write '1' to Disable interrupt for CH[7].LIMITL event */
  7987. #define SAADC_INTENCLR_CH7LIMITL_Pos (21UL) /*!< Position of CH7LIMITL field. */
  7988. #define SAADC_INTENCLR_CH7LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH7LIMITL_Pos) /*!< Bit mask of CH7LIMITL field. */
  7989. #define SAADC_INTENCLR_CH7LIMITL_Disabled (0UL) /*!< Read: Disabled */
  7990. #define SAADC_INTENCLR_CH7LIMITL_Enabled (1UL) /*!< Read: Enabled */
  7991. #define SAADC_INTENCLR_CH7LIMITL_Clear (1UL) /*!< Disable */
  7992. /* Bit 20 : Write '1' to Disable interrupt for CH[7].LIMITH event */
  7993. #define SAADC_INTENCLR_CH7LIMITH_Pos (20UL) /*!< Position of CH7LIMITH field. */
  7994. #define SAADC_INTENCLR_CH7LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH7LIMITH_Pos) /*!< Bit mask of CH7LIMITH field. */
  7995. #define SAADC_INTENCLR_CH7LIMITH_Disabled (0UL) /*!< Read: Disabled */
  7996. #define SAADC_INTENCLR_CH7LIMITH_Enabled (1UL) /*!< Read: Enabled */
  7997. #define SAADC_INTENCLR_CH7LIMITH_Clear (1UL) /*!< Disable */
  7998. /* Bit 19 : Write '1' to Disable interrupt for CH[6].LIMITL event */
  7999. #define SAADC_INTENCLR_CH6LIMITL_Pos (19UL) /*!< Position of CH6LIMITL field. */
  8000. #define SAADC_INTENCLR_CH6LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH6LIMITL_Pos) /*!< Bit mask of CH6LIMITL field. */
  8001. #define SAADC_INTENCLR_CH6LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8002. #define SAADC_INTENCLR_CH6LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8003. #define SAADC_INTENCLR_CH6LIMITL_Clear (1UL) /*!< Disable */
  8004. /* Bit 18 : Write '1' to Disable interrupt for CH[6].LIMITH event */
  8005. #define SAADC_INTENCLR_CH6LIMITH_Pos (18UL) /*!< Position of CH6LIMITH field. */
  8006. #define SAADC_INTENCLR_CH6LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH6LIMITH_Pos) /*!< Bit mask of CH6LIMITH field. */
  8007. #define SAADC_INTENCLR_CH6LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8008. #define SAADC_INTENCLR_CH6LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8009. #define SAADC_INTENCLR_CH6LIMITH_Clear (1UL) /*!< Disable */
  8010. /* Bit 17 : Write '1' to Disable interrupt for CH[5].LIMITL event */
  8011. #define SAADC_INTENCLR_CH5LIMITL_Pos (17UL) /*!< Position of CH5LIMITL field. */
  8012. #define SAADC_INTENCLR_CH5LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH5LIMITL_Pos) /*!< Bit mask of CH5LIMITL field. */
  8013. #define SAADC_INTENCLR_CH5LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8014. #define SAADC_INTENCLR_CH5LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8015. #define SAADC_INTENCLR_CH5LIMITL_Clear (1UL) /*!< Disable */
  8016. /* Bit 16 : Write '1' to Disable interrupt for CH[5].LIMITH event */
  8017. #define SAADC_INTENCLR_CH5LIMITH_Pos (16UL) /*!< Position of CH5LIMITH field. */
  8018. #define SAADC_INTENCLR_CH5LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH5LIMITH_Pos) /*!< Bit mask of CH5LIMITH field. */
  8019. #define SAADC_INTENCLR_CH5LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8020. #define SAADC_INTENCLR_CH5LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8021. #define SAADC_INTENCLR_CH5LIMITH_Clear (1UL) /*!< Disable */
  8022. /* Bit 15 : Write '1' to Disable interrupt for CH[4].LIMITL event */
  8023. #define SAADC_INTENCLR_CH4LIMITL_Pos (15UL) /*!< Position of CH4LIMITL field. */
  8024. #define SAADC_INTENCLR_CH4LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH4LIMITL_Pos) /*!< Bit mask of CH4LIMITL field. */
  8025. #define SAADC_INTENCLR_CH4LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8026. #define SAADC_INTENCLR_CH4LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8027. #define SAADC_INTENCLR_CH4LIMITL_Clear (1UL) /*!< Disable */
  8028. /* Bit 14 : Write '1' to Disable interrupt for CH[4].LIMITH event */
  8029. #define SAADC_INTENCLR_CH4LIMITH_Pos (14UL) /*!< Position of CH4LIMITH field. */
  8030. #define SAADC_INTENCLR_CH4LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH4LIMITH_Pos) /*!< Bit mask of CH4LIMITH field. */
  8031. #define SAADC_INTENCLR_CH4LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8032. #define SAADC_INTENCLR_CH4LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8033. #define SAADC_INTENCLR_CH4LIMITH_Clear (1UL) /*!< Disable */
  8034. /* Bit 13 : Write '1' to Disable interrupt for CH[3].LIMITL event */
  8035. #define SAADC_INTENCLR_CH3LIMITL_Pos (13UL) /*!< Position of CH3LIMITL field. */
  8036. #define SAADC_INTENCLR_CH3LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH3LIMITL_Pos) /*!< Bit mask of CH3LIMITL field. */
  8037. #define SAADC_INTENCLR_CH3LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8038. #define SAADC_INTENCLR_CH3LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8039. #define SAADC_INTENCLR_CH3LIMITL_Clear (1UL) /*!< Disable */
  8040. /* Bit 12 : Write '1' to Disable interrupt for CH[3].LIMITH event */
  8041. #define SAADC_INTENCLR_CH3LIMITH_Pos (12UL) /*!< Position of CH3LIMITH field. */
  8042. #define SAADC_INTENCLR_CH3LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH3LIMITH_Pos) /*!< Bit mask of CH3LIMITH field. */
  8043. #define SAADC_INTENCLR_CH3LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8044. #define SAADC_INTENCLR_CH3LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8045. #define SAADC_INTENCLR_CH3LIMITH_Clear (1UL) /*!< Disable */
  8046. /* Bit 11 : Write '1' to Disable interrupt for CH[2].LIMITL event */
  8047. #define SAADC_INTENCLR_CH2LIMITL_Pos (11UL) /*!< Position of CH2LIMITL field. */
  8048. #define SAADC_INTENCLR_CH2LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH2LIMITL_Pos) /*!< Bit mask of CH2LIMITL field. */
  8049. #define SAADC_INTENCLR_CH2LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8050. #define SAADC_INTENCLR_CH2LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8051. #define SAADC_INTENCLR_CH2LIMITL_Clear (1UL) /*!< Disable */
  8052. /* Bit 10 : Write '1' to Disable interrupt for CH[2].LIMITH event */
  8053. #define SAADC_INTENCLR_CH2LIMITH_Pos (10UL) /*!< Position of CH2LIMITH field. */
  8054. #define SAADC_INTENCLR_CH2LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH2LIMITH_Pos) /*!< Bit mask of CH2LIMITH field. */
  8055. #define SAADC_INTENCLR_CH2LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8056. #define SAADC_INTENCLR_CH2LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8057. #define SAADC_INTENCLR_CH2LIMITH_Clear (1UL) /*!< Disable */
  8058. /* Bit 9 : Write '1' to Disable interrupt for CH[1].LIMITL event */
  8059. #define SAADC_INTENCLR_CH1LIMITL_Pos (9UL) /*!< Position of CH1LIMITL field. */
  8060. #define SAADC_INTENCLR_CH1LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH1LIMITL_Pos) /*!< Bit mask of CH1LIMITL field. */
  8061. #define SAADC_INTENCLR_CH1LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8062. #define SAADC_INTENCLR_CH1LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8063. #define SAADC_INTENCLR_CH1LIMITL_Clear (1UL) /*!< Disable */
  8064. /* Bit 8 : Write '1' to Disable interrupt for CH[1].LIMITH event */
  8065. #define SAADC_INTENCLR_CH1LIMITH_Pos (8UL) /*!< Position of CH1LIMITH field. */
  8066. #define SAADC_INTENCLR_CH1LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH1LIMITH_Pos) /*!< Bit mask of CH1LIMITH field. */
  8067. #define SAADC_INTENCLR_CH1LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8068. #define SAADC_INTENCLR_CH1LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8069. #define SAADC_INTENCLR_CH1LIMITH_Clear (1UL) /*!< Disable */
  8070. /* Bit 7 : Write '1' to Disable interrupt for CH[0].LIMITL event */
  8071. #define SAADC_INTENCLR_CH0LIMITL_Pos (7UL) /*!< Position of CH0LIMITL field. */
  8072. #define SAADC_INTENCLR_CH0LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH0LIMITL_Pos) /*!< Bit mask of CH0LIMITL field. */
  8073. #define SAADC_INTENCLR_CH0LIMITL_Disabled (0UL) /*!< Read: Disabled */
  8074. #define SAADC_INTENCLR_CH0LIMITL_Enabled (1UL) /*!< Read: Enabled */
  8075. #define SAADC_INTENCLR_CH0LIMITL_Clear (1UL) /*!< Disable */
  8076. /* Bit 6 : Write '1' to Disable interrupt for CH[0].LIMITH event */
  8077. #define SAADC_INTENCLR_CH0LIMITH_Pos (6UL) /*!< Position of CH0LIMITH field. */
  8078. #define SAADC_INTENCLR_CH0LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH0LIMITH_Pos) /*!< Bit mask of CH0LIMITH field. */
  8079. #define SAADC_INTENCLR_CH0LIMITH_Disabled (0UL) /*!< Read: Disabled */
  8080. #define SAADC_INTENCLR_CH0LIMITH_Enabled (1UL) /*!< Read: Enabled */
  8081. #define SAADC_INTENCLR_CH0LIMITH_Clear (1UL) /*!< Disable */
  8082. /* Bit 5 : Write '1' to Disable interrupt for STOPPED event */
  8083. #define SAADC_INTENCLR_STOPPED_Pos (5UL) /*!< Position of STOPPED field. */
  8084. #define SAADC_INTENCLR_STOPPED_Msk (0x1UL << SAADC_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  8085. #define SAADC_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  8086. #define SAADC_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  8087. #define SAADC_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  8088. /* Bit 4 : Write '1' to Disable interrupt for CALIBRATEDONE event */
  8089. #define SAADC_INTENCLR_CALIBRATEDONE_Pos (4UL) /*!< Position of CALIBRATEDONE field. */
  8090. #define SAADC_INTENCLR_CALIBRATEDONE_Msk (0x1UL << SAADC_INTENCLR_CALIBRATEDONE_Pos) /*!< Bit mask of CALIBRATEDONE field. */
  8091. #define SAADC_INTENCLR_CALIBRATEDONE_Disabled (0UL) /*!< Read: Disabled */
  8092. #define SAADC_INTENCLR_CALIBRATEDONE_Enabled (1UL) /*!< Read: Enabled */
  8093. #define SAADC_INTENCLR_CALIBRATEDONE_Clear (1UL) /*!< Disable */
  8094. /* Bit 3 : Write '1' to Disable interrupt for RESULTDONE event */
  8095. #define SAADC_INTENCLR_RESULTDONE_Pos (3UL) /*!< Position of RESULTDONE field. */
  8096. #define SAADC_INTENCLR_RESULTDONE_Msk (0x1UL << SAADC_INTENCLR_RESULTDONE_Pos) /*!< Bit mask of RESULTDONE field. */
  8097. #define SAADC_INTENCLR_RESULTDONE_Disabled (0UL) /*!< Read: Disabled */
  8098. #define SAADC_INTENCLR_RESULTDONE_Enabled (1UL) /*!< Read: Enabled */
  8099. #define SAADC_INTENCLR_RESULTDONE_Clear (1UL) /*!< Disable */
  8100. /* Bit 2 : Write '1' to Disable interrupt for DONE event */
  8101. #define SAADC_INTENCLR_DONE_Pos (2UL) /*!< Position of DONE field. */
  8102. #define SAADC_INTENCLR_DONE_Msk (0x1UL << SAADC_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */
  8103. #define SAADC_INTENCLR_DONE_Disabled (0UL) /*!< Read: Disabled */
  8104. #define SAADC_INTENCLR_DONE_Enabled (1UL) /*!< Read: Enabled */
  8105. #define SAADC_INTENCLR_DONE_Clear (1UL) /*!< Disable */
  8106. /* Bit 1 : Write '1' to Disable interrupt for END event */
  8107. #define SAADC_INTENCLR_END_Pos (1UL) /*!< Position of END field. */
  8108. #define SAADC_INTENCLR_END_Msk (0x1UL << SAADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  8109. #define SAADC_INTENCLR_END_Disabled (0UL) /*!< Read: Disabled */
  8110. #define SAADC_INTENCLR_END_Enabled (1UL) /*!< Read: Enabled */
  8111. #define SAADC_INTENCLR_END_Clear (1UL) /*!< Disable */
  8112. /* Bit 0 : Write '1' to Disable interrupt for STARTED event */
  8113. #define SAADC_INTENCLR_STARTED_Pos (0UL) /*!< Position of STARTED field. */
  8114. #define SAADC_INTENCLR_STARTED_Msk (0x1UL << SAADC_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */
  8115. #define SAADC_INTENCLR_STARTED_Disabled (0UL) /*!< Read: Disabled */
  8116. #define SAADC_INTENCLR_STARTED_Enabled (1UL) /*!< Read: Enabled */
  8117. #define SAADC_INTENCLR_STARTED_Clear (1UL) /*!< Disable */
  8118. /* Register: SAADC_STATUS */
  8119. /* Description: Status */
  8120. /* Bit 0 : Status */
  8121. #define SAADC_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  8122. #define SAADC_STATUS_STATUS_Msk (0x1UL << SAADC_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */
  8123. #define SAADC_STATUS_STATUS_Ready (0UL) /*!< ADC is ready. No on-going conversion. */
  8124. #define SAADC_STATUS_STATUS_Busy (1UL) /*!< ADC is busy. Conversion in progress. */
  8125. /* Register: SAADC_ENABLE */
  8126. /* Description: Enable or disable ADC */
  8127. /* Bit 0 : Enable or disable ADC */
  8128. #define SAADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  8129. #define SAADC_ENABLE_ENABLE_Msk (0x1UL << SAADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  8130. #define SAADC_ENABLE_ENABLE_Disabled (0UL) /*!< Disable ADC */
  8131. #define SAADC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable ADC */
  8132. /* Register: SAADC_CH_PSELP */
  8133. /* Description: Description cluster[0]: Input positive pin selection for CH[0] */
  8134. /* Bits 4..0 : Analog positive input channel */
  8135. #define SAADC_CH_PSELP_PSELP_Pos (0UL) /*!< Position of PSELP field. */
  8136. #define SAADC_CH_PSELP_PSELP_Msk (0x1FUL << SAADC_CH_PSELP_PSELP_Pos) /*!< Bit mask of PSELP field. */
  8137. #define SAADC_CH_PSELP_PSELP_NC (0UL) /*!< Not connected */
  8138. #define SAADC_CH_PSELP_PSELP_AnalogInput0 (1UL) /*!< AIN0 */
  8139. #define SAADC_CH_PSELP_PSELP_AnalogInput1 (2UL) /*!< AIN1 */
  8140. #define SAADC_CH_PSELP_PSELP_AnalogInput2 (3UL) /*!< AIN2 */
  8141. #define SAADC_CH_PSELP_PSELP_AnalogInput3 (4UL) /*!< AIN3 */
  8142. #define SAADC_CH_PSELP_PSELP_AnalogInput4 (5UL) /*!< AIN4 */
  8143. #define SAADC_CH_PSELP_PSELP_AnalogInput5 (6UL) /*!< AIN5 */
  8144. #define SAADC_CH_PSELP_PSELP_AnalogInput6 (7UL) /*!< AIN6 */
  8145. #define SAADC_CH_PSELP_PSELP_AnalogInput7 (8UL) /*!< AIN7 */
  8146. #define SAADC_CH_PSELP_PSELP_VDD (9UL) /*!< VDD */
  8147. /* Register: SAADC_CH_PSELN */
  8148. /* Description: Description cluster[0]: Input negative pin selection for CH[0] */
  8149. /* Bits 4..0 : Analog negative input, enables differential channel */
  8150. #define SAADC_CH_PSELN_PSELN_Pos (0UL) /*!< Position of PSELN field. */
  8151. #define SAADC_CH_PSELN_PSELN_Msk (0x1FUL << SAADC_CH_PSELN_PSELN_Pos) /*!< Bit mask of PSELN field. */
  8152. #define SAADC_CH_PSELN_PSELN_NC (0UL) /*!< Not connected */
  8153. #define SAADC_CH_PSELN_PSELN_AnalogInput0 (1UL) /*!< AIN0 */
  8154. #define SAADC_CH_PSELN_PSELN_AnalogInput1 (2UL) /*!< AIN1 */
  8155. #define SAADC_CH_PSELN_PSELN_AnalogInput2 (3UL) /*!< AIN2 */
  8156. #define SAADC_CH_PSELN_PSELN_AnalogInput3 (4UL) /*!< AIN3 */
  8157. #define SAADC_CH_PSELN_PSELN_AnalogInput4 (5UL) /*!< AIN4 */
  8158. #define SAADC_CH_PSELN_PSELN_AnalogInput5 (6UL) /*!< AIN5 */
  8159. #define SAADC_CH_PSELN_PSELN_AnalogInput6 (7UL) /*!< AIN6 */
  8160. #define SAADC_CH_PSELN_PSELN_AnalogInput7 (8UL) /*!< AIN7 */
  8161. #define SAADC_CH_PSELN_PSELN_VDD (9UL) /*!< VDD */
  8162. /* Register: SAADC_CH_CONFIG */
  8163. /* Description: Description cluster[0]: Input configuration for CH[0] */
  8164. /* Bit 24 : Enable burst mode */
  8165. #define SAADC_CH_CONFIG_BURST_Pos (24UL) /*!< Position of BURST field. */
  8166. #define SAADC_CH_CONFIG_BURST_Msk (0x1UL << SAADC_CH_CONFIG_BURST_Pos) /*!< Bit mask of BURST field. */
  8167. #define SAADC_CH_CONFIG_BURST_Disabled (0UL) /*!< Burst mode is disabled (normal operation) */
  8168. #define SAADC_CH_CONFIG_BURST_Enabled (1UL) /*!< Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM. */
  8169. /* Bit 20 : Enable differential mode */
  8170. #define SAADC_CH_CONFIG_MODE_Pos (20UL) /*!< Position of MODE field. */
  8171. #define SAADC_CH_CONFIG_MODE_Msk (0x1UL << SAADC_CH_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */
  8172. #define SAADC_CH_CONFIG_MODE_SE (0UL) /*!< Single ended, PSELN will be ignored, negative input to ADC shorted to GND */
  8173. #define SAADC_CH_CONFIG_MODE_Diff (1UL) /*!< Differential */
  8174. /* Bits 18..16 : Acquisition time, the time the ADC uses to sample the input voltage */
  8175. #define SAADC_CH_CONFIG_TACQ_Pos (16UL) /*!< Position of TACQ field. */
  8176. #define SAADC_CH_CONFIG_TACQ_Msk (0x7UL << SAADC_CH_CONFIG_TACQ_Pos) /*!< Bit mask of TACQ field. */
  8177. #define SAADC_CH_CONFIG_TACQ_3us (0UL) /*!< 3 us */
  8178. #define SAADC_CH_CONFIG_TACQ_5us (1UL) /*!< 5 us */
  8179. #define SAADC_CH_CONFIG_TACQ_10us (2UL) /*!< 10 us */
  8180. #define SAADC_CH_CONFIG_TACQ_15us (3UL) /*!< 15 us */
  8181. #define SAADC_CH_CONFIG_TACQ_20us (4UL) /*!< 20 us */
  8182. #define SAADC_CH_CONFIG_TACQ_40us (5UL) /*!< 40 us */
  8183. /* Bit 12 : Reference control */
  8184. #define SAADC_CH_CONFIG_REFSEL_Pos (12UL) /*!< Position of REFSEL field. */
  8185. #define SAADC_CH_CONFIG_REFSEL_Msk (0x1UL << SAADC_CH_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  8186. #define SAADC_CH_CONFIG_REFSEL_Internal (0UL) /*!< Internal reference (0.6 V) */
  8187. #define SAADC_CH_CONFIG_REFSEL_VDD1_4 (1UL) /*!< VDD/4 as reference */
  8188. /* Bits 10..8 : Gain control */
  8189. #define SAADC_CH_CONFIG_GAIN_Pos (8UL) /*!< Position of GAIN field. */
  8190. #define SAADC_CH_CONFIG_GAIN_Msk (0x7UL << SAADC_CH_CONFIG_GAIN_Pos) /*!< Bit mask of GAIN field. */
  8191. #define SAADC_CH_CONFIG_GAIN_Gain1_6 (0UL) /*!< 1/6 */
  8192. #define SAADC_CH_CONFIG_GAIN_Gain1_5 (1UL) /*!< 1/5 */
  8193. #define SAADC_CH_CONFIG_GAIN_Gain1_4 (2UL) /*!< 1/4 */
  8194. #define SAADC_CH_CONFIG_GAIN_Gain1_3 (3UL) /*!< 1/3 */
  8195. #define SAADC_CH_CONFIG_GAIN_Gain1_2 (4UL) /*!< 1/2 */
  8196. #define SAADC_CH_CONFIG_GAIN_Gain1 (5UL) /*!< 1 */
  8197. #define SAADC_CH_CONFIG_GAIN_Gain2 (6UL) /*!< 2 */
  8198. #define SAADC_CH_CONFIG_GAIN_Gain4 (7UL) /*!< 4 */
  8199. /* Bits 5..4 : Negative channel resistor control */
  8200. #define SAADC_CH_CONFIG_RESN_Pos (4UL) /*!< Position of RESN field. */
  8201. #define SAADC_CH_CONFIG_RESN_Msk (0x3UL << SAADC_CH_CONFIG_RESN_Pos) /*!< Bit mask of RESN field. */
  8202. #define SAADC_CH_CONFIG_RESN_Bypass (0UL) /*!< Bypass resistor ladder */
  8203. #define SAADC_CH_CONFIG_RESN_Pulldown (1UL) /*!< Pull-down to GND */
  8204. #define SAADC_CH_CONFIG_RESN_Pullup (2UL) /*!< Pull-up to VDD */
  8205. #define SAADC_CH_CONFIG_RESN_VDD1_2 (3UL) /*!< Set input at VDD/2 */
  8206. /* Bits 1..0 : Positive channel resistor control */
  8207. #define SAADC_CH_CONFIG_RESP_Pos (0UL) /*!< Position of RESP field. */
  8208. #define SAADC_CH_CONFIG_RESP_Msk (0x3UL << SAADC_CH_CONFIG_RESP_Pos) /*!< Bit mask of RESP field. */
  8209. #define SAADC_CH_CONFIG_RESP_Bypass (0UL) /*!< Bypass resistor ladder */
  8210. #define SAADC_CH_CONFIG_RESP_Pulldown (1UL) /*!< Pull-down to GND */
  8211. #define SAADC_CH_CONFIG_RESP_Pullup (2UL) /*!< Pull-up to VDD */
  8212. #define SAADC_CH_CONFIG_RESP_VDD1_2 (3UL) /*!< Set input at VDD/2 */
  8213. /* Register: SAADC_CH_LIMIT */
  8214. /* Description: Description cluster[0]: High/low limits for event monitoring a channel */
  8215. /* Bits 31..16 : High level limit */
  8216. #define SAADC_CH_LIMIT_HIGH_Pos (16UL) /*!< Position of HIGH field. */
  8217. #define SAADC_CH_LIMIT_HIGH_Msk (0xFFFFUL << SAADC_CH_LIMIT_HIGH_Pos) /*!< Bit mask of HIGH field. */
  8218. /* Bits 15..0 : Low level limit */
  8219. #define SAADC_CH_LIMIT_LOW_Pos (0UL) /*!< Position of LOW field. */
  8220. #define SAADC_CH_LIMIT_LOW_Msk (0xFFFFUL << SAADC_CH_LIMIT_LOW_Pos) /*!< Bit mask of LOW field. */
  8221. /* Register: SAADC_RESOLUTION */
  8222. /* Description: Resolution configuration */
  8223. /* Bits 2..0 : Set the resolution */
  8224. #define SAADC_RESOLUTION_VAL_Pos (0UL) /*!< Position of VAL field. */
  8225. #define SAADC_RESOLUTION_VAL_Msk (0x7UL << SAADC_RESOLUTION_VAL_Pos) /*!< Bit mask of VAL field. */
  8226. #define SAADC_RESOLUTION_VAL_8bit (0UL) /*!< 8 bit */
  8227. #define SAADC_RESOLUTION_VAL_10bit (1UL) /*!< 10 bit */
  8228. #define SAADC_RESOLUTION_VAL_12bit (2UL) /*!< 12 bit */
  8229. #define SAADC_RESOLUTION_VAL_14bit (3UL) /*!< 14 bit */
  8230. /* Register: SAADC_OVERSAMPLE */
  8231. /* Description: Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used. */
  8232. /* Bits 3..0 : Oversample control */
  8233. #define SAADC_OVERSAMPLE_OVERSAMPLE_Pos (0UL) /*!< Position of OVERSAMPLE field. */
  8234. #define SAADC_OVERSAMPLE_OVERSAMPLE_Msk (0xFUL << SAADC_OVERSAMPLE_OVERSAMPLE_Pos) /*!< Bit mask of OVERSAMPLE field. */
  8235. #define SAADC_OVERSAMPLE_OVERSAMPLE_Bypass (0UL) /*!< Bypass oversampling */
  8236. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over2x (1UL) /*!< Oversample 2x */
  8237. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over4x (2UL) /*!< Oversample 4x */
  8238. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over8x (3UL) /*!< Oversample 8x */
  8239. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over16x (4UL) /*!< Oversample 16x */
  8240. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over32x (5UL) /*!< Oversample 32x */
  8241. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over64x (6UL) /*!< Oversample 64x */
  8242. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over128x (7UL) /*!< Oversample 128x */
  8243. #define SAADC_OVERSAMPLE_OVERSAMPLE_Over256x (8UL) /*!< Oversample 256x */
  8244. /* Register: SAADC_SAMPLERATE */
  8245. /* Description: Controls normal or continuous sample rate */
  8246. /* Bit 12 : Select mode for sample rate control */
  8247. #define SAADC_SAMPLERATE_MODE_Pos (12UL) /*!< Position of MODE field. */
  8248. #define SAADC_SAMPLERATE_MODE_Msk (0x1UL << SAADC_SAMPLERATE_MODE_Pos) /*!< Bit mask of MODE field. */
  8249. #define SAADC_SAMPLERATE_MODE_Task (0UL) /*!< Rate is controlled from SAMPLE task */
  8250. #define SAADC_SAMPLERATE_MODE_Timers (1UL) /*!< Rate is controlled from local timer (use CC to control the rate) */
  8251. /* Bits 10..0 : Capture and compare value. Sample rate is 16 MHz/CC */
  8252. #define SAADC_SAMPLERATE_CC_Pos (0UL) /*!< Position of CC field. */
  8253. #define SAADC_SAMPLERATE_CC_Msk (0x7FFUL << SAADC_SAMPLERATE_CC_Pos) /*!< Bit mask of CC field. */
  8254. /* Register: SAADC_RESULT_PTR */
  8255. /* Description: Data pointer */
  8256. /* Bits 31..0 : Data pointer */
  8257. #define SAADC_RESULT_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  8258. #define SAADC_RESULT_PTR_PTR_Msk (0xFFFFFFFFUL << SAADC_RESULT_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  8259. /* Register: SAADC_RESULT_MAXCNT */
  8260. /* Description: Maximum number of buffer words to transfer */
  8261. /* Bits 14..0 : Maximum number of buffer words to transfer */
  8262. #define SAADC_RESULT_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  8263. #define SAADC_RESULT_MAXCNT_MAXCNT_Msk (0x7FFFUL << SAADC_RESULT_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  8264. /* Register: SAADC_RESULT_AMOUNT */
  8265. /* Description: Number of buffer words transferred since last START */
  8266. /* Bits 14..0 : Number of buffer words transferred since last START. This register can be read after an END or STOPPED event. */
  8267. #define SAADC_RESULT_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  8268. #define SAADC_RESULT_AMOUNT_AMOUNT_Msk (0x7FFFUL << SAADC_RESULT_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  8269. /* Peripheral: SPI */
  8270. /* Description: Serial Peripheral Interface 0 */
  8271. /* Register: SPI_INTENSET */
  8272. /* Description: Enable interrupt */
  8273. /* Bit 2 : Write '1' to Enable interrupt for READY event */
  8274. #define SPI_INTENSET_READY_Pos (2UL) /*!< Position of READY field. */
  8275. #define SPI_INTENSET_READY_Msk (0x1UL << SPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  8276. #define SPI_INTENSET_READY_Disabled (0UL) /*!< Read: Disabled */
  8277. #define SPI_INTENSET_READY_Enabled (1UL) /*!< Read: Enabled */
  8278. #define SPI_INTENSET_READY_Set (1UL) /*!< Enable */
  8279. /* Register: SPI_INTENCLR */
  8280. /* Description: Disable interrupt */
  8281. /* Bit 2 : Write '1' to Disable interrupt for READY event */
  8282. #define SPI_INTENCLR_READY_Pos (2UL) /*!< Position of READY field. */
  8283. #define SPI_INTENCLR_READY_Msk (0x1UL << SPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  8284. #define SPI_INTENCLR_READY_Disabled (0UL) /*!< Read: Disabled */
  8285. #define SPI_INTENCLR_READY_Enabled (1UL) /*!< Read: Enabled */
  8286. #define SPI_INTENCLR_READY_Clear (1UL) /*!< Disable */
  8287. /* Register: SPI_ENABLE */
  8288. /* Description: Enable SPI */
  8289. /* Bits 3..0 : Enable or disable SPI */
  8290. #define SPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  8291. #define SPI_ENABLE_ENABLE_Msk (0xFUL << SPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  8292. #define SPI_ENABLE_ENABLE_Disabled (0UL) /*!< Disable SPI */
  8293. #define SPI_ENABLE_ENABLE_Enabled (1UL) /*!< Enable SPI */
  8294. /* Register: SPI_PSEL_SCK */
  8295. /* Description: Pin select for SCK */
  8296. /* Bits 31..0 : Pin number configuration for SPI SCK signal */
  8297. #define SPI_PSEL_SCK_PSELSCK_Pos (0UL) /*!< Position of PSELSCK field. */
  8298. #define SPI_PSEL_SCK_PSELSCK_Msk (0xFFFFFFFFUL << SPI_PSEL_SCK_PSELSCK_Pos) /*!< Bit mask of PSELSCK field. */
  8299. #define SPI_PSEL_SCK_PSELSCK_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  8300. /* Register: SPI_PSEL_MOSI */
  8301. /* Description: Pin select for MOSI */
  8302. /* Bits 31..0 : Pin number configuration for SPI MOSI signal */
  8303. #define SPI_PSEL_MOSI_PSELMOSI_Pos (0UL) /*!< Position of PSELMOSI field. */
  8304. #define SPI_PSEL_MOSI_PSELMOSI_Msk (0xFFFFFFFFUL << SPI_PSEL_MOSI_PSELMOSI_Pos) /*!< Bit mask of PSELMOSI field. */
  8305. #define SPI_PSEL_MOSI_PSELMOSI_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  8306. /* Register: SPI_PSEL_MISO */
  8307. /* Description: Pin select for MISO */
  8308. /* Bits 31..0 : Pin number configuration for SPI MISO signal */
  8309. #define SPI_PSEL_MISO_PSELMISO_Pos (0UL) /*!< Position of PSELMISO field. */
  8310. #define SPI_PSEL_MISO_PSELMISO_Msk (0xFFFFFFFFUL << SPI_PSEL_MISO_PSELMISO_Pos) /*!< Bit mask of PSELMISO field. */
  8311. #define SPI_PSEL_MISO_PSELMISO_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  8312. /* Register: SPI_RXD */
  8313. /* Description: RXD register */
  8314. /* Bits 7..0 : RX data received. Double buffered */
  8315. #define SPI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  8316. #define SPI_RXD_RXD_Msk (0xFFUL << SPI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  8317. /* Register: SPI_TXD */
  8318. /* Description: TXD register */
  8319. /* Bits 7..0 : TX data to send. Double buffered */
  8320. #define SPI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  8321. #define SPI_TXD_TXD_Msk (0xFFUL << SPI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  8322. /* Register: SPI_FREQUENCY */
  8323. /* Description: SPI frequency */
  8324. /* Bits 31..0 : SPI master data rate */
  8325. #define SPI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  8326. #define SPI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  8327. #define SPI_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125 kbps */
  8328. #define SPI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps */
  8329. #define SPI_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500 kbps */
  8330. #define SPI_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1 Mbps */
  8331. #define SPI_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2 Mbps */
  8332. #define SPI_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4 Mbps */
  8333. #define SPI_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8 Mbps */
  8334. /* Register: SPI_CONFIG */
  8335. /* Description: Configuration register */
  8336. /* Bit 2 : Serial clock (SCK) polarity */
  8337. #define SPI_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  8338. #define SPI_CONFIG_CPOL_Msk (0x1UL << SPI_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  8339. #define SPI_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high */
  8340. #define SPI_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low */
  8341. /* Bit 1 : Serial clock (SCK) phase */
  8342. #define SPI_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  8343. #define SPI_CONFIG_CPHA_Msk (0x1UL << SPI_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  8344. #define SPI_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of clock, shift serial data on trailing edge */
  8345. #define SPI_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of clock, shift serial data on leading edge */
  8346. /* Bit 0 : Bit order */
  8347. #define SPI_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  8348. #define SPI_CONFIG_ORDER_Msk (0x1UL << SPI_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  8349. #define SPI_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit shifted out first */
  8350. #define SPI_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit shifted out first */
  8351. /* Peripheral: SPIM */
  8352. /* Description: Serial Peripheral Interface Master with EasyDMA 0 */
  8353. /* Register: SPIM_SHORTS */
  8354. /* Description: Shortcut register */
  8355. /* Bit 17 : Shortcut between END event and START task */
  8356. #define SPIM_SHORTS_END_START_Pos (17UL) /*!< Position of END_START field. */
  8357. #define SPIM_SHORTS_END_START_Msk (0x1UL << SPIM_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */
  8358. #define SPIM_SHORTS_END_START_Disabled (0UL) /*!< Disable shortcut */
  8359. #define SPIM_SHORTS_END_START_Enabled (1UL) /*!< Enable shortcut */
  8360. /* Register: SPIM_INTENSET */
  8361. /* Description: Enable interrupt */
  8362. /* Bit 19 : Write '1' to Enable interrupt for STARTED event */
  8363. #define SPIM_INTENSET_STARTED_Pos (19UL) /*!< Position of STARTED field. */
  8364. #define SPIM_INTENSET_STARTED_Msk (0x1UL << SPIM_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */
  8365. #define SPIM_INTENSET_STARTED_Disabled (0UL) /*!< Read: Disabled */
  8366. #define SPIM_INTENSET_STARTED_Enabled (1UL) /*!< Read: Enabled */
  8367. #define SPIM_INTENSET_STARTED_Set (1UL) /*!< Enable */
  8368. /* Bit 8 : Write '1' to Enable interrupt for ENDTX event */
  8369. #define SPIM_INTENSET_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  8370. #define SPIM_INTENSET_ENDTX_Msk (0x1UL << SPIM_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  8371. #define SPIM_INTENSET_ENDTX_Disabled (0UL) /*!< Read: Disabled */
  8372. #define SPIM_INTENSET_ENDTX_Enabled (1UL) /*!< Read: Enabled */
  8373. #define SPIM_INTENSET_ENDTX_Set (1UL) /*!< Enable */
  8374. /* Bit 6 : Write '1' to Enable interrupt for END event */
  8375. #define SPIM_INTENSET_END_Pos (6UL) /*!< Position of END field. */
  8376. #define SPIM_INTENSET_END_Msk (0x1UL << SPIM_INTENSET_END_Pos) /*!< Bit mask of END field. */
  8377. #define SPIM_INTENSET_END_Disabled (0UL) /*!< Read: Disabled */
  8378. #define SPIM_INTENSET_END_Enabled (1UL) /*!< Read: Enabled */
  8379. #define SPIM_INTENSET_END_Set (1UL) /*!< Enable */
  8380. /* Bit 4 : Write '1' to Enable interrupt for ENDRX event */
  8381. #define SPIM_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  8382. #define SPIM_INTENSET_ENDRX_Msk (0x1UL << SPIM_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  8383. #define SPIM_INTENSET_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  8384. #define SPIM_INTENSET_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  8385. #define SPIM_INTENSET_ENDRX_Set (1UL) /*!< Enable */
  8386. /* Bit 1 : Write '1' to Enable interrupt for STOPPED event */
  8387. #define SPIM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  8388. #define SPIM_INTENSET_STOPPED_Msk (0x1UL << SPIM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  8389. #define SPIM_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  8390. #define SPIM_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  8391. #define SPIM_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  8392. /* Register: SPIM_INTENCLR */
  8393. /* Description: Disable interrupt */
  8394. /* Bit 19 : Write '1' to Disable interrupt for STARTED event */
  8395. #define SPIM_INTENCLR_STARTED_Pos (19UL) /*!< Position of STARTED field. */
  8396. #define SPIM_INTENCLR_STARTED_Msk (0x1UL << SPIM_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */
  8397. #define SPIM_INTENCLR_STARTED_Disabled (0UL) /*!< Read: Disabled */
  8398. #define SPIM_INTENCLR_STARTED_Enabled (1UL) /*!< Read: Enabled */
  8399. #define SPIM_INTENCLR_STARTED_Clear (1UL) /*!< Disable */
  8400. /* Bit 8 : Write '1' to Disable interrupt for ENDTX event */
  8401. #define SPIM_INTENCLR_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  8402. #define SPIM_INTENCLR_ENDTX_Msk (0x1UL << SPIM_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  8403. #define SPIM_INTENCLR_ENDTX_Disabled (0UL) /*!< Read: Disabled */
  8404. #define SPIM_INTENCLR_ENDTX_Enabled (1UL) /*!< Read: Enabled */
  8405. #define SPIM_INTENCLR_ENDTX_Clear (1UL) /*!< Disable */
  8406. /* Bit 6 : Write '1' to Disable interrupt for END event */
  8407. #define SPIM_INTENCLR_END_Pos (6UL) /*!< Position of END field. */
  8408. #define SPIM_INTENCLR_END_Msk (0x1UL << SPIM_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  8409. #define SPIM_INTENCLR_END_Disabled (0UL) /*!< Read: Disabled */
  8410. #define SPIM_INTENCLR_END_Enabled (1UL) /*!< Read: Enabled */
  8411. #define SPIM_INTENCLR_END_Clear (1UL) /*!< Disable */
  8412. /* Bit 4 : Write '1' to Disable interrupt for ENDRX event */
  8413. #define SPIM_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  8414. #define SPIM_INTENCLR_ENDRX_Msk (0x1UL << SPIM_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  8415. #define SPIM_INTENCLR_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  8416. #define SPIM_INTENCLR_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  8417. #define SPIM_INTENCLR_ENDRX_Clear (1UL) /*!< Disable */
  8418. /* Bit 1 : Write '1' to Disable interrupt for STOPPED event */
  8419. #define SPIM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  8420. #define SPIM_INTENCLR_STOPPED_Msk (0x1UL << SPIM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  8421. #define SPIM_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  8422. #define SPIM_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  8423. #define SPIM_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  8424. /* Register: SPIM_ENABLE */
  8425. /* Description: Enable SPIM */
  8426. /* Bits 3..0 : Enable or disable SPIM */
  8427. #define SPIM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  8428. #define SPIM_ENABLE_ENABLE_Msk (0xFUL << SPIM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  8429. #define SPIM_ENABLE_ENABLE_Disabled (0UL) /*!< Disable SPIM */
  8430. #define SPIM_ENABLE_ENABLE_Enabled (7UL) /*!< Enable SPIM */
  8431. /* Register: SPIM_PSEL_SCK */
  8432. /* Description: Pin select for SCK */
  8433. /* Bit 31 : Connection */
  8434. #define SPIM_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8435. #define SPIM_PSEL_SCK_CONNECT_Msk (0x1UL << SPIM_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8436. #define SPIM_PSEL_SCK_CONNECT_Connected (0UL) /*!< Connect */
  8437. #define SPIM_PSEL_SCK_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8438. /* Bits 4..0 : Pin number */
  8439. #define SPIM_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */
  8440. #define SPIM_PSEL_SCK_PIN_Msk (0x1FUL << SPIM_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */
  8441. /* Register: SPIM_PSEL_MOSI */
  8442. /* Description: Pin select for MOSI signal */
  8443. /* Bit 31 : Connection */
  8444. #define SPIM_PSEL_MOSI_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8445. #define SPIM_PSEL_MOSI_CONNECT_Msk (0x1UL << SPIM_PSEL_MOSI_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8446. #define SPIM_PSEL_MOSI_CONNECT_Connected (0UL) /*!< Connect */
  8447. #define SPIM_PSEL_MOSI_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8448. /* Bits 4..0 : Pin number */
  8449. #define SPIM_PSEL_MOSI_PIN_Pos (0UL) /*!< Position of PIN field. */
  8450. #define SPIM_PSEL_MOSI_PIN_Msk (0x1FUL << SPIM_PSEL_MOSI_PIN_Pos) /*!< Bit mask of PIN field. */
  8451. /* Register: SPIM_PSEL_MISO */
  8452. /* Description: Pin select for MISO signal */
  8453. /* Bit 31 : Connection */
  8454. #define SPIM_PSEL_MISO_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8455. #define SPIM_PSEL_MISO_CONNECT_Msk (0x1UL << SPIM_PSEL_MISO_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8456. #define SPIM_PSEL_MISO_CONNECT_Connected (0UL) /*!< Connect */
  8457. #define SPIM_PSEL_MISO_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8458. /* Bits 4..0 : Pin number */
  8459. #define SPIM_PSEL_MISO_PIN_Pos (0UL) /*!< Position of PIN field. */
  8460. #define SPIM_PSEL_MISO_PIN_Msk (0x1FUL << SPIM_PSEL_MISO_PIN_Pos) /*!< Bit mask of PIN field. */
  8461. /* Register: SPIM_FREQUENCY */
  8462. /* Description: SPI frequency. Accuracy depends on the HFCLK source selected. */
  8463. /* Bits 31..0 : SPI master data rate */
  8464. #define SPIM_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  8465. #define SPIM_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPIM_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  8466. #define SPIM_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125 kbps */
  8467. #define SPIM_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps */
  8468. #define SPIM_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500 kbps */
  8469. #define SPIM_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1 Mbps */
  8470. #define SPIM_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2 Mbps */
  8471. #define SPIM_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4 Mbps */
  8472. #define SPIM_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8 Mbps */
  8473. /* Register: SPIM_RXD_PTR */
  8474. /* Description: Data pointer */
  8475. /* Bits 31..0 : Data pointer */
  8476. #define SPIM_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  8477. #define SPIM_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  8478. /* Register: SPIM_RXD_MAXCNT */
  8479. /* Description: Maximum number of bytes in receive buffer */
  8480. /* Bits 7..0 : Maximum number of bytes in receive buffer */
  8481. #define SPIM_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  8482. #define SPIM_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIM_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  8483. /* Register: SPIM_RXD_AMOUNT */
  8484. /* Description: Number of bytes transferred in the last transaction */
  8485. /* Bits 7..0 : Number of bytes transferred in the last transaction */
  8486. #define SPIM_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  8487. #define SPIM_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIM_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  8488. /* Register: SPIM_RXD_LIST */
  8489. /* Description: EasyDMA list type */
  8490. /* Bits 2..0 : List type */
  8491. #define SPIM_RXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */
  8492. #define SPIM_RXD_LIST_LIST_Msk (0x7UL << SPIM_RXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */
  8493. #define SPIM_RXD_LIST_LIST_Disabled (0UL) /*!< Disable EasyDMA list */
  8494. #define SPIM_RXD_LIST_LIST_ArrayList (1UL) /*!< Use array list */
  8495. /* Register: SPIM_TXD_PTR */
  8496. /* Description: Data pointer */
  8497. /* Bits 31..0 : Data pointer */
  8498. #define SPIM_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  8499. #define SPIM_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  8500. /* Register: SPIM_TXD_MAXCNT */
  8501. /* Description: Maximum number of bytes in transmit buffer */
  8502. /* Bits 7..0 : Maximum number of bytes in transmit buffer */
  8503. #define SPIM_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  8504. #define SPIM_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIM_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  8505. /* Register: SPIM_TXD_AMOUNT */
  8506. /* Description: Number of bytes transferred in the last transaction */
  8507. /* Bits 7..0 : Number of bytes transferred in the last transaction */
  8508. #define SPIM_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  8509. #define SPIM_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIM_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  8510. /* Register: SPIM_TXD_LIST */
  8511. /* Description: EasyDMA list type */
  8512. /* Bits 2..0 : List type */
  8513. #define SPIM_TXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */
  8514. #define SPIM_TXD_LIST_LIST_Msk (0x7UL << SPIM_TXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */
  8515. #define SPIM_TXD_LIST_LIST_Disabled (0UL) /*!< Disable EasyDMA list */
  8516. #define SPIM_TXD_LIST_LIST_ArrayList (1UL) /*!< Use array list */
  8517. /* Register: SPIM_CONFIG */
  8518. /* Description: Configuration register */
  8519. /* Bit 2 : Serial clock (SCK) polarity */
  8520. #define SPIM_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  8521. #define SPIM_CONFIG_CPOL_Msk (0x1UL << SPIM_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  8522. #define SPIM_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high */
  8523. #define SPIM_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low */
  8524. /* Bit 1 : Serial clock (SCK) phase */
  8525. #define SPIM_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  8526. #define SPIM_CONFIG_CPHA_Msk (0x1UL << SPIM_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  8527. #define SPIM_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of clock, shift serial data on trailing edge */
  8528. #define SPIM_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of clock, shift serial data on leading edge */
  8529. /* Bit 0 : Bit order */
  8530. #define SPIM_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  8531. #define SPIM_CONFIG_ORDER_Msk (0x1UL << SPIM_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  8532. #define SPIM_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit shifted out first */
  8533. #define SPIM_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit shifted out first */
  8534. /* Register: SPIM_ORC */
  8535. /* Description: Over-read character. Character clocked out in case and over-read of the TXD buffer. */
  8536. /* Bits 7..0 : Over-read character. Character clocked out in case and over-read of the TXD buffer. */
  8537. #define SPIM_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
  8538. #define SPIM_ORC_ORC_Msk (0xFFUL << SPIM_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
  8539. /* Peripheral: SPIS */
  8540. /* Description: SPI Slave 0 */
  8541. /* Register: SPIS_SHORTS */
  8542. /* Description: Shortcut register */
  8543. /* Bit 2 : Shortcut between END event and ACQUIRE task */
  8544. #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */
  8545. #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */
  8546. #define SPIS_SHORTS_END_ACQUIRE_Disabled (0UL) /*!< Disable shortcut */
  8547. #define SPIS_SHORTS_END_ACQUIRE_Enabled (1UL) /*!< Enable shortcut */
  8548. /* Register: SPIS_INTENSET */
  8549. /* Description: Enable interrupt */
  8550. /* Bit 10 : Write '1' to Enable interrupt for ACQUIRED event */
  8551. #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
  8552. #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
  8553. #define SPIS_INTENSET_ACQUIRED_Disabled (0UL) /*!< Read: Disabled */
  8554. #define SPIS_INTENSET_ACQUIRED_Enabled (1UL) /*!< Read: Enabled */
  8555. #define SPIS_INTENSET_ACQUIRED_Set (1UL) /*!< Enable */
  8556. /* Bit 4 : Write '1' to Enable interrupt for ENDRX event */
  8557. #define SPIS_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  8558. #define SPIS_INTENSET_ENDRX_Msk (0x1UL << SPIS_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  8559. #define SPIS_INTENSET_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  8560. #define SPIS_INTENSET_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  8561. #define SPIS_INTENSET_ENDRX_Set (1UL) /*!< Enable */
  8562. /* Bit 1 : Write '1' to Enable interrupt for END event */
  8563. #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */
  8564. #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */
  8565. #define SPIS_INTENSET_END_Disabled (0UL) /*!< Read: Disabled */
  8566. #define SPIS_INTENSET_END_Enabled (1UL) /*!< Read: Enabled */
  8567. #define SPIS_INTENSET_END_Set (1UL) /*!< Enable */
  8568. /* Register: SPIS_INTENCLR */
  8569. /* Description: Disable interrupt */
  8570. /* Bit 10 : Write '1' to Disable interrupt for ACQUIRED event */
  8571. #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
  8572. #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
  8573. #define SPIS_INTENCLR_ACQUIRED_Disabled (0UL) /*!< Read: Disabled */
  8574. #define SPIS_INTENCLR_ACQUIRED_Enabled (1UL) /*!< Read: Enabled */
  8575. #define SPIS_INTENCLR_ACQUIRED_Clear (1UL) /*!< Disable */
  8576. /* Bit 4 : Write '1' to Disable interrupt for ENDRX event */
  8577. #define SPIS_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  8578. #define SPIS_INTENCLR_ENDRX_Msk (0x1UL << SPIS_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  8579. #define SPIS_INTENCLR_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  8580. #define SPIS_INTENCLR_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  8581. #define SPIS_INTENCLR_ENDRX_Clear (1UL) /*!< Disable */
  8582. /* Bit 1 : Write '1' to Disable interrupt for END event */
  8583. #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */
  8584. #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  8585. #define SPIS_INTENCLR_END_Disabled (0UL) /*!< Read: Disabled */
  8586. #define SPIS_INTENCLR_END_Enabled (1UL) /*!< Read: Enabled */
  8587. #define SPIS_INTENCLR_END_Clear (1UL) /*!< Disable */
  8588. /* Register: SPIS_SEMSTAT */
  8589. /* Description: Semaphore status register */
  8590. /* Bits 1..0 : Semaphore status */
  8591. #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */
  8592. #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */
  8593. #define SPIS_SEMSTAT_SEMSTAT_Free (0UL) /*!< Semaphore is free */
  8594. #define SPIS_SEMSTAT_SEMSTAT_CPU (1UL) /*!< Semaphore is assigned to CPU */
  8595. #define SPIS_SEMSTAT_SEMSTAT_SPIS (2UL) /*!< Semaphore is assigned to SPI slave */
  8596. #define SPIS_SEMSTAT_SEMSTAT_CPUPending (3UL) /*!< Semaphore is assigned to SPI but a handover to the CPU is pending */
  8597. /* Register: SPIS_STATUS */
  8598. /* Description: Status from last transaction */
  8599. /* Bit 1 : RX buffer overflow detected, and prevented */
  8600. #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */
  8601. #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */
  8602. #define SPIS_STATUS_OVERFLOW_NotPresent (0UL) /*!< Read: error not present */
  8603. #define SPIS_STATUS_OVERFLOW_Present (1UL) /*!< Read: error present */
  8604. #define SPIS_STATUS_OVERFLOW_Clear (1UL) /*!< Write: clear error on writing '1' */
  8605. /* Bit 0 : TX buffer over-read detected, and prevented */
  8606. #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */
  8607. #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */
  8608. #define SPIS_STATUS_OVERREAD_NotPresent (0UL) /*!< Read: error not present */
  8609. #define SPIS_STATUS_OVERREAD_Present (1UL) /*!< Read: error present */
  8610. #define SPIS_STATUS_OVERREAD_Clear (1UL) /*!< Write: clear error on writing '1' */
  8611. /* Register: SPIS_ENABLE */
  8612. /* Description: Enable SPI slave */
  8613. /* Bits 3..0 : Enable or disable SPI slave */
  8614. #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  8615. #define SPIS_ENABLE_ENABLE_Msk (0xFUL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  8616. #define SPIS_ENABLE_ENABLE_Disabled (0UL) /*!< Disable SPI slave */
  8617. #define SPIS_ENABLE_ENABLE_Enabled (2UL) /*!< Enable SPI slave */
  8618. /* Register: SPIS_PSEL_SCK */
  8619. /* Description: Pin select for SCK */
  8620. /* Bit 31 : Connection */
  8621. #define SPIS_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8622. #define SPIS_PSEL_SCK_CONNECT_Msk (0x1UL << SPIS_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8623. #define SPIS_PSEL_SCK_CONNECT_Connected (0UL) /*!< Connect */
  8624. #define SPIS_PSEL_SCK_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8625. /* Bits 4..0 : Pin number */
  8626. #define SPIS_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */
  8627. #define SPIS_PSEL_SCK_PIN_Msk (0x1FUL << SPIS_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */
  8628. /* Register: SPIS_PSEL_MISO */
  8629. /* Description: Pin select for MISO signal */
  8630. /* Bit 31 : Connection */
  8631. #define SPIS_PSEL_MISO_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8632. #define SPIS_PSEL_MISO_CONNECT_Msk (0x1UL << SPIS_PSEL_MISO_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8633. #define SPIS_PSEL_MISO_CONNECT_Connected (0UL) /*!< Connect */
  8634. #define SPIS_PSEL_MISO_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8635. /* Bits 4..0 : Pin number */
  8636. #define SPIS_PSEL_MISO_PIN_Pos (0UL) /*!< Position of PIN field. */
  8637. #define SPIS_PSEL_MISO_PIN_Msk (0x1FUL << SPIS_PSEL_MISO_PIN_Pos) /*!< Bit mask of PIN field. */
  8638. /* Register: SPIS_PSEL_MOSI */
  8639. /* Description: Pin select for MOSI signal */
  8640. /* Bit 31 : Connection */
  8641. #define SPIS_PSEL_MOSI_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8642. #define SPIS_PSEL_MOSI_CONNECT_Msk (0x1UL << SPIS_PSEL_MOSI_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8643. #define SPIS_PSEL_MOSI_CONNECT_Connected (0UL) /*!< Connect */
  8644. #define SPIS_PSEL_MOSI_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8645. /* Bits 4..0 : Pin number */
  8646. #define SPIS_PSEL_MOSI_PIN_Pos (0UL) /*!< Position of PIN field. */
  8647. #define SPIS_PSEL_MOSI_PIN_Msk (0x1FUL << SPIS_PSEL_MOSI_PIN_Pos) /*!< Bit mask of PIN field. */
  8648. /* Register: SPIS_PSEL_CSN */
  8649. /* Description: Pin select for CSN signal */
  8650. /* Bit 31 : Connection */
  8651. #define SPIS_PSEL_CSN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  8652. #define SPIS_PSEL_CSN_CONNECT_Msk (0x1UL << SPIS_PSEL_CSN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  8653. #define SPIS_PSEL_CSN_CONNECT_Connected (0UL) /*!< Connect */
  8654. #define SPIS_PSEL_CSN_CONNECT_Disconnected (1UL) /*!< Disconnect */
  8655. /* Bits 4..0 : Pin number */
  8656. #define SPIS_PSEL_CSN_PIN_Pos (0UL) /*!< Position of PIN field. */
  8657. #define SPIS_PSEL_CSN_PIN_Msk (0x1FUL << SPIS_PSEL_CSN_PIN_Pos) /*!< Bit mask of PIN field. */
  8658. /* Register: SPIS_RXD_PTR */
  8659. /* Description: RXD data pointer */
  8660. /* Bits 31..0 : RXD data pointer */
  8661. #define SPIS_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  8662. #define SPIS_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIS_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  8663. /* Register: SPIS_RXD_MAXCNT */
  8664. /* Description: Maximum number of bytes in receive buffer */
  8665. /* Bits 7..0 : Maximum number of bytes in receive buffer */
  8666. #define SPIS_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  8667. #define SPIS_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIS_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  8668. /* Register: SPIS_RXD_AMOUNT */
  8669. /* Description: Number of bytes received in last granted transaction */
  8670. /* Bits 7..0 : Number of bytes received in the last granted transaction */
  8671. #define SPIS_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  8672. #define SPIS_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIS_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  8673. /* Register: SPIS_TXD_PTR */
  8674. /* Description: TXD data pointer */
  8675. /* Bits 31..0 : TXD data pointer */
  8676. #define SPIS_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  8677. #define SPIS_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIS_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  8678. /* Register: SPIS_TXD_MAXCNT */
  8679. /* Description: Maximum number of bytes in transmit buffer */
  8680. /* Bits 7..0 : Maximum number of bytes in transmit buffer */
  8681. #define SPIS_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  8682. #define SPIS_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIS_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  8683. /* Register: SPIS_TXD_AMOUNT */
  8684. /* Description: Number of bytes transmitted in last granted transaction */
  8685. /* Bits 7..0 : Number of bytes transmitted in last granted transaction */
  8686. #define SPIS_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  8687. #define SPIS_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIS_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  8688. /* Register: SPIS_CONFIG */
  8689. /* Description: Configuration register */
  8690. /* Bit 2 : Serial clock (SCK) polarity */
  8691. #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  8692. #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  8693. #define SPIS_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high */
  8694. #define SPIS_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low */
  8695. /* Bit 1 : Serial clock (SCK) phase */
  8696. #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  8697. #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  8698. #define SPIS_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of clock, shift serial data on trailing edge */
  8699. #define SPIS_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of clock, shift serial data on leading edge */
  8700. /* Bit 0 : Bit order */
  8701. #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  8702. #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  8703. #define SPIS_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit shifted out first */
  8704. #define SPIS_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit shifted out first */
  8705. /* Register: SPIS_DEF */
  8706. /* Description: Default character. Character clocked out in case of an ignored transaction. */
  8707. /* Bits 7..0 : Default character. Character clocked out in case of an ignored transaction. */
  8708. #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */
  8709. #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */
  8710. /* Register: SPIS_ORC */
  8711. /* Description: Over-read character */
  8712. /* Bits 7..0 : Over-read character. Character clocked out after an over-read of the transmit buffer. */
  8713. #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
  8714. #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
  8715. /* Peripheral: TEMP */
  8716. /* Description: Temperature Sensor */
  8717. /* Register: TEMP_INTENSET */
  8718. /* Description: Enable interrupt */
  8719. /* Bit 0 : Write '1' to Enable interrupt for DATARDY event */
  8720. #define TEMP_INTENSET_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
  8721. #define TEMP_INTENSET_DATARDY_Msk (0x1UL << TEMP_INTENSET_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
  8722. #define TEMP_INTENSET_DATARDY_Disabled (0UL) /*!< Read: Disabled */
  8723. #define TEMP_INTENSET_DATARDY_Enabled (1UL) /*!< Read: Enabled */
  8724. #define TEMP_INTENSET_DATARDY_Set (1UL) /*!< Enable */
  8725. /* Register: TEMP_INTENCLR */
  8726. /* Description: Disable interrupt */
  8727. /* Bit 0 : Write '1' to Disable interrupt for DATARDY event */
  8728. #define TEMP_INTENCLR_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
  8729. #define TEMP_INTENCLR_DATARDY_Msk (0x1UL << TEMP_INTENCLR_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
  8730. #define TEMP_INTENCLR_DATARDY_Disabled (0UL) /*!< Read: Disabled */
  8731. #define TEMP_INTENCLR_DATARDY_Enabled (1UL) /*!< Read: Enabled */
  8732. #define TEMP_INTENCLR_DATARDY_Clear (1UL) /*!< Disable */
  8733. /* Register: TEMP_TEMP */
  8734. /* Description: Temperature in degC (0.25deg steps) */
  8735. /* Bits 31..0 : Temperature in degC (0.25deg steps) */
  8736. #define TEMP_TEMP_TEMP_Pos (0UL) /*!< Position of TEMP field. */
  8737. #define TEMP_TEMP_TEMP_Msk (0xFFFFFFFFUL << TEMP_TEMP_TEMP_Pos) /*!< Bit mask of TEMP field. */
  8738. /* Register: TEMP_A0 */
  8739. /* Description: Slope of 1st piece wise linear function */
  8740. /* Bits 11..0 : Slope of 1st piece wise linear function */
  8741. #define TEMP_A0_A0_Pos (0UL) /*!< Position of A0 field. */
  8742. #define TEMP_A0_A0_Msk (0xFFFUL << TEMP_A0_A0_Pos) /*!< Bit mask of A0 field. */
  8743. /* Register: TEMP_A1 */
  8744. /* Description: Slope of 2nd piece wise linear function */
  8745. /* Bits 11..0 : Slope of 2nd piece wise linear function */
  8746. #define TEMP_A1_A1_Pos (0UL) /*!< Position of A1 field. */
  8747. #define TEMP_A1_A1_Msk (0xFFFUL << TEMP_A1_A1_Pos) /*!< Bit mask of A1 field. */
  8748. /* Register: TEMP_A2 */
  8749. /* Description: Slope of 3rd piece wise linear function */
  8750. /* Bits 11..0 : Slope of 3rd piece wise linear function */
  8751. #define TEMP_A2_A2_Pos (0UL) /*!< Position of A2 field. */
  8752. #define TEMP_A2_A2_Msk (0xFFFUL << TEMP_A2_A2_Pos) /*!< Bit mask of A2 field. */
  8753. /* Register: TEMP_A3 */
  8754. /* Description: Slope of 4th piece wise linear function */
  8755. /* Bits 11..0 : Slope of 4th piece wise linear function */
  8756. #define TEMP_A3_A3_Pos (0UL) /*!< Position of A3 field. */
  8757. #define TEMP_A3_A3_Msk (0xFFFUL << TEMP_A3_A3_Pos) /*!< Bit mask of A3 field. */
  8758. /* Register: TEMP_A4 */
  8759. /* Description: Slope of 5th piece wise linear function */
  8760. /* Bits 11..0 : Slope of 5th piece wise linear function */
  8761. #define TEMP_A4_A4_Pos (0UL) /*!< Position of A4 field. */
  8762. #define TEMP_A4_A4_Msk (0xFFFUL << TEMP_A4_A4_Pos) /*!< Bit mask of A4 field. */
  8763. /* Register: TEMP_A5 */
  8764. /* Description: Slope of 6th piece wise linear function */
  8765. /* Bits 11..0 : Slope of 6th piece wise linear function */
  8766. #define TEMP_A5_A5_Pos (0UL) /*!< Position of A5 field. */
  8767. #define TEMP_A5_A5_Msk (0xFFFUL << TEMP_A5_A5_Pos) /*!< Bit mask of A5 field. */
  8768. /* Register: TEMP_B0 */
  8769. /* Description: y-intercept of 1st piece wise linear function */
  8770. /* Bits 13..0 : y-intercept of 1st piece wise linear function */
  8771. #define TEMP_B0_B0_Pos (0UL) /*!< Position of B0 field. */
  8772. #define TEMP_B0_B0_Msk (0x3FFFUL << TEMP_B0_B0_Pos) /*!< Bit mask of B0 field. */
  8773. /* Register: TEMP_B1 */
  8774. /* Description: y-intercept of 2nd piece wise linear function */
  8775. /* Bits 13..0 : y-intercept of 2nd piece wise linear function */
  8776. #define TEMP_B1_B1_Pos (0UL) /*!< Position of B1 field. */
  8777. #define TEMP_B1_B1_Msk (0x3FFFUL << TEMP_B1_B1_Pos) /*!< Bit mask of B1 field. */
  8778. /* Register: TEMP_B2 */
  8779. /* Description: y-intercept of 3rd piece wise linear function */
  8780. /* Bits 13..0 : y-intercept of 3rd piece wise linear function */
  8781. #define TEMP_B2_B2_Pos (0UL) /*!< Position of B2 field. */
  8782. #define TEMP_B2_B2_Msk (0x3FFFUL << TEMP_B2_B2_Pos) /*!< Bit mask of B2 field. */
  8783. /* Register: TEMP_B3 */
  8784. /* Description: y-intercept of 4th piece wise linear function */
  8785. /* Bits 13..0 : y-intercept of 4th piece wise linear function */
  8786. #define TEMP_B3_B3_Pos (0UL) /*!< Position of B3 field. */
  8787. #define TEMP_B3_B3_Msk (0x3FFFUL << TEMP_B3_B3_Pos) /*!< Bit mask of B3 field. */
  8788. /* Register: TEMP_B4 */
  8789. /* Description: y-intercept of 5th piece wise linear function */
  8790. /* Bits 13..0 : y-intercept of 5th piece wise linear function */
  8791. #define TEMP_B4_B4_Pos (0UL) /*!< Position of B4 field. */
  8792. #define TEMP_B4_B4_Msk (0x3FFFUL << TEMP_B4_B4_Pos) /*!< Bit mask of B4 field. */
  8793. /* Register: TEMP_B5 */
  8794. /* Description: y-intercept of 6th piece wise linear function */
  8795. /* Bits 13..0 : y-intercept of 6th piece wise linear function */
  8796. #define TEMP_B5_B5_Pos (0UL) /*!< Position of B5 field. */
  8797. #define TEMP_B5_B5_Msk (0x3FFFUL << TEMP_B5_B5_Pos) /*!< Bit mask of B5 field. */
  8798. /* Register: TEMP_T0 */
  8799. /* Description: End point of 1st piece wise linear function */
  8800. /* Bits 7..0 : End point of 1st piece wise linear function */
  8801. #define TEMP_T0_T0_Pos (0UL) /*!< Position of T0 field. */
  8802. #define TEMP_T0_T0_Msk (0xFFUL << TEMP_T0_T0_Pos) /*!< Bit mask of T0 field. */
  8803. /* Register: TEMP_T1 */
  8804. /* Description: End point of 2nd piece wise linear function */
  8805. /* Bits 7..0 : End point of 2nd piece wise linear function */
  8806. #define TEMP_T1_T1_Pos (0UL) /*!< Position of T1 field. */
  8807. #define TEMP_T1_T1_Msk (0xFFUL << TEMP_T1_T1_Pos) /*!< Bit mask of T1 field. */
  8808. /* Register: TEMP_T2 */
  8809. /* Description: End point of 3rd piece wise linear function */
  8810. /* Bits 7..0 : End point of 3rd piece wise linear function */
  8811. #define TEMP_T2_T2_Pos (0UL) /*!< Position of T2 field. */
  8812. #define TEMP_T2_T2_Msk (0xFFUL << TEMP_T2_T2_Pos) /*!< Bit mask of T2 field. */
  8813. /* Register: TEMP_T3 */
  8814. /* Description: End point of 4th piece wise linear function */
  8815. /* Bits 7..0 : End point of 4th piece wise linear function */
  8816. #define TEMP_T3_T3_Pos (0UL) /*!< Position of T3 field. */
  8817. #define TEMP_T3_T3_Msk (0xFFUL << TEMP_T3_T3_Pos) /*!< Bit mask of T3 field. */
  8818. /* Register: TEMP_T4 */
  8819. /* Description: End point of 5th piece wise linear function */
  8820. /* Bits 7..0 : End point of 5th piece wise linear function */
  8821. #define TEMP_T4_T4_Pos (0UL) /*!< Position of T4 field. */
  8822. #define TEMP_T4_T4_Msk (0xFFUL << TEMP_T4_T4_Pos) /*!< Bit mask of T4 field. */
  8823. /* Peripheral: TIMER */
  8824. /* Description: Timer/Counter 0 */
  8825. /* Register: TIMER_SHORTS */
  8826. /* Description: Shortcut register */
  8827. /* Bit 13 : Shortcut between COMPARE[5] event and STOP task */
  8828. #define TIMER_SHORTS_COMPARE5_STOP_Pos (13UL) /*!< Position of COMPARE5_STOP field. */
  8829. #define TIMER_SHORTS_COMPARE5_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE5_STOP_Pos) /*!< Bit mask of COMPARE5_STOP field. */
  8830. #define TIMER_SHORTS_COMPARE5_STOP_Disabled (0UL) /*!< Disable shortcut */
  8831. #define TIMER_SHORTS_COMPARE5_STOP_Enabled (1UL) /*!< Enable shortcut */
  8832. /* Bit 12 : Shortcut between COMPARE[4] event and STOP task */
  8833. #define TIMER_SHORTS_COMPARE4_STOP_Pos (12UL) /*!< Position of COMPARE4_STOP field. */
  8834. #define TIMER_SHORTS_COMPARE4_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE4_STOP_Pos) /*!< Bit mask of COMPARE4_STOP field. */
  8835. #define TIMER_SHORTS_COMPARE4_STOP_Disabled (0UL) /*!< Disable shortcut */
  8836. #define TIMER_SHORTS_COMPARE4_STOP_Enabled (1UL) /*!< Enable shortcut */
  8837. /* Bit 11 : Shortcut between COMPARE[3] event and STOP task */
  8838. #define TIMER_SHORTS_COMPARE3_STOP_Pos (11UL) /*!< Position of COMPARE3_STOP field. */
  8839. #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */
  8840. #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0UL) /*!< Disable shortcut */
  8841. #define TIMER_SHORTS_COMPARE3_STOP_Enabled (1UL) /*!< Enable shortcut */
  8842. /* Bit 10 : Shortcut between COMPARE[2] event and STOP task */
  8843. #define TIMER_SHORTS_COMPARE2_STOP_Pos (10UL) /*!< Position of COMPARE2_STOP field. */
  8844. #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */
  8845. #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0UL) /*!< Disable shortcut */
  8846. #define TIMER_SHORTS_COMPARE2_STOP_Enabled (1UL) /*!< Enable shortcut */
  8847. /* Bit 9 : Shortcut between COMPARE[1] event and STOP task */
  8848. #define TIMER_SHORTS_COMPARE1_STOP_Pos (9UL) /*!< Position of COMPARE1_STOP field. */
  8849. #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */
  8850. #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0UL) /*!< Disable shortcut */
  8851. #define TIMER_SHORTS_COMPARE1_STOP_Enabled (1UL) /*!< Enable shortcut */
  8852. /* Bit 8 : Shortcut between COMPARE[0] event and STOP task */
  8853. #define TIMER_SHORTS_COMPARE0_STOP_Pos (8UL) /*!< Position of COMPARE0_STOP field. */
  8854. #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */
  8855. #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0UL) /*!< Disable shortcut */
  8856. #define TIMER_SHORTS_COMPARE0_STOP_Enabled (1UL) /*!< Enable shortcut */
  8857. /* Bit 5 : Shortcut between COMPARE[5] event and CLEAR task */
  8858. #define TIMER_SHORTS_COMPARE5_CLEAR_Pos (5UL) /*!< Position of COMPARE5_CLEAR field. */
  8859. #define TIMER_SHORTS_COMPARE5_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE5_CLEAR_Pos) /*!< Bit mask of COMPARE5_CLEAR field. */
  8860. #define TIMER_SHORTS_COMPARE5_CLEAR_Disabled (0UL) /*!< Disable shortcut */
  8861. #define TIMER_SHORTS_COMPARE5_CLEAR_Enabled (1UL) /*!< Enable shortcut */
  8862. /* Bit 4 : Shortcut between COMPARE[4] event and CLEAR task */
  8863. #define TIMER_SHORTS_COMPARE4_CLEAR_Pos (4UL) /*!< Position of COMPARE4_CLEAR field. */
  8864. #define TIMER_SHORTS_COMPARE4_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE4_CLEAR_Pos) /*!< Bit mask of COMPARE4_CLEAR field. */
  8865. #define TIMER_SHORTS_COMPARE4_CLEAR_Disabled (0UL) /*!< Disable shortcut */
  8866. #define TIMER_SHORTS_COMPARE4_CLEAR_Enabled (1UL) /*!< Enable shortcut */
  8867. /* Bit 3 : Shortcut between COMPARE[3] event and CLEAR task */
  8868. #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */
  8869. #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */
  8870. #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0UL) /*!< Disable shortcut */
  8871. #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (1UL) /*!< Enable shortcut */
  8872. /* Bit 2 : Shortcut between COMPARE[2] event and CLEAR task */
  8873. #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */
  8874. #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */
  8875. #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0UL) /*!< Disable shortcut */
  8876. #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (1UL) /*!< Enable shortcut */
  8877. /* Bit 1 : Shortcut between COMPARE[1] event and CLEAR task */
  8878. #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */
  8879. #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */
  8880. #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0UL) /*!< Disable shortcut */
  8881. #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (1UL) /*!< Enable shortcut */
  8882. /* Bit 0 : Shortcut between COMPARE[0] event and CLEAR task */
  8883. #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */
  8884. #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */
  8885. #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0UL) /*!< Disable shortcut */
  8886. #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (1UL) /*!< Enable shortcut */
  8887. /* Register: TIMER_INTENSET */
  8888. /* Description: Enable interrupt */
  8889. /* Bit 21 : Write '1' to Enable interrupt for COMPARE[5] event */
  8890. #define TIMER_INTENSET_COMPARE5_Pos (21UL) /*!< Position of COMPARE5 field. */
  8891. #define TIMER_INTENSET_COMPARE5_Msk (0x1UL << TIMER_INTENSET_COMPARE5_Pos) /*!< Bit mask of COMPARE5 field. */
  8892. #define TIMER_INTENSET_COMPARE5_Disabled (0UL) /*!< Read: Disabled */
  8893. #define TIMER_INTENSET_COMPARE5_Enabled (1UL) /*!< Read: Enabled */
  8894. #define TIMER_INTENSET_COMPARE5_Set (1UL) /*!< Enable */
  8895. /* Bit 20 : Write '1' to Enable interrupt for COMPARE[4] event */
  8896. #define TIMER_INTENSET_COMPARE4_Pos (20UL) /*!< Position of COMPARE4 field. */
  8897. #define TIMER_INTENSET_COMPARE4_Msk (0x1UL << TIMER_INTENSET_COMPARE4_Pos) /*!< Bit mask of COMPARE4 field. */
  8898. #define TIMER_INTENSET_COMPARE4_Disabled (0UL) /*!< Read: Disabled */
  8899. #define TIMER_INTENSET_COMPARE4_Enabled (1UL) /*!< Read: Enabled */
  8900. #define TIMER_INTENSET_COMPARE4_Set (1UL) /*!< Enable */
  8901. /* Bit 19 : Write '1' to Enable interrupt for COMPARE[3] event */
  8902. #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  8903. #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  8904. #define TIMER_INTENSET_COMPARE3_Disabled (0UL) /*!< Read: Disabled */
  8905. #define TIMER_INTENSET_COMPARE3_Enabled (1UL) /*!< Read: Enabled */
  8906. #define TIMER_INTENSET_COMPARE3_Set (1UL) /*!< Enable */
  8907. /* Bit 18 : Write '1' to Enable interrupt for COMPARE[2] event */
  8908. #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  8909. #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  8910. #define TIMER_INTENSET_COMPARE2_Disabled (0UL) /*!< Read: Disabled */
  8911. #define TIMER_INTENSET_COMPARE2_Enabled (1UL) /*!< Read: Enabled */
  8912. #define TIMER_INTENSET_COMPARE2_Set (1UL) /*!< Enable */
  8913. /* Bit 17 : Write '1' to Enable interrupt for COMPARE[1] event */
  8914. #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  8915. #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  8916. #define TIMER_INTENSET_COMPARE1_Disabled (0UL) /*!< Read: Disabled */
  8917. #define TIMER_INTENSET_COMPARE1_Enabled (1UL) /*!< Read: Enabled */
  8918. #define TIMER_INTENSET_COMPARE1_Set (1UL) /*!< Enable */
  8919. /* Bit 16 : Write '1' to Enable interrupt for COMPARE[0] event */
  8920. #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  8921. #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  8922. #define TIMER_INTENSET_COMPARE0_Disabled (0UL) /*!< Read: Disabled */
  8923. #define TIMER_INTENSET_COMPARE0_Enabled (1UL) /*!< Read: Enabled */
  8924. #define TIMER_INTENSET_COMPARE0_Set (1UL) /*!< Enable */
  8925. /* Register: TIMER_INTENCLR */
  8926. /* Description: Disable interrupt */
  8927. /* Bit 21 : Write '1' to Disable interrupt for COMPARE[5] event */
  8928. #define TIMER_INTENCLR_COMPARE5_Pos (21UL) /*!< Position of COMPARE5 field. */
  8929. #define TIMER_INTENCLR_COMPARE5_Msk (0x1UL << TIMER_INTENCLR_COMPARE5_Pos) /*!< Bit mask of COMPARE5 field. */
  8930. #define TIMER_INTENCLR_COMPARE5_Disabled (0UL) /*!< Read: Disabled */
  8931. #define TIMER_INTENCLR_COMPARE5_Enabled (1UL) /*!< Read: Enabled */
  8932. #define TIMER_INTENCLR_COMPARE5_Clear (1UL) /*!< Disable */
  8933. /* Bit 20 : Write '1' to Disable interrupt for COMPARE[4] event */
  8934. #define TIMER_INTENCLR_COMPARE4_Pos (20UL) /*!< Position of COMPARE4 field. */
  8935. #define TIMER_INTENCLR_COMPARE4_Msk (0x1UL << TIMER_INTENCLR_COMPARE4_Pos) /*!< Bit mask of COMPARE4 field. */
  8936. #define TIMER_INTENCLR_COMPARE4_Disabled (0UL) /*!< Read: Disabled */
  8937. #define TIMER_INTENCLR_COMPARE4_Enabled (1UL) /*!< Read: Enabled */
  8938. #define TIMER_INTENCLR_COMPARE4_Clear (1UL) /*!< Disable */
  8939. /* Bit 19 : Write '1' to Disable interrupt for COMPARE[3] event */
  8940. #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  8941. #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  8942. #define TIMER_INTENCLR_COMPARE3_Disabled (0UL) /*!< Read: Disabled */
  8943. #define TIMER_INTENCLR_COMPARE3_Enabled (1UL) /*!< Read: Enabled */
  8944. #define TIMER_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable */
  8945. /* Bit 18 : Write '1' to Disable interrupt for COMPARE[2] event */
  8946. #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  8947. #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  8948. #define TIMER_INTENCLR_COMPARE2_Disabled (0UL) /*!< Read: Disabled */
  8949. #define TIMER_INTENCLR_COMPARE2_Enabled (1UL) /*!< Read: Enabled */
  8950. #define TIMER_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable */
  8951. /* Bit 17 : Write '1' to Disable interrupt for COMPARE[1] event */
  8952. #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  8953. #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  8954. #define TIMER_INTENCLR_COMPARE1_Disabled (0UL) /*!< Read: Disabled */
  8955. #define TIMER_INTENCLR_COMPARE1_Enabled (1UL) /*!< Read: Enabled */
  8956. #define TIMER_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable */
  8957. /* Bit 16 : Write '1' to Disable interrupt for COMPARE[0] event */
  8958. #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  8959. #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  8960. #define TIMER_INTENCLR_COMPARE0_Disabled (0UL) /*!< Read: Disabled */
  8961. #define TIMER_INTENCLR_COMPARE0_Enabled (1UL) /*!< Read: Enabled */
  8962. #define TIMER_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable */
  8963. /* Register: TIMER_MODE */
  8964. /* Description: Timer mode selection */
  8965. /* Bits 1..0 : Timer mode */
  8966. #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  8967. #define TIMER_MODE_MODE_Msk (0x3UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  8968. #define TIMER_MODE_MODE_Timer (0UL) /*!< Select Timer mode */
  8969. #define TIMER_MODE_MODE_Counter (1UL) /*!< Deprecated enumerator - Select Counter mode */
  8970. #define TIMER_MODE_MODE_LowPowerCounter (2UL) /*!< Select Low Power Counter mode */
  8971. /* Register: TIMER_BITMODE */
  8972. /* Description: Configure the number of bits used by the TIMER */
  8973. /* Bits 1..0 : Timer bit width */
  8974. #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */
  8975. #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */
  8976. #define TIMER_BITMODE_BITMODE_16Bit (0UL) /*!< 16 bit timer bit width */
  8977. #define TIMER_BITMODE_BITMODE_08Bit (1UL) /*!< 8 bit timer bit width */
  8978. #define TIMER_BITMODE_BITMODE_24Bit (2UL) /*!< 24 bit timer bit width */
  8979. #define TIMER_BITMODE_BITMODE_32Bit (3UL) /*!< 32 bit timer bit width */
  8980. /* Register: TIMER_PRESCALER */
  8981. /* Description: Timer prescaler register */
  8982. /* Bits 3..0 : Prescaler value */
  8983. #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  8984. #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  8985. /* Register: TIMER_CC */
  8986. /* Description: Description collection[0]: Capture/Compare register 0 */
  8987. /* Bits 31..0 : Capture/Compare value */
  8988. #define TIMER_CC_CC_Pos (0UL) /*!< Position of CC field. */
  8989. #define TIMER_CC_CC_Msk (0xFFFFFFFFUL << TIMER_CC_CC_Pos) /*!< Bit mask of CC field. */
  8990. /* Peripheral: TWI */
  8991. /* Description: I2C compatible Two-Wire Interface 0 */
  8992. /* Register: TWI_SHORTS */
  8993. /* Description: Shortcut register */
  8994. /* Bit 1 : Shortcut between BB event and STOP task */
  8995. #define TWI_SHORTS_BB_STOP_Pos (1UL) /*!< Position of BB_STOP field. */
  8996. #define TWI_SHORTS_BB_STOP_Msk (0x1UL << TWI_SHORTS_BB_STOP_Pos) /*!< Bit mask of BB_STOP field. */
  8997. #define TWI_SHORTS_BB_STOP_Disabled (0UL) /*!< Disable shortcut */
  8998. #define TWI_SHORTS_BB_STOP_Enabled (1UL) /*!< Enable shortcut */
  8999. /* Bit 0 : Shortcut between BB event and SUSPEND task */
  9000. #define TWI_SHORTS_BB_SUSPEND_Pos (0UL) /*!< Position of BB_SUSPEND field. */
  9001. #define TWI_SHORTS_BB_SUSPEND_Msk (0x1UL << TWI_SHORTS_BB_SUSPEND_Pos) /*!< Bit mask of BB_SUSPEND field. */
  9002. #define TWI_SHORTS_BB_SUSPEND_Disabled (0UL) /*!< Disable shortcut */
  9003. #define TWI_SHORTS_BB_SUSPEND_Enabled (1UL) /*!< Enable shortcut */
  9004. /* Register: TWI_INTENSET */
  9005. /* Description: Enable interrupt */
  9006. /* Bit 18 : Write '1' to Enable interrupt for SUSPENDED event */
  9007. #define TWI_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  9008. #define TWI_INTENSET_SUSPENDED_Msk (0x1UL << TWI_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  9009. #define TWI_INTENSET_SUSPENDED_Disabled (0UL) /*!< Read: Disabled */
  9010. #define TWI_INTENSET_SUSPENDED_Enabled (1UL) /*!< Read: Enabled */
  9011. #define TWI_INTENSET_SUSPENDED_Set (1UL) /*!< Enable */
  9012. /* Bit 14 : Write '1' to Enable interrupt for BB event */
  9013. #define TWI_INTENSET_BB_Pos (14UL) /*!< Position of BB field. */
  9014. #define TWI_INTENSET_BB_Msk (0x1UL << TWI_INTENSET_BB_Pos) /*!< Bit mask of BB field. */
  9015. #define TWI_INTENSET_BB_Disabled (0UL) /*!< Read: Disabled */
  9016. #define TWI_INTENSET_BB_Enabled (1UL) /*!< Read: Enabled */
  9017. #define TWI_INTENSET_BB_Set (1UL) /*!< Enable */
  9018. /* Bit 9 : Write '1' to Enable interrupt for ERROR event */
  9019. #define TWI_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9020. #define TWI_INTENSET_ERROR_Msk (0x1UL << TWI_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9021. #define TWI_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9022. #define TWI_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9023. #define TWI_INTENSET_ERROR_Set (1UL) /*!< Enable */
  9024. /* Bit 7 : Write '1' to Enable interrupt for TXDSENT event */
  9025. #define TWI_INTENSET_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
  9026. #define TWI_INTENSET_TXDSENT_Msk (0x1UL << TWI_INTENSET_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
  9027. #define TWI_INTENSET_TXDSENT_Disabled (0UL) /*!< Read: Disabled */
  9028. #define TWI_INTENSET_TXDSENT_Enabled (1UL) /*!< Read: Enabled */
  9029. #define TWI_INTENSET_TXDSENT_Set (1UL) /*!< Enable */
  9030. /* Bit 2 : Write '1' to Enable interrupt for RXDREADY event */
  9031. #define TWI_INTENSET_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
  9032. #define TWI_INTENSET_RXDREADY_Msk (0x1UL << TWI_INTENSET_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
  9033. #define TWI_INTENSET_RXDREADY_Disabled (0UL) /*!< Read: Disabled */
  9034. #define TWI_INTENSET_RXDREADY_Enabled (1UL) /*!< Read: Enabled */
  9035. #define TWI_INTENSET_RXDREADY_Set (1UL) /*!< Enable */
  9036. /* Bit 1 : Write '1' to Enable interrupt for STOPPED event */
  9037. #define TWI_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9038. #define TWI_INTENSET_STOPPED_Msk (0x1UL << TWI_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9039. #define TWI_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  9040. #define TWI_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  9041. #define TWI_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  9042. /* Register: TWI_INTENCLR */
  9043. /* Description: Disable interrupt */
  9044. /* Bit 18 : Write '1' to Disable interrupt for SUSPENDED event */
  9045. #define TWI_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  9046. #define TWI_INTENCLR_SUSPENDED_Msk (0x1UL << TWI_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  9047. #define TWI_INTENCLR_SUSPENDED_Disabled (0UL) /*!< Read: Disabled */
  9048. #define TWI_INTENCLR_SUSPENDED_Enabled (1UL) /*!< Read: Enabled */
  9049. #define TWI_INTENCLR_SUSPENDED_Clear (1UL) /*!< Disable */
  9050. /* Bit 14 : Write '1' to Disable interrupt for BB event */
  9051. #define TWI_INTENCLR_BB_Pos (14UL) /*!< Position of BB field. */
  9052. #define TWI_INTENCLR_BB_Msk (0x1UL << TWI_INTENCLR_BB_Pos) /*!< Bit mask of BB field. */
  9053. #define TWI_INTENCLR_BB_Disabled (0UL) /*!< Read: Disabled */
  9054. #define TWI_INTENCLR_BB_Enabled (1UL) /*!< Read: Enabled */
  9055. #define TWI_INTENCLR_BB_Clear (1UL) /*!< Disable */
  9056. /* Bit 9 : Write '1' to Disable interrupt for ERROR event */
  9057. #define TWI_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9058. #define TWI_INTENCLR_ERROR_Msk (0x1UL << TWI_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9059. #define TWI_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9060. #define TWI_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9061. #define TWI_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  9062. /* Bit 7 : Write '1' to Disable interrupt for TXDSENT event */
  9063. #define TWI_INTENCLR_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
  9064. #define TWI_INTENCLR_TXDSENT_Msk (0x1UL << TWI_INTENCLR_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
  9065. #define TWI_INTENCLR_TXDSENT_Disabled (0UL) /*!< Read: Disabled */
  9066. #define TWI_INTENCLR_TXDSENT_Enabled (1UL) /*!< Read: Enabled */
  9067. #define TWI_INTENCLR_TXDSENT_Clear (1UL) /*!< Disable */
  9068. /* Bit 2 : Write '1' to Disable interrupt for RXDREADY event */
  9069. #define TWI_INTENCLR_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
  9070. #define TWI_INTENCLR_RXDREADY_Msk (0x1UL << TWI_INTENCLR_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
  9071. #define TWI_INTENCLR_RXDREADY_Disabled (0UL) /*!< Read: Disabled */
  9072. #define TWI_INTENCLR_RXDREADY_Enabled (1UL) /*!< Read: Enabled */
  9073. #define TWI_INTENCLR_RXDREADY_Clear (1UL) /*!< Disable */
  9074. /* Bit 1 : Write '1' to Disable interrupt for STOPPED event */
  9075. #define TWI_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9076. #define TWI_INTENCLR_STOPPED_Msk (0x1UL << TWI_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9077. #define TWI_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  9078. #define TWI_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  9079. #define TWI_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  9080. /* Register: TWI_ERRORSRC */
  9081. /* Description: Error source */
  9082. /* Bit 2 : NACK received after sending a data byte (write '1' to clear) */
  9083. #define TWI_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */
  9084. #define TWI_ERRORSRC_DNACK_Msk (0x1UL << TWI_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */
  9085. #define TWI_ERRORSRC_DNACK_NotPresent (0UL) /*!< Read: error not present */
  9086. #define TWI_ERRORSRC_DNACK_Present (1UL) /*!< Read: error present */
  9087. #define TWI_ERRORSRC_DNACK_Clear (1UL) /*!< Write: clear error on writing '1' */
  9088. /* Bit 1 : NACK received after sending the address (write '1' to clear) */
  9089. #define TWI_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */
  9090. #define TWI_ERRORSRC_ANACK_Msk (0x1UL << TWI_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */
  9091. #define TWI_ERRORSRC_ANACK_NotPresent (0UL) /*!< Read: error not present */
  9092. #define TWI_ERRORSRC_ANACK_Present (1UL) /*!< Read: error present */
  9093. #define TWI_ERRORSRC_ANACK_Clear (1UL) /*!< Write: clear error on writing '1' */
  9094. /* Bit 0 : Overrun error */
  9095. #define TWI_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  9096. #define TWI_ERRORSRC_OVERRUN_Msk (0x1UL << TWI_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  9097. #define TWI_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Read: no overrun occured */
  9098. #define TWI_ERRORSRC_OVERRUN_Present (1UL) /*!< Read: overrun occured */
  9099. #define TWI_ERRORSRC_OVERRUN_Clear (1UL) /*!< Write: clear error on writing '1' */
  9100. /* Register: TWI_ENABLE */
  9101. /* Description: Enable TWI */
  9102. /* Bits 3..0 : Enable or disable TWI */
  9103. #define TWI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  9104. #define TWI_ENABLE_ENABLE_Msk (0xFUL << TWI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  9105. #define TWI_ENABLE_ENABLE_Disabled (0UL) /*!< Disable TWI */
  9106. #define TWI_ENABLE_ENABLE_Enabled (5UL) /*!< Enable TWI */
  9107. /* Register: TWI_PSELSCL */
  9108. /* Description: Pin select for SCL */
  9109. /* Bits 31..0 : Pin number configuration for TWI SCL signal */
  9110. #define TWI_PSELSCL_PSELSCL_Pos (0UL) /*!< Position of PSELSCL field. */
  9111. #define TWI_PSELSCL_PSELSCL_Msk (0xFFFFFFFFUL << TWI_PSELSCL_PSELSCL_Pos) /*!< Bit mask of PSELSCL field. */
  9112. #define TWI_PSELSCL_PSELSCL_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  9113. /* Register: TWI_PSELSDA */
  9114. /* Description: Pin select for SDA */
  9115. /* Bits 31..0 : Pin number configuration for TWI SDA signal */
  9116. #define TWI_PSELSDA_PSELSDA_Pos (0UL) /*!< Position of PSELSDA field. */
  9117. #define TWI_PSELSDA_PSELSDA_Msk (0xFFFFFFFFUL << TWI_PSELSDA_PSELSDA_Pos) /*!< Bit mask of PSELSDA field. */
  9118. #define TWI_PSELSDA_PSELSDA_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  9119. /* Register: TWI_RXD */
  9120. /* Description: RXD register */
  9121. /* Bits 7..0 : RXD register */
  9122. #define TWI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  9123. #define TWI_RXD_RXD_Msk (0xFFUL << TWI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  9124. /* Register: TWI_TXD */
  9125. /* Description: TXD register */
  9126. /* Bits 7..0 : TXD register */
  9127. #define TWI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  9128. #define TWI_TXD_TXD_Msk (0xFFUL << TWI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  9129. /* Register: TWI_FREQUENCY */
  9130. /* Description: TWI frequency */
  9131. /* Bits 31..0 : TWI master clock frequency */
  9132. #define TWI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  9133. #define TWI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  9134. #define TWI_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps */
  9135. #define TWI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps */
  9136. #define TWI_FREQUENCY_FREQUENCY_K400 (0x06680000UL) /*!< 400 kbps (actual rate 410.256 kbps) */
  9137. /* Register: TWI_ADDRESS */
  9138. /* Description: Address used in the TWI transfer */
  9139. /* Bits 6..0 : Address used in the TWI transfer */
  9140. #define TWI_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */
  9141. #define TWI_ADDRESS_ADDRESS_Msk (0x7FUL << TWI_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  9142. /* Peripheral: TWIM */
  9143. /* Description: I2C compatible Two-Wire Master Interface with EasyDMA 0 */
  9144. /* Register: TWIM_SHORTS */
  9145. /* Description: Shortcut register */
  9146. /* Bit 12 : Shortcut between LASTRX event and STOP task */
  9147. #define TWIM_SHORTS_LASTRX_STOP_Pos (12UL) /*!< Position of LASTRX_STOP field. */
  9148. #define TWIM_SHORTS_LASTRX_STOP_Msk (0x1UL << TWIM_SHORTS_LASTRX_STOP_Pos) /*!< Bit mask of LASTRX_STOP field. */
  9149. #define TWIM_SHORTS_LASTRX_STOP_Disabled (0UL) /*!< Disable shortcut */
  9150. #define TWIM_SHORTS_LASTRX_STOP_Enabled (1UL) /*!< Enable shortcut */
  9151. /* Bit 10 : Shortcut between LASTRX event and STARTTX task */
  9152. #define TWIM_SHORTS_LASTRX_STARTTX_Pos (10UL) /*!< Position of LASTRX_STARTTX field. */
  9153. #define TWIM_SHORTS_LASTRX_STARTTX_Msk (0x1UL << TWIM_SHORTS_LASTRX_STARTTX_Pos) /*!< Bit mask of LASTRX_STARTTX field. */
  9154. #define TWIM_SHORTS_LASTRX_STARTTX_Disabled (0UL) /*!< Disable shortcut */
  9155. #define TWIM_SHORTS_LASTRX_STARTTX_Enabled (1UL) /*!< Enable shortcut */
  9156. /* Bit 9 : Shortcut between LASTTX event and STOP task */
  9157. #define TWIM_SHORTS_LASTTX_STOP_Pos (9UL) /*!< Position of LASTTX_STOP field. */
  9158. #define TWIM_SHORTS_LASTTX_STOP_Msk (0x1UL << TWIM_SHORTS_LASTTX_STOP_Pos) /*!< Bit mask of LASTTX_STOP field. */
  9159. #define TWIM_SHORTS_LASTTX_STOP_Disabled (0UL) /*!< Disable shortcut */
  9160. #define TWIM_SHORTS_LASTTX_STOP_Enabled (1UL) /*!< Enable shortcut */
  9161. /* Bit 8 : Shortcut between LASTTX event and SUSPEND task */
  9162. #define TWIM_SHORTS_LASTTX_SUSPEND_Pos (8UL) /*!< Position of LASTTX_SUSPEND field. */
  9163. #define TWIM_SHORTS_LASTTX_SUSPEND_Msk (0x1UL << TWIM_SHORTS_LASTTX_SUSPEND_Pos) /*!< Bit mask of LASTTX_SUSPEND field. */
  9164. #define TWIM_SHORTS_LASTTX_SUSPEND_Disabled (0UL) /*!< Disable shortcut */
  9165. #define TWIM_SHORTS_LASTTX_SUSPEND_Enabled (1UL) /*!< Enable shortcut */
  9166. /* Bit 7 : Shortcut between LASTTX event and STARTRX task */
  9167. #define TWIM_SHORTS_LASTTX_STARTRX_Pos (7UL) /*!< Position of LASTTX_STARTRX field. */
  9168. #define TWIM_SHORTS_LASTTX_STARTRX_Msk (0x1UL << TWIM_SHORTS_LASTTX_STARTRX_Pos) /*!< Bit mask of LASTTX_STARTRX field. */
  9169. #define TWIM_SHORTS_LASTTX_STARTRX_Disabled (0UL) /*!< Disable shortcut */
  9170. #define TWIM_SHORTS_LASTTX_STARTRX_Enabled (1UL) /*!< Enable shortcut */
  9171. /* Register: TWIM_INTEN */
  9172. /* Description: Enable or disable interrupt */
  9173. /* Bit 24 : Enable or disable interrupt for LASTTX event */
  9174. #define TWIM_INTEN_LASTTX_Pos (24UL) /*!< Position of LASTTX field. */
  9175. #define TWIM_INTEN_LASTTX_Msk (0x1UL << TWIM_INTEN_LASTTX_Pos) /*!< Bit mask of LASTTX field. */
  9176. #define TWIM_INTEN_LASTTX_Disabled (0UL) /*!< Disable */
  9177. #define TWIM_INTEN_LASTTX_Enabled (1UL) /*!< Enable */
  9178. /* Bit 23 : Enable or disable interrupt for LASTRX event */
  9179. #define TWIM_INTEN_LASTRX_Pos (23UL) /*!< Position of LASTRX field. */
  9180. #define TWIM_INTEN_LASTRX_Msk (0x1UL << TWIM_INTEN_LASTRX_Pos) /*!< Bit mask of LASTRX field. */
  9181. #define TWIM_INTEN_LASTRX_Disabled (0UL) /*!< Disable */
  9182. #define TWIM_INTEN_LASTRX_Enabled (1UL) /*!< Enable */
  9183. /* Bit 20 : Enable or disable interrupt for TXSTARTED event */
  9184. #define TWIM_INTEN_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9185. #define TWIM_INTEN_TXSTARTED_Msk (0x1UL << TWIM_INTEN_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9186. #define TWIM_INTEN_TXSTARTED_Disabled (0UL) /*!< Disable */
  9187. #define TWIM_INTEN_TXSTARTED_Enabled (1UL) /*!< Enable */
  9188. /* Bit 19 : Enable or disable interrupt for RXSTARTED event */
  9189. #define TWIM_INTEN_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9190. #define TWIM_INTEN_RXSTARTED_Msk (0x1UL << TWIM_INTEN_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9191. #define TWIM_INTEN_RXSTARTED_Disabled (0UL) /*!< Disable */
  9192. #define TWIM_INTEN_RXSTARTED_Enabled (1UL) /*!< Enable */
  9193. /* Bit 18 : Enable or disable interrupt for SUSPENDED event */
  9194. #define TWIM_INTEN_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  9195. #define TWIM_INTEN_SUSPENDED_Msk (0x1UL << TWIM_INTEN_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  9196. #define TWIM_INTEN_SUSPENDED_Disabled (0UL) /*!< Disable */
  9197. #define TWIM_INTEN_SUSPENDED_Enabled (1UL) /*!< Enable */
  9198. /* Bit 9 : Enable or disable interrupt for ERROR event */
  9199. #define TWIM_INTEN_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9200. #define TWIM_INTEN_ERROR_Msk (0x1UL << TWIM_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9201. #define TWIM_INTEN_ERROR_Disabled (0UL) /*!< Disable */
  9202. #define TWIM_INTEN_ERROR_Enabled (1UL) /*!< Enable */
  9203. /* Bit 1 : Enable or disable interrupt for STOPPED event */
  9204. #define TWIM_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9205. #define TWIM_INTEN_STOPPED_Msk (0x1UL << TWIM_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9206. #define TWIM_INTEN_STOPPED_Disabled (0UL) /*!< Disable */
  9207. #define TWIM_INTEN_STOPPED_Enabled (1UL) /*!< Enable */
  9208. /* Register: TWIM_INTENSET */
  9209. /* Description: Enable interrupt */
  9210. /* Bit 24 : Write '1' to Enable interrupt for LASTTX event */
  9211. #define TWIM_INTENSET_LASTTX_Pos (24UL) /*!< Position of LASTTX field. */
  9212. #define TWIM_INTENSET_LASTTX_Msk (0x1UL << TWIM_INTENSET_LASTTX_Pos) /*!< Bit mask of LASTTX field. */
  9213. #define TWIM_INTENSET_LASTTX_Disabled (0UL) /*!< Read: Disabled */
  9214. #define TWIM_INTENSET_LASTTX_Enabled (1UL) /*!< Read: Enabled */
  9215. #define TWIM_INTENSET_LASTTX_Set (1UL) /*!< Enable */
  9216. /* Bit 23 : Write '1' to Enable interrupt for LASTRX event */
  9217. #define TWIM_INTENSET_LASTRX_Pos (23UL) /*!< Position of LASTRX field. */
  9218. #define TWIM_INTENSET_LASTRX_Msk (0x1UL << TWIM_INTENSET_LASTRX_Pos) /*!< Bit mask of LASTRX field. */
  9219. #define TWIM_INTENSET_LASTRX_Disabled (0UL) /*!< Read: Disabled */
  9220. #define TWIM_INTENSET_LASTRX_Enabled (1UL) /*!< Read: Enabled */
  9221. #define TWIM_INTENSET_LASTRX_Set (1UL) /*!< Enable */
  9222. /* Bit 20 : Write '1' to Enable interrupt for TXSTARTED event */
  9223. #define TWIM_INTENSET_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9224. #define TWIM_INTENSET_TXSTARTED_Msk (0x1UL << TWIM_INTENSET_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9225. #define TWIM_INTENSET_TXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9226. #define TWIM_INTENSET_TXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9227. #define TWIM_INTENSET_TXSTARTED_Set (1UL) /*!< Enable */
  9228. /* Bit 19 : Write '1' to Enable interrupt for RXSTARTED event */
  9229. #define TWIM_INTENSET_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9230. #define TWIM_INTENSET_RXSTARTED_Msk (0x1UL << TWIM_INTENSET_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9231. #define TWIM_INTENSET_RXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9232. #define TWIM_INTENSET_RXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9233. #define TWIM_INTENSET_RXSTARTED_Set (1UL) /*!< Enable */
  9234. /* Bit 18 : Write '1' to Enable interrupt for SUSPENDED event */
  9235. #define TWIM_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  9236. #define TWIM_INTENSET_SUSPENDED_Msk (0x1UL << TWIM_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  9237. #define TWIM_INTENSET_SUSPENDED_Disabled (0UL) /*!< Read: Disabled */
  9238. #define TWIM_INTENSET_SUSPENDED_Enabled (1UL) /*!< Read: Enabled */
  9239. #define TWIM_INTENSET_SUSPENDED_Set (1UL) /*!< Enable */
  9240. /* Bit 9 : Write '1' to Enable interrupt for ERROR event */
  9241. #define TWIM_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9242. #define TWIM_INTENSET_ERROR_Msk (0x1UL << TWIM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9243. #define TWIM_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9244. #define TWIM_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9245. #define TWIM_INTENSET_ERROR_Set (1UL) /*!< Enable */
  9246. /* Bit 1 : Write '1' to Enable interrupt for STOPPED event */
  9247. #define TWIM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9248. #define TWIM_INTENSET_STOPPED_Msk (0x1UL << TWIM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9249. #define TWIM_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  9250. #define TWIM_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  9251. #define TWIM_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  9252. /* Register: TWIM_INTENCLR */
  9253. /* Description: Disable interrupt */
  9254. /* Bit 24 : Write '1' to Disable interrupt for LASTTX event */
  9255. #define TWIM_INTENCLR_LASTTX_Pos (24UL) /*!< Position of LASTTX field. */
  9256. #define TWIM_INTENCLR_LASTTX_Msk (0x1UL << TWIM_INTENCLR_LASTTX_Pos) /*!< Bit mask of LASTTX field. */
  9257. #define TWIM_INTENCLR_LASTTX_Disabled (0UL) /*!< Read: Disabled */
  9258. #define TWIM_INTENCLR_LASTTX_Enabled (1UL) /*!< Read: Enabled */
  9259. #define TWIM_INTENCLR_LASTTX_Clear (1UL) /*!< Disable */
  9260. /* Bit 23 : Write '1' to Disable interrupt for LASTRX event */
  9261. #define TWIM_INTENCLR_LASTRX_Pos (23UL) /*!< Position of LASTRX field. */
  9262. #define TWIM_INTENCLR_LASTRX_Msk (0x1UL << TWIM_INTENCLR_LASTRX_Pos) /*!< Bit mask of LASTRX field. */
  9263. #define TWIM_INTENCLR_LASTRX_Disabled (0UL) /*!< Read: Disabled */
  9264. #define TWIM_INTENCLR_LASTRX_Enabled (1UL) /*!< Read: Enabled */
  9265. #define TWIM_INTENCLR_LASTRX_Clear (1UL) /*!< Disable */
  9266. /* Bit 20 : Write '1' to Disable interrupt for TXSTARTED event */
  9267. #define TWIM_INTENCLR_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9268. #define TWIM_INTENCLR_TXSTARTED_Msk (0x1UL << TWIM_INTENCLR_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9269. #define TWIM_INTENCLR_TXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9270. #define TWIM_INTENCLR_TXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9271. #define TWIM_INTENCLR_TXSTARTED_Clear (1UL) /*!< Disable */
  9272. /* Bit 19 : Write '1' to Disable interrupt for RXSTARTED event */
  9273. #define TWIM_INTENCLR_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9274. #define TWIM_INTENCLR_RXSTARTED_Msk (0x1UL << TWIM_INTENCLR_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9275. #define TWIM_INTENCLR_RXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9276. #define TWIM_INTENCLR_RXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9277. #define TWIM_INTENCLR_RXSTARTED_Clear (1UL) /*!< Disable */
  9278. /* Bit 18 : Write '1' to Disable interrupt for SUSPENDED event */
  9279. #define TWIM_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  9280. #define TWIM_INTENCLR_SUSPENDED_Msk (0x1UL << TWIM_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  9281. #define TWIM_INTENCLR_SUSPENDED_Disabled (0UL) /*!< Read: Disabled */
  9282. #define TWIM_INTENCLR_SUSPENDED_Enabled (1UL) /*!< Read: Enabled */
  9283. #define TWIM_INTENCLR_SUSPENDED_Clear (1UL) /*!< Disable */
  9284. /* Bit 9 : Write '1' to Disable interrupt for ERROR event */
  9285. #define TWIM_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9286. #define TWIM_INTENCLR_ERROR_Msk (0x1UL << TWIM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9287. #define TWIM_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9288. #define TWIM_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9289. #define TWIM_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  9290. /* Bit 1 : Write '1' to Disable interrupt for STOPPED event */
  9291. #define TWIM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9292. #define TWIM_INTENCLR_STOPPED_Msk (0x1UL << TWIM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9293. #define TWIM_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  9294. #define TWIM_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  9295. #define TWIM_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  9296. /* Register: TWIM_ERRORSRC */
  9297. /* Description: Error source */
  9298. /* Bit 2 : NACK received after sending a data byte (write '1' to clear) */
  9299. #define TWIM_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */
  9300. #define TWIM_ERRORSRC_DNACK_Msk (0x1UL << TWIM_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */
  9301. #define TWIM_ERRORSRC_DNACK_NotReceived (0UL) /*!< Error did not occur */
  9302. #define TWIM_ERRORSRC_DNACK_Received (1UL) /*!< Error occurred */
  9303. /* Bit 1 : NACK received after sending the address (write '1' to clear) */
  9304. #define TWIM_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */
  9305. #define TWIM_ERRORSRC_ANACK_Msk (0x1UL << TWIM_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */
  9306. #define TWIM_ERRORSRC_ANACK_NotReceived (0UL) /*!< Error did not occur */
  9307. #define TWIM_ERRORSRC_ANACK_Received (1UL) /*!< Error occurred */
  9308. /* Bit 0 : Overrun error */
  9309. #define TWIM_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  9310. #define TWIM_ERRORSRC_OVERRUN_Msk (0x1UL << TWIM_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  9311. #define TWIM_ERRORSRC_OVERRUN_NotReceived (0UL) /*!< Error did not occur */
  9312. #define TWIM_ERRORSRC_OVERRUN_Received (1UL) /*!< Error occurred */
  9313. /* Register: TWIM_ENABLE */
  9314. /* Description: Enable TWIM */
  9315. /* Bits 3..0 : Enable or disable TWIM */
  9316. #define TWIM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  9317. #define TWIM_ENABLE_ENABLE_Msk (0xFUL << TWIM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  9318. #define TWIM_ENABLE_ENABLE_Disabled (0UL) /*!< Disable TWIM */
  9319. #define TWIM_ENABLE_ENABLE_Enabled (6UL) /*!< Enable TWIM */
  9320. /* Register: TWIM_PSEL_SCL */
  9321. /* Description: Pin select for SCL signal */
  9322. /* Bit 31 : Connection */
  9323. #define TWIM_PSEL_SCL_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  9324. #define TWIM_PSEL_SCL_CONNECT_Msk (0x1UL << TWIM_PSEL_SCL_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  9325. #define TWIM_PSEL_SCL_CONNECT_Connected (0UL) /*!< Connect */
  9326. #define TWIM_PSEL_SCL_CONNECT_Disconnected (1UL) /*!< Disconnect */
  9327. /* Bits 4..0 : Pin number */
  9328. #define TWIM_PSEL_SCL_PIN_Pos (0UL) /*!< Position of PIN field. */
  9329. #define TWIM_PSEL_SCL_PIN_Msk (0x1FUL << TWIM_PSEL_SCL_PIN_Pos) /*!< Bit mask of PIN field. */
  9330. /* Register: TWIM_PSEL_SDA */
  9331. /* Description: Pin select for SDA signal */
  9332. /* Bit 31 : Connection */
  9333. #define TWIM_PSEL_SDA_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  9334. #define TWIM_PSEL_SDA_CONNECT_Msk (0x1UL << TWIM_PSEL_SDA_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  9335. #define TWIM_PSEL_SDA_CONNECT_Connected (0UL) /*!< Connect */
  9336. #define TWIM_PSEL_SDA_CONNECT_Disconnected (1UL) /*!< Disconnect */
  9337. /* Bits 4..0 : Pin number */
  9338. #define TWIM_PSEL_SDA_PIN_Pos (0UL) /*!< Position of PIN field. */
  9339. #define TWIM_PSEL_SDA_PIN_Msk (0x1FUL << TWIM_PSEL_SDA_PIN_Pos) /*!< Bit mask of PIN field. */
  9340. /* Register: TWIM_FREQUENCY */
  9341. /* Description: TWI frequency */
  9342. /* Bits 31..0 : TWI master clock frequency */
  9343. #define TWIM_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  9344. #define TWIM_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWIM_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  9345. #define TWIM_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps */
  9346. #define TWIM_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps */
  9347. #define TWIM_FREQUENCY_FREQUENCY_K400 (0x06400000UL) /*!< 400 kbps */
  9348. /* Register: TWIM_RXD_PTR */
  9349. /* Description: Data pointer */
  9350. /* Bits 31..0 : Data pointer */
  9351. #define TWIM_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  9352. #define TWIM_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIM_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  9353. /* Register: TWIM_RXD_MAXCNT */
  9354. /* Description: Maximum number of bytes in receive buffer */
  9355. /* Bits 7..0 : Maximum number of bytes in receive buffer */
  9356. #define TWIM_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  9357. #define TWIM_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << TWIM_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  9358. /* Register: TWIM_RXD_AMOUNT */
  9359. /* Description: Number of bytes transferred in the last transaction */
  9360. /* Bits 7..0 : Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. */
  9361. #define TWIM_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  9362. #define TWIM_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << TWIM_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  9363. /* Register: TWIM_RXD_LIST */
  9364. /* Description: EasyDMA list type */
  9365. /* Bits 2..0 : List type */
  9366. #define TWIM_RXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */
  9367. #define TWIM_RXD_LIST_LIST_Msk (0x7UL << TWIM_RXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */
  9368. #define TWIM_RXD_LIST_LIST_Disabled (0UL) /*!< Disable EasyDMA list */
  9369. #define TWIM_RXD_LIST_LIST_ArrayList (1UL) /*!< Use array list */
  9370. /* Register: TWIM_TXD_PTR */
  9371. /* Description: Data pointer */
  9372. /* Bits 31..0 : Data pointer */
  9373. #define TWIM_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  9374. #define TWIM_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIM_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  9375. /* Register: TWIM_TXD_MAXCNT */
  9376. /* Description: Maximum number of bytes in transmit buffer */
  9377. /* Bits 7..0 : Maximum number of bytes in transmit buffer */
  9378. #define TWIM_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  9379. #define TWIM_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << TWIM_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  9380. /* Register: TWIM_TXD_AMOUNT */
  9381. /* Description: Number of bytes transferred in the last transaction */
  9382. /* Bits 7..0 : Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. */
  9383. #define TWIM_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  9384. #define TWIM_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << TWIM_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  9385. /* Register: TWIM_TXD_LIST */
  9386. /* Description: EasyDMA list type */
  9387. /* Bits 2..0 : List type */
  9388. #define TWIM_TXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */
  9389. #define TWIM_TXD_LIST_LIST_Msk (0x7UL << TWIM_TXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */
  9390. #define TWIM_TXD_LIST_LIST_Disabled (0UL) /*!< Disable EasyDMA list */
  9391. #define TWIM_TXD_LIST_LIST_ArrayList (1UL) /*!< Use array list */
  9392. /* Register: TWIM_ADDRESS */
  9393. /* Description: Address used in the TWI transfer */
  9394. /* Bits 6..0 : Address used in the TWI transfer */
  9395. #define TWIM_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */
  9396. #define TWIM_ADDRESS_ADDRESS_Msk (0x7FUL << TWIM_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  9397. /* Peripheral: TWIS */
  9398. /* Description: I2C compatible Two-Wire Slave Interface with EasyDMA 0 */
  9399. /* Register: TWIS_SHORTS */
  9400. /* Description: Shortcut register */
  9401. /* Bit 14 : Shortcut between READ event and SUSPEND task */
  9402. #define TWIS_SHORTS_READ_SUSPEND_Pos (14UL) /*!< Position of READ_SUSPEND field. */
  9403. #define TWIS_SHORTS_READ_SUSPEND_Msk (0x1UL << TWIS_SHORTS_READ_SUSPEND_Pos) /*!< Bit mask of READ_SUSPEND field. */
  9404. #define TWIS_SHORTS_READ_SUSPEND_Disabled (0UL) /*!< Disable shortcut */
  9405. #define TWIS_SHORTS_READ_SUSPEND_Enabled (1UL) /*!< Enable shortcut */
  9406. /* Bit 13 : Shortcut between WRITE event and SUSPEND task */
  9407. #define TWIS_SHORTS_WRITE_SUSPEND_Pos (13UL) /*!< Position of WRITE_SUSPEND field. */
  9408. #define TWIS_SHORTS_WRITE_SUSPEND_Msk (0x1UL << TWIS_SHORTS_WRITE_SUSPEND_Pos) /*!< Bit mask of WRITE_SUSPEND field. */
  9409. #define TWIS_SHORTS_WRITE_SUSPEND_Disabled (0UL) /*!< Disable shortcut */
  9410. #define TWIS_SHORTS_WRITE_SUSPEND_Enabled (1UL) /*!< Enable shortcut */
  9411. /* Register: TWIS_INTEN */
  9412. /* Description: Enable or disable interrupt */
  9413. /* Bit 26 : Enable or disable interrupt for READ event */
  9414. #define TWIS_INTEN_READ_Pos (26UL) /*!< Position of READ field. */
  9415. #define TWIS_INTEN_READ_Msk (0x1UL << TWIS_INTEN_READ_Pos) /*!< Bit mask of READ field. */
  9416. #define TWIS_INTEN_READ_Disabled (0UL) /*!< Disable */
  9417. #define TWIS_INTEN_READ_Enabled (1UL) /*!< Enable */
  9418. /* Bit 25 : Enable or disable interrupt for WRITE event */
  9419. #define TWIS_INTEN_WRITE_Pos (25UL) /*!< Position of WRITE field. */
  9420. #define TWIS_INTEN_WRITE_Msk (0x1UL << TWIS_INTEN_WRITE_Pos) /*!< Bit mask of WRITE field. */
  9421. #define TWIS_INTEN_WRITE_Disabled (0UL) /*!< Disable */
  9422. #define TWIS_INTEN_WRITE_Enabled (1UL) /*!< Enable */
  9423. /* Bit 20 : Enable or disable interrupt for TXSTARTED event */
  9424. #define TWIS_INTEN_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9425. #define TWIS_INTEN_TXSTARTED_Msk (0x1UL << TWIS_INTEN_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9426. #define TWIS_INTEN_TXSTARTED_Disabled (0UL) /*!< Disable */
  9427. #define TWIS_INTEN_TXSTARTED_Enabled (1UL) /*!< Enable */
  9428. /* Bit 19 : Enable or disable interrupt for RXSTARTED event */
  9429. #define TWIS_INTEN_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9430. #define TWIS_INTEN_RXSTARTED_Msk (0x1UL << TWIS_INTEN_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9431. #define TWIS_INTEN_RXSTARTED_Disabled (0UL) /*!< Disable */
  9432. #define TWIS_INTEN_RXSTARTED_Enabled (1UL) /*!< Enable */
  9433. /* Bit 9 : Enable or disable interrupt for ERROR event */
  9434. #define TWIS_INTEN_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9435. #define TWIS_INTEN_ERROR_Msk (0x1UL << TWIS_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9436. #define TWIS_INTEN_ERROR_Disabled (0UL) /*!< Disable */
  9437. #define TWIS_INTEN_ERROR_Enabled (1UL) /*!< Enable */
  9438. /* Bit 1 : Enable or disable interrupt for STOPPED event */
  9439. #define TWIS_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9440. #define TWIS_INTEN_STOPPED_Msk (0x1UL << TWIS_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9441. #define TWIS_INTEN_STOPPED_Disabled (0UL) /*!< Disable */
  9442. #define TWIS_INTEN_STOPPED_Enabled (1UL) /*!< Enable */
  9443. /* Register: TWIS_INTENSET */
  9444. /* Description: Enable interrupt */
  9445. /* Bit 26 : Write '1' to Enable interrupt for READ event */
  9446. #define TWIS_INTENSET_READ_Pos (26UL) /*!< Position of READ field. */
  9447. #define TWIS_INTENSET_READ_Msk (0x1UL << TWIS_INTENSET_READ_Pos) /*!< Bit mask of READ field. */
  9448. #define TWIS_INTENSET_READ_Disabled (0UL) /*!< Read: Disabled */
  9449. #define TWIS_INTENSET_READ_Enabled (1UL) /*!< Read: Enabled */
  9450. #define TWIS_INTENSET_READ_Set (1UL) /*!< Enable */
  9451. /* Bit 25 : Write '1' to Enable interrupt for WRITE event */
  9452. #define TWIS_INTENSET_WRITE_Pos (25UL) /*!< Position of WRITE field. */
  9453. #define TWIS_INTENSET_WRITE_Msk (0x1UL << TWIS_INTENSET_WRITE_Pos) /*!< Bit mask of WRITE field. */
  9454. #define TWIS_INTENSET_WRITE_Disabled (0UL) /*!< Read: Disabled */
  9455. #define TWIS_INTENSET_WRITE_Enabled (1UL) /*!< Read: Enabled */
  9456. #define TWIS_INTENSET_WRITE_Set (1UL) /*!< Enable */
  9457. /* Bit 20 : Write '1' to Enable interrupt for TXSTARTED event */
  9458. #define TWIS_INTENSET_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9459. #define TWIS_INTENSET_TXSTARTED_Msk (0x1UL << TWIS_INTENSET_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9460. #define TWIS_INTENSET_TXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9461. #define TWIS_INTENSET_TXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9462. #define TWIS_INTENSET_TXSTARTED_Set (1UL) /*!< Enable */
  9463. /* Bit 19 : Write '1' to Enable interrupt for RXSTARTED event */
  9464. #define TWIS_INTENSET_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9465. #define TWIS_INTENSET_RXSTARTED_Msk (0x1UL << TWIS_INTENSET_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9466. #define TWIS_INTENSET_RXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9467. #define TWIS_INTENSET_RXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9468. #define TWIS_INTENSET_RXSTARTED_Set (1UL) /*!< Enable */
  9469. /* Bit 9 : Write '1' to Enable interrupt for ERROR event */
  9470. #define TWIS_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9471. #define TWIS_INTENSET_ERROR_Msk (0x1UL << TWIS_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9472. #define TWIS_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9473. #define TWIS_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9474. #define TWIS_INTENSET_ERROR_Set (1UL) /*!< Enable */
  9475. /* Bit 1 : Write '1' to Enable interrupt for STOPPED event */
  9476. #define TWIS_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9477. #define TWIS_INTENSET_STOPPED_Msk (0x1UL << TWIS_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9478. #define TWIS_INTENSET_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  9479. #define TWIS_INTENSET_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  9480. #define TWIS_INTENSET_STOPPED_Set (1UL) /*!< Enable */
  9481. /* Register: TWIS_INTENCLR */
  9482. /* Description: Disable interrupt */
  9483. /* Bit 26 : Write '1' to Disable interrupt for READ event */
  9484. #define TWIS_INTENCLR_READ_Pos (26UL) /*!< Position of READ field. */
  9485. #define TWIS_INTENCLR_READ_Msk (0x1UL << TWIS_INTENCLR_READ_Pos) /*!< Bit mask of READ field. */
  9486. #define TWIS_INTENCLR_READ_Disabled (0UL) /*!< Read: Disabled */
  9487. #define TWIS_INTENCLR_READ_Enabled (1UL) /*!< Read: Enabled */
  9488. #define TWIS_INTENCLR_READ_Clear (1UL) /*!< Disable */
  9489. /* Bit 25 : Write '1' to Disable interrupt for WRITE event */
  9490. #define TWIS_INTENCLR_WRITE_Pos (25UL) /*!< Position of WRITE field. */
  9491. #define TWIS_INTENCLR_WRITE_Msk (0x1UL << TWIS_INTENCLR_WRITE_Pos) /*!< Bit mask of WRITE field. */
  9492. #define TWIS_INTENCLR_WRITE_Disabled (0UL) /*!< Read: Disabled */
  9493. #define TWIS_INTENCLR_WRITE_Enabled (1UL) /*!< Read: Enabled */
  9494. #define TWIS_INTENCLR_WRITE_Clear (1UL) /*!< Disable */
  9495. /* Bit 20 : Write '1' to Disable interrupt for TXSTARTED event */
  9496. #define TWIS_INTENCLR_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9497. #define TWIS_INTENCLR_TXSTARTED_Msk (0x1UL << TWIS_INTENCLR_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9498. #define TWIS_INTENCLR_TXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9499. #define TWIS_INTENCLR_TXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9500. #define TWIS_INTENCLR_TXSTARTED_Clear (1UL) /*!< Disable */
  9501. /* Bit 19 : Write '1' to Disable interrupt for RXSTARTED event */
  9502. #define TWIS_INTENCLR_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9503. #define TWIS_INTENCLR_RXSTARTED_Msk (0x1UL << TWIS_INTENCLR_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9504. #define TWIS_INTENCLR_RXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9505. #define TWIS_INTENCLR_RXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9506. #define TWIS_INTENCLR_RXSTARTED_Clear (1UL) /*!< Disable */
  9507. /* Bit 9 : Write '1' to Disable interrupt for ERROR event */
  9508. #define TWIS_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9509. #define TWIS_INTENCLR_ERROR_Msk (0x1UL << TWIS_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9510. #define TWIS_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9511. #define TWIS_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9512. #define TWIS_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  9513. /* Bit 1 : Write '1' to Disable interrupt for STOPPED event */
  9514. #define TWIS_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  9515. #define TWIS_INTENCLR_STOPPED_Msk (0x1UL << TWIS_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  9516. #define TWIS_INTENCLR_STOPPED_Disabled (0UL) /*!< Read: Disabled */
  9517. #define TWIS_INTENCLR_STOPPED_Enabled (1UL) /*!< Read: Enabled */
  9518. #define TWIS_INTENCLR_STOPPED_Clear (1UL) /*!< Disable */
  9519. /* Register: TWIS_ERRORSRC */
  9520. /* Description: Error source */
  9521. /* Bit 3 : TX buffer over-read detected, and prevented */
  9522. #define TWIS_ERRORSRC_OVERREAD_Pos (3UL) /*!< Position of OVERREAD field. */
  9523. #define TWIS_ERRORSRC_OVERREAD_Msk (0x1UL << TWIS_ERRORSRC_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */
  9524. #define TWIS_ERRORSRC_OVERREAD_NotDetected (0UL) /*!< Error did not occur */
  9525. #define TWIS_ERRORSRC_OVERREAD_Detected (1UL) /*!< Error occurred */
  9526. /* Bit 2 : NACK sent after receiving a data byte */
  9527. #define TWIS_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */
  9528. #define TWIS_ERRORSRC_DNACK_Msk (0x1UL << TWIS_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */
  9529. #define TWIS_ERRORSRC_DNACK_NotReceived (0UL) /*!< Error did not occur */
  9530. #define TWIS_ERRORSRC_DNACK_Received (1UL) /*!< Error occurred */
  9531. /* Bit 0 : RX buffer overflow detected, and prevented */
  9532. #define TWIS_ERRORSRC_OVERFLOW_Pos (0UL) /*!< Position of OVERFLOW field. */
  9533. #define TWIS_ERRORSRC_OVERFLOW_Msk (0x1UL << TWIS_ERRORSRC_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */
  9534. #define TWIS_ERRORSRC_OVERFLOW_NotDetected (0UL) /*!< Error did not occur */
  9535. #define TWIS_ERRORSRC_OVERFLOW_Detected (1UL) /*!< Error occurred */
  9536. /* Register: TWIS_MATCH */
  9537. /* Description: Status register indicating which address had a match */
  9538. /* Bit 0 : Which of the addresses in {ADDRESS} matched the incoming address */
  9539. #define TWIS_MATCH_MATCH_Pos (0UL) /*!< Position of MATCH field. */
  9540. #define TWIS_MATCH_MATCH_Msk (0x1UL << TWIS_MATCH_MATCH_Pos) /*!< Bit mask of MATCH field. */
  9541. /* Register: TWIS_ENABLE */
  9542. /* Description: Enable TWIS */
  9543. /* Bits 3..0 : Enable or disable TWIS */
  9544. #define TWIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  9545. #define TWIS_ENABLE_ENABLE_Msk (0xFUL << TWIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  9546. #define TWIS_ENABLE_ENABLE_Disabled (0UL) /*!< Disable TWIS */
  9547. #define TWIS_ENABLE_ENABLE_Enabled (9UL) /*!< Enable TWIS */
  9548. /* Register: TWIS_PSEL_SCL */
  9549. /* Description: Pin select for SCL signal */
  9550. /* Bit 31 : Connection */
  9551. #define TWIS_PSEL_SCL_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  9552. #define TWIS_PSEL_SCL_CONNECT_Msk (0x1UL << TWIS_PSEL_SCL_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  9553. #define TWIS_PSEL_SCL_CONNECT_Connected (0UL) /*!< Connect */
  9554. #define TWIS_PSEL_SCL_CONNECT_Disconnected (1UL) /*!< Disconnect */
  9555. /* Bits 4..0 : Pin number */
  9556. #define TWIS_PSEL_SCL_PIN_Pos (0UL) /*!< Position of PIN field. */
  9557. #define TWIS_PSEL_SCL_PIN_Msk (0x1FUL << TWIS_PSEL_SCL_PIN_Pos) /*!< Bit mask of PIN field. */
  9558. /* Register: TWIS_PSEL_SDA */
  9559. /* Description: Pin select for SDA signal */
  9560. /* Bit 31 : Connection */
  9561. #define TWIS_PSEL_SDA_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  9562. #define TWIS_PSEL_SDA_CONNECT_Msk (0x1UL << TWIS_PSEL_SDA_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  9563. #define TWIS_PSEL_SDA_CONNECT_Connected (0UL) /*!< Connect */
  9564. #define TWIS_PSEL_SDA_CONNECT_Disconnected (1UL) /*!< Disconnect */
  9565. /* Bits 4..0 : Pin number */
  9566. #define TWIS_PSEL_SDA_PIN_Pos (0UL) /*!< Position of PIN field. */
  9567. #define TWIS_PSEL_SDA_PIN_Msk (0x1FUL << TWIS_PSEL_SDA_PIN_Pos) /*!< Bit mask of PIN field. */
  9568. /* Register: TWIS_RXD_PTR */
  9569. /* Description: RXD Data pointer */
  9570. /* Bits 31..0 : RXD Data pointer */
  9571. #define TWIS_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  9572. #define TWIS_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIS_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  9573. /* Register: TWIS_RXD_MAXCNT */
  9574. /* Description: Maximum number of bytes in RXD buffer */
  9575. /* Bits 7..0 : Maximum number of bytes in RXD buffer */
  9576. #define TWIS_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  9577. #define TWIS_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << TWIS_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  9578. /* Register: TWIS_RXD_AMOUNT */
  9579. /* Description: Number of bytes transferred in the last RXD transaction */
  9580. /* Bits 7..0 : Number of bytes transferred in the last RXD transaction */
  9581. #define TWIS_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  9582. #define TWIS_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << TWIS_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  9583. /* Register: TWIS_TXD_PTR */
  9584. /* Description: TXD Data pointer */
  9585. /* Bits 31..0 : TXD Data pointer */
  9586. #define TWIS_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  9587. #define TWIS_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIS_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  9588. /* Register: TWIS_TXD_MAXCNT */
  9589. /* Description: Maximum number of bytes in TXD buffer */
  9590. /* Bits 7..0 : Maximum number of bytes in TXD buffer */
  9591. #define TWIS_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  9592. #define TWIS_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << TWIS_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  9593. /* Register: TWIS_TXD_AMOUNT */
  9594. /* Description: Number of bytes transferred in the last TXD transaction */
  9595. /* Bits 7..0 : Number of bytes transferred in the last TXD transaction */
  9596. #define TWIS_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  9597. #define TWIS_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << TWIS_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  9598. /* Register: TWIS_ADDRESS */
  9599. /* Description: Description collection[0]: TWI slave address 0 */
  9600. /* Bits 6..0 : TWI slave address */
  9601. #define TWIS_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */
  9602. #define TWIS_ADDRESS_ADDRESS_Msk (0x7FUL << TWIS_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  9603. /* Register: TWIS_CONFIG */
  9604. /* Description: Configuration register for the address match mechanism */
  9605. /* Bit 1 : Enable or disable address matching on ADDRESS[1] */
  9606. #define TWIS_CONFIG_ADDRESS1_Pos (1UL) /*!< Position of ADDRESS1 field. */
  9607. #define TWIS_CONFIG_ADDRESS1_Msk (0x1UL << TWIS_CONFIG_ADDRESS1_Pos) /*!< Bit mask of ADDRESS1 field. */
  9608. #define TWIS_CONFIG_ADDRESS1_Disabled (0UL) /*!< Disabled */
  9609. #define TWIS_CONFIG_ADDRESS1_Enabled (1UL) /*!< Enabled */
  9610. /* Bit 0 : Enable or disable address matching on ADDRESS[0] */
  9611. #define TWIS_CONFIG_ADDRESS0_Pos (0UL) /*!< Position of ADDRESS0 field. */
  9612. #define TWIS_CONFIG_ADDRESS0_Msk (0x1UL << TWIS_CONFIG_ADDRESS0_Pos) /*!< Bit mask of ADDRESS0 field. */
  9613. #define TWIS_CONFIG_ADDRESS0_Disabled (0UL) /*!< Disabled */
  9614. #define TWIS_CONFIG_ADDRESS0_Enabled (1UL) /*!< Enabled */
  9615. /* Register: TWIS_ORC */
  9616. /* Description: Over-read character. Character sent out in case of an over-read of the transmit buffer. */
  9617. /* Bits 7..0 : Over-read character. Character sent out in case of an over-read of the transmit buffer. */
  9618. #define TWIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
  9619. #define TWIS_ORC_ORC_Msk (0xFFUL << TWIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
  9620. /* Peripheral: UART */
  9621. /* Description: Universal Asynchronous Receiver/Transmitter */
  9622. /* Register: UART_SHORTS */
  9623. /* Description: Shortcut register */
  9624. /* Bit 4 : Shortcut between NCTS event and STOPRX task */
  9625. #define UART_SHORTS_NCTS_STOPRX_Pos (4UL) /*!< Position of NCTS_STOPRX field. */
  9626. #define UART_SHORTS_NCTS_STOPRX_Msk (0x1UL << UART_SHORTS_NCTS_STOPRX_Pos) /*!< Bit mask of NCTS_STOPRX field. */
  9627. #define UART_SHORTS_NCTS_STOPRX_Disabled (0UL) /*!< Disable shortcut */
  9628. #define UART_SHORTS_NCTS_STOPRX_Enabled (1UL) /*!< Enable shortcut */
  9629. /* Bit 3 : Shortcut between CTS event and STARTRX task */
  9630. #define UART_SHORTS_CTS_STARTRX_Pos (3UL) /*!< Position of CTS_STARTRX field. */
  9631. #define UART_SHORTS_CTS_STARTRX_Msk (0x1UL << UART_SHORTS_CTS_STARTRX_Pos) /*!< Bit mask of CTS_STARTRX field. */
  9632. #define UART_SHORTS_CTS_STARTRX_Disabled (0UL) /*!< Disable shortcut */
  9633. #define UART_SHORTS_CTS_STARTRX_Enabled (1UL) /*!< Enable shortcut */
  9634. /* Register: UART_INTENSET */
  9635. /* Description: Enable interrupt */
  9636. /* Bit 17 : Write '1' to Enable interrupt for RXTO event */
  9637. #define UART_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  9638. #define UART_INTENSET_RXTO_Msk (0x1UL << UART_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */
  9639. #define UART_INTENSET_RXTO_Disabled (0UL) /*!< Read: Disabled */
  9640. #define UART_INTENSET_RXTO_Enabled (1UL) /*!< Read: Enabled */
  9641. #define UART_INTENSET_RXTO_Set (1UL) /*!< Enable */
  9642. /* Bit 9 : Write '1' to Enable interrupt for ERROR event */
  9643. #define UART_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9644. #define UART_INTENSET_ERROR_Msk (0x1UL << UART_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9645. #define UART_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9646. #define UART_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9647. #define UART_INTENSET_ERROR_Set (1UL) /*!< Enable */
  9648. /* Bit 7 : Write '1' to Enable interrupt for TXDRDY event */
  9649. #define UART_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  9650. #define UART_INTENSET_TXDRDY_Msk (0x1UL << UART_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  9651. #define UART_INTENSET_TXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9652. #define UART_INTENSET_TXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9653. #define UART_INTENSET_TXDRDY_Set (1UL) /*!< Enable */
  9654. /* Bit 2 : Write '1' to Enable interrupt for RXDRDY event */
  9655. #define UART_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  9656. #define UART_INTENSET_RXDRDY_Msk (0x1UL << UART_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  9657. #define UART_INTENSET_RXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9658. #define UART_INTENSET_RXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9659. #define UART_INTENSET_RXDRDY_Set (1UL) /*!< Enable */
  9660. /* Bit 1 : Write '1' to Enable interrupt for NCTS event */
  9661. #define UART_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  9662. #define UART_INTENSET_NCTS_Msk (0x1UL << UART_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */
  9663. #define UART_INTENSET_NCTS_Disabled (0UL) /*!< Read: Disabled */
  9664. #define UART_INTENSET_NCTS_Enabled (1UL) /*!< Read: Enabled */
  9665. #define UART_INTENSET_NCTS_Set (1UL) /*!< Enable */
  9666. /* Bit 0 : Write '1' to Enable interrupt for CTS event */
  9667. #define UART_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */
  9668. #define UART_INTENSET_CTS_Msk (0x1UL << UART_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */
  9669. #define UART_INTENSET_CTS_Disabled (0UL) /*!< Read: Disabled */
  9670. #define UART_INTENSET_CTS_Enabled (1UL) /*!< Read: Enabled */
  9671. #define UART_INTENSET_CTS_Set (1UL) /*!< Enable */
  9672. /* Register: UART_INTENCLR */
  9673. /* Description: Disable interrupt */
  9674. /* Bit 17 : Write '1' to Disable interrupt for RXTO event */
  9675. #define UART_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  9676. #define UART_INTENCLR_RXTO_Msk (0x1UL << UART_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */
  9677. #define UART_INTENCLR_RXTO_Disabled (0UL) /*!< Read: Disabled */
  9678. #define UART_INTENCLR_RXTO_Enabled (1UL) /*!< Read: Enabled */
  9679. #define UART_INTENCLR_RXTO_Clear (1UL) /*!< Disable */
  9680. /* Bit 9 : Write '1' to Disable interrupt for ERROR event */
  9681. #define UART_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9682. #define UART_INTENCLR_ERROR_Msk (0x1UL << UART_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9683. #define UART_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9684. #define UART_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9685. #define UART_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  9686. /* Bit 7 : Write '1' to Disable interrupt for TXDRDY event */
  9687. #define UART_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  9688. #define UART_INTENCLR_TXDRDY_Msk (0x1UL << UART_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  9689. #define UART_INTENCLR_TXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9690. #define UART_INTENCLR_TXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9691. #define UART_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable */
  9692. /* Bit 2 : Write '1' to Disable interrupt for RXDRDY event */
  9693. #define UART_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  9694. #define UART_INTENCLR_RXDRDY_Msk (0x1UL << UART_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  9695. #define UART_INTENCLR_RXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9696. #define UART_INTENCLR_RXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9697. #define UART_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable */
  9698. /* Bit 1 : Write '1' to Disable interrupt for NCTS event */
  9699. #define UART_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  9700. #define UART_INTENCLR_NCTS_Msk (0x1UL << UART_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */
  9701. #define UART_INTENCLR_NCTS_Disabled (0UL) /*!< Read: Disabled */
  9702. #define UART_INTENCLR_NCTS_Enabled (1UL) /*!< Read: Enabled */
  9703. #define UART_INTENCLR_NCTS_Clear (1UL) /*!< Disable */
  9704. /* Bit 0 : Write '1' to Disable interrupt for CTS event */
  9705. #define UART_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */
  9706. #define UART_INTENCLR_CTS_Msk (0x1UL << UART_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */
  9707. #define UART_INTENCLR_CTS_Disabled (0UL) /*!< Read: Disabled */
  9708. #define UART_INTENCLR_CTS_Enabled (1UL) /*!< Read: Enabled */
  9709. #define UART_INTENCLR_CTS_Clear (1UL) /*!< Disable */
  9710. /* Register: UART_ERRORSRC */
  9711. /* Description: Error source */
  9712. /* Bit 3 : Break condition */
  9713. #define UART_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */
  9714. #define UART_ERRORSRC_BREAK_Msk (0x1UL << UART_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */
  9715. #define UART_ERRORSRC_BREAK_NotPresent (0UL) /*!< Read: error not present */
  9716. #define UART_ERRORSRC_BREAK_Present (1UL) /*!< Read: error present */
  9717. /* Bit 2 : Framing error occurred */
  9718. #define UART_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */
  9719. #define UART_ERRORSRC_FRAMING_Msk (0x1UL << UART_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */
  9720. #define UART_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Read: error not present */
  9721. #define UART_ERRORSRC_FRAMING_Present (1UL) /*!< Read: error present */
  9722. /* Bit 1 : Parity error */
  9723. #define UART_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  9724. #define UART_ERRORSRC_PARITY_Msk (0x1UL << UART_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */
  9725. #define UART_ERRORSRC_PARITY_NotPresent (0UL) /*!< Read: error not present */
  9726. #define UART_ERRORSRC_PARITY_Present (1UL) /*!< Read: error present */
  9727. /* Bit 0 : Overrun error */
  9728. #define UART_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  9729. #define UART_ERRORSRC_OVERRUN_Msk (0x1UL << UART_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  9730. #define UART_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Read: error not present */
  9731. #define UART_ERRORSRC_OVERRUN_Present (1UL) /*!< Read: error present */
  9732. /* Register: UART_ENABLE */
  9733. /* Description: Enable UART */
  9734. /* Bits 3..0 : Enable or disable UART */
  9735. #define UART_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  9736. #define UART_ENABLE_ENABLE_Msk (0xFUL << UART_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  9737. #define UART_ENABLE_ENABLE_Disabled (0UL) /*!< Disable UART */
  9738. #define UART_ENABLE_ENABLE_Enabled (4UL) /*!< Enable UART */
  9739. /* Register: UART_PSELRTS */
  9740. /* Description: Pin select for RTS */
  9741. /* Bits 31..0 : Pin number configuration for UART RTS signal */
  9742. #define UART_PSELRTS_PSELRTS_Pos (0UL) /*!< Position of PSELRTS field. */
  9743. #define UART_PSELRTS_PSELRTS_Msk (0xFFFFFFFFUL << UART_PSELRTS_PSELRTS_Pos) /*!< Bit mask of PSELRTS field. */
  9744. #define UART_PSELRTS_PSELRTS_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  9745. /* Register: UART_PSELTXD */
  9746. /* Description: Pin select for TXD */
  9747. /* Bits 31..0 : Pin number configuration for UART TXD signal */
  9748. #define UART_PSELTXD_PSELTXD_Pos (0UL) /*!< Position of PSELTXD field. */
  9749. #define UART_PSELTXD_PSELTXD_Msk (0xFFFFFFFFUL << UART_PSELTXD_PSELTXD_Pos) /*!< Bit mask of PSELTXD field. */
  9750. #define UART_PSELTXD_PSELTXD_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  9751. /* Register: UART_PSELCTS */
  9752. /* Description: Pin select for CTS */
  9753. /* Bits 31..0 : Pin number configuration for UART CTS signal */
  9754. #define UART_PSELCTS_PSELCTS_Pos (0UL) /*!< Position of PSELCTS field. */
  9755. #define UART_PSELCTS_PSELCTS_Msk (0xFFFFFFFFUL << UART_PSELCTS_PSELCTS_Pos) /*!< Bit mask of PSELCTS field. */
  9756. #define UART_PSELCTS_PSELCTS_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  9757. /* Register: UART_PSELRXD */
  9758. /* Description: Pin select for RXD */
  9759. /* Bits 31..0 : Pin number configuration for UART RXD signal */
  9760. #define UART_PSELRXD_PSELRXD_Pos (0UL) /*!< Position of PSELRXD field. */
  9761. #define UART_PSELRXD_PSELRXD_Msk (0xFFFFFFFFUL << UART_PSELRXD_PSELRXD_Pos) /*!< Bit mask of PSELRXD field. */
  9762. #define UART_PSELRXD_PSELRXD_Disconnected (0xFFFFFFFFUL) /*!< Disconnect */
  9763. /* Register: UART_RXD */
  9764. /* Description: RXD register */
  9765. /* Bits 7..0 : RX data received in previous transfers, double buffered */
  9766. #define UART_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  9767. #define UART_RXD_RXD_Msk (0xFFUL << UART_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  9768. /* Register: UART_TXD */
  9769. /* Description: TXD register */
  9770. /* Bits 7..0 : TX data to be transferred */
  9771. #define UART_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  9772. #define UART_TXD_TXD_Msk (0xFFUL << UART_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  9773. /* Register: UART_BAUDRATE */
  9774. /* Description: Baud rate */
  9775. /* Bits 31..0 : Baud rate */
  9776. #define UART_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */
  9777. #define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UART_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */
  9778. #define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud (actual rate: 1205) */
  9779. #define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud (actual rate: 2396) */
  9780. #define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud (actual rate: 4808) */
  9781. #define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud (actual rate: 9598) */
  9782. #define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /*!< 14400 baud (actual rate: 14414) */
  9783. #define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud (actual rate: 19208) */
  9784. #define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /*!< 28800 baud (actual rate: 28829) */
  9785. #define UART_BAUDRATE_BAUDRATE_Baud31250 (0x00800000UL) /*!< 31250 baud */
  9786. #define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /*!< 38400 baud (actual rate: 38462) */
  9787. #define UART_BAUDRATE_BAUDRATE_Baud56000 (0x00E50000UL) /*!< 56000 baud (actual rate: 55944) */
  9788. #define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /*!< 57600 baud (actual rate: 57762) */
  9789. #define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud (actual rate: 76923) */
  9790. #define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /*!< 115200 baud (actual rate: 115942) */
  9791. #define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /*!< 230400 baud (actual rate: 231884) */
  9792. #define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud */
  9793. #define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /*!< 460800 baud (actual rate: 470588) */
  9794. #define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBED000UL) /*!< 921600 baud (actual rate: 941176) */
  9795. #define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1Mega baud */
  9796. /* Register: UART_CONFIG */
  9797. /* Description: Configuration of parity and hardware flow control */
  9798. /* Bits 3..1 : Parity */
  9799. #define UART_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  9800. #define UART_CONFIG_PARITY_Msk (0x7UL << UART_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
  9801. #define UART_CONFIG_PARITY_Excluded (0x0UL) /*!< Exclude parity bit */
  9802. #define UART_CONFIG_PARITY_Included (0x7UL) /*!< Include parity bit */
  9803. /* Bit 0 : Hardware flow control */
  9804. #define UART_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */
  9805. #define UART_CONFIG_HWFC_Msk (0x1UL << UART_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */
  9806. #define UART_CONFIG_HWFC_Disabled (0UL) /*!< Disabled */
  9807. #define UART_CONFIG_HWFC_Enabled (1UL) /*!< Enabled */
  9808. /* Peripheral: UARTE */
  9809. /* Description: UART with EasyDMA */
  9810. /* Register: UARTE_SHORTS */
  9811. /* Description: Shortcut register */
  9812. /* Bit 6 : Shortcut between ENDRX event and STOPRX task */
  9813. #define UARTE_SHORTS_ENDRX_STOPRX_Pos (6UL) /*!< Position of ENDRX_STOPRX field. */
  9814. #define UARTE_SHORTS_ENDRX_STOPRX_Msk (0x1UL << UARTE_SHORTS_ENDRX_STOPRX_Pos) /*!< Bit mask of ENDRX_STOPRX field. */
  9815. #define UARTE_SHORTS_ENDRX_STOPRX_Disabled (0UL) /*!< Disable shortcut */
  9816. #define UARTE_SHORTS_ENDRX_STOPRX_Enabled (1UL) /*!< Enable shortcut */
  9817. /* Bit 5 : Shortcut between ENDRX event and STARTRX task */
  9818. #define UARTE_SHORTS_ENDRX_STARTRX_Pos (5UL) /*!< Position of ENDRX_STARTRX field. */
  9819. #define UARTE_SHORTS_ENDRX_STARTRX_Msk (0x1UL << UARTE_SHORTS_ENDRX_STARTRX_Pos) /*!< Bit mask of ENDRX_STARTRX field. */
  9820. #define UARTE_SHORTS_ENDRX_STARTRX_Disabled (0UL) /*!< Disable shortcut */
  9821. #define UARTE_SHORTS_ENDRX_STARTRX_Enabled (1UL) /*!< Enable shortcut */
  9822. /* Register: UARTE_INTEN */
  9823. /* Description: Enable or disable interrupt */
  9824. /* Bit 22 : Enable or disable interrupt for TXSTOPPED event */
  9825. #define UARTE_INTEN_TXSTOPPED_Pos (22UL) /*!< Position of TXSTOPPED field. */
  9826. #define UARTE_INTEN_TXSTOPPED_Msk (0x1UL << UARTE_INTEN_TXSTOPPED_Pos) /*!< Bit mask of TXSTOPPED field. */
  9827. #define UARTE_INTEN_TXSTOPPED_Disabled (0UL) /*!< Disable */
  9828. #define UARTE_INTEN_TXSTOPPED_Enabled (1UL) /*!< Enable */
  9829. /* Bit 20 : Enable or disable interrupt for TXSTARTED event */
  9830. #define UARTE_INTEN_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9831. #define UARTE_INTEN_TXSTARTED_Msk (0x1UL << UARTE_INTEN_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9832. #define UARTE_INTEN_TXSTARTED_Disabled (0UL) /*!< Disable */
  9833. #define UARTE_INTEN_TXSTARTED_Enabled (1UL) /*!< Enable */
  9834. /* Bit 19 : Enable or disable interrupt for RXSTARTED event */
  9835. #define UARTE_INTEN_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9836. #define UARTE_INTEN_RXSTARTED_Msk (0x1UL << UARTE_INTEN_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9837. #define UARTE_INTEN_RXSTARTED_Disabled (0UL) /*!< Disable */
  9838. #define UARTE_INTEN_RXSTARTED_Enabled (1UL) /*!< Enable */
  9839. /* Bit 17 : Enable or disable interrupt for RXTO event */
  9840. #define UARTE_INTEN_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  9841. #define UARTE_INTEN_RXTO_Msk (0x1UL << UARTE_INTEN_RXTO_Pos) /*!< Bit mask of RXTO field. */
  9842. #define UARTE_INTEN_RXTO_Disabled (0UL) /*!< Disable */
  9843. #define UARTE_INTEN_RXTO_Enabled (1UL) /*!< Enable */
  9844. /* Bit 9 : Enable or disable interrupt for ERROR event */
  9845. #define UARTE_INTEN_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9846. #define UARTE_INTEN_ERROR_Msk (0x1UL << UARTE_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9847. #define UARTE_INTEN_ERROR_Disabled (0UL) /*!< Disable */
  9848. #define UARTE_INTEN_ERROR_Enabled (1UL) /*!< Enable */
  9849. /* Bit 8 : Enable or disable interrupt for ENDTX event */
  9850. #define UARTE_INTEN_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  9851. #define UARTE_INTEN_ENDTX_Msk (0x1UL << UARTE_INTEN_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  9852. #define UARTE_INTEN_ENDTX_Disabled (0UL) /*!< Disable */
  9853. #define UARTE_INTEN_ENDTX_Enabled (1UL) /*!< Enable */
  9854. /* Bit 7 : Enable or disable interrupt for TXDRDY event */
  9855. #define UARTE_INTEN_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  9856. #define UARTE_INTEN_TXDRDY_Msk (0x1UL << UARTE_INTEN_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  9857. #define UARTE_INTEN_TXDRDY_Disabled (0UL) /*!< Disable */
  9858. #define UARTE_INTEN_TXDRDY_Enabled (1UL) /*!< Enable */
  9859. /* Bit 4 : Enable or disable interrupt for ENDRX event */
  9860. #define UARTE_INTEN_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  9861. #define UARTE_INTEN_ENDRX_Msk (0x1UL << UARTE_INTEN_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  9862. #define UARTE_INTEN_ENDRX_Disabled (0UL) /*!< Disable */
  9863. #define UARTE_INTEN_ENDRX_Enabled (1UL) /*!< Enable */
  9864. /* Bit 2 : Enable or disable interrupt for RXDRDY event */
  9865. #define UARTE_INTEN_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  9866. #define UARTE_INTEN_RXDRDY_Msk (0x1UL << UARTE_INTEN_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  9867. #define UARTE_INTEN_RXDRDY_Disabled (0UL) /*!< Disable */
  9868. #define UARTE_INTEN_RXDRDY_Enabled (1UL) /*!< Enable */
  9869. /* Bit 1 : Enable or disable interrupt for NCTS event */
  9870. #define UARTE_INTEN_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  9871. #define UARTE_INTEN_NCTS_Msk (0x1UL << UARTE_INTEN_NCTS_Pos) /*!< Bit mask of NCTS field. */
  9872. #define UARTE_INTEN_NCTS_Disabled (0UL) /*!< Disable */
  9873. #define UARTE_INTEN_NCTS_Enabled (1UL) /*!< Enable */
  9874. /* Bit 0 : Enable or disable interrupt for CTS event */
  9875. #define UARTE_INTEN_CTS_Pos (0UL) /*!< Position of CTS field. */
  9876. #define UARTE_INTEN_CTS_Msk (0x1UL << UARTE_INTEN_CTS_Pos) /*!< Bit mask of CTS field. */
  9877. #define UARTE_INTEN_CTS_Disabled (0UL) /*!< Disable */
  9878. #define UARTE_INTEN_CTS_Enabled (1UL) /*!< Enable */
  9879. /* Register: UARTE_INTENSET */
  9880. /* Description: Enable interrupt */
  9881. /* Bit 22 : Write '1' to Enable interrupt for TXSTOPPED event */
  9882. #define UARTE_INTENSET_TXSTOPPED_Pos (22UL) /*!< Position of TXSTOPPED field. */
  9883. #define UARTE_INTENSET_TXSTOPPED_Msk (0x1UL << UARTE_INTENSET_TXSTOPPED_Pos) /*!< Bit mask of TXSTOPPED field. */
  9884. #define UARTE_INTENSET_TXSTOPPED_Disabled (0UL) /*!< Read: Disabled */
  9885. #define UARTE_INTENSET_TXSTOPPED_Enabled (1UL) /*!< Read: Enabled */
  9886. #define UARTE_INTENSET_TXSTOPPED_Set (1UL) /*!< Enable */
  9887. /* Bit 20 : Write '1' to Enable interrupt for TXSTARTED event */
  9888. #define UARTE_INTENSET_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9889. #define UARTE_INTENSET_TXSTARTED_Msk (0x1UL << UARTE_INTENSET_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9890. #define UARTE_INTENSET_TXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9891. #define UARTE_INTENSET_TXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9892. #define UARTE_INTENSET_TXSTARTED_Set (1UL) /*!< Enable */
  9893. /* Bit 19 : Write '1' to Enable interrupt for RXSTARTED event */
  9894. #define UARTE_INTENSET_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9895. #define UARTE_INTENSET_RXSTARTED_Msk (0x1UL << UARTE_INTENSET_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9896. #define UARTE_INTENSET_RXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9897. #define UARTE_INTENSET_RXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9898. #define UARTE_INTENSET_RXSTARTED_Set (1UL) /*!< Enable */
  9899. /* Bit 17 : Write '1' to Enable interrupt for RXTO event */
  9900. #define UARTE_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  9901. #define UARTE_INTENSET_RXTO_Msk (0x1UL << UARTE_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */
  9902. #define UARTE_INTENSET_RXTO_Disabled (0UL) /*!< Read: Disabled */
  9903. #define UARTE_INTENSET_RXTO_Enabled (1UL) /*!< Read: Enabled */
  9904. #define UARTE_INTENSET_RXTO_Set (1UL) /*!< Enable */
  9905. /* Bit 9 : Write '1' to Enable interrupt for ERROR event */
  9906. #define UARTE_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9907. #define UARTE_INTENSET_ERROR_Msk (0x1UL << UARTE_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9908. #define UARTE_INTENSET_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9909. #define UARTE_INTENSET_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9910. #define UARTE_INTENSET_ERROR_Set (1UL) /*!< Enable */
  9911. /* Bit 8 : Write '1' to Enable interrupt for ENDTX event */
  9912. #define UARTE_INTENSET_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  9913. #define UARTE_INTENSET_ENDTX_Msk (0x1UL << UARTE_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  9914. #define UARTE_INTENSET_ENDTX_Disabled (0UL) /*!< Read: Disabled */
  9915. #define UARTE_INTENSET_ENDTX_Enabled (1UL) /*!< Read: Enabled */
  9916. #define UARTE_INTENSET_ENDTX_Set (1UL) /*!< Enable */
  9917. /* Bit 7 : Write '1' to Enable interrupt for TXDRDY event */
  9918. #define UARTE_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  9919. #define UARTE_INTENSET_TXDRDY_Msk (0x1UL << UARTE_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  9920. #define UARTE_INTENSET_TXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9921. #define UARTE_INTENSET_TXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9922. #define UARTE_INTENSET_TXDRDY_Set (1UL) /*!< Enable */
  9923. /* Bit 4 : Write '1' to Enable interrupt for ENDRX event */
  9924. #define UARTE_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  9925. #define UARTE_INTENSET_ENDRX_Msk (0x1UL << UARTE_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  9926. #define UARTE_INTENSET_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  9927. #define UARTE_INTENSET_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  9928. #define UARTE_INTENSET_ENDRX_Set (1UL) /*!< Enable */
  9929. /* Bit 2 : Write '1' to Enable interrupt for RXDRDY event */
  9930. #define UARTE_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  9931. #define UARTE_INTENSET_RXDRDY_Msk (0x1UL << UARTE_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  9932. #define UARTE_INTENSET_RXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9933. #define UARTE_INTENSET_RXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9934. #define UARTE_INTENSET_RXDRDY_Set (1UL) /*!< Enable */
  9935. /* Bit 1 : Write '1' to Enable interrupt for NCTS event */
  9936. #define UARTE_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  9937. #define UARTE_INTENSET_NCTS_Msk (0x1UL << UARTE_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */
  9938. #define UARTE_INTENSET_NCTS_Disabled (0UL) /*!< Read: Disabled */
  9939. #define UARTE_INTENSET_NCTS_Enabled (1UL) /*!< Read: Enabled */
  9940. #define UARTE_INTENSET_NCTS_Set (1UL) /*!< Enable */
  9941. /* Bit 0 : Write '1' to Enable interrupt for CTS event */
  9942. #define UARTE_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */
  9943. #define UARTE_INTENSET_CTS_Msk (0x1UL << UARTE_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */
  9944. #define UARTE_INTENSET_CTS_Disabled (0UL) /*!< Read: Disabled */
  9945. #define UARTE_INTENSET_CTS_Enabled (1UL) /*!< Read: Enabled */
  9946. #define UARTE_INTENSET_CTS_Set (1UL) /*!< Enable */
  9947. /* Register: UARTE_INTENCLR */
  9948. /* Description: Disable interrupt */
  9949. /* Bit 22 : Write '1' to Disable interrupt for TXSTOPPED event */
  9950. #define UARTE_INTENCLR_TXSTOPPED_Pos (22UL) /*!< Position of TXSTOPPED field. */
  9951. #define UARTE_INTENCLR_TXSTOPPED_Msk (0x1UL << UARTE_INTENCLR_TXSTOPPED_Pos) /*!< Bit mask of TXSTOPPED field. */
  9952. #define UARTE_INTENCLR_TXSTOPPED_Disabled (0UL) /*!< Read: Disabled */
  9953. #define UARTE_INTENCLR_TXSTOPPED_Enabled (1UL) /*!< Read: Enabled */
  9954. #define UARTE_INTENCLR_TXSTOPPED_Clear (1UL) /*!< Disable */
  9955. /* Bit 20 : Write '1' to Disable interrupt for TXSTARTED event */
  9956. #define UARTE_INTENCLR_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */
  9957. #define UARTE_INTENCLR_TXSTARTED_Msk (0x1UL << UARTE_INTENCLR_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */
  9958. #define UARTE_INTENCLR_TXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9959. #define UARTE_INTENCLR_TXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9960. #define UARTE_INTENCLR_TXSTARTED_Clear (1UL) /*!< Disable */
  9961. /* Bit 19 : Write '1' to Disable interrupt for RXSTARTED event */
  9962. #define UARTE_INTENCLR_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */
  9963. #define UARTE_INTENCLR_RXSTARTED_Msk (0x1UL << UARTE_INTENCLR_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */
  9964. #define UARTE_INTENCLR_RXSTARTED_Disabled (0UL) /*!< Read: Disabled */
  9965. #define UARTE_INTENCLR_RXSTARTED_Enabled (1UL) /*!< Read: Enabled */
  9966. #define UARTE_INTENCLR_RXSTARTED_Clear (1UL) /*!< Disable */
  9967. /* Bit 17 : Write '1' to Disable interrupt for RXTO event */
  9968. #define UARTE_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  9969. #define UARTE_INTENCLR_RXTO_Msk (0x1UL << UARTE_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */
  9970. #define UARTE_INTENCLR_RXTO_Disabled (0UL) /*!< Read: Disabled */
  9971. #define UARTE_INTENCLR_RXTO_Enabled (1UL) /*!< Read: Enabled */
  9972. #define UARTE_INTENCLR_RXTO_Clear (1UL) /*!< Disable */
  9973. /* Bit 9 : Write '1' to Disable interrupt for ERROR event */
  9974. #define UARTE_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  9975. #define UARTE_INTENCLR_ERROR_Msk (0x1UL << UARTE_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  9976. #define UARTE_INTENCLR_ERROR_Disabled (0UL) /*!< Read: Disabled */
  9977. #define UARTE_INTENCLR_ERROR_Enabled (1UL) /*!< Read: Enabled */
  9978. #define UARTE_INTENCLR_ERROR_Clear (1UL) /*!< Disable */
  9979. /* Bit 8 : Write '1' to Disable interrupt for ENDTX event */
  9980. #define UARTE_INTENCLR_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  9981. #define UARTE_INTENCLR_ENDTX_Msk (0x1UL << UARTE_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  9982. #define UARTE_INTENCLR_ENDTX_Disabled (0UL) /*!< Read: Disabled */
  9983. #define UARTE_INTENCLR_ENDTX_Enabled (1UL) /*!< Read: Enabled */
  9984. #define UARTE_INTENCLR_ENDTX_Clear (1UL) /*!< Disable */
  9985. /* Bit 7 : Write '1' to Disable interrupt for TXDRDY event */
  9986. #define UARTE_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  9987. #define UARTE_INTENCLR_TXDRDY_Msk (0x1UL << UARTE_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  9988. #define UARTE_INTENCLR_TXDRDY_Disabled (0UL) /*!< Read: Disabled */
  9989. #define UARTE_INTENCLR_TXDRDY_Enabled (1UL) /*!< Read: Enabled */
  9990. #define UARTE_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable */
  9991. /* Bit 4 : Write '1' to Disable interrupt for ENDRX event */
  9992. #define UARTE_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  9993. #define UARTE_INTENCLR_ENDRX_Msk (0x1UL << UARTE_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  9994. #define UARTE_INTENCLR_ENDRX_Disabled (0UL) /*!< Read: Disabled */
  9995. #define UARTE_INTENCLR_ENDRX_Enabled (1UL) /*!< Read: Enabled */
  9996. #define UARTE_INTENCLR_ENDRX_Clear (1UL) /*!< Disable */
  9997. /* Bit 2 : Write '1' to Disable interrupt for RXDRDY event */
  9998. #define UARTE_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  9999. #define UARTE_INTENCLR_RXDRDY_Msk (0x1UL << UARTE_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  10000. #define UARTE_INTENCLR_RXDRDY_Disabled (0UL) /*!< Read: Disabled */
  10001. #define UARTE_INTENCLR_RXDRDY_Enabled (1UL) /*!< Read: Enabled */
  10002. #define UARTE_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable */
  10003. /* Bit 1 : Write '1' to Disable interrupt for NCTS event */
  10004. #define UARTE_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  10005. #define UARTE_INTENCLR_NCTS_Msk (0x1UL << UARTE_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */
  10006. #define UARTE_INTENCLR_NCTS_Disabled (0UL) /*!< Read: Disabled */
  10007. #define UARTE_INTENCLR_NCTS_Enabled (1UL) /*!< Read: Enabled */
  10008. #define UARTE_INTENCLR_NCTS_Clear (1UL) /*!< Disable */
  10009. /* Bit 0 : Write '1' to Disable interrupt for CTS event */
  10010. #define UARTE_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */
  10011. #define UARTE_INTENCLR_CTS_Msk (0x1UL << UARTE_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */
  10012. #define UARTE_INTENCLR_CTS_Disabled (0UL) /*!< Read: Disabled */
  10013. #define UARTE_INTENCLR_CTS_Enabled (1UL) /*!< Read: Enabled */
  10014. #define UARTE_INTENCLR_CTS_Clear (1UL) /*!< Disable */
  10015. /* Register: UARTE_ERRORSRC */
  10016. /* Description: Error source */
  10017. /* Bit 3 : Break condition */
  10018. #define UARTE_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */
  10019. #define UARTE_ERRORSRC_BREAK_Msk (0x1UL << UARTE_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */
  10020. #define UARTE_ERRORSRC_BREAK_NotPresent (0UL) /*!< Read: error not present */
  10021. #define UARTE_ERRORSRC_BREAK_Present (1UL) /*!< Read: error present */
  10022. /* Bit 2 : Framing error occurred */
  10023. #define UARTE_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */
  10024. #define UARTE_ERRORSRC_FRAMING_Msk (0x1UL << UARTE_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */
  10025. #define UARTE_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Read: error not present */
  10026. #define UARTE_ERRORSRC_FRAMING_Present (1UL) /*!< Read: error present */
  10027. /* Bit 1 : Parity error */
  10028. #define UARTE_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  10029. #define UARTE_ERRORSRC_PARITY_Msk (0x1UL << UARTE_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */
  10030. #define UARTE_ERRORSRC_PARITY_NotPresent (0UL) /*!< Read: error not present */
  10031. #define UARTE_ERRORSRC_PARITY_Present (1UL) /*!< Read: error present */
  10032. /* Bit 0 : Overrun error */
  10033. #define UARTE_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  10034. #define UARTE_ERRORSRC_OVERRUN_Msk (0x1UL << UARTE_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  10035. #define UARTE_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Read: error not present */
  10036. #define UARTE_ERRORSRC_OVERRUN_Present (1UL) /*!< Read: error present */
  10037. /* Register: UARTE_ENABLE */
  10038. /* Description: Enable UART */
  10039. /* Bits 3..0 : Enable or disable UARTE */
  10040. #define UARTE_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  10041. #define UARTE_ENABLE_ENABLE_Msk (0xFUL << UARTE_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  10042. #define UARTE_ENABLE_ENABLE_Disabled (0UL) /*!< Disable UARTE */
  10043. #define UARTE_ENABLE_ENABLE_Enabled (8UL) /*!< Enable UARTE */
  10044. /* Register: UARTE_PSEL_RTS */
  10045. /* Description: Pin select for RTS signal */
  10046. /* Bit 31 : Connection */
  10047. #define UARTE_PSEL_RTS_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  10048. #define UARTE_PSEL_RTS_CONNECT_Msk (0x1UL << UARTE_PSEL_RTS_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  10049. #define UARTE_PSEL_RTS_CONNECT_Connected (0UL) /*!< Connect */
  10050. #define UARTE_PSEL_RTS_CONNECT_Disconnected (1UL) /*!< Disconnect */
  10051. /* Bits 4..0 : Pin number */
  10052. #define UARTE_PSEL_RTS_PIN_Pos (0UL) /*!< Position of PIN field. */
  10053. #define UARTE_PSEL_RTS_PIN_Msk (0x1FUL << UARTE_PSEL_RTS_PIN_Pos) /*!< Bit mask of PIN field. */
  10054. /* Register: UARTE_PSEL_TXD */
  10055. /* Description: Pin select for TXD signal */
  10056. /* Bit 31 : Connection */
  10057. #define UARTE_PSEL_TXD_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  10058. #define UARTE_PSEL_TXD_CONNECT_Msk (0x1UL << UARTE_PSEL_TXD_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  10059. #define UARTE_PSEL_TXD_CONNECT_Connected (0UL) /*!< Connect */
  10060. #define UARTE_PSEL_TXD_CONNECT_Disconnected (1UL) /*!< Disconnect */
  10061. /* Bits 4..0 : Pin number */
  10062. #define UARTE_PSEL_TXD_PIN_Pos (0UL) /*!< Position of PIN field. */
  10063. #define UARTE_PSEL_TXD_PIN_Msk (0x1FUL << UARTE_PSEL_TXD_PIN_Pos) /*!< Bit mask of PIN field. */
  10064. /* Register: UARTE_PSEL_CTS */
  10065. /* Description: Pin select for CTS signal */
  10066. /* Bit 31 : Connection */
  10067. #define UARTE_PSEL_CTS_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  10068. #define UARTE_PSEL_CTS_CONNECT_Msk (0x1UL << UARTE_PSEL_CTS_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  10069. #define UARTE_PSEL_CTS_CONNECT_Connected (0UL) /*!< Connect */
  10070. #define UARTE_PSEL_CTS_CONNECT_Disconnected (1UL) /*!< Disconnect */
  10071. /* Bits 4..0 : Pin number */
  10072. #define UARTE_PSEL_CTS_PIN_Pos (0UL) /*!< Position of PIN field. */
  10073. #define UARTE_PSEL_CTS_PIN_Msk (0x1FUL << UARTE_PSEL_CTS_PIN_Pos) /*!< Bit mask of PIN field. */
  10074. /* Register: UARTE_PSEL_RXD */
  10075. /* Description: Pin select for RXD signal */
  10076. /* Bit 31 : Connection */
  10077. #define UARTE_PSEL_RXD_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  10078. #define UARTE_PSEL_RXD_CONNECT_Msk (0x1UL << UARTE_PSEL_RXD_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  10079. #define UARTE_PSEL_RXD_CONNECT_Connected (0UL) /*!< Connect */
  10080. #define UARTE_PSEL_RXD_CONNECT_Disconnected (1UL) /*!< Disconnect */
  10081. /* Bits 4..0 : Pin number */
  10082. #define UARTE_PSEL_RXD_PIN_Pos (0UL) /*!< Position of PIN field. */
  10083. #define UARTE_PSEL_RXD_PIN_Msk (0x1FUL << UARTE_PSEL_RXD_PIN_Pos) /*!< Bit mask of PIN field. */
  10084. /* Register: UARTE_BAUDRATE */
  10085. /* Description: Baud rate. Accuracy depends on the HFCLK source selected. */
  10086. /* Bits 31..0 : Baud rate */
  10087. #define UARTE_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */
  10088. #define UARTE_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UARTE_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */
  10089. #define UARTE_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud (actual rate: 1205) */
  10090. #define UARTE_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud (actual rate: 2396) */
  10091. #define UARTE_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud (actual rate: 4808) */
  10092. #define UARTE_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud (actual rate: 9598) */
  10093. #define UARTE_BAUDRATE_BAUDRATE_Baud14400 (0x003AF000UL) /*!< 14400 baud (actual rate: 14401) */
  10094. #define UARTE_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud (actual rate: 19208) */
  10095. #define UARTE_BAUDRATE_BAUDRATE_Baud28800 (0x0075C000UL) /*!< 28800 baud (actual rate: 28777) */
  10096. #define UARTE_BAUDRATE_BAUDRATE_Baud31250 (0x00800000UL) /*!< 31250 baud */
  10097. #define UARTE_BAUDRATE_BAUDRATE_Baud38400 (0x009D0000UL) /*!< 38400 baud (actual rate: 38369) */
  10098. #define UARTE_BAUDRATE_BAUDRATE_Baud56000 (0x00E50000UL) /*!< 56000 baud (actual rate: 55944) */
  10099. #define UARTE_BAUDRATE_BAUDRATE_Baud57600 (0x00EB0000UL) /*!< 57600 baud (actual rate: 57554) */
  10100. #define UARTE_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud (actual rate: 76923) */
  10101. #define UARTE_BAUDRATE_BAUDRATE_Baud115200 (0x01D60000UL) /*!< 115200 baud (actual rate: 115108) */
  10102. #define UARTE_BAUDRATE_BAUDRATE_Baud230400 (0x03B00000UL) /*!< 230400 baud (actual rate: 231884) */
  10103. #define UARTE_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud */
  10104. #define UARTE_BAUDRATE_BAUDRATE_Baud460800 (0x07400000UL) /*!< 460800 baud (actual rate: 457143) */
  10105. #define UARTE_BAUDRATE_BAUDRATE_Baud921600 (0x0F000000UL) /*!< 921600 baud (actual rate: 941176) */
  10106. #define UARTE_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1Mega baud */
  10107. /* Register: UARTE_RXD_PTR */
  10108. /* Description: Data pointer */
  10109. /* Bits 31..0 : Data pointer */
  10110. #define UARTE_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  10111. #define UARTE_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << UARTE_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  10112. /* Register: UARTE_RXD_MAXCNT */
  10113. /* Description: Maximum number of bytes in receive buffer */
  10114. /* Bits 7..0 : Maximum number of bytes in receive buffer */
  10115. #define UARTE_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  10116. #define UARTE_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << UARTE_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  10117. /* Register: UARTE_RXD_AMOUNT */
  10118. /* Description: Number of bytes transferred in the last transaction */
  10119. /* Bits 7..0 : Number of bytes transferred in the last transaction */
  10120. #define UARTE_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  10121. #define UARTE_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << UARTE_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  10122. /* Register: UARTE_TXD_PTR */
  10123. /* Description: Data pointer */
  10124. /* Bits 31..0 : Data pointer */
  10125. #define UARTE_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  10126. #define UARTE_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << UARTE_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  10127. /* Register: UARTE_TXD_MAXCNT */
  10128. /* Description: Maximum number of bytes in transmit buffer */
  10129. /* Bits 7..0 : Maximum number of bytes in transmit buffer */
  10130. #define UARTE_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  10131. #define UARTE_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << UARTE_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  10132. /* Register: UARTE_TXD_AMOUNT */
  10133. /* Description: Number of bytes transferred in the last transaction */
  10134. /* Bits 7..0 : Number of bytes transferred in the last transaction */
  10135. #define UARTE_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  10136. #define UARTE_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << UARTE_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  10137. /* Register: UARTE_CONFIG */
  10138. /* Description: Configuration of parity and hardware flow control */
  10139. /* Bits 3..1 : Parity */
  10140. #define UARTE_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  10141. #define UARTE_CONFIG_PARITY_Msk (0x7UL << UARTE_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
  10142. #define UARTE_CONFIG_PARITY_Excluded (0x0UL) /*!< Exclude parity bit */
  10143. #define UARTE_CONFIG_PARITY_Included (0x7UL) /*!< Include parity bit */
  10144. /* Bit 0 : Hardware flow control */
  10145. #define UARTE_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */
  10146. #define UARTE_CONFIG_HWFC_Msk (0x1UL << UARTE_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */
  10147. #define UARTE_CONFIG_HWFC_Disabled (0UL) /*!< Disabled */
  10148. #define UARTE_CONFIG_HWFC_Enabled (1UL) /*!< Enabled */
  10149. /* Peripheral: UICR */
  10150. /* Description: User Information Configuration Registers */
  10151. /* Register: UICR_NRFFW */
  10152. /* Description: Description collection[0]: Reserved for Nordic firmware design */
  10153. /* Bits 31..0 : Reserved for Nordic firmware design */
  10154. #define UICR_NRFFW_NRFFW_Pos (0UL) /*!< Position of NRFFW field. */
  10155. #define UICR_NRFFW_NRFFW_Msk (0xFFFFFFFFUL << UICR_NRFFW_NRFFW_Pos) /*!< Bit mask of NRFFW field. */
  10156. /* Register: UICR_NRFHW */
  10157. /* Description: Description collection[0]: Reserved for Nordic hardware design */
  10158. /* Bits 31..0 : Reserved for Nordic hardware design */
  10159. #define UICR_NRFHW_NRFHW_Pos (0UL) /*!< Position of NRFHW field. */
  10160. #define UICR_NRFHW_NRFHW_Msk (0xFFFFFFFFUL << UICR_NRFHW_NRFHW_Pos) /*!< Bit mask of NRFHW field. */
  10161. /* Register: UICR_CUSTOMER */
  10162. /* Description: Description collection[0]: Reserved for customer */
  10163. /* Bits 31..0 : Reserved for customer */
  10164. #define UICR_CUSTOMER_CUSTOMER_Pos (0UL) /*!< Position of CUSTOMER field. */
  10165. #define UICR_CUSTOMER_CUSTOMER_Msk (0xFFFFFFFFUL << UICR_CUSTOMER_CUSTOMER_Pos) /*!< Bit mask of CUSTOMER field. */
  10166. /* Register: UICR_PSELRESET */
  10167. /* Description: Description collection[0]: Mapping of the nRESET function (see POWER chapter for details) */
  10168. /* Bit 31 : Connection */
  10169. #define UICR_PSELRESET_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */
  10170. #define UICR_PSELRESET_CONNECT_Msk (0x1UL << UICR_PSELRESET_CONNECT_Pos) /*!< Bit mask of CONNECT field. */
  10171. #define UICR_PSELRESET_CONNECT_Connected (0UL) /*!< Connect */
  10172. #define UICR_PSELRESET_CONNECT_Disconnected (1UL) /*!< Disconnect */
  10173. /* Bits 5..0 : GPIO number P0.n onto which Reset is exposed */
  10174. #define UICR_PSELRESET_PIN_Pos (0UL) /*!< Position of PIN field. */
  10175. #define UICR_PSELRESET_PIN_Msk (0x3FUL << UICR_PSELRESET_PIN_Pos) /*!< Bit mask of PIN field. */
  10176. /* Register: UICR_APPROTECT */
  10177. /* Description: Access Port protection */
  10178. /* Bits 7..0 : Enable or disable Access Port protection. Any other value than 0xFF being written to this field will enable protection. */
  10179. #define UICR_APPROTECT_PALL_Pos (0UL) /*!< Position of PALL field. */
  10180. #define UICR_APPROTECT_PALL_Msk (0xFFUL << UICR_APPROTECT_PALL_Pos) /*!< Bit mask of PALL field. */
  10181. #define UICR_APPROTECT_PALL_Enabled (0x00UL) /*!< Enable */
  10182. #define UICR_APPROTECT_PALL_Disabled (0xFFUL) /*!< Disable */
  10183. /* Register: UICR_NFCPINS */
  10184. /* Description: Setting of pins dedicated to NFC functionality: NFC antenna or GPIO */
  10185. /* Bit 0 : Setting of pins dedicated to NFC functionality */
  10186. #define UICR_NFCPINS_PROTECT_Pos (0UL) /*!< Position of PROTECT field. */
  10187. #define UICR_NFCPINS_PROTECT_Msk (0x1UL << UICR_NFCPINS_PROTECT_Pos) /*!< Bit mask of PROTECT field. */
  10188. #define UICR_NFCPINS_PROTECT_Disabled (0UL) /*!< Operation as GPIO pins. Same protection as normal GPIO pins */
  10189. #define UICR_NFCPINS_PROTECT_NFC (1UL) /*!< Operation as NFC antenna pins. Configures the protection for NFC operation */
  10190. /* Peripheral: WDT */
  10191. /* Description: Watchdog Timer */
  10192. /* Register: WDT_INTENSET */
  10193. /* Description: Enable interrupt */
  10194. /* Bit 0 : Write '1' to Enable interrupt for TIMEOUT event */
  10195. #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
  10196. #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
  10197. #define WDT_INTENSET_TIMEOUT_Disabled (0UL) /*!< Read: Disabled */
  10198. #define WDT_INTENSET_TIMEOUT_Enabled (1UL) /*!< Read: Enabled */
  10199. #define WDT_INTENSET_TIMEOUT_Set (1UL) /*!< Enable */
  10200. /* Register: WDT_INTENCLR */
  10201. /* Description: Disable interrupt */
  10202. /* Bit 0 : Write '1' to Disable interrupt for TIMEOUT event */
  10203. #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
  10204. #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
  10205. #define WDT_INTENCLR_TIMEOUT_Disabled (0UL) /*!< Read: Disabled */
  10206. #define WDT_INTENCLR_TIMEOUT_Enabled (1UL) /*!< Read: Enabled */
  10207. #define WDT_INTENCLR_TIMEOUT_Clear (1UL) /*!< Disable */
  10208. /* Register: WDT_RUNSTATUS */
  10209. /* Description: Run status */
  10210. /* Bit 0 : Indicates whether or not the watchdog is running */
  10211. #define WDT_RUNSTATUS_RUNSTATUS_Pos (0UL) /*!< Position of RUNSTATUS field. */
  10212. #define WDT_RUNSTATUS_RUNSTATUS_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUS_Pos) /*!< Bit mask of RUNSTATUS field. */
  10213. #define WDT_RUNSTATUS_RUNSTATUS_NotRunning (0UL) /*!< Watchdog not running */
  10214. #define WDT_RUNSTATUS_RUNSTATUS_Running (1UL) /*!< Watchdog is running */
  10215. /* Register: WDT_REQSTATUS */
  10216. /* Description: Request status */
  10217. /* Bit 7 : Request status for RR[7] register */
  10218. #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */
  10219. #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */
  10220. #define WDT_REQSTATUS_RR7_DisabledOrRequested (0UL) /*!< RR[7] register is not enabled, or are already requesting reload */
  10221. #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (1UL) /*!< RR[7] register is enabled, and are not yet requesting reload */
  10222. /* Bit 6 : Request status for RR[6] register */
  10223. #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */
  10224. #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */
  10225. #define WDT_REQSTATUS_RR6_DisabledOrRequested (0UL) /*!< RR[6] register is not enabled, or are already requesting reload */
  10226. #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (1UL) /*!< RR[6] register is enabled, and are not yet requesting reload */
  10227. /* Bit 5 : Request status for RR[5] register */
  10228. #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */
  10229. #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */
  10230. #define WDT_REQSTATUS_RR5_DisabledOrRequested (0UL) /*!< RR[5] register is not enabled, or are already requesting reload */
  10231. #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (1UL) /*!< RR[5] register is enabled, and are not yet requesting reload */
  10232. /* Bit 4 : Request status for RR[4] register */
  10233. #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */
  10234. #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */
  10235. #define WDT_REQSTATUS_RR4_DisabledOrRequested (0UL) /*!< RR[4] register is not enabled, or are already requesting reload */
  10236. #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (1UL) /*!< RR[4] register is enabled, and are not yet requesting reload */
  10237. /* Bit 3 : Request status for RR[3] register */
  10238. #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */
  10239. #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */
  10240. #define WDT_REQSTATUS_RR3_DisabledOrRequested (0UL) /*!< RR[3] register is not enabled, or are already requesting reload */
  10241. #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (1UL) /*!< RR[3] register is enabled, and are not yet requesting reload */
  10242. /* Bit 2 : Request status for RR[2] register */
  10243. #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */
  10244. #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */
  10245. #define WDT_REQSTATUS_RR2_DisabledOrRequested (0UL) /*!< RR[2] register is not enabled, or are already requesting reload */
  10246. #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (1UL) /*!< RR[2] register is enabled, and are not yet requesting reload */
  10247. /* Bit 1 : Request status for RR[1] register */
  10248. #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */
  10249. #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */
  10250. #define WDT_REQSTATUS_RR1_DisabledOrRequested (0UL) /*!< RR[1] register is not enabled, or are already requesting reload */
  10251. #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (1UL) /*!< RR[1] register is enabled, and are not yet requesting reload */
  10252. /* Bit 0 : Request status for RR[0] register */
  10253. #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */
  10254. #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */
  10255. #define WDT_REQSTATUS_RR0_DisabledOrRequested (0UL) /*!< RR[0] register is not enabled, or are already requesting reload */
  10256. #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (1UL) /*!< RR[0] register is enabled, and are not yet requesting reload */
  10257. /* Register: WDT_CRV */
  10258. /* Description: Counter reload value */
  10259. /* Bits 31..0 : Counter reload value in number of cycles of the 32.768 kHz clock */
  10260. #define WDT_CRV_CRV_Pos (0UL) /*!< Position of CRV field. */
  10261. #define WDT_CRV_CRV_Msk (0xFFFFFFFFUL << WDT_CRV_CRV_Pos) /*!< Bit mask of CRV field. */
  10262. /* Register: WDT_RREN */
  10263. /* Description: Enable register for reload request registers */
  10264. /* Bit 7 : Enable or disable RR[7] register */
  10265. #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */
  10266. #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */
  10267. #define WDT_RREN_RR7_Disabled (0UL) /*!< Disable RR[7] register */
  10268. #define WDT_RREN_RR7_Enabled (1UL) /*!< Enable RR[7] register */
  10269. /* Bit 6 : Enable or disable RR[6] register */
  10270. #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */
  10271. #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */
  10272. #define WDT_RREN_RR6_Disabled (0UL) /*!< Disable RR[6] register */
  10273. #define WDT_RREN_RR6_Enabled (1UL) /*!< Enable RR[6] register */
  10274. /* Bit 5 : Enable or disable RR[5] register */
  10275. #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */
  10276. #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */
  10277. #define WDT_RREN_RR5_Disabled (0UL) /*!< Disable RR[5] register */
  10278. #define WDT_RREN_RR5_Enabled (1UL) /*!< Enable RR[5] register */
  10279. /* Bit 4 : Enable or disable RR[4] register */
  10280. #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */
  10281. #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */
  10282. #define WDT_RREN_RR4_Disabled (0UL) /*!< Disable RR[4] register */
  10283. #define WDT_RREN_RR4_Enabled (1UL) /*!< Enable RR[4] register */
  10284. /* Bit 3 : Enable or disable RR[3] register */
  10285. #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */
  10286. #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */
  10287. #define WDT_RREN_RR3_Disabled (0UL) /*!< Disable RR[3] register */
  10288. #define WDT_RREN_RR3_Enabled (1UL) /*!< Enable RR[3] register */
  10289. /* Bit 2 : Enable or disable RR[2] register */
  10290. #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */
  10291. #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */
  10292. #define WDT_RREN_RR2_Disabled (0UL) /*!< Disable RR[2] register */
  10293. #define WDT_RREN_RR2_Enabled (1UL) /*!< Enable RR[2] register */
  10294. /* Bit 1 : Enable or disable RR[1] register */
  10295. #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */
  10296. #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */
  10297. #define WDT_RREN_RR1_Disabled (0UL) /*!< Disable RR[1] register */
  10298. #define WDT_RREN_RR1_Enabled (1UL) /*!< Enable RR[1] register */
  10299. /* Bit 0 : Enable or disable RR[0] register */
  10300. #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */
  10301. #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */
  10302. #define WDT_RREN_RR0_Disabled (0UL) /*!< Disable RR[0] register */
  10303. #define WDT_RREN_RR0_Enabled (1UL) /*!< Enable RR[0] register */
  10304. /* Register: WDT_CONFIG */
  10305. /* Description: Configuration register */
  10306. /* Bit 3 : Configure the watchdog to either be paused, or kept running, while the CPU is halted by the debugger */
  10307. #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */
  10308. #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */
  10309. #define WDT_CONFIG_HALT_Pause (0UL) /*!< Pause watchdog while the CPU is halted by the debugger */
  10310. #define WDT_CONFIG_HALT_Run (1UL) /*!< Keep the watchdog running while the CPU is halted by the debugger */
  10311. /* Bit 0 : Configure the watchdog to either be paused, or kept running, while the CPU is sleeping */
  10312. #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */
  10313. #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */
  10314. #define WDT_CONFIG_SLEEP_Pause (0UL) /*!< Pause watchdog while the CPU is sleeping */
  10315. #define WDT_CONFIG_SLEEP_Run (1UL) /*!< Keep the watchdog running while the CPU is sleeping */
  10316. /* Register: WDT_RR */
  10317. /* Description: Description collection[0]: Reload request 0 */
  10318. /* Bits 31..0 : Reload request register */
  10319. #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */
  10320. #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */
  10321. #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer */
  10322. /*lint --flb "Leave library region" */
  10323. #endif