nrf51_bitfields.h 379 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892
  1. /* Copyright (c) 2015, Nordic Semiconductor ASA
  2. * All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * * Redistributions of source code must retain the above copyright notice, this
  8. * list of conditions and the following disclaimer.
  9. *
  10. * * Redistributions in binary form must reproduce the above copyright notice,
  11. * this list of conditions and the following disclaimer in the documentation
  12. * and/or other materials provided with the distribution.
  13. *
  14. * * Neither the name of Nordic Semiconductor ASA nor the names of its
  15. * contributors may be used to endorse or promote products derived from
  16. * this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  19. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  20. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  21. * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  22. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  23. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  24. * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  25. * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  26. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  27. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. *
  29. */
  30. #ifndef __NRF51_BITS_H
  31. #define __NRF51_BITS_H
  32. /*lint ++flb "Enter library region" */
  33. /* Peripheral: AAR */
  34. /* Description: Accelerated Address Resolver. */
  35. /* Register: AAR_INTENSET */
  36. /* Description: Interrupt enable set register. */
  37. /* Bit 2 : Enable interrupt on NOTRESOLVED event. */
  38. #define AAR_INTENSET_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */
  39. #define AAR_INTENSET_NOTRESOLVED_Msk (0x1UL << AAR_INTENSET_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */
  40. #define AAR_INTENSET_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  41. #define AAR_INTENSET_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  42. #define AAR_INTENSET_NOTRESOLVED_Set (1UL) /*!< Enable interrupt on write. */
  43. /* Bit 1 : Enable interrupt on RESOLVED event. */
  44. #define AAR_INTENSET_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */
  45. #define AAR_INTENSET_RESOLVED_Msk (0x1UL << AAR_INTENSET_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */
  46. #define AAR_INTENSET_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  47. #define AAR_INTENSET_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  48. #define AAR_INTENSET_RESOLVED_Set (1UL) /*!< Enable interrupt on write. */
  49. /* Bit 0 : Enable interrupt on END event. */
  50. #define AAR_INTENSET_END_Pos (0UL) /*!< Position of END field. */
  51. #define AAR_INTENSET_END_Msk (0x1UL << AAR_INTENSET_END_Pos) /*!< Bit mask of END field. */
  52. #define AAR_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  53. #define AAR_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  54. #define AAR_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  55. /* Register: AAR_INTENCLR */
  56. /* Description: Interrupt enable clear register. */
  57. /* Bit 2 : Disable interrupt on NOTRESOLVED event. */
  58. #define AAR_INTENCLR_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */
  59. #define AAR_INTENCLR_NOTRESOLVED_Msk (0x1UL << AAR_INTENCLR_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */
  60. #define AAR_INTENCLR_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  61. #define AAR_INTENCLR_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  62. #define AAR_INTENCLR_NOTRESOLVED_Clear (1UL) /*!< Disable interrupt on write. */
  63. /* Bit 1 : Disable interrupt on RESOLVED event. */
  64. #define AAR_INTENCLR_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */
  65. #define AAR_INTENCLR_RESOLVED_Msk (0x1UL << AAR_INTENCLR_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */
  66. #define AAR_INTENCLR_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
  67. #define AAR_INTENCLR_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
  68. #define AAR_INTENCLR_RESOLVED_Clear (1UL) /*!< Disable interrupt on write. */
  69. /* Bit 0 : Disable interrupt on ENDKSGEN event. */
  70. #define AAR_INTENCLR_END_Pos (0UL) /*!< Position of END field. */
  71. #define AAR_INTENCLR_END_Msk (0x1UL << AAR_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  72. #define AAR_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  73. #define AAR_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  74. #define AAR_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  75. /* Register: AAR_STATUS */
  76. /* Description: Resolution status. */
  77. /* Bits 3..0 : The IRK used last time an address was resolved. */
  78. #define AAR_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  79. #define AAR_STATUS_STATUS_Msk (0xFUL << AAR_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */
  80. /* Register: AAR_ENABLE */
  81. /* Description: Enable AAR. */
  82. /* Bits 1..0 : Enable AAR. */
  83. #define AAR_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  84. #define AAR_ENABLE_ENABLE_Msk (0x3UL << AAR_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  85. #define AAR_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled AAR. */
  86. #define AAR_ENABLE_ENABLE_Enabled (0x03UL) /*!< Enable AAR. */
  87. /* Register: AAR_NIRK */
  88. /* Description: Number of Identity root Keys in the IRK data structure. */
  89. /* Bits 4..0 : Number of Identity root Keys in the IRK data structure. */
  90. #define AAR_NIRK_NIRK_Pos (0UL) /*!< Position of NIRK field. */
  91. #define AAR_NIRK_NIRK_Msk (0x1FUL << AAR_NIRK_NIRK_Pos) /*!< Bit mask of NIRK field. */
  92. /* Register: AAR_POWER */
  93. /* Description: Peripheral power control. */
  94. /* Bit 0 : Peripheral power control. */
  95. #define AAR_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  96. #define AAR_POWER_POWER_Msk (0x1UL << AAR_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  97. #define AAR_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  98. #define AAR_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  99. /* Peripheral: ADC */
  100. /* Description: Analog to digital converter. */
  101. /* Register: ADC_INTENSET */
  102. /* Description: Interrupt enable set register. */
  103. /* Bit 0 : Enable interrupt on END event. */
  104. #define ADC_INTENSET_END_Pos (0UL) /*!< Position of END field. */
  105. #define ADC_INTENSET_END_Msk (0x1UL << ADC_INTENSET_END_Pos) /*!< Bit mask of END field. */
  106. #define ADC_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  107. #define ADC_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  108. #define ADC_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  109. /* Register: ADC_INTENCLR */
  110. /* Description: Interrupt enable clear register. */
  111. /* Bit 0 : Disable interrupt on END event. */
  112. #define ADC_INTENCLR_END_Pos (0UL) /*!< Position of END field. */
  113. #define ADC_INTENCLR_END_Msk (0x1UL << ADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  114. #define ADC_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  115. #define ADC_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  116. #define ADC_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  117. /* Register: ADC_BUSY */
  118. /* Description: ADC busy register. */
  119. /* Bit 0 : ADC busy register. */
  120. #define ADC_BUSY_BUSY_Pos (0UL) /*!< Position of BUSY field. */
  121. #define ADC_BUSY_BUSY_Msk (0x1UL << ADC_BUSY_BUSY_Pos) /*!< Bit mask of BUSY field. */
  122. #define ADC_BUSY_BUSY_Ready (0UL) /*!< No ongoing ADC conversion is taking place. ADC is ready. */
  123. #define ADC_BUSY_BUSY_Busy (1UL) /*!< An ADC conversion is taking place. ADC is busy. */
  124. /* Register: ADC_ENABLE */
  125. /* Description: ADC enable. */
  126. /* Bits 1..0 : ADC enable. */
  127. #define ADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  128. #define ADC_ENABLE_ENABLE_Msk (0x3UL << ADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  129. #define ADC_ENABLE_ENABLE_Disabled (0x00UL) /*!< ADC is disabled. */
  130. #define ADC_ENABLE_ENABLE_Enabled (0x01UL) /*!< ADC is enabled. If an analog input pin is selected as source of the conversion, the selected pin is configured as an analog input. */
  131. /* Register: ADC_CONFIG */
  132. /* Description: ADC configuration register. */
  133. /* Bits 17..16 : ADC external reference pin selection. */
  134. #define ADC_CONFIG_EXTREFSEL_Pos (16UL) /*!< Position of EXTREFSEL field. */
  135. #define ADC_CONFIG_EXTREFSEL_Msk (0x3UL << ADC_CONFIG_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
  136. #define ADC_CONFIG_EXTREFSEL_None (0UL) /*!< Analog external reference inputs disabled. */
  137. #define ADC_CONFIG_EXTREFSEL_AnalogReference0 (1UL) /*!< Use analog reference 0 as reference. */
  138. #define ADC_CONFIG_EXTREFSEL_AnalogReference1 (2UL) /*!< Use analog reference 1 as reference. */
  139. /* Bits 15..8 : ADC analog pin selection. */
  140. #define ADC_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
  141. #define ADC_CONFIG_PSEL_Msk (0xFFUL << ADC_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
  142. #define ADC_CONFIG_PSEL_Disabled (0UL) /*!< Analog input pins disabled. */
  143. #define ADC_CONFIG_PSEL_AnalogInput0 (1UL) /*!< Use analog input 0 as analog input. */
  144. #define ADC_CONFIG_PSEL_AnalogInput1 (2UL) /*!< Use analog input 1 as analog input. */
  145. #define ADC_CONFIG_PSEL_AnalogInput2 (4UL) /*!< Use analog input 2 as analog input. */
  146. #define ADC_CONFIG_PSEL_AnalogInput3 (8UL) /*!< Use analog input 3 as analog input. */
  147. #define ADC_CONFIG_PSEL_AnalogInput4 (16UL) /*!< Use analog input 4 as analog input. */
  148. #define ADC_CONFIG_PSEL_AnalogInput5 (32UL) /*!< Use analog input 5 as analog input. */
  149. #define ADC_CONFIG_PSEL_AnalogInput6 (64UL) /*!< Use analog input 6 as analog input. */
  150. #define ADC_CONFIG_PSEL_AnalogInput7 (128UL) /*!< Use analog input 7 as analog input. */
  151. /* Bits 6..5 : ADC reference selection. */
  152. #define ADC_CONFIG_REFSEL_Pos (5UL) /*!< Position of REFSEL field. */
  153. #define ADC_CONFIG_REFSEL_Msk (0x3UL << ADC_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  154. #define ADC_CONFIG_REFSEL_VBG (0x00UL) /*!< Use internal 1.2V bandgap voltage as reference for conversion. */
  155. #define ADC_CONFIG_REFSEL_External (0x01UL) /*!< Use external source configured by EXTREFSEL as reference for conversion. */
  156. #define ADC_CONFIG_REFSEL_SupplyOneHalfPrescaling (0x02UL) /*!< Use supply voltage with 1/2 prescaling as reference for conversion. Only usable when supply voltage is between 1.7V and 2.6V. */
  157. #define ADC_CONFIG_REFSEL_SupplyOneThirdPrescaling (0x03UL) /*!< Use supply voltage with 1/3 prescaling as reference for conversion. Only usable when supply voltage is between 2.5V and 3.6V. */
  158. /* Bits 4..2 : ADC input selection. */
  159. #define ADC_CONFIG_INPSEL_Pos (2UL) /*!< Position of INPSEL field. */
  160. #define ADC_CONFIG_INPSEL_Msk (0x7UL << ADC_CONFIG_INPSEL_Pos) /*!< Bit mask of INPSEL field. */
  161. #define ADC_CONFIG_INPSEL_AnalogInputNoPrescaling (0x00UL) /*!< Analog input specified by PSEL with no prescaling used as input for the conversion. */
  162. #define ADC_CONFIG_INPSEL_AnalogInputTwoThirdsPrescaling (0x01UL) /*!< Analog input specified by PSEL with 2/3 prescaling used as input for the conversion. */
  163. #define ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling (0x02UL) /*!< Analog input specified by PSEL with 1/3 prescaling used as input for the conversion. */
  164. #define ADC_CONFIG_INPSEL_SupplyTwoThirdsPrescaling (0x05UL) /*!< Supply voltage with 2/3 prescaling used as input for the conversion. */
  165. #define ADC_CONFIG_INPSEL_SupplyOneThirdPrescaling (0x06UL) /*!< Supply voltage with 1/3 prescaling used as input for the conversion. */
  166. /* Bits 1..0 : ADC resolution. */
  167. #define ADC_CONFIG_RES_Pos (0UL) /*!< Position of RES field. */
  168. #define ADC_CONFIG_RES_Msk (0x3UL << ADC_CONFIG_RES_Pos) /*!< Bit mask of RES field. */
  169. #define ADC_CONFIG_RES_8bit (0x00UL) /*!< 8bit ADC resolution. */
  170. #define ADC_CONFIG_RES_9bit (0x01UL) /*!< 9bit ADC resolution. */
  171. #define ADC_CONFIG_RES_10bit (0x02UL) /*!< 10bit ADC resolution. */
  172. /* Register: ADC_RESULT */
  173. /* Description: Result of ADC conversion. */
  174. /* Bits 9..0 : Result of ADC conversion. */
  175. #define ADC_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
  176. #define ADC_RESULT_RESULT_Msk (0x3FFUL << ADC_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
  177. /* Register: ADC_POWER */
  178. /* Description: Peripheral power control. */
  179. /* Bit 0 : Peripheral power control. */
  180. #define ADC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  181. #define ADC_POWER_POWER_Msk (0x1UL << ADC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  182. #define ADC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  183. #define ADC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  184. /* Peripheral: AMLI */
  185. /* Description: AHB Multi-Layer Interface. */
  186. /* Register: AMLI_RAMPRI_CPU0 */
  187. /* Description: Configurable priority configuration register for CPU0. */
  188. /* Bits 31..28 : Configuration field for RAM block 7. */
  189. #define AMLI_RAMPRI_CPU0_RAM7_Pos (28UL) /*!< Position of RAM7 field. */
  190. #define AMLI_RAMPRI_CPU0_RAM7_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM7_Pos) /*!< Bit mask of RAM7 field. */
  191. #define AMLI_RAMPRI_CPU0_RAM7_Pri0 (0x0UL) /*!< Priority 0. */
  192. #define AMLI_RAMPRI_CPU0_RAM7_Pri2 (0x2UL) /*!< Priority 2. */
  193. #define AMLI_RAMPRI_CPU0_RAM7_Pri4 (0x4UL) /*!< Priority 4. */
  194. #define AMLI_RAMPRI_CPU0_RAM7_Pri6 (0x6UL) /*!< Priority 6. */
  195. #define AMLI_RAMPRI_CPU0_RAM7_Pri8 (0x8UL) /*!< Priority 8. */
  196. #define AMLI_RAMPRI_CPU0_RAM7_Pri10 (0xAUL) /*!< Priority 10. */
  197. #define AMLI_RAMPRI_CPU0_RAM7_Pri12 (0xCUL) /*!< Priority 12. */
  198. #define AMLI_RAMPRI_CPU0_RAM7_Pri14 (0xEUL) /*!< Priority 14. */
  199. /* Bits 27..24 : Configuration field for RAM block 6. */
  200. #define AMLI_RAMPRI_CPU0_RAM6_Pos (24UL) /*!< Position of RAM6 field. */
  201. #define AMLI_RAMPRI_CPU0_RAM6_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM6_Pos) /*!< Bit mask of RAM6 field. */
  202. #define AMLI_RAMPRI_CPU0_RAM6_Pri0 (0x0UL) /*!< Priority 0. */
  203. #define AMLI_RAMPRI_CPU0_RAM6_Pri2 (0x2UL) /*!< Priority 2. */
  204. #define AMLI_RAMPRI_CPU0_RAM6_Pri4 (0x4UL) /*!< Priority 4. */
  205. #define AMLI_RAMPRI_CPU0_RAM6_Pri6 (0x6UL) /*!< Priority 6. */
  206. #define AMLI_RAMPRI_CPU0_RAM6_Pri8 (0x8UL) /*!< Priority 8. */
  207. #define AMLI_RAMPRI_CPU0_RAM6_Pri10 (0xAUL) /*!< Priority 10. */
  208. #define AMLI_RAMPRI_CPU0_RAM6_Pri12 (0xCUL) /*!< Priority 12. */
  209. #define AMLI_RAMPRI_CPU0_RAM6_Pri14 (0xEUL) /*!< Priority 14. */
  210. /* Bits 23..20 : Configuration field for RAM block 5. */
  211. #define AMLI_RAMPRI_CPU0_RAM5_Pos (20UL) /*!< Position of RAM5 field. */
  212. #define AMLI_RAMPRI_CPU0_RAM5_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM5_Pos) /*!< Bit mask of RAM5 field. */
  213. #define AMLI_RAMPRI_CPU0_RAM5_Pri0 (0x0UL) /*!< Priority 0. */
  214. #define AMLI_RAMPRI_CPU0_RAM5_Pri2 (0x2UL) /*!< Priority 2. */
  215. #define AMLI_RAMPRI_CPU0_RAM5_Pri4 (0x4UL) /*!< Priority 4. */
  216. #define AMLI_RAMPRI_CPU0_RAM5_Pri6 (0x6UL) /*!< Priority 6. */
  217. #define AMLI_RAMPRI_CPU0_RAM5_Pri8 (0x8UL) /*!< Priority 8. */
  218. #define AMLI_RAMPRI_CPU0_RAM5_Pri10 (0xAUL) /*!< Priority 10. */
  219. #define AMLI_RAMPRI_CPU0_RAM5_Pri12 (0xCUL) /*!< Priority 12. */
  220. #define AMLI_RAMPRI_CPU0_RAM5_Pri14 (0xEUL) /*!< Priority 14. */
  221. /* Bits 19..16 : Configuration field for RAM block 4. */
  222. #define AMLI_RAMPRI_CPU0_RAM4_Pos (16UL) /*!< Position of RAM4 field. */
  223. #define AMLI_RAMPRI_CPU0_RAM4_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM4_Pos) /*!< Bit mask of RAM4 field. */
  224. #define AMLI_RAMPRI_CPU0_RAM4_Pri0 (0x0UL) /*!< Priority 0. */
  225. #define AMLI_RAMPRI_CPU0_RAM4_Pri2 (0x2UL) /*!< Priority 2. */
  226. #define AMLI_RAMPRI_CPU0_RAM4_Pri4 (0x4UL) /*!< Priority 4. */
  227. #define AMLI_RAMPRI_CPU0_RAM4_Pri6 (0x6UL) /*!< Priority 6. */
  228. #define AMLI_RAMPRI_CPU0_RAM4_Pri8 (0x8UL) /*!< Priority 8. */
  229. #define AMLI_RAMPRI_CPU0_RAM4_Pri10 (0xAUL) /*!< Priority 10. */
  230. #define AMLI_RAMPRI_CPU0_RAM4_Pri12 (0xCUL) /*!< Priority 12. */
  231. #define AMLI_RAMPRI_CPU0_RAM4_Pri14 (0xEUL) /*!< Priority 14. */
  232. /* Bits 15..12 : Configuration field for RAM block 3. */
  233. #define AMLI_RAMPRI_CPU0_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
  234. #define AMLI_RAMPRI_CPU0_RAM3_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM3_Pos) /*!< Bit mask of RAM3 field. */
  235. #define AMLI_RAMPRI_CPU0_RAM3_Pri0 (0x0UL) /*!< Priority 0. */
  236. #define AMLI_RAMPRI_CPU0_RAM3_Pri2 (0x2UL) /*!< Priority 2. */
  237. #define AMLI_RAMPRI_CPU0_RAM3_Pri4 (0x4UL) /*!< Priority 4. */
  238. #define AMLI_RAMPRI_CPU0_RAM3_Pri6 (0x6UL) /*!< Priority 6. */
  239. #define AMLI_RAMPRI_CPU0_RAM3_Pri8 (0x8UL) /*!< Priority 8. */
  240. #define AMLI_RAMPRI_CPU0_RAM3_Pri10 (0xAUL) /*!< Priority 10. */
  241. #define AMLI_RAMPRI_CPU0_RAM3_Pri12 (0xCUL) /*!< Priority 12. */
  242. #define AMLI_RAMPRI_CPU0_RAM3_Pri14 (0xEUL) /*!< Priority 14. */
  243. /* Bits 11..8 : Configuration field for RAM block 2. */
  244. #define AMLI_RAMPRI_CPU0_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
  245. #define AMLI_RAMPRI_CPU0_RAM2_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM2_Pos) /*!< Bit mask of RAM2 field. */
  246. #define AMLI_RAMPRI_CPU0_RAM2_Pri0 (0x0UL) /*!< Priority 0. */
  247. #define AMLI_RAMPRI_CPU0_RAM2_Pri2 (0x2UL) /*!< Priority 2. */
  248. #define AMLI_RAMPRI_CPU0_RAM2_Pri4 (0x4UL) /*!< Priority 4. */
  249. #define AMLI_RAMPRI_CPU0_RAM2_Pri6 (0x6UL) /*!< Priority 6. */
  250. #define AMLI_RAMPRI_CPU0_RAM2_Pri8 (0x8UL) /*!< Priority 8. */
  251. #define AMLI_RAMPRI_CPU0_RAM2_Pri10 (0xAUL) /*!< Priority 10. */
  252. #define AMLI_RAMPRI_CPU0_RAM2_Pri12 (0xCUL) /*!< Priority 12. */
  253. #define AMLI_RAMPRI_CPU0_RAM2_Pri14 (0xEUL) /*!< Priority 14. */
  254. /* Bits 7..4 : Configuration field for RAM block 1. */
  255. #define AMLI_RAMPRI_CPU0_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
  256. #define AMLI_RAMPRI_CPU0_RAM1_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM1_Pos) /*!< Bit mask of RAM1 field. */
  257. #define AMLI_RAMPRI_CPU0_RAM1_Pri0 (0x0UL) /*!< Priority 0. */
  258. #define AMLI_RAMPRI_CPU0_RAM1_Pri2 (0x2UL) /*!< Priority 2. */
  259. #define AMLI_RAMPRI_CPU0_RAM1_Pri4 (0x4UL) /*!< Priority 4. */
  260. #define AMLI_RAMPRI_CPU0_RAM1_Pri6 (0x6UL) /*!< Priority 6. */
  261. #define AMLI_RAMPRI_CPU0_RAM1_Pri8 (0x8UL) /*!< Priority 8. */
  262. #define AMLI_RAMPRI_CPU0_RAM1_Pri10 (0xAUL) /*!< Priority 10. */
  263. #define AMLI_RAMPRI_CPU0_RAM1_Pri12 (0xCUL) /*!< Priority 12. */
  264. #define AMLI_RAMPRI_CPU0_RAM1_Pri14 (0xEUL) /*!< Priority 14. */
  265. /* Bits 3..0 : Configuration field for RAM block 0. */
  266. #define AMLI_RAMPRI_CPU0_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
  267. #define AMLI_RAMPRI_CPU0_RAM0_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM0_Pos) /*!< Bit mask of RAM0 field. */
  268. #define AMLI_RAMPRI_CPU0_RAM0_Pri0 (0x0UL) /*!< Priority 0. */
  269. #define AMLI_RAMPRI_CPU0_RAM0_Pri2 (0x2UL) /*!< Priority 2. */
  270. #define AMLI_RAMPRI_CPU0_RAM0_Pri4 (0x4UL) /*!< Priority 4. */
  271. #define AMLI_RAMPRI_CPU0_RAM0_Pri6 (0x6UL) /*!< Priority 6. */
  272. #define AMLI_RAMPRI_CPU0_RAM0_Pri8 (0x8UL) /*!< Priority 8. */
  273. #define AMLI_RAMPRI_CPU0_RAM0_Pri10 (0xAUL) /*!< Priority 10. */
  274. #define AMLI_RAMPRI_CPU0_RAM0_Pri12 (0xCUL) /*!< Priority 12. */
  275. #define AMLI_RAMPRI_CPU0_RAM0_Pri14 (0xEUL) /*!< Priority 14. */
  276. /* Register: AMLI_RAMPRI_SPIS1 */
  277. /* Description: Configurable priority configuration register for SPIS1. */
  278. /* Bits 31..28 : Configuration field for RAM block 7. */
  279. #define AMLI_RAMPRI_SPIS1_RAM7_Pos (28UL) /*!< Position of RAM7 field. */
  280. #define AMLI_RAMPRI_SPIS1_RAM7_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM7_Pos) /*!< Bit mask of RAM7 field. */
  281. #define AMLI_RAMPRI_SPIS1_RAM7_Pri0 (0x0UL) /*!< Priority 0. */
  282. #define AMLI_RAMPRI_SPIS1_RAM7_Pri2 (0x2UL) /*!< Priority 2. */
  283. #define AMLI_RAMPRI_SPIS1_RAM7_Pri4 (0x4UL) /*!< Priority 4. */
  284. #define AMLI_RAMPRI_SPIS1_RAM7_Pri6 (0x6UL) /*!< Priority 6. */
  285. #define AMLI_RAMPRI_SPIS1_RAM7_Pri8 (0x8UL) /*!< Priority 8. */
  286. #define AMLI_RAMPRI_SPIS1_RAM7_Pri10 (0xAUL) /*!< Priority 10. */
  287. #define AMLI_RAMPRI_SPIS1_RAM7_Pri12 (0xCUL) /*!< Priority 12. */
  288. #define AMLI_RAMPRI_SPIS1_RAM7_Pri14 (0xEUL) /*!< Priority 14. */
  289. /* Bits 27..24 : Configuration field for RAM block 6. */
  290. #define AMLI_RAMPRI_SPIS1_RAM6_Pos (24UL) /*!< Position of RAM6 field. */
  291. #define AMLI_RAMPRI_SPIS1_RAM6_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM6_Pos) /*!< Bit mask of RAM6 field. */
  292. #define AMLI_RAMPRI_SPIS1_RAM6_Pri0 (0x0UL) /*!< Priority 0. */
  293. #define AMLI_RAMPRI_SPIS1_RAM6_Pri2 (0x2UL) /*!< Priority 2. */
  294. #define AMLI_RAMPRI_SPIS1_RAM6_Pri4 (0x4UL) /*!< Priority 4. */
  295. #define AMLI_RAMPRI_SPIS1_RAM6_Pri6 (0x6UL) /*!< Priority 6. */
  296. #define AMLI_RAMPRI_SPIS1_RAM6_Pri8 (0x8UL) /*!< Priority 8. */
  297. #define AMLI_RAMPRI_SPIS1_RAM6_Pri10 (0xAUL) /*!< Priority 10. */
  298. #define AMLI_RAMPRI_SPIS1_RAM6_Pri12 (0xCUL) /*!< Priority 12. */
  299. #define AMLI_RAMPRI_SPIS1_RAM6_Pri14 (0xEUL) /*!< Priority 14. */
  300. /* Bits 23..20 : Configuration field for RAM block 5. */
  301. #define AMLI_RAMPRI_SPIS1_RAM5_Pos (20UL) /*!< Position of RAM5 field. */
  302. #define AMLI_RAMPRI_SPIS1_RAM5_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM5_Pos) /*!< Bit mask of RAM5 field. */
  303. #define AMLI_RAMPRI_SPIS1_RAM5_Pri0 (0x0UL) /*!< Priority 0. */
  304. #define AMLI_RAMPRI_SPIS1_RAM5_Pri2 (0x2UL) /*!< Priority 2. */
  305. #define AMLI_RAMPRI_SPIS1_RAM5_Pri4 (0x4UL) /*!< Priority 4. */
  306. #define AMLI_RAMPRI_SPIS1_RAM5_Pri6 (0x6UL) /*!< Priority 6. */
  307. #define AMLI_RAMPRI_SPIS1_RAM5_Pri8 (0x8UL) /*!< Priority 8. */
  308. #define AMLI_RAMPRI_SPIS1_RAM5_Pri10 (0xAUL) /*!< Priority 10. */
  309. #define AMLI_RAMPRI_SPIS1_RAM5_Pri12 (0xCUL) /*!< Priority 12. */
  310. #define AMLI_RAMPRI_SPIS1_RAM5_Pri14 (0xEUL) /*!< Priority 14. */
  311. /* Bits 19..16 : Configuration field for RAM block 4. */
  312. #define AMLI_RAMPRI_SPIS1_RAM4_Pos (16UL) /*!< Position of RAM4 field. */
  313. #define AMLI_RAMPRI_SPIS1_RAM4_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM4_Pos) /*!< Bit mask of RAM4 field. */
  314. #define AMLI_RAMPRI_SPIS1_RAM4_Pri0 (0x0UL) /*!< Priority 0. */
  315. #define AMLI_RAMPRI_SPIS1_RAM4_Pri2 (0x2UL) /*!< Priority 2. */
  316. #define AMLI_RAMPRI_SPIS1_RAM4_Pri4 (0x4UL) /*!< Priority 4. */
  317. #define AMLI_RAMPRI_SPIS1_RAM4_Pri6 (0x6UL) /*!< Priority 6. */
  318. #define AMLI_RAMPRI_SPIS1_RAM4_Pri8 (0x8UL) /*!< Priority 8. */
  319. #define AMLI_RAMPRI_SPIS1_RAM4_Pri10 (0xAUL) /*!< Priority 10. */
  320. #define AMLI_RAMPRI_SPIS1_RAM4_Pri12 (0xCUL) /*!< Priority 12. */
  321. #define AMLI_RAMPRI_SPIS1_RAM4_Pri14 (0xEUL) /*!< Priority 14. */
  322. /* Bits 15..12 : Configuration field for RAM block 3. */
  323. #define AMLI_RAMPRI_SPIS1_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
  324. #define AMLI_RAMPRI_SPIS1_RAM3_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM3_Pos) /*!< Bit mask of RAM3 field. */
  325. #define AMLI_RAMPRI_SPIS1_RAM3_Pri0 (0x0UL) /*!< Priority 0. */
  326. #define AMLI_RAMPRI_SPIS1_RAM3_Pri2 (0x2UL) /*!< Priority 2. */
  327. #define AMLI_RAMPRI_SPIS1_RAM3_Pri4 (0x4UL) /*!< Priority 4. */
  328. #define AMLI_RAMPRI_SPIS1_RAM3_Pri6 (0x6UL) /*!< Priority 6. */
  329. #define AMLI_RAMPRI_SPIS1_RAM3_Pri8 (0x8UL) /*!< Priority 8. */
  330. #define AMLI_RAMPRI_SPIS1_RAM3_Pri10 (0xAUL) /*!< Priority 10. */
  331. #define AMLI_RAMPRI_SPIS1_RAM3_Pri12 (0xCUL) /*!< Priority 12. */
  332. #define AMLI_RAMPRI_SPIS1_RAM3_Pri14 (0xEUL) /*!< Priority 14. */
  333. /* Bits 11..8 : Configuration field for RAM block 2. */
  334. #define AMLI_RAMPRI_SPIS1_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
  335. #define AMLI_RAMPRI_SPIS1_RAM2_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM2_Pos) /*!< Bit mask of RAM2 field. */
  336. #define AMLI_RAMPRI_SPIS1_RAM2_Pri0 (0x0UL) /*!< Priority 0. */
  337. #define AMLI_RAMPRI_SPIS1_RAM2_Pri2 (0x2UL) /*!< Priority 2. */
  338. #define AMLI_RAMPRI_SPIS1_RAM2_Pri4 (0x4UL) /*!< Priority 4. */
  339. #define AMLI_RAMPRI_SPIS1_RAM2_Pri6 (0x6UL) /*!< Priority 6. */
  340. #define AMLI_RAMPRI_SPIS1_RAM2_Pri8 (0x8UL) /*!< Priority 8. */
  341. #define AMLI_RAMPRI_SPIS1_RAM2_Pri10 (0xAUL) /*!< Priority 10. */
  342. #define AMLI_RAMPRI_SPIS1_RAM2_Pri12 (0xCUL) /*!< Priority 12. */
  343. #define AMLI_RAMPRI_SPIS1_RAM2_Pri14 (0xEUL) /*!< Priority 14. */
  344. /* Bits 7..4 : Configuration field for RAM block 1. */
  345. #define AMLI_RAMPRI_SPIS1_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
  346. #define AMLI_RAMPRI_SPIS1_RAM1_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM1_Pos) /*!< Bit mask of RAM1 field. */
  347. #define AMLI_RAMPRI_SPIS1_RAM1_Pri0 (0x0UL) /*!< Priority 0. */
  348. #define AMLI_RAMPRI_SPIS1_RAM1_Pri2 (0x2UL) /*!< Priority 2. */
  349. #define AMLI_RAMPRI_SPIS1_RAM1_Pri4 (0x4UL) /*!< Priority 4. */
  350. #define AMLI_RAMPRI_SPIS1_RAM1_Pri6 (0x6UL) /*!< Priority 6. */
  351. #define AMLI_RAMPRI_SPIS1_RAM1_Pri8 (0x8UL) /*!< Priority 8. */
  352. #define AMLI_RAMPRI_SPIS1_RAM1_Pri10 (0xAUL) /*!< Priority 10. */
  353. #define AMLI_RAMPRI_SPIS1_RAM1_Pri12 (0xCUL) /*!< Priority 12. */
  354. #define AMLI_RAMPRI_SPIS1_RAM1_Pri14 (0xEUL) /*!< Priority 14. */
  355. /* Bits 3..0 : Configuration field for RAM block 0. */
  356. #define AMLI_RAMPRI_SPIS1_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
  357. #define AMLI_RAMPRI_SPIS1_RAM0_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM0_Pos) /*!< Bit mask of RAM0 field. */
  358. #define AMLI_RAMPRI_SPIS1_RAM0_Pri0 (0x0UL) /*!< Priority 0. */
  359. #define AMLI_RAMPRI_SPIS1_RAM0_Pri2 (0x2UL) /*!< Priority 2. */
  360. #define AMLI_RAMPRI_SPIS1_RAM0_Pri4 (0x4UL) /*!< Priority 4. */
  361. #define AMLI_RAMPRI_SPIS1_RAM0_Pri6 (0x6UL) /*!< Priority 6. */
  362. #define AMLI_RAMPRI_SPIS1_RAM0_Pri8 (0x8UL) /*!< Priority 8. */
  363. #define AMLI_RAMPRI_SPIS1_RAM0_Pri10 (0xAUL) /*!< Priority 10. */
  364. #define AMLI_RAMPRI_SPIS1_RAM0_Pri12 (0xCUL) /*!< Priority 12. */
  365. #define AMLI_RAMPRI_SPIS1_RAM0_Pri14 (0xEUL) /*!< Priority 14. */
  366. /* Register: AMLI_RAMPRI_RADIO */
  367. /* Description: Configurable priority configuration register for RADIO. */
  368. /* Bits 31..28 : Configuration field for RAM block 7. */
  369. #define AMLI_RAMPRI_RADIO_RAM7_Pos (28UL) /*!< Position of RAM7 field. */
  370. #define AMLI_RAMPRI_RADIO_RAM7_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM7_Pos) /*!< Bit mask of RAM7 field. */
  371. #define AMLI_RAMPRI_RADIO_RAM7_Pri0 (0x0UL) /*!< Priority 0. */
  372. #define AMLI_RAMPRI_RADIO_RAM7_Pri2 (0x2UL) /*!< Priority 2. */
  373. #define AMLI_RAMPRI_RADIO_RAM7_Pri4 (0x4UL) /*!< Priority 4. */
  374. #define AMLI_RAMPRI_RADIO_RAM7_Pri6 (0x6UL) /*!< Priority 6. */
  375. #define AMLI_RAMPRI_RADIO_RAM7_Pri8 (0x8UL) /*!< Priority 8. */
  376. #define AMLI_RAMPRI_RADIO_RAM7_Pri10 (0xAUL) /*!< Priority 10. */
  377. #define AMLI_RAMPRI_RADIO_RAM7_Pri12 (0xCUL) /*!< Priority 12. */
  378. #define AMLI_RAMPRI_RADIO_RAM7_Pri14 (0xEUL) /*!< Priority 14. */
  379. /* Bits 27..24 : Configuration field for RAM block 6. */
  380. #define AMLI_RAMPRI_RADIO_RAM6_Pos (24UL) /*!< Position of RAM6 field. */
  381. #define AMLI_RAMPRI_RADIO_RAM6_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM6_Pos) /*!< Bit mask of RAM6 field. */
  382. #define AMLI_RAMPRI_RADIO_RAM6_Pri0 (0x0UL) /*!< Priority 0. */
  383. #define AMLI_RAMPRI_RADIO_RAM6_Pri2 (0x2UL) /*!< Priority 2. */
  384. #define AMLI_RAMPRI_RADIO_RAM6_Pri4 (0x4UL) /*!< Priority 4. */
  385. #define AMLI_RAMPRI_RADIO_RAM6_Pri6 (0x6UL) /*!< Priority 6. */
  386. #define AMLI_RAMPRI_RADIO_RAM6_Pri8 (0x8UL) /*!< Priority 8. */
  387. #define AMLI_RAMPRI_RADIO_RAM6_Pri10 (0xAUL) /*!< Priority 10. */
  388. #define AMLI_RAMPRI_RADIO_RAM6_Pri12 (0xCUL) /*!< Priority 12. */
  389. #define AMLI_RAMPRI_RADIO_RAM6_Pri14 (0xEUL) /*!< Priority 14. */
  390. /* Bits 23..20 : Configuration field for RAM block 5. */
  391. #define AMLI_RAMPRI_RADIO_RAM5_Pos (20UL) /*!< Position of RAM5 field. */
  392. #define AMLI_RAMPRI_RADIO_RAM5_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM5_Pos) /*!< Bit mask of RAM5 field. */
  393. #define AMLI_RAMPRI_RADIO_RAM5_Pri0 (0x0UL) /*!< Priority 0. */
  394. #define AMLI_RAMPRI_RADIO_RAM5_Pri2 (0x2UL) /*!< Priority 2. */
  395. #define AMLI_RAMPRI_RADIO_RAM5_Pri4 (0x4UL) /*!< Priority 4. */
  396. #define AMLI_RAMPRI_RADIO_RAM5_Pri6 (0x6UL) /*!< Priority 6. */
  397. #define AMLI_RAMPRI_RADIO_RAM5_Pri8 (0x8UL) /*!< Priority 8. */
  398. #define AMLI_RAMPRI_RADIO_RAM5_Pri10 (0xAUL) /*!< Priority 10. */
  399. #define AMLI_RAMPRI_RADIO_RAM5_Pri12 (0xCUL) /*!< Priority 12. */
  400. #define AMLI_RAMPRI_RADIO_RAM5_Pri14 (0xEUL) /*!< Priority 14. */
  401. /* Bits 19..16 : Configuration field for RAM block 4. */
  402. #define AMLI_RAMPRI_RADIO_RAM4_Pos (16UL) /*!< Position of RAM4 field. */
  403. #define AMLI_RAMPRI_RADIO_RAM4_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM4_Pos) /*!< Bit mask of RAM4 field. */
  404. #define AMLI_RAMPRI_RADIO_RAM4_Pri0 (0x0UL) /*!< Priority 0. */
  405. #define AMLI_RAMPRI_RADIO_RAM4_Pri2 (0x2UL) /*!< Priority 2. */
  406. #define AMLI_RAMPRI_RADIO_RAM4_Pri4 (0x4UL) /*!< Priority 4. */
  407. #define AMLI_RAMPRI_RADIO_RAM4_Pri6 (0x6UL) /*!< Priority 6. */
  408. #define AMLI_RAMPRI_RADIO_RAM4_Pri8 (0x8UL) /*!< Priority 8. */
  409. #define AMLI_RAMPRI_RADIO_RAM4_Pri10 (0xAUL) /*!< Priority 10. */
  410. #define AMLI_RAMPRI_RADIO_RAM4_Pri12 (0xCUL) /*!< Priority 12. */
  411. #define AMLI_RAMPRI_RADIO_RAM4_Pri14 (0xEUL) /*!< Priority 14. */
  412. /* Bits 15..12 : Configuration field for RAM block 3. */
  413. #define AMLI_RAMPRI_RADIO_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
  414. #define AMLI_RAMPRI_RADIO_RAM3_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM3_Pos) /*!< Bit mask of RAM3 field. */
  415. #define AMLI_RAMPRI_RADIO_RAM3_Pri0 (0x0UL) /*!< Priority 0. */
  416. #define AMLI_RAMPRI_RADIO_RAM3_Pri2 (0x2UL) /*!< Priority 2. */
  417. #define AMLI_RAMPRI_RADIO_RAM3_Pri4 (0x4UL) /*!< Priority 4. */
  418. #define AMLI_RAMPRI_RADIO_RAM3_Pri6 (0x6UL) /*!< Priority 6. */
  419. #define AMLI_RAMPRI_RADIO_RAM3_Pri8 (0x8UL) /*!< Priority 8. */
  420. #define AMLI_RAMPRI_RADIO_RAM3_Pri10 (0xAUL) /*!< Priority 10. */
  421. #define AMLI_RAMPRI_RADIO_RAM3_Pri12 (0xCUL) /*!< Priority 12. */
  422. #define AMLI_RAMPRI_RADIO_RAM3_Pri14 (0xEUL) /*!< Priority 14. */
  423. /* Bits 11..8 : Configuration field for RAM block 2. */
  424. #define AMLI_RAMPRI_RADIO_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
  425. #define AMLI_RAMPRI_RADIO_RAM2_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM2_Pos) /*!< Bit mask of RAM2 field. */
  426. #define AMLI_RAMPRI_RADIO_RAM2_Pri0 (0x0UL) /*!< Priority 0. */
  427. #define AMLI_RAMPRI_RADIO_RAM2_Pri2 (0x2UL) /*!< Priority 2. */
  428. #define AMLI_RAMPRI_RADIO_RAM2_Pri4 (0x4UL) /*!< Priority 4. */
  429. #define AMLI_RAMPRI_RADIO_RAM2_Pri6 (0x6UL) /*!< Priority 6. */
  430. #define AMLI_RAMPRI_RADIO_RAM2_Pri8 (0x8UL) /*!< Priority 8. */
  431. #define AMLI_RAMPRI_RADIO_RAM2_Pri10 (0xAUL) /*!< Priority 10. */
  432. #define AMLI_RAMPRI_RADIO_RAM2_Pri12 (0xCUL) /*!< Priority 12. */
  433. #define AMLI_RAMPRI_RADIO_RAM2_Pri14 (0xEUL) /*!< Priority 14. */
  434. /* Bits 7..4 : Configuration field for RAM block 1. */
  435. #define AMLI_RAMPRI_RADIO_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
  436. #define AMLI_RAMPRI_RADIO_RAM1_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM1_Pos) /*!< Bit mask of RAM1 field. */
  437. #define AMLI_RAMPRI_RADIO_RAM1_Pri0 (0x0UL) /*!< Priority 0. */
  438. #define AMLI_RAMPRI_RADIO_RAM1_Pri2 (0x2UL) /*!< Priority 2. */
  439. #define AMLI_RAMPRI_RADIO_RAM1_Pri4 (0x4UL) /*!< Priority 4. */
  440. #define AMLI_RAMPRI_RADIO_RAM1_Pri6 (0x6UL) /*!< Priority 6. */
  441. #define AMLI_RAMPRI_RADIO_RAM1_Pri8 (0x8UL) /*!< Priority 8. */
  442. #define AMLI_RAMPRI_RADIO_RAM1_Pri10 (0xAUL) /*!< Priority 10. */
  443. #define AMLI_RAMPRI_RADIO_RAM1_Pri12 (0xCUL) /*!< Priority 12. */
  444. #define AMLI_RAMPRI_RADIO_RAM1_Pri14 (0xEUL) /*!< Priority 14. */
  445. /* Bits 3..0 : Configuration field for RAM block 0. */
  446. #define AMLI_RAMPRI_RADIO_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
  447. #define AMLI_RAMPRI_RADIO_RAM0_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM0_Pos) /*!< Bit mask of RAM0 field. */
  448. #define AMLI_RAMPRI_RADIO_RAM0_Pri0 (0x0UL) /*!< Priority 0. */
  449. #define AMLI_RAMPRI_RADIO_RAM0_Pri2 (0x2UL) /*!< Priority 2. */
  450. #define AMLI_RAMPRI_RADIO_RAM0_Pri4 (0x4UL) /*!< Priority 4. */
  451. #define AMLI_RAMPRI_RADIO_RAM0_Pri6 (0x6UL) /*!< Priority 6. */
  452. #define AMLI_RAMPRI_RADIO_RAM0_Pri8 (0x8UL) /*!< Priority 8. */
  453. #define AMLI_RAMPRI_RADIO_RAM0_Pri10 (0xAUL) /*!< Priority 10. */
  454. #define AMLI_RAMPRI_RADIO_RAM0_Pri12 (0xCUL) /*!< Priority 12. */
  455. #define AMLI_RAMPRI_RADIO_RAM0_Pri14 (0xEUL) /*!< Priority 14. */
  456. /* Register: AMLI_RAMPRI_ECB */
  457. /* Description: Configurable priority configuration register for ECB. */
  458. /* Bits 31..28 : Configuration field for RAM block 7. */
  459. #define AMLI_RAMPRI_ECB_RAM7_Pos (28UL) /*!< Position of RAM7 field. */
  460. #define AMLI_RAMPRI_ECB_RAM7_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM7_Pos) /*!< Bit mask of RAM7 field. */
  461. #define AMLI_RAMPRI_ECB_RAM7_Pri0 (0x0UL) /*!< Priority 0. */
  462. #define AMLI_RAMPRI_ECB_RAM7_Pri2 (0x2UL) /*!< Priority 2. */
  463. #define AMLI_RAMPRI_ECB_RAM7_Pri4 (0x4UL) /*!< Priority 4. */
  464. #define AMLI_RAMPRI_ECB_RAM7_Pri6 (0x6UL) /*!< Priority 6. */
  465. #define AMLI_RAMPRI_ECB_RAM7_Pri8 (0x8UL) /*!< Priority 8. */
  466. #define AMLI_RAMPRI_ECB_RAM7_Pri10 (0xAUL) /*!< Priority 10. */
  467. #define AMLI_RAMPRI_ECB_RAM7_Pri12 (0xCUL) /*!< Priority 12. */
  468. #define AMLI_RAMPRI_ECB_RAM7_Pri14 (0xEUL) /*!< Priority 14. */
  469. /* Bits 27..24 : Configuration field for RAM block 6. */
  470. #define AMLI_RAMPRI_ECB_RAM6_Pos (24UL) /*!< Position of RAM6 field. */
  471. #define AMLI_RAMPRI_ECB_RAM6_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM6_Pos) /*!< Bit mask of RAM6 field. */
  472. #define AMLI_RAMPRI_ECB_RAM6_Pri0 (0x0UL) /*!< Priority 0. */
  473. #define AMLI_RAMPRI_ECB_RAM6_Pri2 (0x2UL) /*!< Priority 2. */
  474. #define AMLI_RAMPRI_ECB_RAM6_Pri4 (0x4UL) /*!< Priority 4. */
  475. #define AMLI_RAMPRI_ECB_RAM6_Pri6 (0x6UL) /*!< Priority 6. */
  476. #define AMLI_RAMPRI_ECB_RAM6_Pri8 (0x8UL) /*!< Priority 8. */
  477. #define AMLI_RAMPRI_ECB_RAM6_Pri10 (0xAUL) /*!< Priority 10. */
  478. #define AMLI_RAMPRI_ECB_RAM6_Pri12 (0xCUL) /*!< Priority 12. */
  479. #define AMLI_RAMPRI_ECB_RAM6_Pri14 (0xEUL) /*!< Priority 14. */
  480. /* Bits 23..20 : Configuration field for RAM block 5. */
  481. #define AMLI_RAMPRI_ECB_RAM5_Pos (20UL) /*!< Position of RAM5 field. */
  482. #define AMLI_RAMPRI_ECB_RAM5_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM5_Pos) /*!< Bit mask of RAM5 field. */
  483. #define AMLI_RAMPRI_ECB_RAM5_Pri0 (0x0UL) /*!< Priority 0. */
  484. #define AMLI_RAMPRI_ECB_RAM5_Pri2 (0x2UL) /*!< Priority 2. */
  485. #define AMLI_RAMPRI_ECB_RAM5_Pri4 (0x4UL) /*!< Priority 4. */
  486. #define AMLI_RAMPRI_ECB_RAM5_Pri6 (0x6UL) /*!< Priority 6. */
  487. #define AMLI_RAMPRI_ECB_RAM5_Pri8 (0x8UL) /*!< Priority 8. */
  488. #define AMLI_RAMPRI_ECB_RAM5_Pri10 (0xAUL) /*!< Priority 10. */
  489. #define AMLI_RAMPRI_ECB_RAM5_Pri12 (0xCUL) /*!< Priority 12. */
  490. #define AMLI_RAMPRI_ECB_RAM5_Pri14 (0xEUL) /*!< Priority 14. */
  491. /* Bits 19..16 : Configuration field for RAM block 4. */
  492. #define AMLI_RAMPRI_ECB_RAM4_Pos (16UL) /*!< Position of RAM4 field. */
  493. #define AMLI_RAMPRI_ECB_RAM4_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM4_Pos) /*!< Bit mask of RAM4 field. */
  494. #define AMLI_RAMPRI_ECB_RAM4_Pri0 (0x0UL) /*!< Priority 0. */
  495. #define AMLI_RAMPRI_ECB_RAM4_Pri2 (0x2UL) /*!< Priority 2. */
  496. #define AMLI_RAMPRI_ECB_RAM4_Pri4 (0x4UL) /*!< Priority 4. */
  497. #define AMLI_RAMPRI_ECB_RAM4_Pri6 (0x6UL) /*!< Priority 6. */
  498. #define AMLI_RAMPRI_ECB_RAM4_Pri8 (0x8UL) /*!< Priority 8. */
  499. #define AMLI_RAMPRI_ECB_RAM4_Pri10 (0xAUL) /*!< Priority 10. */
  500. #define AMLI_RAMPRI_ECB_RAM4_Pri12 (0xCUL) /*!< Priority 12. */
  501. #define AMLI_RAMPRI_ECB_RAM4_Pri14 (0xEUL) /*!< Priority 14. */
  502. /* Bits 15..12 : Configuration field for RAM block 3. */
  503. #define AMLI_RAMPRI_ECB_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
  504. #define AMLI_RAMPRI_ECB_RAM3_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM3_Pos) /*!< Bit mask of RAM3 field. */
  505. #define AMLI_RAMPRI_ECB_RAM3_Pri0 (0x0UL) /*!< Priority 0. */
  506. #define AMLI_RAMPRI_ECB_RAM3_Pri2 (0x2UL) /*!< Priority 2. */
  507. #define AMLI_RAMPRI_ECB_RAM3_Pri4 (0x4UL) /*!< Priority 4. */
  508. #define AMLI_RAMPRI_ECB_RAM3_Pri6 (0x6UL) /*!< Priority 6. */
  509. #define AMLI_RAMPRI_ECB_RAM3_Pri8 (0x8UL) /*!< Priority 8. */
  510. #define AMLI_RAMPRI_ECB_RAM3_Pri10 (0xAUL) /*!< Priority 10. */
  511. #define AMLI_RAMPRI_ECB_RAM3_Pri12 (0xCUL) /*!< Priority 12. */
  512. #define AMLI_RAMPRI_ECB_RAM3_Pri14 (0xEUL) /*!< Priority 14. */
  513. /* Bits 11..8 : Configuration field for RAM block 2. */
  514. #define AMLI_RAMPRI_ECB_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
  515. #define AMLI_RAMPRI_ECB_RAM2_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM2_Pos) /*!< Bit mask of RAM2 field. */
  516. #define AMLI_RAMPRI_ECB_RAM2_Pri0 (0x0UL) /*!< Priority 0. */
  517. #define AMLI_RAMPRI_ECB_RAM2_Pri2 (0x2UL) /*!< Priority 2. */
  518. #define AMLI_RAMPRI_ECB_RAM2_Pri4 (0x4UL) /*!< Priority 4. */
  519. #define AMLI_RAMPRI_ECB_RAM2_Pri6 (0x6UL) /*!< Priority 6. */
  520. #define AMLI_RAMPRI_ECB_RAM2_Pri8 (0x8UL) /*!< Priority 8. */
  521. #define AMLI_RAMPRI_ECB_RAM2_Pri10 (0xAUL) /*!< Priority 10. */
  522. #define AMLI_RAMPRI_ECB_RAM2_Pri12 (0xCUL) /*!< Priority 12. */
  523. #define AMLI_RAMPRI_ECB_RAM2_Pri14 (0xEUL) /*!< Priority 14. */
  524. /* Bits 7..4 : Configuration field for RAM block 1. */
  525. #define AMLI_RAMPRI_ECB_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
  526. #define AMLI_RAMPRI_ECB_RAM1_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM1_Pos) /*!< Bit mask of RAM1 field. */
  527. #define AMLI_RAMPRI_ECB_RAM1_Pri0 (0x0UL) /*!< Priority 0. */
  528. #define AMLI_RAMPRI_ECB_RAM1_Pri2 (0x2UL) /*!< Priority 2. */
  529. #define AMLI_RAMPRI_ECB_RAM1_Pri4 (0x4UL) /*!< Priority 4. */
  530. #define AMLI_RAMPRI_ECB_RAM1_Pri6 (0x6UL) /*!< Priority 6. */
  531. #define AMLI_RAMPRI_ECB_RAM1_Pri8 (0x8UL) /*!< Priority 8. */
  532. #define AMLI_RAMPRI_ECB_RAM1_Pri10 (0xAUL) /*!< Priority 10. */
  533. #define AMLI_RAMPRI_ECB_RAM1_Pri12 (0xCUL) /*!< Priority 12. */
  534. #define AMLI_RAMPRI_ECB_RAM1_Pri14 (0xEUL) /*!< Priority 14. */
  535. /* Bits 3..0 : Configuration field for RAM block 0. */
  536. #define AMLI_RAMPRI_ECB_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
  537. #define AMLI_RAMPRI_ECB_RAM0_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM0_Pos) /*!< Bit mask of RAM0 field. */
  538. #define AMLI_RAMPRI_ECB_RAM0_Pri0 (0x0UL) /*!< Priority 0. */
  539. #define AMLI_RAMPRI_ECB_RAM0_Pri2 (0x2UL) /*!< Priority 2. */
  540. #define AMLI_RAMPRI_ECB_RAM0_Pri4 (0x4UL) /*!< Priority 4. */
  541. #define AMLI_RAMPRI_ECB_RAM0_Pri6 (0x6UL) /*!< Priority 6. */
  542. #define AMLI_RAMPRI_ECB_RAM0_Pri8 (0x8UL) /*!< Priority 8. */
  543. #define AMLI_RAMPRI_ECB_RAM0_Pri10 (0xAUL) /*!< Priority 10. */
  544. #define AMLI_RAMPRI_ECB_RAM0_Pri12 (0xCUL) /*!< Priority 12. */
  545. #define AMLI_RAMPRI_ECB_RAM0_Pri14 (0xEUL) /*!< Priority 14. */
  546. /* Register: AMLI_RAMPRI_CCM */
  547. /* Description: Configurable priority configuration register for CCM. */
  548. /* Bits 31..28 : Configuration field for RAM block 7. */
  549. #define AMLI_RAMPRI_CCM_RAM7_Pos (28UL) /*!< Position of RAM7 field. */
  550. #define AMLI_RAMPRI_CCM_RAM7_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM7_Pos) /*!< Bit mask of RAM7 field. */
  551. #define AMLI_RAMPRI_CCM_RAM7_Pri0 (0x0UL) /*!< Priority 0. */
  552. #define AMLI_RAMPRI_CCM_RAM7_Pri2 (0x2UL) /*!< Priority 2. */
  553. #define AMLI_RAMPRI_CCM_RAM7_Pri4 (0x4UL) /*!< Priority 4. */
  554. #define AMLI_RAMPRI_CCM_RAM7_Pri6 (0x6UL) /*!< Priority 6. */
  555. #define AMLI_RAMPRI_CCM_RAM7_Pri8 (0x8UL) /*!< Priority 8. */
  556. #define AMLI_RAMPRI_CCM_RAM7_Pri10 (0xAUL) /*!< Priority 10. */
  557. #define AMLI_RAMPRI_CCM_RAM7_Pri12 (0xCUL) /*!< Priority 12. */
  558. #define AMLI_RAMPRI_CCM_RAM7_Pri14 (0xEUL) /*!< Priority 14. */
  559. /* Bits 27..24 : Configuration field for RAM block 6. */
  560. #define AMLI_RAMPRI_CCM_RAM6_Pos (24UL) /*!< Position of RAM6 field. */
  561. #define AMLI_RAMPRI_CCM_RAM6_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM6_Pos) /*!< Bit mask of RAM6 field. */
  562. #define AMLI_RAMPRI_CCM_RAM6_Pri0 (0x0UL) /*!< Priority 0. */
  563. #define AMLI_RAMPRI_CCM_RAM6_Pri2 (0x2UL) /*!< Priority 2. */
  564. #define AMLI_RAMPRI_CCM_RAM6_Pri4 (0x4UL) /*!< Priority 4. */
  565. #define AMLI_RAMPRI_CCM_RAM6_Pri6 (0x6UL) /*!< Priority 6. */
  566. #define AMLI_RAMPRI_CCM_RAM6_Pri8 (0x8UL) /*!< Priority 8. */
  567. #define AMLI_RAMPRI_CCM_RAM6_Pri10 (0xAUL) /*!< Priority 10. */
  568. #define AMLI_RAMPRI_CCM_RAM6_Pri12 (0xCUL) /*!< Priority 12. */
  569. #define AMLI_RAMPRI_CCM_RAM6_Pri14 (0xEUL) /*!< Priority 14. */
  570. /* Bits 23..20 : Configuration field for RAM block 5. */
  571. #define AMLI_RAMPRI_CCM_RAM5_Pos (20UL) /*!< Position of RAM5 field. */
  572. #define AMLI_RAMPRI_CCM_RAM5_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM5_Pos) /*!< Bit mask of RAM5 field. */
  573. #define AMLI_RAMPRI_CCM_RAM5_Pri0 (0x0UL) /*!< Priority 0. */
  574. #define AMLI_RAMPRI_CCM_RAM5_Pri2 (0x2UL) /*!< Priority 2. */
  575. #define AMLI_RAMPRI_CCM_RAM5_Pri4 (0x4UL) /*!< Priority 4. */
  576. #define AMLI_RAMPRI_CCM_RAM5_Pri6 (0x6UL) /*!< Priority 6. */
  577. #define AMLI_RAMPRI_CCM_RAM5_Pri8 (0x8UL) /*!< Priority 8. */
  578. #define AMLI_RAMPRI_CCM_RAM5_Pri10 (0xAUL) /*!< Priority 10. */
  579. #define AMLI_RAMPRI_CCM_RAM5_Pri12 (0xCUL) /*!< Priority 12. */
  580. #define AMLI_RAMPRI_CCM_RAM5_Pri14 (0xEUL) /*!< Priority 14. */
  581. /* Bits 19..16 : Configuration field for RAM block 4. */
  582. #define AMLI_RAMPRI_CCM_RAM4_Pos (16UL) /*!< Position of RAM4 field. */
  583. #define AMLI_RAMPRI_CCM_RAM4_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM4_Pos) /*!< Bit mask of RAM4 field. */
  584. #define AMLI_RAMPRI_CCM_RAM4_Pri0 (0x0UL) /*!< Priority 0. */
  585. #define AMLI_RAMPRI_CCM_RAM4_Pri2 (0x2UL) /*!< Priority 2. */
  586. #define AMLI_RAMPRI_CCM_RAM4_Pri4 (0x4UL) /*!< Priority 4. */
  587. #define AMLI_RAMPRI_CCM_RAM4_Pri6 (0x6UL) /*!< Priority 6. */
  588. #define AMLI_RAMPRI_CCM_RAM4_Pri8 (0x8UL) /*!< Priority 8. */
  589. #define AMLI_RAMPRI_CCM_RAM4_Pri10 (0xAUL) /*!< Priority 10. */
  590. #define AMLI_RAMPRI_CCM_RAM4_Pri12 (0xCUL) /*!< Priority 12. */
  591. #define AMLI_RAMPRI_CCM_RAM4_Pri14 (0xEUL) /*!< Priority 14. */
  592. /* Bits 15..12 : Configuration field for RAM block 3. */
  593. #define AMLI_RAMPRI_CCM_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
  594. #define AMLI_RAMPRI_CCM_RAM3_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM3_Pos) /*!< Bit mask of RAM3 field. */
  595. #define AMLI_RAMPRI_CCM_RAM3_Pri0 (0x0UL) /*!< Priority 0. */
  596. #define AMLI_RAMPRI_CCM_RAM3_Pri2 (0x2UL) /*!< Priority 2. */
  597. #define AMLI_RAMPRI_CCM_RAM3_Pri4 (0x4UL) /*!< Priority 4. */
  598. #define AMLI_RAMPRI_CCM_RAM3_Pri6 (0x6UL) /*!< Priority 6. */
  599. #define AMLI_RAMPRI_CCM_RAM3_Pri8 (0x8UL) /*!< Priority 8. */
  600. #define AMLI_RAMPRI_CCM_RAM3_Pri10 (0xAUL) /*!< Priority 10. */
  601. #define AMLI_RAMPRI_CCM_RAM3_Pri12 (0xCUL) /*!< Priority 12. */
  602. #define AMLI_RAMPRI_CCM_RAM3_Pri14 (0xEUL) /*!< Priority 14. */
  603. /* Bits 11..8 : Configuration field for RAM block 2. */
  604. #define AMLI_RAMPRI_CCM_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
  605. #define AMLI_RAMPRI_CCM_RAM2_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM2_Pos) /*!< Bit mask of RAM2 field. */
  606. #define AMLI_RAMPRI_CCM_RAM2_Pri0 (0x0UL) /*!< Priority 0. */
  607. #define AMLI_RAMPRI_CCM_RAM2_Pri2 (0x2UL) /*!< Priority 2. */
  608. #define AMLI_RAMPRI_CCM_RAM2_Pri4 (0x4UL) /*!< Priority 4. */
  609. #define AMLI_RAMPRI_CCM_RAM2_Pri6 (0x6UL) /*!< Priority 6. */
  610. #define AMLI_RAMPRI_CCM_RAM2_Pri8 (0x8UL) /*!< Priority 8. */
  611. #define AMLI_RAMPRI_CCM_RAM2_Pri10 (0xAUL) /*!< Priority 10. */
  612. #define AMLI_RAMPRI_CCM_RAM2_Pri12 (0xCUL) /*!< Priority 12. */
  613. #define AMLI_RAMPRI_CCM_RAM2_Pri14 (0xEUL) /*!< Priority 14. */
  614. /* Bits 7..4 : Configuration field for RAM block 1. */
  615. #define AMLI_RAMPRI_CCM_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
  616. #define AMLI_RAMPRI_CCM_RAM1_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM1_Pos) /*!< Bit mask of RAM1 field. */
  617. #define AMLI_RAMPRI_CCM_RAM1_Pri0 (0x0UL) /*!< Priority 0. */
  618. #define AMLI_RAMPRI_CCM_RAM1_Pri2 (0x2UL) /*!< Priority 2. */
  619. #define AMLI_RAMPRI_CCM_RAM1_Pri4 (0x4UL) /*!< Priority 4. */
  620. #define AMLI_RAMPRI_CCM_RAM1_Pri6 (0x6UL) /*!< Priority 6. */
  621. #define AMLI_RAMPRI_CCM_RAM1_Pri8 (0x8UL) /*!< Priority 8. */
  622. #define AMLI_RAMPRI_CCM_RAM1_Pri10 (0xAUL) /*!< Priority 10. */
  623. #define AMLI_RAMPRI_CCM_RAM1_Pri12 (0xCUL) /*!< Priority 12. */
  624. #define AMLI_RAMPRI_CCM_RAM1_Pri14 (0xEUL) /*!< Priority 14. */
  625. /* Bits 3..0 : Configuration field for RAM block 0. */
  626. #define AMLI_RAMPRI_CCM_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
  627. #define AMLI_RAMPRI_CCM_RAM0_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM0_Pos) /*!< Bit mask of RAM0 field. */
  628. #define AMLI_RAMPRI_CCM_RAM0_Pri0 (0x0UL) /*!< Priority 0. */
  629. #define AMLI_RAMPRI_CCM_RAM0_Pri2 (0x2UL) /*!< Priority 2. */
  630. #define AMLI_RAMPRI_CCM_RAM0_Pri4 (0x4UL) /*!< Priority 4. */
  631. #define AMLI_RAMPRI_CCM_RAM0_Pri6 (0x6UL) /*!< Priority 6. */
  632. #define AMLI_RAMPRI_CCM_RAM0_Pri8 (0x8UL) /*!< Priority 8. */
  633. #define AMLI_RAMPRI_CCM_RAM0_Pri10 (0xAUL) /*!< Priority 10. */
  634. #define AMLI_RAMPRI_CCM_RAM0_Pri12 (0xCUL) /*!< Priority 12. */
  635. #define AMLI_RAMPRI_CCM_RAM0_Pri14 (0xEUL) /*!< Priority 14. */
  636. /* Register: AMLI_RAMPRI_AAR */
  637. /* Description: Configurable priority configuration register for AAR. */
  638. /* Bits 31..28 : Configuration field for RAM block 7. */
  639. #define AMLI_RAMPRI_AAR_RAM7_Pos (28UL) /*!< Position of RAM7 field. */
  640. #define AMLI_RAMPRI_AAR_RAM7_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM7_Pos) /*!< Bit mask of RAM7 field. */
  641. #define AMLI_RAMPRI_AAR_RAM7_Pri0 (0x0UL) /*!< Priority 0. */
  642. #define AMLI_RAMPRI_AAR_RAM7_Pri2 (0x2UL) /*!< Priority 2. */
  643. #define AMLI_RAMPRI_AAR_RAM7_Pri4 (0x4UL) /*!< Priority 4. */
  644. #define AMLI_RAMPRI_AAR_RAM7_Pri6 (0x6UL) /*!< Priority 6. */
  645. #define AMLI_RAMPRI_AAR_RAM7_Pri8 (0x8UL) /*!< Priority 8. */
  646. #define AMLI_RAMPRI_AAR_RAM7_Pri10 (0xAUL) /*!< Priority 10. */
  647. #define AMLI_RAMPRI_AAR_RAM7_Pri12 (0xCUL) /*!< Priority 12. */
  648. #define AMLI_RAMPRI_AAR_RAM7_Pri14 (0xEUL) /*!< Priority 14. */
  649. /* Bits 27..24 : Configuration field for RAM block 6. */
  650. #define AMLI_RAMPRI_AAR_RAM6_Pos (24UL) /*!< Position of RAM6 field. */
  651. #define AMLI_RAMPRI_AAR_RAM6_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM6_Pos) /*!< Bit mask of RAM6 field. */
  652. #define AMLI_RAMPRI_AAR_RAM6_Pri0 (0x0UL) /*!< Priority 0. */
  653. #define AMLI_RAMPRI_AAR_RAM6_Pri2 (0x2UL) /*!< Priority 2. */
  654. #define AMLI_RAMPRI_AAR_RAM6_Pri4 (0x4UL) /*!< Priority 4. */
  655. #define AMLI_RAMPRI_AAR_RAM6_Pri6 (0x6UL) /*!< Priority 6. */
  656. #define AMLI_RAMPRI_AAR_RAM6_Pri8 (0x8UL) /*!< Priority 8. */
  657. #define AMLI_RAMPRI_AAR_RAM6_Pri10 (0xAUL) /*!< Priority 10. */
  658. #define AMLI_RAMPRI_AAR_RAM6_Pri12 (0xCUL) /*!< Priority 12. */
  659. #define AMLI_RAMPRI_AAR_RAM6_Pri14 (0xEUL) /*!< Priority 14. */
  660. /* Bits 23..20 : Configuration field for RAM block 5. */
  661. #define AMLI_RAMPRI_AAR_RAM5_Pos (20UL) /*!< Position of RAM5 field. */
  662. #define AMLI_RAMPRI_AAR_RAM5_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM5_Pos) /*!< Bit mask of RAM5 field. */
  663. #define AMLI_RAMPRI_AAR_RAM5_Pri0 (0x0UL) /*!< Priority 0. */
  664. #define AMLI_RAMPRI_AAR_RAM5_Pri2 (0x2UL) /*!< Priority 2. */
  665. #define AMLI_RAMPRI_AAR_RAM5_Pri4 (0x4UL) /*!< Priority 4. */
  666. #define AMLI_RAMPRI_AAR_RAM5_Pri6 (0x6UL) /*!< Priority 6. */
  667. #define AMLI_RAMPRI_AAR_RAM5_Pri8 (0x8UL) /*!< Priority 8. */
  668. #define AMLI_RAMPRI_AAR_RAM5_Pri10 (0xAUL) /*!< Priority 10. */
  669. #define AMLI_RAMPRI_AAR_RAM5_Pri12 (0xCUL) /*!< Priority 12. */
  670. #define AMLI_RAMPRI_AAR_RAM5_Pri14 (0xEUL) /*!< Priority 14. */
  671. /* Bits 19..16 : Configuration field for RAM block 4. */
  672. #define AMLI_RAMPRI_AAR_RAM4_Pos (16UL) /*!< Position of RAM4 field. */
  673. #define AMLI_RAMPRI_AAR_RAM4_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM4_Pos) /*!< Bit mask of RAM4 field. */
  674. #define AMLI_RAMPRI_AAR_RAM4_Pri0 (0x0UL) /*!< Priority 0. */
  675. #define AMLI_RAMPRI_AAR_RAM4_Pri2 (0x2UL) /*!< Priority 2. */
  676. #define AMLI_RAMPRI_AAR_RAM4_Pri4 (0x4UL) /*!< Priority 4. */
  677. #define AMLI_RAMPRI_AAR_RAM4_Pri6 (0x6UL) /*!< Priority 6. */
  678. #define AMLI_RAMPRI_AAR_RAM4_Pri8 (0x8UL) /*!< Priority 8. */
  679. #define AMLI_RAMPRI_AAR_RAM4_Pri10 (0xAUL) /*!< Priority 10. */
  680. #define AMLI_RAMPRI_AAR_RAM4_Pri12 (0xCUL) /*!< Priority 12. */
  681. #define AMLI_RAMPRI_AAR_RAM4_Pri14 (0xEUL) /*!< Priority 14. */
  682. /* Bits 15..12 : Configuration field for RAM block 3. */
  683. #define AMLI_RAMPRI_AAR_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
  684. #define AMLI_RAMPRI_AAR_RAM3_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM3_Pos) /*!< Bit mask of RAM3 field. */
  685. #define AMLI_RAMPRI_AAR_RAM3_Pri0 (0x0UL) /*!< Priority 0. */
  686. #define AMLI_RAMPRI_AAR_RAM3_Pri2 (0x2UL) /*!< Priority 2. */
  687. #define AMLI_RAMPRI_AAR_RAM3_Pri4 (0x4UL) /*!< Priority 4. */
  688. #define AMLI_RAMPRI_AAR_RAM3_Pri6 (0x6UL) /*!< Priority 6. */
  689. #define AMLI_RAMPRI_AAR_RAM3_Pri8 (0x8UL) /*!< Priority 8. */
  690. #define AMLI_RAMPRI_AAR_RAM3_Pri10 (0xAUL) /*!< Priority 10. */
  691. #define AMLI_RAMPRI_AAR_RAM3_Pri12 (0xCUL) /*!< Priority 12. */
  692. #define AMLI_RAMPRI_AAR_RAM3_Pri14 (0xEUL) /*!< Priority 14. */
  693. /* Bits 11..8 : Configuration field for RAM block 2. */
  694. #define AMLI_RAMPRI_AAR_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
  695. #define AMLI_RAMPRI_AAR_RAM2_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM2_Pos) /*!< Bit mask of RAM2 field. */
  696. #define AMLI_RAMPRI_AAR_RAM2_Pri0 (0x0UL) /*!< Priority 0. */
  697. #define AMLI_RAMPRI_AAR_RAM2_Pri2 (0x2UL) /*!< Priority 2. */
  698. #define AMLI_RAMPRI_AAR_RAM2_Pri4 (0x4UL) /*!< Priority 4. */
  699. #define AMLI_RAMPRI_AAR_RAM2_Pri6 (0x6UL) /*!< Priority 6. */
  700. #define AMLI_RAMPRI_AAR_RAM2_Pri8 (0x8UL) /*!< Priority 8. */
  701. #define AMLI_RAMPRI_AAR_RAM2_Pri10 (0xAUL) /*!< Priority 10. */
  702. #define AMLI_RAMPRI_AAR_RAM2_Pri12 (0xCUL) /*!< Priority 12. */
  703. #define AMLI_RAMPRI_AAR_RAM2_Pri14 (0xEUL) /*!< Priority 14. */
  704. /* Bits 7..4 : Configuration field for RAM block 1. */
  705. #define AMLI_RAMPRI_AAR_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
  706. #define AMLI_RAMPRI_AAR_RAM1_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM1_Pos) /*!< Bit mask of RAM1 field. */
  707. #define AMLI_RAMPRI_AAR_RAM1_Pri0 (0x0UL) /*!< Priority 0. */
  708. #define AMLI_RAMPRI_AAR_RAM1_Pri2 (0x2UL) /*!< Priority 2. */
  709. #define AMLI_RAMPRI_AAR_RAM1_Pri4 (0x4UL) /*!< Priority 4. */
  710. #define AMLI_RAMPRI_AAR_RAM1_Pri6 (0x6UL) /*!< Priority 6. */
  711. #define AMLI_RAMPRI_AAR_RAM1_Pri8 (0x8UL) /*!< Priority 8. */
  712. #define AMLI_RAMPRI_AAR_RAM1_Pri10 (0xAUL) /*!< Priority 10. */
  713. #define AMLI_RAMPRI_AAR_RAM1_Pri12 (0xCUL) /*!< Priority 12. */
  714. #define AMLI_RAMPRI_AAR_RAM1_Pri14 (0xEUL) /*!< Priority 14. */
  715. /* Bits 3..0 : Configuration field for RAM block 0. */
  716. #define AMLI_RAMPRI_AAR_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
  717. #define AMLI_RAMPRI_AAR_RAM0_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM0_Pos) /*!< Bit mask of RAM0 field. */
  718. #define AMLI_RAMPRI_AAR_RAM0_Pri0 (0x0UL) /*!< Priority 0. */
  719. #define AMLI_RAMPRI_AAR_RAM0_Pri2 (0x2UL) /*!< Priority 2. */
  720. #define AMLI_RAMPRI_AAR_RAM0_Pri4 (0x4UL) /*!< Priority 4. */
  721. #define AMLI_RAMPRI_AAR_RAM0_Pri6 (0x6UL) /*!< Priority 6. */
  722. #define AMLI_RAMPRI_AAR_RAM0_Pri8 (0x8UL) /*!< Priority 8. */
  723. #define AMLI_RAMPRI_AAR_RAM0_Pri10 (0xAUL) /*!< Priority 10. */
  724. #define AMLI_RAMPRI_AAR_RAM0_Pri12 (0xCUL) /*!< Priority 12. */
  725. #define AMLI_RAMPRI_AAR_RAM0_Pri14 (0xEUL) /*!< Priority 14. */
  726. /* Peripheral: CCM */
  727. /* Description: AES CCM Mode Encryption. */
  728. /* Register: CCM_SHORTS */
  729. /* Description: Shortcuts for the CCM. */
  730. /* Bit 0 : Shortcut between ENDKSGEN event and CRYPT task. */
  731. #define CCM_SHORTS_ENDKSGEN_CRYPT_Pos (0UL) /*!< Position of ENDKSGEN_CRYPT field. */
  732. #define CCM_SHORTS_ENDKSGEN_CRYPT_Msk (0x1UL << CCM_SHORTS_ENDKSGEN_CRYPT_Pos) /*!< Bit mask of ENDKSGEN_CRYPT field. */
  733. #define CCM_SHORTS_ENDKSGEN_CRYPT_Disabled (0UL) /*!< Shortcut disabled. */
  734. #define CCM_SHORTS_ENDKSGEN_CRYPT_Enabled (1UL) /*!< Shortcut enabled. */
  735. /* Register: CCM_INTENSET */
  736. /* Description: Interrupt enable set register. */
  737. /* Bit 2 : Enable interrupt on ERROR event. */
  738. #define CCM_INTENSET_ERROR_Pos (2UL) /*!< Position of ERROR field. */
  739. #define CCM_INTENSET_ERROR_Msk (0x1UL << CCM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  740. #define CCM_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  741. #define CCM_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  742. #define CCM_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
  743. /* Bit 1 : Enable interrupt on ENDCRYPT event. */
  744. #define CCM_INTENSET_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
  745. #define CCM_INTENSET_ENDCRYPT_Msk (0x1UL << CCM_INTENSET_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
  746. #define CCM_INTENSET_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */
  747. #define CCM_INTENSET_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */
  748. #define CCM_INTENSET_ENDCRYPT_Set (1UL) /*!< Enable interrupt on write. */
  749. /* Bit 0 : Enable interrupt on ENDKSGEN event. */
  750. #define CCM_INTENSET_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
  751. #define CCM_INTENSET_ENDKSGEN_Msk (0x1UL << CCM_INTENSET_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
  752. #define CCM_INTENSET_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */
  753. #define CCM_INTENSET_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */
  754. #define CCM_INTENSET_ENDKSGEN_Set (1UL) /*!< Enable interrupt on write. */
  755. /* Register: CCM_INTENCLR */
  756. /* Description: Interrupt enable clear register. */
  757. /* Bit 2 : Disable interrupt on ERROR event. */
  758. #define CCM_INTENCLR_ERROR_Pos (2UL) /*!< Position of ERROR field. */
  759. #define CCM_INTENCLR_ERROR_Msk (0x1UL << CCM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  760. #define CCM_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  761. #define CCM_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  762. #define CCM_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
  763. /* Bit 1 : Disable interrupt on ENDCRYPT event. */
  764. #define CCM_INTENCLR_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
  765. #define CCM_INTENCLR_ENDCRYPT_Msk (0x1UL << CCM_INTENCLR_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
  766. #define CCM_INTENCLR_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */
  767. #define CCM_INTENCLR_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */
  768. #define CCM_INTENCLR_ENDCRYPT_Clear (1UL) /*!< Disable interrupt on write. */
  769. /* Bit 0 : Disable interrupt on ENDKSGEN event. */
  770. #define CCM_INTENCLR_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
  771. #define CCM_INTENCLR_ENDKSGEN_Msk (0x1UL << CCM_INTENCLR_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
  772. #define CCM_INTENCLR_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */
  773. #define CCM_INTENCLR_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */
  774. #define CCM_INTENCLR_ENDKSGEN_Clear (1UL) /*!< Disable interrupt on write. */
  775. /* Register: CCM_MICSTATUS */
  776. /* Description: CCM RX MIC check result. */
  777. /* Bit 0 : Result of the MIC check performed during the previous CCM RX STARTCRYPT */
  778. #define CCM_MICSTATUS_MICSTATUS_Pos (0UL) /*!< Position of MICSTATUS field. */
  779. #define CCM_MICSTATUS_MICSTATUS_Msk (0x1UL << CCM_MICSTATUS_MICSTATUS_Pos) /*!< Bit mask of MICSTATUS field. */
  780. #define CCM_MICSTATUS_MICSTATUS_CheckFailed (0UL) /*!< MIC check failed. */
  781. #define CCM_MICSTATUS_MICSTATUS_CheckPassed (1UL) /*!< MIC check passed. */
  782. /* Register: CCM_ENABLE */
  783. /* Description: CCM enable. */
  784. /* Bits 1..0 : CCM enable. */
  785. #define CCM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  786. #define CCM_ENABLE_ENABLE_Msk (0x3UL << CCM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  787. #define CCM_ENABLE_ENABLE_Disabled (0x00UL) /*!< CCM is disabled. */
  788. #define CCM_ENABLE_ENABLE_Enabled (0x02UL) /*!< CCM is enabled. */
  789. /* Register: CCM_MODE */
  790. /* Description: Operation mode. */
  791. /* Bit 0 : CCM mode operation. */
  792. #define CCM_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  793. #define CCM_MODE_MODE_Msk (0x1UL << CCM_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  794. #define CCM_MODE_MODE_Encryption (0UL) /*!< CCM mode TX */
  795. #define CCM_MODE_MODE_Decryption (1UL) /*!< CCM mode TX */
  796. /* Register: CCM_POWER */
  797. /* Description: Peripheral power control. */
  798. /* Bit 0 : Peripheral power control. */
  799. #define CCM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  800. #define CCM_POWER_POWER_Msk (0x1UL << CCM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  801. #define CCM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  802. #define CCM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  803. /* Peripheral: CLOCK */
  804. /* Description: Clock control. */
  805. /* Register: CLOCK_INTENSET */
  806. /* Description: Interrupt enable set register. */
  807. /* Bit 4 : Enable interrupt on CTTO event. */
  808. #define CLOCK_INTENSET_CTTO_Pos (4UL) /*!< Position of CTTO field. */
  809. #define CLOCK_INTENSET_CTTO_Msk (0x1UL << CLOCK_INTENSET_CTTO_Pos) /*!< Bit mask of CTTO field. */
  810. #define CLOCK_INTENSET_CTTO_Disabled (0UL) /*!< Interrupt disabled. */
  811. #define CLOCK_INTENSET_CTTO_Enabled (1UL) /*!< Interrupt enabled. */
  812. #define CLOCK_INTENSET_CTTO_Set (1UL) /*!< Enable interrupt on write. */
  813. /* Bit 3 : Enable interrupt on DONE event. */
  814. #define CLOCK_INTENSET_DONE_Pos (3UL) /*!< Position of DONE field. */
  815. #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */
  816. #define CLOCK_INTENSET_DONE_Disabled (0UL) /*!< Interrupt disabled. */
  817. #define CLOCK_INTENSET_DONE_Enabled (1UL) /*!< Interrupt enabled. */
  818. #define CLOCK_INTENSET_DONE_Set (1UL) /*!< Enable interrupt on write. */
  819. /* Bit 1 : Enable interrupt on LFCLKSTARTED event. */
  820. #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
  821. #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
  822. #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  823. #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  824. #define CLOCK_INTENSET_LFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */
  825. /* Bit 0 : Enable interrupt on HFCLKSTARTED event. */
  826. #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
  827. #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
  828. #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  829. #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  830. #define CLOCK_INTENSET_HFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */
  831. /* Register: CLOCK_INTENCLR */
  832. /* Description: Interrupt enable clear register. */
  833. /* Bit 4 : Disable interrupt on CTTO event. */
  834. #define CLOCK_INTENCLR_CTTO_Pos (4UL) /*!< Position of CTTO field. */
  835. #define CLOCK_INTENCLR_CTTO_Msk (0x1UL << CLOCK_INTENCLR_CTTO_Pos) /*!< Bit mask of CTTO field. */
  836. #define CLOCK_INTENCLR_CTTO_Disabled (0UL) /*!< Interrupt disabled. */
  837. #define CLOCK_INTENCLR_CTTO_Enabled (1UL) /*!< Interrupt enabled. */
  838. #define CLOCK_INTENCLR_CTTO_Clear (1UL) /*!< Disable interrupt on write. */
  839. /* Bit 3 : Disable interrupt on DONE event. */
  840. #define CLOCK_INTENCLR_DONE_Pos (3UL) /*!< Position of DONE field. */
  841. #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */
  842. #define CLOCK_INTENCLR_DONE_Disabled (0UL) /*!< Interrupt disabled. */
  843. #define CLOCK_INTENCLR_DONE_Enabled (1UL) /*!< Interrupt enabled. */
  844. #define CLOCK_INTENCLR_DONE_Clear (1UL) /*!< Disable interrupt on write. */
  845. /* Bit 1 : Disable interrupt on LFCLKSTARTED event. */
  846. #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
  847. #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
  848. #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  849. #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  850. #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */
  851. /* Bit 0 : Disable interrupt on HFCLKSTARTED event. */
  852. #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
  853. #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
  854. #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
  855. #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
  856. #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */
  857. /* Register: CLOCK_HFCLKRUN */
  858. /* Description: Task HFCLKSTART trigger status. */
  859. /* Bit 0 : Task HFCLKSTART trigger status. */
  860. #define CLOCK_HFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  861. #define CLOCK_HFCLKRUN_STATUS_Msk (0x1UL << CLOCK_HFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */
  862. #define CLOCK_HFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task HFCLKSTART has not been triggered. */
  863. #define CLOCK_HFCLKRUN_STATUS_Triggered (1UL) /*!< Task HFCLKSTART has been triggered. */
  864. /* Register: CLOCK_HFCLKSTAT */
  865. /* Description: High frequency clock status. */
  866. /* Bit 16 : State for the HFCLK. */
  867. #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
  868. #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
  869. #define CLOCK_HFCLKSTAT_STATE_NotRunning (0UL) /*!< HFCLK clock not running. */
  870. #define CLOCK_HFCLKSTAT_STATE_Running (1UL) /*!< HFCLK clock running. */
  871. /* Bit 0 : Active clock source for the HF clock. */
  872. #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
  873. #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
  874. #define CLOCK_HFCLKSTAT_SRC_RC (0UL) /*!< Internal 16MHz RC oscillator running and generating the HFCLK clock. */
  875. #define CLOCK_HFCLKSTAT_SRC_Xtal (1UL) /*!< External 16MHz/32MHz crystal oscillator running and generating the HFCLK clock. */
  876. /* Register: CLOCK_LFCLKRUN */
  877. /* Description: Task LFCLKSTART triggered status. */
  878. /* Bit 0 : Task LFCLKSTART triggered status. */
  879. #define CLOCK_LFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */
  880. #define CLOCK_LFCLKRUN_STATUS_Msk (0x1UL << CLOCK_LFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */
  881. #define CLOCK_LFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task LFCLKSTART has not been triggered. */
  882. #define CLOCK_LFCLKRUN_STATUS_Triggered (1UL) /*!< Task LFCLKSTART has been triggered. */
  883. /* Register: CLOCK_LFCLKSTAT */
  884. /* Description: Low frequency clock status. */
  885. /* Bit 16 : State for the LF clock. */
  886. #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
  887. #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
  888. #define CLOCK_LFCLKSTAT_STATE_NotRunning (0UL) /*!< LFCLK clock not running. */
  889. #define CLOCK_LFCLKSTAT_STATE_Running (1UL) /*!< LFCLK clock running. */
  890. /* Bits 1..0 : Active clock source for the LF clock. */
  891. #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
  892. #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
  893. #define CLOCK_LFCLKSTAT_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator running and generating the LFCLK clock. */
  894. #define CLOCK_LFCLKSTAT_SRC_Xtal (1UL) /*!< External 32KiHz crystal oscillator running and generating the LFCLK clock. */
  895. #define CLOCK_LFCLKSTAT_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from the HFCLK running and generating the LFCLK clock. */
  896. /* Register: CLOCK_LFCLKSRCCOPY */
  897. /* Description: Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */
  898. /* Bits 1..0 : Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */
  899. #define CLOCK_LFCLKSRCCOPY_SRC_Pos (0UL) /*!< Position of SRC field. */
  900. #define CLOCK_LFCLKSRCCOPY_SRC_Msk (0x3UL << CLOCK_LFCLKSRCCOPY_SRC_Pos) /*!< Bit mask of SRC field. */
  901. #define CLOCK_LFCLKSRCCOPY_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */
  902. #define CLOCK_LFCLKSRCCOPY_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */
  903. #define CLOCK_LFCLKSRCCOPY_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */
  904. /* Register: CLOCK_LFCLKSRC */
  905. /* Description: Clock source for the LFCLK clock. */
  906. /* Bits 1..0 : Clock source. */
  907. #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */
  908. #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */
  909. #define CLOCK_LFCLKSRC_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */
  910. #define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */
  911. #define CLOCK_LFCLKSRC_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */
  912. /* Register: CLOCK_CTIV */
  913. /* Description: Calibration timer interval. */
  914. /* Bits 6..0 : Calibration timer interval in 0.25s resolution. */
  915. #define CLOCK_CTIV_CTIV_Pos (0UL) /*!< Position of CTIV field. */
  916. #define CLOCK_CTIV_CTIV_Msk (0x7FUL << CLOCK_CTIV_CTIV_Pos) /*!< Bit mask of CTIV field. */
  917. /* Register: CLOCK_XTALFREQ */
  918. /* Description: Crystal frequency. */
  919. /* Bits 7..0 : External Xtal frequency selection. */
  920. #define CLOCK_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */
  921. #define CLOCK_XTALFREQ_XTALFREQ_Msk (0xFFUL << CLOCK_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */
  922. #define CLOCK_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz xtal is used as source for the HFCLK oscillator. */
  923. #define CLOCK_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz xtal is used as source for the HFCLK oscillator. */
  924. /* Peripheral: ECB */
  925. /* Description: AES ECB Mode Encryption. */
  926. /* Register: ECB_INTENSET */
  927. /* Description: Interrupt enable set register. */
  928. /* Bit 1 : Enable interrupt on ERRORECB event. */
  929. #define ECB_INTENSET_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
  930. #define ECB_INTENSET_ERRORECB_Msk (0x1UL << ECB_INTENSET_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
  931. #define ECB_INTENSET_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */
  932. #define ECB_INTENSET_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */
  933. #define ECB_INTENSET_ERRORECB_Set (1UL) /*!< Enable interrupt on write. */
  934. /* Bit 0 : Enable interrupt on ENDECB event. */
  935. #define ECB_INTENSET_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
  936. #define ECB_INTENSET_ENDECB_Msk (0x1UL << ECB_INTENSET_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
  937. #define ECB_INTENSET_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */
  938. #define ECB_INTENSET_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */
  939. #define ECB_INTENSET_ENDECB_Set (1UL) /*!< Enable interrupt on write. */
  940. /* Register: ECB_INTENCLR */
  941. /* Description: Interrupt enable clear register. */
  942. /* Bit 1 : Disable interrupt on ERRORECB event. */
  943. #define ECB_INTENCLR_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
  944. #define ECB_INTENCLR_ERRORECB_Msk (0x1UL << ECB_INTENCLR_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
  945. #define ECB_INTENCLR_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */
  946. #define ECB_INTENCLR_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */
  947. #define ECB_INTENCLR_ERRORECB_Clear (1UL) /*!< Disable interrupt on write. */
  948. /* Bit 0 : Disable interrupt on ENDECB event. */
  949. #define ECB_INTENCLR_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
  950. #define ECB_INTENCLR_ENDECB_Msk (0x1UL << ECB_INTENCLR_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
  951. #define ECB_INTENCLR_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */
  952. #define ECB_INTENCLR_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */
  953. #define ECB_INTENCLR_ENDECB_Clear (1UL) /*!< Disable interrupt on write. */
  954. /* Register: ECB_POWER */
  955. /* Description: Peripheral power control. */
  956. /* Bit 0 : Peripheral power control. */
  957. #define ECB_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  958. #define ECB_POWER_POWER_Msk (0x1UL << ECB_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  959. #define ECB_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  960. #define ECB_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  961. /* Peripheral: FICR */
  962. /* Description: Factory Information Configuration. */
  963. /* Register: FICR_PPFC */
  964. /* Description: Pre-programmed factory code present. */
  965. /* Bits 7..0 : Pre-programmed factory code present. */
  966. #define FICR_PPFC_PPFC_Pos (0UL) /*!< Position of PPFC field. */
  967. #define FICR_PPFC_PPFC_Msk (0xFFUL << FICR_PPFC_PPFC_Pos) /*!< Bit mask of PPFC field. */
  968. #define FICR_PPFC_PPFC_Present (0x00UL) /*!< Present. */
  969. #define FICR_PPFC_PPFC_NotPresent (0xFFUL) /*!< Not present. */
  970. /* Register: FICR_CONFIGID */
  971. /* Description: Configuration identifier. */
  972. /* Bits 31..16 : Firmware Identification Number pre-loaded into the flash. */
  973. #define FICR_CONFIGID_FWID_Pos (16UL) /*!< Position of FWID field. */
  974. #define FICR_CONFIGID_FWID_Msk (0xFFFFUL << FICR_CONFIGID_FWID_Pos) /*!< Bit mask of FWID field. */
  975. /* Bits 15..0 : Hardware Identification Number. */
  976. #define FICR_CONFIGID_HWID_Pos (0UL) /*!< Position of HWID field. */
  977. #define FICR_CONFIGID_HWID_Msk (0xFFFFUL << FICR_CONFIGID_HWID_Pos) /*!< Bit mask of HWID field. */
  978. /* Register: FICR_DEVICEADDRTYPE */
  979. /* Description: Device address type. */
  980. /* Bit 0 : Device address type. */
  981. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos (0UL) /*!< Position of DEVICEADDRTYPE field. */
  982. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk (0x1UL << FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos) /*!< Bit mask of DEVICEADDRTYPE field. */
  983. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public (0UL) /*!< Public address. */
  984. #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random (1UL) /*!< Random address. */
  985. /* Register: FICR_OVERRIDEEN */
  986. /* Description: Radio calibration override enable. */
  987. /* Bit 3 : Override default values for BLE_1Mbit mode. */
  988. #define FICR_OVERRIDEEN_BLE_1MBIT_Pos (3UL) /*!< Position of BLE_1MBIT field. */
  989. #define FICR_OVERRIDEEN_BLE_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_BLE_1MBIT_Pos) /*!< Bit mask of BLE_1MBIT field. */
  990. #define FICR_OVERRIDEEN_BLE_1MBIT_Override (0UL) /*!< Override the default values for BLE_1Mbit mode. */
  991. #define FICR_OVERRIDEEN_BLE_1MBIT_NotOverride (1UL) /*!< Do not override the default values for BLE_1Mbit mode. */
  992. /* Bit 0 : Override default values for NRF_1Mbit mode. */
  993. #define FICR_OVERRIDEEN_NRF_1MBIT_Pos (0UL) /*!< Position of NRF_1MBIT field. */
  994. #define FICR_OVERRIDEEN_NRF_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_NRF_1MBIT_Pos) /*!< Bit mask of NRF_1MBIT field. */
  995. #define FICR_OVERRIDEEN_NRF_1MBIT_Override (0UL) /*!< Override the default values for NRF_1Mbit mode. */
  996. #define FICR_OVERRIDEEN_NRF_1MBIT_NotOverride (1UL) /*!< Do not override the default values for NRF_1Mbit mode. */
  997. /* Peripheral: GPIO */
  998. /* Description: General purpose input and output. */
  999. /* Register: GPIO_OUT */
  1000. /* Description: Write GPIO port. */
  1001. /* Bit 31 : Pin 31. */
  1002. #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1003. #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1004. #define GPIO_OUT_PIN31_Low (0UL) /*!< Pin driver is low. */
  1005. #define GPIO_OUT_PIN31_High (1UL) /*!< Pin driver is high. */
  1006. /* Bit 30 : Pin 30. */
  1007. #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1008. #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1009. #define GPIO_OUT_PIN30_Low (0UL) /*!< Pin driver is low. */
  1010. #define GPIO_OUT_PIN30_High (1UL) /*!< Pin driver is high. */
  1011. /* Bit 29 : Pin 29. */
  1012. #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1013. #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1014. #define GPIO_OUT_PIN29_Low (0UL) /*!< Pin driver is low. */
  1015. #define GPIO_OUT_PIN29_High (1UL) /*!< Pin driver is high. */
  1016. /* Bit 28 : Pin 28. */
  1017. #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1018. #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1019. #define GPIO_OUT_PIN28_Low (0UL) /*!< Pin driver is low. */
  1020. #define GPIO_OUT_PIN28_High (1UL) /*!< Pin driver is high. */
  1021. /* Bit 27 : Pin 27. */
  1022. #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1023. #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1024. #define GPIO_OUT_PIN27_Low (0UL) /*!< Pin driver is low. */
  1025. #define GPIO_OUT_PIN27_High (1UL) /*!< Pin driver is high. */
  1026. /* Bit 26 : Pin 26. */
  1027. #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1028. #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1029. #define GPIO_OUT_PIN26_Low (0UL) /*!< Pin driver is low. */
  1030. #define GPIO_OUT_PIN26_High (1UL) /*!< Pin driver is high. */
  1031. /* Bit 25 : Pin 25. */
  1032. #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1033. #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1034. #define GPIO_OUT_PIN25_Low (0UL) /*!< Pin driver is low. */
  1035. #define GPIO_OUT_PIN25_High (1UL) /*!< Pin driver is high. */
  1036. /* Bit 24 : Pin 24. */
  1037. #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1038. #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1039. #define GPIO_OUT_PIN24_Low (0UL) /*!< Pin driver is low. */
  1040. #define GPIO_OUT_PIN24_High (1UL) /*!< Pin driver is high. */
  1041. /* Bit 23 : Pin 23. */
  1042. #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1043. #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1044. #define GPIO_OUT_PIN23_Low (0UL) /*!< Pin driver is low. */
  1045. #define GPIO_OUT_PIN23_High (1UL) /*!< Pin driver is high. */
  1046. /* Bit 22 : Pin 22. */
  1047. #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1048. #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1049. #define GPIO_OUT_PIN22_Low (0UL) /*!< Pin driver is low. */
  1050. #define GPIO_OUT_PIN22_High (1UL) /*!< Pin driver is high. */
  1051. /* Bit 21 : Pin 21. */
  1052. #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1053. #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1054. #define GPIO_OUT_PIN21_Low (0UL) /*!< Pin driver is low. */
  1055. #define GPIO_OUT_PIN21_High (1UL) /*!< Pin driver is high. */
  1056. /* Bit 20 : Pin 20. */
  1057. #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1058. #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1059. #define GPIO_OUT_PIN20_Low (0UL) /*!< Pin driver is low. */
  1060. #define GPIO_OUT_PIN20_High (1UL) /*!< Pin driver is high. */
  1061. /* Bit 19 : Pin 19. */
  1062. #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1063. #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1064. #define GPIO_OUT_PIN19_Low (0UL) /*!< Pin driver is low. */
  1065. #define GPIO_OUT_PIN19_High (1UL) /*!< Pin driver is high. */
  1066. /* Bit 18 : Pin 18. */
  1067. #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1068. #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1069. #define GPIO_OUT_PIN18_Low (0UL) /*!< Pin driver is low. */
  1070. #define GPIO_OUT_PIN18_High (1UL) /*!< Pin driver is high. */
  1071. /* Bit 17 : Pin 17. */
  1072. #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1073. #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1074. #define GPIO_OUT_PIN17_Low (0UL) /*!< Pin driver is low. */
  1075. #define GPIO_OUT_PIN17_High (1UL) /*!< Pin driver is high. */
  1076. /* Bit 16 : Pin 16. */
  1077. #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1078. #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1079. #define GPIO_OUT_PIN16_Low (0UL) /*!< Pin driver is low. */
  1080. #define GPIO_OUT_PIN16_High (1UL) /*!< Pin driver is high. */
  1081. /* Bit 15 : Pin 15. */
  1082. #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1083. #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1084. #define GPIO_OUT_PIN15_Low (0UL) /*!< Pin driver is low. */
  1085. #define GPIO_OUT_PIN15_High (1UL) /*!< Pin driver is high. */
  1086. /* Bit 14 : Pin 14. */
  1087. #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1088. #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1089. #define GPIO_OUT_PIN14_Low (0UL) /*!< Pin driver is low. */
  1090. #define GPIO_OUT_PIN14_High (1UL) /*!< Pin driver is high. */
  1091. /* Bit 13 : Pin 13. */
  1092. #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1093. #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1094. #define GPIO_OUT_PIN13_Low (0UL) /*!< Pin driver is low. */
  1095. #define GPIO_OUT_PIN13_High (1UL) /*!< Pin driver is high. */
  1096. /* Bit 12 : Pin 12. */
  1097. #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1098. #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1099. #define GPIO_OUT_PIN12_Low (0UL) /*!< Pin driver is low. */
  1100. #define GPIO_OUT_PIN12_High (1UL) /*!< Pin driver is high. */
  1101. /* Bit 11 : Pin 11. */
  1102. #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1103. #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1104. #define GPIO_OUT_PIN11_Low (0UL) /*!< Pin driver is low. */
  1105. #define GPIO_OUT_PIN11_High (1UL) /*!< Pin driver is high. */
  1106. /* Bit 10 : Pin 10. */
  1107. #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1108. #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1109. #define GPIO_OUT_PIN10_Low (0UL) /*!< Pin driver is low. */
  1110. #define GPIO_OUT_PIN10_High (1UL) /*!< Pin driver is high. */
  1111. /* Bit 9 : Pin 9. */
  1112. #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1113. #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1114. #define GPIO_OUT_PIN9_Low (0UL) /*!< Pin driver is low. */
  1115. #define GPIO_OUT_PIN9_High (1UL) /*!< Pin driver is high. */
  1116. /* Bit 8 : Pin 8. */
  1117. #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1118. #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1119. #define GPIO_OUT_PIN8_Low (0UL) /*!< Pin driver is low. */
  1120. #define GPIO_OUT_PIN8_High (1UL) /*!< Pin driver is high. */
  1121. /* Bit 7 : Pin 7. */
  1122. #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1123. #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1124. #define GPIO_OUT_PIN7_Low (0UL) /*!< Pin driver is low. */
  1125. #define GPIO_OUT_PIN7_High (1UL) /*!< Pin driver is high. */
  1126. /* Bit 6 : Pin 6. */
  1127. #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1128. #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1129. #define GPIO_OUT_PIN6_Low (0UL) /*!< Pin driver is low. */
  1130. #define GPIO_OUT_PIN6_High (1UL) /*!< Pin driver is high. */
  1131. /* Bit 5 : Pin 5. */
  1132. #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1133. #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1134. #define GPIO_OUT_PIN5_Low (0UL) /*!< Pin driver is low. */
  1135. #define GPIO_OUT_PIN5_High (1UL) /*!< Pin driver is high. */
  1136. /* Bit 4 : Pin 4. */
  1137. #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1138. #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1139. #define GPIO_OUT_PIN4_Low (0UL) /*!< Pin driver is low. */
  1140. #define GPIO_OUT_PIN4_High (1UL) /*!< Pin driver is high. */
  1141. /* Bit 3 : Pin 3. */
  1142. #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1143. #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1144. #define GPIO_OUT_PIN3_Low (0UL) /*!< Pin driver is low. */
  1145. #define GPIO_OUT_PIN3_High (1UL) /*!< Pin driver is high. */
  1146. /* Bit 2 : Pin 2. */
  1147. #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1148. #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1149. #define GPIO_OUT_PIN2_Low (0UL) /*!< Pin driver is low. */
  1150. #define GPIO_OUT_PIN2_High (1UL) /*!< Pin driver is high. */
  1151. /* Bit 1 : Pin 1. */
  1152. #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1153. #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1154. #define GPIO_OUT_PIN1_Low (0UL) /*!< Pin driver is low. */
  1155. #define GPIO_OUT_PIN1_High (1UL) /*!< Pin driver is high. */
  1156. /* Bit 0 : Pin 0. */
  1157. #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1158. #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1159. #define GPIO_OUT_PIN0_Low (0UL) /*!< Pin driver is low. */
  1160. #define GPIO_OUT_PIN0_High (1UL) /*!< Pin driver is high. */
  1161. /* Register: GPIO_OUTSET */
  1162. /* Description: Set individual bits in GPIO port. */
  1163. /* Bit 31 : Pin 31. */
  1164. #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1165. #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1166. #define GPIO_OUTSET_PIN31_Low (0UL) /*!< Pin driver is low. */
  1167. #define GPIO_OUTSET_PIN31_High (1UL) /*!< Pin driver is high. */
  1168. #define GPIO_OUTSET_PIN31_Set (1UL) /*!< Set pin driver high. */
  1169. /* Bit 30 : Pin 30. */
  1170. #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1171. #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1172. #define GPIO_OUTSET_PIN30_Low (0UL) /*!< Pin driver is low. */
  1173. #define GPIO_OUTSET_PIN30_High (1UL) /*!< Pin driver is high. */
  1174. #define GPIO_OUTSET_PIN30_Set (1UL) /*!< Set pin driver high. */
  1175. /* Bit 29 : Pin 29. */
  1176. #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1177. #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1178. #define GPIO_OUTSET_PIN29_Low (0UL) /*!< Pin driver is low. */
  1179. #define GPIO_OUTSET_PIN29_High (1UL) /*!< Pin driver is high. */
  1180. #define GPIO_OUTSET_PIN29_Set (1UL) /*!< Set pin driver high. */
  1181. /* Bit 28 : Pin 28. */
  1182. #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1183. #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1184. #define GPIO_OUTSET_PIN28_Low (0UL) /*!< Pin driver is low. */
  1185. #define GPIO_OUTSET_PIN28_High (1UL) /*!< Pin driver is high. */
  1186. #define GPIO_OUTSET_PIN28_Set (1UL) /*!< Set pin driver high. */
  1187. /* Bit 27 : Pin 27. */
  1188. #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1189. #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1190. #define GPIO_OUTSET_PIN27_Low (0UL) /*!< Pin driver is low. */
  1191. #define GPIO_OUTSET_PIN27_High (1UL) /*!< Pin driver is high. */
  1192. #define GPIO_OUTSET_PIN27_Set (1UL) /*!< Set pin driver high. */
  1193. /* Bit 26 : Pin 26. */
  1194. #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1195. #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1196. #define GPIO_OUTSET_PIN26_Low (0UL) /*!< Pin driver is low. */
  1197. #define GPIO_OUTSET_PIN26_High (1UL) /*!< Pin driver is high. */
  1198. #define GPIO_OUTSET_PIN26_Set (1UL) /*!< Set pin driver high. */
  1199. /* Bit 25 : Pin 25. */
  1200. #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1201. #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1202. #define GPIO_OUTSET_PIN25_Low (0UL) /*!< Pin driver is low. */
  1203. #define GPIO_OUTSET_PIN25_High (1UL) /*!< Pin driver is high. */
  1204. #define GPIO_OUTSET_PIN25_Set (1UL) /*!< Set pin driver high. */
  1205. /* Bit 24 : Pin 24. */
  1206. #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1207. #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1208. #define GPIO_OUTSET_PIN24_Low (0UL) /*!< Pin driver is low. */
  1209. #define GPIO_OUTSET_PIN24_High (1UL) /*!< Pin driver is high. */
  1210. #define GPIO_OUTSET_PIN24_Set (1UL) /*!< Set pin driver high. */
  1211. /* Bit 23 : Pin 23. */
  1212. #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1213. #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1214. #define GPIO_OUTSET_PIN23_Low (0UL) /*!< Pin driver is low. */
  1215. #define GPIO_OUTSET_PIN23_High (1UL) /*!< Pin driver is high. */
  1216. #define GPIO_OUTSET_PIN23_Set (1UL) /*!< Set pin driver high. */
  1217. /* Bit 22 : Pin 22. */
  1218. #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1219. #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1220. #define GPIO_OUTSET_PIN22_Low (0UL) /*!< Pin driver is low. */
  1221. #define GPIO_OUTSET_PIN22_High (1UL) /*!< Pin driver is high. */
  1222. #define GPIO_OUTSET_PIN22_Set (1UL) /*!< Set pin driver high. */
  1223. /* Bit 21 : Pin 21. */
  1224. #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1225. #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1226. #define GPIO_OUTSET_PIN21_Low (0UL) /*!< Pin driver is low. */
  1227. #define GPIO_OUTSET_PIN21_High (1UL) /*!< Pin driver is high. */
  1228. #define GPIO_OUTSET_PIN21_Set (1UL) /*!< Set pin driver high. */
  1229. /* Bit 20 : Pin 20. */
  1230. #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1231. #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1232. #define GPIO_OUTSET_PIN20_Low (0UL) /*!< Pin driver is low. */
  1233. #define GPIO_OUTSET_PIN20_High (1UL) /*!< Pin driver is high. */
  1234. #define GPIO_OUTSET_PIN20_Set (1UL) /*!< Set pin driver high. */
  1235. /* Bit 19 : Pin 19. */
  1236. #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1237. #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1238. #define GPIO_OUTSET_PIN19_Low (0UL) /*!< Pin driver is low. */
  1239. #define GPIO_OUTSET_PIN19_High (1UL) /*!< Pin driver is high. */
  1240. #define GPIO_OUTSET_PIN19_Set (1UL) /*!< Set pin driver high. */
  1241. /* Bit 18 : Pin 18. */
  1242. #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1243. #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1244. #define GPIO_OUTSET_PIN18_Low (0UL) /*!< Pin driver is low. */
  1245. #define GPIO_OUTSET_PIN18_High (1UL) /*!< Pin driver is high. */
  1246. #define GPIO_OUTSET_PIN18_Set (1UL) /*!< Set pin driver high. */
  1247. /* Bit 17 : Pin 17. */
  1248. #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1249. #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1250. #define GPIO_OUTSET_PIN17_Low (0UL) /*!< Pin driver is low. */
  1251. #define GPIO_OUTSET_PIN17_High (1UL) /*!< Pin driver is high. */
  1252. #define GPIO_OUTSET_PIN17_Set (1UL) /*!< Set pin driver high. */
  1253. /* Bit 16 : Pin 16. */
  1254. #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1255. #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1256. #define GPIO_OUTSET_PIN16_Low (0UL) /*!< Pin driver is low. */
  1257. #define GPIO_OUTSET_PIN16_High (1UL) /*!< Pin driver is high. */
  1258. #define GPIO_OUTSET_PIN16_Set (1UL) /*!< Set pin driver high. */
  1259. /* Bit 15 : Pin 15. */
  1260. #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1261. #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1262. #define GPIO_OUTSET_PIN15_Low (0UL) /*!< Pin driver is low. */
  1263. #define GPIO_OUTSET_PIN15_High (1UL) /*!< Pin driver is high. */
  1264. #define GPIO_OUTSET_PIN15_Set (1UL) /*!< Set pin driver high. */
  1265. /* Bit 14 : Pin 14. */
  1266. #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1267. #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1268. #define GPIO_OUTSET_PIN14_Low (0UL) /*!< Pin driver is low. */
  1269. #define GPIO_OUTSET_PIN14_High (1UL) /*!< Pin driver is high. */
  1270. #define GPIO_OUTSET_PIN14_Set (1UL) /*!< Set pin driver high. */
  1271. /* Bit 13 : Pin 13. */
  1272. #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1273. #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1274. #define GPIO_OUTSET_PIN13_Low (0UL) /*!< Pin driver is low. */
  1275. #define GPIO_OUTSET_PIN13_High (1UL) /*!< Pin driver is high. */
  1276. #define GPIO_OUTSET_PIN13_Set (1UL) /*!< Set pin driver high. */
  1277. /* Bit 12 : Pin 12. */
  1278. #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1279. #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1280. #define GPIO_OUTSET_PIN12_Low (0UL) /*!< Pin driver is low. */
  1281. #define GPIO_OUTSET_PIN12_High (1UL) /*!< Pin driver is high. */
  1282. #define GPIO_OUTSET_PIN12_Set (1UL) /*!< Set pin driver high. */
  1283. /* Bit 11 : Pin 11. */
  1284. #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1285. #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1286. #define GPIO_OUTSET_PIN11_Low (0UL) /*!< Pin driver is low. */
  1287. #define GPIO_OUTSET_PIN11_High (1UL) /*!< Pin driver is high. */
  1288. #define GPIO_OUTSET_PIN11_Set (1UL) /*!< Set pin driver high. */
  1289. /* Bit 10 : Pin 10. */
  1290. #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1291. #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1292. #define GPIO_OUTSET_PIN10_Low (0UL) /*!< Pin driver is low. */
  1293. #define GPIO_OUTSET_PIN10_High (1UL) /*!< Pin driver is high. */
  1294. #define GPIO_OUTSET_PIN10_Set (1UL) /*!< Set pin driver high. */
  1295. /* Bit 9 : Pin 9. */
  1296. #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1297. #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1298. #define GPIO_OUTSET_PIN9_Low (0UL) /*!< Pin driver is low. */
  1299. #define GPIO_OUTSET_PIN9_High (1UL) /*!< Pin driver is high. */
  1300. #define GPIO_OUTSET_PIN9_Set (1UL) /*!< Set pin driver high. */
  1301. /* Bit 8 : Pin 8. */
  1302. #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1303. #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1304. #define GPIO_OUTSET_PIN8_Low (0UL) /*!< Pin driver is low. */
  1305. #define GPIO_OUTSET_PIN8_High (1UL) /*!< Pin driver is high. */
  1306. #define GPIO_OUTSET_PIN8_Set (1UL) /*!< Set pin driver high. */
  1307. /* Bit 7 : Pin 7. */
  1308. #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1309. #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1310. #define GPIO_OUTSET_PIN7_Low (0UL) /*!< Pin driver is low. */
  1311. #define GPIO_OUTSET_PIN7_High (1UL) /*!< Pin driver is high. */
  1312. #define GPIO_OUTSET_PIN7_Set (1UL) /*!< Set pin driver high. */
  1313. /* Bit 6 : Pin 6. */
  1314. #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1315. #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1316. #define GPIO_OUTSET_PIN6_Low (0UL) /*!< Pin driver is low. */
  1317. #define GPIO_OUTSET_PIN6_High (1UL) /*!< Pin driver is high. */
  1318. #define GPIO_OUTSET_PIN6_Set (1UL) /*!< Set pin driver high. */
  1319. /* Bit 5 : Pin 5. */
  1320. #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1321. #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1322. #define GPIO_OUTSET_PIN5_Low (0UL) /*!< Pin driver is low. */
  1323. #define GPIO_OUTSET_PIN5_High (1UL) /*!< Pin driver is high. */
  1324. #define GPIO_OUTSET_PIN5_Set (1UL) /*!< Set pin driver high. */
  1325. /* Bit 4 : Pin 4. */
  1326. #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1327. #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1328. #define GPIO_OUTSET_PIN4_Low (0UL) /*!< Pin driver is low. */
  1329. #define GPIO_OUTSET_PIN4_High (1UL) /*!< Pin driver is high. */
  1330. #define GPIO_OUTSET_PIN4_Set (1UL) /*!< Set pin driver high. */
  1331. /* Bit 3 : Pin 3. */
  1332. #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1333. #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1334. #define GPIO_OUTSET_PIN3_Low (0UL) /*!< Pin driver is low. */
  1335. #define GPIO_OUTSET_PIN3_High (1UL) /*!< Pin driver is high. */
  1336. #define GPIO_OUTSET_PIN3_Set (1UL) /*!< Set pin driver high. */
  1337. /* Bit 2 : Pin 2. */
  1338. #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1339. #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1340. #define GPIO_OUTSET_PIN2_Low (0UL) /*!< Pin driver is low. */
  1341. #define GPIO_OUTSET_PIN2_High (1UL) /*!< Pin driver is high. */
  1342. #define GPIO_OUTSET_PIN2_Set (1UL) /*!< Set pin driver high. */
  1343. /* Bit 1 : Pin 1. */
  1344. #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1345. #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1346. #define GPIO_OUTSET_PIN1_Low (0UL) /*!< Pin driver is low. */
  1347. #define GPIO_OUTSET_PIN1_High (1UL) /*!< Pin driver is high. */
  1348. #define GPIO_OUTSET_PIN1_Set (1UL) /*!< Set pin driver high. */
  1349. /* Bit 0 : Pin 0. */
  1350. #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1351. #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1352. #define GPIO_OUTSET_PIN0_Low (0UL) /*!< Pin driver is low. */
  1353. #define GPIO_OUTSET_PIN0_High (1UL) /*!< Pin driver is high. */
  1354. #define GPIO_OUTSET_PIN0_Set (1UL) /*!< Set pin driver high. */
  1355. /* Register: GPIO_OUTCLR */
  1356. /* Description: Clear individual bits in GPIO port. */
  1357. /* Bit 31 : Pin 31. */
  1358. #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1359. #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1360. #define GPIO_OUTCLR_PIN31_Low (0UL) /*!< Pin driver is low. */
  1361. #define GPIO_OUTCLR_PIN31_High (1UL) /*!< Pin driver is high. */
  1362. #define GPIO_OUTCLR_PIN31_Clear (1UL) /*!< Set pin driver low. */
  1363. /* Bit 30 : Pin 30. */
  1364. #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1365. #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1366. #define GPIO_OUTCLR_PIN30_Low (0UL) /*!< Pin driver is low. */
  1367. #define GPIO_OUTCLR_PIN30_High (1UL) /*!< Pin driver is high. */
  1368. #define GPIO_OUTCLR_PIN30_Clear (1UL) /*!< Set pin driver low. */
  1369. /* Bit 29 : Pin 29. */
  1370. #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1371. #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1372. #define GPIO_OUTCLR_PIN29_Low (0UL) /*!< Pin driver is low. */
  1373. #define GPIO_OUTCLR_PIN29_High (1UL) /*!< Pin driver is high. */
  1374. #define GPIO_OUTCLR_PIN29_Clear (1UL) /*!< Set pin driver low. */
  1375. /* Bit 28 : Pin 28. */
  1376. #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1377. #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1378. #define GPIO_OUTCLR_PIN28_Low (0UL) /*!< Pin driver is low. */
  1379. #define GPIO_OUTCLR_PIN28_High (1UL) /*!< Pin driver is high. */
  1380. #define GPIO_OUTCLR_PIN28_Clear (1UL) /*!< Set pin driver low. */
  1381. /* Bit 27 : Pin 27. */
  1382. #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1383. #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1384. #define GPIO_OUTCLR_PIN27_Low (0UL) /*!< Pin driver is low. */
  1385. #define GPIO_OUTCLR_PIN27_High (1UL) /*!< Pin driver is high. */
  1386. #define GPIO_OUTCLR_PIN27_Clear (1UL) /*!< Set pin driver low. */
  1387. /* Bit 26 : Pin 26. */
  1388. #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1389. #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1390. #define GPIO_OUTCLR_PIN26_Low (0UL) /*!< Pin driver is low. */
  1391. #define GPIO_OUTCLR_PIN26_High (1UL) /*!< Pin driver is high. */
  1392. #define GPIO_OUTCLR_PIN26_Clear (1UL) /*!< Set pin driver low. */
  1393. /* Bit 25 : Pin 25. */
  1394. #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1395. #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1396. #define GPIO_OUTCLR_PIN25_Low (0UL) /*!< Pin driver is low. */
  1397. #define GPIO_OUTCLR_PIN25_High (1UL) /*!< Pin driver is high. */
  1398. #define GPIO_OUTCLR_PIN25_Clear (1UL) /*!< Set pin driver low. */
  1399. /* Bit 24 : Pin 24. */
  1400. #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1401. #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1402. #define GPIO_OUTCLR_PIN24_Low (0UL) /*!< Pin driver is low. */
  1403. #define GPIO_OUTCLR_PIN24_High (1UL) /*!< Pin driver is high. */
  1404. #define GPIO_OUTCLR_PIN24_Clear (1UL) /*!< Set pin driver low. */
  1405. /* Bit 23 : Pin 23. */
  1406. #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1407. #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1408. #define GPIO_OUTCLR_PIN23_Low (0UL) /*!< Pin driver is low. */
  1409. #define GPIO_OUTCLR_PIN23_High (1UL) /*!< Pin driver is high. */
  1410. #define GPIO_OUTCLR_PIN23_Clear (1UL) /*!< Set pin driver low. */
  1411. /* Bit 22 : Pin 22. */
  1412. #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1413. #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1414. #define GPIO_OUTCLR_PIN22_Low (0UL) /*!< Pin driver is low. */
  1415. #define GPIO_OUTCLR_PIN22_High (1UL) /*!< Pin driver is high. */
  1416. #define GPIO_OUTCLR_PIN22_Clear (1UL) /*!< Set pin driver low. */
  1417. /* Bit 21 : Pin 21. */
  1418. #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1419. #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1420. #define GPIO_OUTCLR_PIN21_Low (0UL) /*!< Pin driver is low. */
  1421. #define GPIO_OUTCLR_PIN21_High (1UL) /*!< Pin driver is high. */
  1422. #define GPIO_OUTCLR_PIN21_Clear (1UL) /*!< Set pin driver low. */
  1423. /* Bit 20 : Pin 20. */
  1424. #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1425. #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1426. #define GPIO_OUTCLR_PIN20_Low (0UL) /*!< Pin driver is low. */
  1427. #define GPIO_OUTCLR_PIN20_High (1UL) /*!< Pin driver is high. */
  1428. #define GPIO_OUTCLR_PIN20_Clear (1UL) /*!< Set pin driver low. */
  1429. /* Bit 19 : Pin 19. */
  1430. #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1431. #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1432. #define GPIO_OUTCLR_PIN19_Low (0UL) /*!< Pin driver is low. */
  1433. #define GPIO_OUTCLR_PIN19_High (1UL) /*!< Pin driver is high. */
  1434. #define GPIO_OUTCLR_PIN19_Clear (1UL) /*!< Set pin driver low. */
  1435. /* Bit 18 : Pin 18. */
  1436. #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1437. #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1438. #define GPIO_OUTCLR_PIN18_Low (0UL) /*!< Pin driver is low. */
  1439. #define GPIO_OUTCLR_PIN18_High (1UL) /*!< Pin driver is high. */
  1440. #define GPIO_OUTCLR_PIN18_Clear (1UL) /*!< Set pin driver low. */
  1441. /* Bit 17 : Pin 17. */
  1442. #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1443. #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1444. #define GPIO_OUTCLR_PIN17_Low (0UL) /*!< Pin driver is low. */
  1445. #define GPIO_OUTCLR_PIN17_High (1UL) /*!< Pin driver is high. */
  1446. #define GPIO_OUTCLR_PIN17_Clear (1UL) /*!< Set pin driver low. */
  1447. /* Bit 16 : Pin 16. */
  1448. #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1449. #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1450. #define GPIO_OUTCLR_PIN16_Low (0UL) /*!< Pin driver is low. */
  1451. #define GPIO_OUTCLR_PIN16_High (1UL) /*!< Pin driver is high. */
  1452. #define GPIO_OUTCLR_PIN16_Clear (1UL) /*!< Set pin driver low. */
  1453. /* Bit 15 : Pin 15. */
  1454. #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1455. #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1456. #define GPIO_OUTCLR_PIN15_Low (0UL) /*!< Pin driver is low. */
  1457. #define GPIO_OUTCLR_PIN15_High (1UL) /*!< Pin driver is high. */
  1458. #define GPIO_OUTCLR_PIN15_Clear (1UL) /*!< Set pin driver low. */
  1459. /* Bit 14 : Pin 14. */
  1460. #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1461. #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1462. #define GPIO_OUTCLR_PIN14_Low (0UL) /*!< Pin driver is low. */
  1463. #define GPIO_OUTCLR_PIN14_High (1UL) /*!< Pin driver is high. */
  1464. #define GPIO_OUTCLR_PIN14_Clear (1UL) /*!< Set pin driver low. */
  1465. /* Bit 13 : Pin 13. */
  1466. #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1467. #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1468. #define GPIO_OUTCLR_PIN13_Low (0UL) /*!< Pin driver is low. */
  1469. #define GPIO_OUTCLR_PIN13_High (1UL) /*!< Pin driver is high. */
  1470. #define GPIO_OUTCLR_PIN13_Clear (1UL) /*!< Set pin driver low. */
  1471. /* Bit 12 : Pin 12. */
  1472. #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1473. #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1474. #define GPIO_OUTCLR_PIN12_Low (0UL) /*!< Pin driver is low. */
  1475. #define GPIO_OUTCLR_PIN12_High (1UL) /*!< Pin driver is high. */
  1476. #define GPIO_OUTCLR_PIN12_Clear (1UL) /*!< Set pin driver low. */
  1477. /* Bit 11 : Pin 11. */
  1478. #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1479. #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1480. #define GPIO_OUTCLR_PIN11_Low (0UL) /*!< Pin driver is low. */
  1481. #define GPIO_OUTCLR_PIN11_High (1UL) /*!< Pin driver is high. */
  1482. #define GPIO_OUTCLR_PIN11_Clear (1UL) /*!< Set pin driver low. */
  1483. /* Bit 10 : Pin 10. */
  1484. #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1485. #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1486. #define GPIO_OUTCLR_PIN10_Low (0UL) /*!< Pin driver is low. */
  1487. #define GPIO_OUTCLR_PIN10_High (1UL) /*!< Pin driver is high. */
  1488. #define GPIO_OUTCLR_PIN10_Clear (1UL) /*!< Set pin driver low. */
  1489. /* Bit 9 : Pin 9. */
  1490. #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1491. #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1492. #define GPIO_OUTCLR_PIN9_Low (0UL) /*!< Pin driver is low. */
  1493. #define GPIO_OUTCLR_PIN9_High (1UL) /*!< Pin driver is high. */
  1494. #define GPIO_OUTCLR_PIN9_Clear (1UL) /*!< Set pin driver low. */
  1495. /* Bit 8 : Pin 8. */
  1496. #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1497. #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1498. #define GPIO_OUTCLR_PIN8_Low (0UL) /*!< Pin driver is low. */
  1499. #define GPIO_OUTCLR_PIN8_High (1UL) /*!< Pin driver is high. */
  1500. #define GPIO_OUTCLR_PIN8_Clear (1UL) /*!< Set pin driver low. */
  1501. /* Bit 7 : Pin 7. */
  1502. #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1503. #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1504. #define GPIO_OUTCLR_PIN7_Low (0UL) /*!< Pin driver is low. */
  1505. #define GPIO_OUTCLR_PIN7_High (1UL) /*!< Pin driver is high. */
  1506. #define GPIO_OUTCLR_PIN7_Clear (1UL) /*!< Set pin driver low. */
  1507. /* Bit 6 : Pin 6. */
  1508. #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1509. #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1510. #define GPIO_OUTCLR_PIN6_Low (0UL) /*!< Pin driver is low. */
  1511. #define GPIO_OUTCLR_PIN6_High (1UL) /*!< Pin driver is high. */
  1512. #define GPIO_OUTCLR_PIN6_Clear (1UL) /*!< Set pin driver low. */
  1513. /* Bit 5 : Pin 5. */
  1514. #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1515. #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1516. #define GPIO_OUTCLR_PIN5_Low (0UL) /*!< Pin driver is low. */
  1517. #define GPIO_OUTCLR_PIN5_High (1UL) /*!< Pin driver is high. */
  1518. #define GPIO_OUTCLR_PIN5_Clear (1UL) /*!< Set pin driver low. */
  1519. /* Bit 4 : Pin 4. */
  1520. #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1521. #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1522. #define GPIO_OUTCLR_PIN4_Low (0UL) /*!< Pin driver is low. */
  1523. #define GPIO_OUTCLR_PIN4_High (1UL) /*!< Pin driver is high. */
  1524. #define GPIO_OUTCLR_PIN4_Clear (1UL) /*!< Set pin driver low. */
  1525. /* Bit 3 : Pin 3. */
  1526. #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1527. #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1528. #define GPIO_OUTCLR_PIN3_Low (0UL) /*!< Pin driver is low. */
  1529. #define GPIO_OUTCLR_PIN3_High (1UL) /*!< Pin driver is high. */
  1530. #define GPIO_OUTCLR_PIN3_Clear (1UL) /*!< Set pin driver low. */
  1531. /* Bit 2 : Pin 2. */
  1532. #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1533. #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1534. #define GPIO_OUTCLR_PIN2_Low (0UL) /*!< Pin driver is low. */
  1535. #define GPIO_OUTCLR_PIN2_High (1UL) /*!< Pin driver is high. */
  1536. #define GPIO_OUTCLR_PIN2_Clear (1UL) /*!< Set pin driver low. */
  1537. /* Bit 1 : Pin 1. */
  1538. #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1539. #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1540. #define GPIO_OUTCLR_PIN1_Low (0UL) /*!< Pin driver is low. */
  1541. #define GPIO_OUTCLR_PIN1_High (1UL) /*!< Pin driver is high. */
  1542. #define GPIO_OUTCLR_PIN1_Clear (1UL) /*!< Set pin driver low. */
  1543. /* Bit 0 : Pin 0. */
  1544. #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1545. #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1546. #define GPIO_OUTCLR_PIN0_Low (0UL) /*!< Pin driver is low. */
  1547. #define GPIO_OUTCLR_PIN0_High (1UL) /*!< Pin driver is high. */
  1548. #define GPIO_OUTCLR_PIN0_Clear (1UL) /*!< Set pin driver low. */
  1549. /* Register: GPIO_IN */
  1550. /* Description: Read GPIO port. */
  1551. /* Bit 31 : Pin 31. */
  1552. #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1553. #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1554. #define GPIO_IN_PIN31_Low (0UL) /*!< Pin input is low. */
  1555. #define GPIO_IN_PIN31_High (1UL) /*!< Pin input is high. */
  1556. /* Bit 30 : Pin 30. */
  1557. #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1558. #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1559. #define GPIO_IN_PIN30_Low (0UL) /*!< Pin input is low. */
  1560. #define GPIO_IN_PIN30_High (1UL) /*!< Pin input is high. */
  1561. /* Bit 29 : Pin 29. */
  1562. #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1563. #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1564. #define GPIO_IN_PIN29_Low (0UL) /*!< Pin input is low. */
  1565. #define GPIO_IN_PIN29_High (1UL) /*!< Pin input is high. */
  1566. /* Bit 28 : Pin 28. */
  1567. #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1568. #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1569. #define GPIO_IN_PIN28_Low (0UL) /*!< Pin input is low. */
  1570. #define GPIO_IN_PIN28_High (1UL) /*!< Pin input is high. */
  1571. /* Bit 27 : Pin 27. */
  1572. #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1573. #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1574. #define GPIO_IN_PIN27_Low (0UL) /*!< Pin input is low. */
  1575. #define GPIO_IN_PIN27_High (1UL) /*!< Pin input is high. */
  1576. /* Bit 26 : Pin 26. */
  1577. #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1578. #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1579. #define GPIO_IN_PIN26_Low (0UL) /*!< Pin input is low. */
  1580. #define GPIO_IN_PIN26_High (1UL) /*!< Pin input is high. */
  1581. /* Bit 25 : Pin 25. */
  1582. #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1583. #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1584. #define GPIO_IN_PIN25_Low (0UL) /*!< Pin input is low. */
  1585. #define GPIO_IN_PIN25_High (1UL) /*!< Pin input is high. */
  1586. /* Bit 24 : Pin 24. */
  1587. #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1588. #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1589. #define GPIO_IN_PIN24_Low (0UL) /*!< Pin input is low. */
  1590. #define GPIO_IN_PIN24_High (1UL) /*!< Pin input is high. */
  1591. /* Bit 23 : Pin 23. */
  1592. #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1593. #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1594. #define GPIO_IN_PIN23_Low (0UL) /*!< Pin input is low. */
  1595. #define GPIO_IN_PIN23_High (1UL) /*!< Pin input is high. */
  1596. /* Bit 22 : Pin 22. */
  1597. #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1598. #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1599. #define GPIO_IN_PIN22_Low (0UL) /*!< Pin input is low. */
  1600. #define GPIO_IN_PIN22_High (1UL) /*!< Pin input is high. */
  1601. /* Bit 21 : Pin 21. */
  1602. #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1603. #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1604. #define GPIO_IN_PIN21_Low (0UL) /*!< Pin input is low. */
  1605. #define GPIO_IN_PIN21_High (1UL) /*!< Pin input is high. */
  1606. /* Bit 20 : Pin 20. */
  1607. #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1608. #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1609. #define GPIO_IN_PIN20_Low (0UL) /*!< Pin input is low. */
  1610. #define GPIO_IN_PIN20_High (1UL) /*!< Pin input is high. */
  1611. /* Bit 19 : Pin 19. */
  1612. #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1613. #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1614. #define GPIO_IN_PIN19_Low (0UL) /*!< Pin input is low. */
  1615. #define GPIO_IN_PIN19_High (1UL) /*!< Pin input is high. */
  1616. /* Bit 18 : Pin 18. */
  1617. #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1618. #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1619. #define GPIO_IN_PIN18_Low (0UL) /*!< Pin input is low. */
  1620. #define GPIO_IN_PIN18_High (1UL) /*!< Pin input is high. */
  1621. /* Bit 17 : Pin 17. */
  1622. #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1623. #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1624. #define GPIO_IN_PIN17_Low (0UL) /*!< Pin input is low. */
  1625. #define GPIO_IN_PIN17_High (1UL) /*!< Pin input is high. */
  1626. /* Bit 16 : Pin 16. */
  1627. #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1628. #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1629. #define GPIO_IN_PIN16_Low (0UL) /*!< Pin input is low. */
  1630. #define GPIO_IN_PIN16_High (1UL) /*!< Pin input is high. */
  1631. /* Bit 15 : Pin 15. */
  1632. #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1633. #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1634. #define GPIO_IN_PIN15_Low (0UL) /*!< Pin input is low. */
  1635. #define GPIO_IN_PIN15_High (1UL) /*!< Pin input is high. */
  1636. /* Bit 14 : Pin 14. */
  1637. #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1638. #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1639. #define GPIO_IN_PIN14_Low (0UL) /*!< Pin input is low. */
  1640. #define GPIO_IN_PIN14_High (1UL) /*!< Pin input is high. */
  1641. /* Bit 13 : Pin 13. */
  1642. #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1643. #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1644. #define GPIO_IN_PIN13_Low (0UL) /*!< Pin input is low. */
  1645. #define GPIO_IN_PIN13_High (1UL) /*!< Pin input is high. */
  1646. /* Bit 12 : Pin 12. */
  1647. #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1648. #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1649. #define GPIO_IN_PIN12_Low (0UL) /*!< Pin input is low. */
  1650. #define GPIO_IN_PIN12_High (1UL) /*!< Pin input is high. */
  1651. /* Bit 11 : Pin 11. */
  1652. #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1653. #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1654. #define GPIO_IN_PIN11_Low (0UL) /*!< Pin input is low. */
  1655. #define GPIO_IN_PIN11_High (1UL) /*!< Pin input is high. */
  1656. /* Bit 10 : Pin 10. */
  1657. #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1658. #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1659. #define GPIO_IN_PIN10_Low (0UL) /*!< Pin input is low. */
  1660. #define GPIO_IN_PIN10_High (1UL) /*!< Pin input is high. */
  1661. /* Bit 9 : Pin 9. */
  1662. #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1663. #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1664. #define GPIO_IN_PIN9_Low (0UL) /*!< Pin input is low. */
  1665. #define GPIO_IN_PIN9_High (1UL) /*!< Pin input is high. */
  1666. /* Bit 8 : Pin 8. */
  1667. #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1668. #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1669. #define GPIO_IN_PIN8_Low (0UL) /*!< Pin input is low. */
  1670. #define GPIO_IN_PIN8_High (1UL) /*!< Pin input is high. */
  1671. /* Bit 7 : Pin 7. */
  1672. #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1673. #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1674. #define GPIO_IN_PIN7_Low (0UL) /*!< Pin input is low. */
  1675. #define GPIO_IN_PIN7_High (1UL) /*!< Pin input is high. */
  1676. /* Bit 6 : Pin 6. */
  1677. #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1678. #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1679. #define GPIO_IN_PIN6_Low (0UL) /*!< Pin input is low. */
  1680. #define GPIO_IN_PIN6_High (1UL) /*!< Pin input is high. */
  1681. /* Bit 5 : Pin 5. */
  1682. #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1683. #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1684. #define GPIO_IN_PIN5_Low (0UL) /*!< Pin input is low. */
  1685. #define GPIO_IN_PIN5_High (1UL) /*!< Pin input is high. */
  1686. /* Bit 4 : Pin 4. */
  1687. #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1688. #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1689. #define GPIO_IN_PIN4_Low (0UL) /*!< Pin input is low. */
  1690. #define GPIO_IN_PIN4_High (1UL) /*!< Pin input is high. */
  1691. /* Bit 3 : Pin 3. */
  1692. #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1693. #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1694. #define GPIO_IN_PIN3_Low (0UL) /*!< Pin input is low. */
  1695. #define GPIO_IN_PIN3_High (1UL) /*!< Pin input is high. */
  1696. /* Bit 2 : Pin 2. */
  1697. #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1698. #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1699. #define GPIO_IN_PIN2_Low (0UL) /*!< Pin input is low. */
  1700. #define GPIO_IN_PIN2_High (1UL) /*!< Pin input is high. */
  1701. /* Bit 1 : Pin 1. */
  1702. #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1703. #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1704. #define GPIO_IN_PIN1_Low (0UL) /*!< Pin input is low. */
  1705. #define GPIO_IN_PIN1_High (1UL) /*!< Pin input is high. */
  1706. /* Bit 0 : Pin 0. */
  1707. #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1708. #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1709. #define GPIO_IN_PIN0_Low (0UL) /*!< Pin input is low. */
  1710. #define GPIO_IN_PIN0_High (1UL) /*!< Pin input is high. */
  1711. /* Register: GPIO_DIR */
  1712. /* Description: Direction of GPIO pins. */
  1713. /* Bit 31 : Pin 31. */
  1714. #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1715. #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1716. #define GPIO_DIR_PIN31_Input (0UL) /*!< Pin set as input. */
  1717. #define GPIO_DIR_PIN31_Output (1UL) /*!< Pin set as output. */
  1718. /* Bit 30 : Pin 30. */
  1719. #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1720. #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1721. #define GPIO_DIR_PIN30_Input (0UL) /*!< Pin set as input. */
  1722. #define GPIO_DIR_PIN30_Output (1UL) /*!< Pin set as output. */
  1723. /* Bit 29 : Pin 29. */
  1724. #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1725. #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1726. #define GPIO_DIR_PIN29_Input (0UL) /*!< Pin set as input. */
  1727. #define GPIO_DIR_PIN29_Output (1UL) /*!< Pin set as output. */
  1728. /* Bit 28 : Pin 28. */
  1729. #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1730. #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1731. #define GPIO_DIR_PIN28_Input (0UL) /*!< Pin set as input. */
  1732. #define GPIO_DIR_PIN28_Output (1UL) /*!< Pin set as output. */
  1733. /* Bit 27 : Pin 27. */
  1734. #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1735. #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1736. #define GPIO_DIR_PIN27_Input (0UL) /*!< Pin set as input. */
  1737. #define GPIO_DIR_PIN27_Output (1UL) /*!< Pin set as output. */
  1738. /* Bit 26 : Pin 26. */
  1739. #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1740. #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1741. #define GPIO_DIR_PIN26_Input (0UL) /*!< Pin set as input. */
  1742. #define GPIO_DIR_PIN26_Output (1UL) /*!< Pin set as output. */
  1743. /* Bit 25 : Pin 25. */
  1744. #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1745. #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1746. #define GPIO_DIR_PIN25_Input (0UL) /*!< Pin set as input. */
  1747. #define GPIO_DIR_PIN25_Output (1UL) /*!< Pin set as output. */
  1748. /* Bit 24 : Pin 24. */
  1749. #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1750. #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1751. #define GPIO_DIR_PIN24_Input (0UL) /*!< Pin set as input. */
  1752. #define GPIO_DIR_PIN24_Output (1UL) /*!< Pin set as output. */
  1753. /* Bit 23 : Pin 23. */
  1754. #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1755. #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1756. #define GPIO_DIR_PIN23_Input (0UL) /*!< Pin set as input. */
  1757. #define GPIO_DIR_PIN23_Output (1UL) /*!< Pin set as output. */
  1758. /* Bit 22 : Pin 22. */
  1759. #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1760. #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1761. #define GPIO_DIR_PIN22_Input (0UL) /*!< Pin set as input. */
  1762. #define GPIO_DIR_PIN22_Output (1UL) /*!< Pin set as output. */
  1763. /* Bit 21 : Pin 21. */
  1764. #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1765. #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1766. #define GPIO_DIR_PIN21_Input (0UL) /*!< Pin set as input. */
  1767. #define GPIO_DIR_PIN21_Output (1UL) /*!< Pin set as output. */
  1768. /* Bit 20 : Pin 20. */
  1769. #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1770. #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1771. #define GPIO_DIR_PIN20_Input (0UL) /*!< Pin set as input. */
  1772. #define GPIO_DIR_PIN20_Output (1UL) /*!< Pin set as output. */
  1773. /* Bit 19 : Pin 19. */
  1774. #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1775. #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1776. #define GPIO_DIR_PIN19_Input (0UL) /*!< Pin set as input. */
  1777. #define GPIO_DIR_PIN19_Output (1UL) /*!< Pin set as output. */
  1778. /* Bit 18 : Pin 18. */
  1779. #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1780. #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1781. #define GPIO_DIR_PIN18_Input (0UL) /*!< Pin set as input. */
  1782. #define GPIO_DIR_PIN18_Output (1UL) /*!< Pin set as output. */
  1783. /* Bit 17 : Pin 17. */
  1784. #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1785. #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1786. #define GPIO_DIR_PIN17_Input (0UL) /*!< Pin set as input. */
  1787. #define GPIO_DIR_PIN17_Output (1UL) /*!< Pin set as output. */
  1788. /* Bit 16 : Pin 16. */
  1789. #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1790. #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1791. #define GPIO_DIR_PIN16_Input (0UL) /*!< Pin set as input. */
  1792. #define GPIO_DIR_PIN16_Output (1UL) /*!< Pin set as output. */
  1793. /* Bit 15 : Pin 15. */
  1794. #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1795. #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1796. #define GPIO_DIR_PIN15_Input (0UL) /*!< Pin set as input. */
  1797. #define GPIO_DIR_PIN15_Output (1UL) /*!< Pin set as output. */
  1798. /* Bit 14 : Pin 14. */
  1799. #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1800. #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1801. #define GPIO_DIR_PIN14_Input (0UL) /*!< Pin set as input. */
  1802. #define GPIO_DIR_PIN14_Output (1UL) /*!< Pin set as output. */
  1803. /* Bit 13 : Pin 13. */
  1804. #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1805. #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1806. #define GPIO_DIR_PIN13_Input (0UL) /*!< Pin set as input. */
  1807. #define GPIO_DIR_PIN13_Output (1UL) /*!< Pin set as output. */
  1808. /* Bit 12 : Pin 12. */
  1809. #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1810. #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1811. #define GPIO_DIR_PIN12_Input (0UL) /*!< Pin set as input. */
  1812. #define GPIO_DIR_PIN12_Output (1UL) /*!< Pin set as output. */
  1813. /* Bit 11 : Pin 11. */
  1814. #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1815. #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1816. #define GPIO_DIR_PIN11_Input (0UL) /*!< Pin set as input. */
  1817. #define GPIO_DIR_PIN11_Output (1UL) /*!< Pin set as output. */
  1818. /* Bit 10 : Pin 10. */
  1819. #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  1820. #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  1821. #define GPIO_DIR_PIN10_Input (0UL) /*!< Pin set as input. */
  1822. #define GPIO_DIR_PIN10_Output (1UL) /*!< Pin set as output. */
  1823. /* Bit 9 : Pin 9. */
  1824. #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  1825. #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  1826. #define GPIO_DIR_PIN9_Input (0UL) /*!< Pin set as input. */
  1827. #define GPIO_DIR_PIN9_Output (1UL) /*!< Pin set as output. */
  1828. /* Bit 8 : Pin 8. */
  1829. #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  1830. #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  1831. #define GPIO_DIR_PIN8_Input (0UL) /*!< Pin set as input. */
  1832. #define GPIO_DIR_PIN8_Output (1UL) /*!< Pin set as output. */
  1833. /* Bit 7 : Pin 7. */
  1834. #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  1835. #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  1836. #define GPIO_DIR_PIN7_Input (0UL) /*!< Pin set as input. */
  1837. #define GPIO_DIR_PIN7_Output (1UL) /*!< Pin set as output. */
  1838. /* Bit 6 : Pin 6. */
  1839. #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  1840. #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  1841. #define GPIO_DIR_PIN6_Input (0UL) /*!< Pin set as input. */
  1842. #define GPIO_DIR_PIN6_Output (1UL) /*!< Pin set as output. */
  1843. /* Bit 5 : Pin 5. */
  1844. #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  1845. #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  1846. #define GPIO_DIR_PIN5_Input (0UL) /*!< Pin set as input. */
  1847. #define GPIO_DIR_PIN5_Output (1UL) /*!< Pin set as output. */
  1848. /* Bit 4 : Pin 4. */
  1849. #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  1850. #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  1851. #define GPIO_DIR_PIN4_Input (0UL) /*!< Pin set as input. */
  1852. #define GPIO_DIR_PIN4_Output (1UL) /*!< Pin set as output. */
  1853. /* Bit 3 : Pin 3. */
  1854. #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  1855. #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  1856. #define GPIO_DIR_PIN3_Input (0UL) /*!< Pin set as input. */
  1857. #define GPIO_DIR_PIN3_Output (1UL) /*!< Pin set as output. */
  1858. /* Bit 2 : Pin 2. */
  1859. #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  1860. #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  1861. #define GPIO_DIR_PIN2_Input (0UL) /*!< Pin set as input. */
  1862. #define GPIO_DIR_PIN2_Output (1UL) /*!< Pin set as output. */
  1863. /* Bit 1 : Pin 1. */
  1864. #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  1865. #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  1866. #define GPIO_DIR_PIN1_Input (0UL) /*!< Pin set as input. */
  1867. #define GPIO_DIR_PIN1_Output (1UL) /*!< Pin set as output. */
  1868. /* Bit 0 : Pin 0. */
  1869. #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  1870. #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  1871. #define GPIO_DIR_PIN0_Input (0UL) /*!< Pin set as input. */
  1872. #define GPIO_DIR_PIN0_Output (1UL) /*!< Pin set as output. */
  1873. /* Register: GPIO_DIRSET */
  1874. /* Description: DIR set register. */
  1875. /* Bit 31 : Set as output pin 31. */
  1876. #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  1877. #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  1878. #define GPIO_DIRSET_PIN31_Input (0UL) /*!< Pin set as input. */
  1879. #define GPIO_DIRSET_PIN31_Output (1UL) /*!< Pin set as output. */
  1880. #define GPIO_DIRSET_PIN31_Set (1UL) /*!< Set pin as output. */
  1881. /* Bit 30 : Set as output pin 30. */
  1882. #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  1883. #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  1884. #define GPIO_DIRSET_PIN30_Input (0UL) /*!< Pin set as input. */
  1885. #define GPIO_DIRSET_PIN30_Output (1UL) /*!< Pin set as output. */
  1886. #define GPIO_DIRSET_PIN30_Set (1UL) /*!< Set pin as output. */
  1887. /* Bit 29 : Set as output pin 29. */
  1888. #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  1889. #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  1890. #define GPIO_DIRSET_PIN29_Input (0UL) /*!< Pin set as input. */
  1891. #define GPIO_DIRSET_PIN29_Output (1UL) /*!< Pin set as output. */
  1892. #define GPIO_DIRSET_PIN29_Set (1UL) /*!< Set pin as output. */
  1893. /* Bit 28 : Set as output pin 28. */
  1894. #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  1895. #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  1896. #define GPIO_DIRSET_PIN28_Input (0UL) /*!< Pin set as input. */
  1897. #define GPIO_DIRSET_PIN28_Output (1UL) /*!< Pin set as output. */
  1898. #define GPIO_DIRSET_PIN28_Set (1UL) /*!< Set pin as output. */
  1899. /* Bit 27 : Set as output pin 27. */
  1900. #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  1901. #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  1902. #define GPIO_DIRSET_PIN27_Input (0UL) /*!< Pin set as input. */
  1903. #define GPIO_DIRSET_PIN27_Output (1UL) /*!< Pin set as output. */
  1904. #define GPIO_DIRSET_PIN27_Set (1UL) /*!< Set pin as output. */
  1905. /* Bit 26 : Set as output pin 26. */
  1906. #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  1907. #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  1908. #define GPIO_DIRSET_PIN26_Input (0UL) /*!< Pin set as input. */
  1909. #define GPIO_DIRSET_PIN26_Output (1UL) /*!< Pin set as output. */
  1910. #define GPIO_DIRSET_PIN26_Set (1UL) /*!< Set pin as output. */
  1911. /* Bit 25 : Set as output pin 25. */
  1912. #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  1913. #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  1914. #define GPIO_DIRSET_PIN25_Input (0UL) /*!< Pin set as input. */
  1915. #define GPIO_DIRSET_PIN25_Output (1UL) /*!< Pin set as output. */
  1916. #define GPIO_DIRSET_PIN25_Set (1UL) /*!< Set pin as output. */
  1917. /* Bit 24 : Set as output pin 24. */
  1918. #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  1919. #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  1920. #define GPIO_DIRSET_PIN24_Input (0UL) /*!< Pin set as input. */
  1921. #define GPIO_DIRSET_PIN24_Output (1UL) /*!< Pin set as output. */
  1922. #define GPIO_DIRSET_PIN24_Set (1UL) /*!< Set pin as output. */
  1923. /* Bit 23 : Set as output pin 23. */
  1924. #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  1925. #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  1926. #define GPIO_DIRSET_PIN23_Input (0UL) /*!< Pin set as input. */
  1927. #define GPIO_DIRSET_PIN23_Output (1UL) /*!< Pin set as output. */
  1928. #define GPIO_DIRSET_PIN23_Set (1UL) /*!< Set pin as output. */
  1929. /* Bit 22 : Set as output pin 22. */
  1930. #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  1931. #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  1932. #define GPIO_DIRSET_PIN22_Input (0UL) /*!< Pin set as input. */
  1933. #define GPIO_DIRSET_PIN22_Output (1UL) /*!< Pin set as output. */
  1934. #define GPIO_DIRSET_PIN22_Set (1UL) /*!< Set pin as output. */
  1935. /* Bit 21 : Set as output pin 21. */
  1936. #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  1937. #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  1938. #define GPIO_DIRSET_PIN21_Input (0UL) /*!< Pin set as input. */
  1939. #define GPIO_DIRSET_PIN21_Output (1UL) /*!< Pin set as output. */
  1940. #define GPIO_DIRSET_PIN21_Set (1UL) /*!< Set pin as output. */
  1941. /* Bit 20 : Set as output pin 20. */
  1942. #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  1943. #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  1944. #define GPIO_DIRSET_PIN20_Input (0UL) /*!< Pin set as input. */
  1945. #define GPIO_DIRSET_PIN20_Output (1UL) /*!< Pin set as output. */
  1946. #define GPIO_DIRSET_PIN20_Set (1UL) /*!< Set pin as output. */
  1947. /* Bit 19 : Set as output pin 19. */
  1948. #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  1949. #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  1950. #define GPIO_DIRSET_PIN19_Input (0UL) /*!< Pin set as input. */
  1951. #define GPIO_DIRSET_PIN19_Output (1UL) /*!< Pin set as output. */
  1952. #define GPIO_DIRSET_PIN19_Set (1UL) /*!< Set pin as output. */
  1953. /* Bit 18 : Set as output pin 18. */
  1954. #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  1955. #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  1956. #define GPIO_DIRSET_PIN18_Input (0UL) /*!< Pin set as input. */
  1957. #define GPIO_DIRSET_PIN18_Output (1UL) /*!< Pin set as output. */
  1958. #define GPIO_DIRSET_PIN18_Set (1UL) /*!< Set pin as output. */
  1959. /* Bit 17 : Set as output pin 17. */
  1960. #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  1961. #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  1962. #define GPIO_DIRSET_PIN17_Input (0UL) /*!< Pin set as input. */
  1963. #define GPIO_DIRSET_PIN17_Output (1UL) /*!< Pin set as output. */
  1964. #define GPIO_DIRSET_PIN17_Set (1UL) /*!< Set pin as output. */
  1965. /* Bit 16 : Set as output pin 16. */
  1966. #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  1967. #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  1968. #define GPIO_DIRSET_PIN16_Input (0UL) /*!< Pin set as input. */
  1969. #define GPIO_DIRSET_PIN16_Output (1UL) /*!< Pin set as output. */
  1970. #define GPIO_DIRSET_PIN16_Set (1UL) /*!< Set pin as output. */
  1971. /* Bit 15 : Set as output pin 15. */
  1972. #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  1973. #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  1974. #define GPIO_DIRSET_PIN15_Input (0UL) /*!< Pin set as input. */
  1975. #define GPIO_DIRSET_PIN15_Output (1UL) /*!< Pin set as output. */
  1976. #define GPIO_DIRSET_PIN15_Set (1UL) /*!< Set pin as output. */
  1977. /* Bit 14 : Set as output pin 14. */
  1978. #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  1979. #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  1980. #define GPIO_DIRSET_PIN14_Input (0UL) /*!< Pin set as input. */
  1981. #define GPIO_DIRSET_PIN14_Output (1UL) /*!< Pin set as output. */
  1982. #define GPIO_DIRSET_PIN14_Set (1UL) /*!< Set pin as output. */
  1983. /* Bit 13 : Set as output pin 13. */
  1984. #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  1985. #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  1986. #define GPIO_DIRSET_PIN13_Input (0UL) /*!< Pin set as input. */
  1987. #define GPIO_DIRSET_PIN13_Output (1UL) /*!< Pin set as output. */
  1988. #define GPIO_DIRSET_PIN13_Set (1UL) /*!< Set pin as output. */
  1989. /* Bit 12 : Set as output pin 12. */
  1990. #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  1991. #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  1992. #define GPIO_DIRSET_PIN12_Input (0UL) /*!< Pin set as input. */
  1993. #define GPIO_DIRSET_PIN12_Output (1UL) /*!< Pin set as output. */
  1994. #define GPIO_DIRSET_PIN12_Set (1UL) /*!< Set pin as output. */
  1995. /* Bit 11 : Set as output pin 11. */
  1996. #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  1997. #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  1998. #define GPIO_DIRSET_PIN11_Input (0UL) /*!< Pin set as input. */
  1999. #define GPIO_DIRSET_PIN11_Output (1UL) /*!< Pin set as output. */
  2000. #define GPIO_DIRSET_PIN11_Set (1UL) /*!< Set pin as output. */
  2001. /* Bit 10 : Set as output pin 10. */
  2002. #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  2003. #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  2004. #define GPIO_DIRSET_PIN10_Input (0UL) /*!< Pin set as input. */
  2005. #define GPIO_DIRSET_PIN10_Output (1UL) /*!< Pin set as output. */
  2006. #define GPIO_DIRSET_PIN10_Set (1UL) /*!< Set pin as output. */
  2007. /* Bit 9 : Set as output pin 9. */
  2008. #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  2009. #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  2010. #define GPIO_DIRSET_PIN9_Input (0UL) /*!< Pin set as input. */
  2011. #define GPIO_DIRSET_PIN9_Output (1UL) /*!< Pin set as output. */
  2012. #define GPIO_DIRSET_PIN9_Set (1UL) /*!< Set pin as output. */
  2013. /* Bit 8 : Set as output pin 8. */
  2014. #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  2015. #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  2016. #define GPIO_DIRSET_PIN8_Input (0UL) /*!< Pin set as input. */
  2017. #define GPIO_DIRSET_PIN8_Output (1UL) /*!< Pin set as output. */
  2018. #define GPIO_DIRSET_PIN8_Set (1UL) /*!< Set pin as output. */
  2019. /* Bit 7 : Set as output pin 7. */
  2020. #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  2021. #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  2022. #define GPIO_DIRSET_PIN7_Input (0UL) /*!< Pin set as input. */
  2023. #define GPIO_DIRSET_PIN7_Output (1UL) /*!< Pin set as output. */
  2024. #define GPIO_DIRSET_PIN7_Set (1UL) /*!< Set pin as output. */
  2025. /* Bit 6 : Set as output pin 6. */
  2026. #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  2027. #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  2028. #define GPIO_DIRSET_PIN6_Input (0UL) /*!< Pin set as input. */
  2029. #define GPIO_DIRSET_PIN6_Output (1UL) /*!< Pin set as output. */
  2030. #define GPIO_DIRSET_PIN6_Set (1UL) /*!< Set pin as output. */
  2031. /* Bit 5 : Set as output pin 5. */
  2032. #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  2033. #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  2034. #define GPIO_DIRSET_PIN5_Input (0UL) /*!< Pin set as input. */
  2035. #define GPIO_DIRSET_PIN5_Output (1UL) /*!< Pin set as output. */
  2036. #define GPIO_DIRSET_PIN5_Set (1UL) /*!< Set pin as output. */
  2037. /* Bit 4 : Set as output pin 4. */
  2038. #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  2039. #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  2040. #define GPIO_DIRSET_PIN4_Input (0UL) /*!< Pin set as input. */
  2041. #define GPIO_DIRSET_PIN4_Output (1UL) /*!< Pin set as output. */
  2042. #define GPIO_DIRSET_PIN4_Set (1UL) /*!< Set pin as output. */
  2043. /* Bit 3 : Set as output pin 3. */
  2044. #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  2045. #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  2046. #define GPIO_DIRSET_PIN3_Input (0UL) /*!< Pin set as input. */
  2047. #define GPIO_DIRSET_PIN3_Output (1UL) /*!< Pin set as output. */
  2048. #define GPIO_DIRSET_PIN3_Set (1UL) /*!< Set pin as output. */
  2049. /* Bit 2 : Set as output pin 2. */
  2050. #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  2051. #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  2052. #define GPIO_DIRSET_PIN2_Input (0UL) /*!< Pin set as input. */
  2053. #define GPIO_DIRSET_PIN2_Output (1UL) /*!< Pin set as output. */
  2054. #define GPIO_DIRSET_PIN2_Set (1UL) /*!< Set pin as output. */
  2055. /* Bit 1 : Set as output pin 1. */
  2056. #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  2057. #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  2058. #define GPIO_DIRSET_PIN1_Input (0UL) /*!< Pin set as input. */
  2059. #define GPIO_DIRSET_PIN1_Output (1UL) /*!< Pin set as output. */
  2060. #define GPIO_DIRSET_PIN1_Set (1UL) /*!< Set pin as output. */
  2061. /* Bit 0 : Set as output pin 0. */
  2062. #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  2063. #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  2064. #define GPIO_DIRSET_PIN0_Input (0UL) /*!< Pin set as input. */
  2065. #define GPIO_DIRSET_PIN0_Output (1UL) /*!< Pin set as output. */
  2066. #define GPIO_DIRSET_PIN0_Set (1UL) /*!< Set pin as output. */
  2067. /* Register: GPIO_DIRCLR */
  2068. /* Description: DIR clear register. */
  2069. /* Bit 31 : Set as input pin 31. */
  2070. #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
  2071. #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
  2072. #define GPIO_DIRCLR_PIN31_Input (0UL) /*!< Pin set as input. */
  2073. #define GPIO_DIRCLR_PIN31_Output (1UL) /*!< Pin set as output. */
  2074. #define GPIO_DIRCLR_PIN31_Clear (1UL) /*!< Set pin as input. */
  2075. /* Bit 30 : Set as input pin 30. */
  2076. #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
  2077. #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
  2078. #define GPIO_DIRCLR_PIN30_Input (0UL) /*!< Pin set as input. */
  2079. #define GPIO_DIRCLR_PIN30_Output (1UL) /*!< Pin set as output. */
  2080. #define GPIO_DIRCLR_PIN30_Clear (1UL) /*!< Set pin as input. */
  2081. /* Bit 29 : Set as input pin 29. */
  2082. #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
  2083. #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
  2084. #define GPIO_DIRCLR_PIN29_Input (0UL) /*!< Pin set as input. */
  2085. #define GPIO_DIRCLR_PIN29_Output (1UL) /*!< Pin set as output. */
  2086. #define GPIO_DIRCLR_PIN29_Clear (1UL) /*!< Set pin as input. */
  2087. /* Bit 28 : Set as input pin 28. */
  2088. #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
  2089. #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
  2090. #define GPIO_DIRCLR_PIN28_Input (0UL) /*!< Pin set as input. */
  2091. #define GPIO_DIRCLR_PIN28_Output (1UL) /*!< Pin set as output. */
  2092. #define GPIO_DIRCLR_PIN28_Clear (1UL) /*!< Set pin as input. */
  2093. /* Bit 27 : Set as input pin 27. */
  2094. #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
  2095. #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
  2096. #define GPIO_DIRCLR_PIN27_Input (0UL) /*!< Pin set as input. */
  2097. #define GPIO_DIRCLR_PIN27_Output (1UL) /*!< Pin set as output. */
  2098. #define GPIO_DIRCLR_PIN27_Clear (1UL) /*!< Set pin as input. */
  2099. /* Bit 26 : Set as input pin 26. */
  2100. #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
  2101. #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
  2102. #define GPIO_DIRCLR_PIN26_Input (0UL) /*!< Pin set as input. */
  2103. #define GPIO_DIRCLR_PIN26_Output (1UL) /*!< Pin set as output. */
  2104. #define GPIO_DIRCLR_PIN26_Clear (1UL) /*!< Set pin as input. */
  2105. /* Bit 25 : Set as input pin 25. */
  2106. #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
  2107. #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
  2108. #define GPIO_DIRCLR_PIN25_Input (0UL) /*!< Pin set as input. */
  2109. #define GPIO_DIRCLR_PIN25_Output (1UL) /*!< Pin set as output. */
  2110. #define GPIO_DIRCLR_PIN25_Clear (1UL) /*!< Set pin as input. */
  2111. /* Bit 24 : Set as input pin 24. */
  2112. #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
  2113. #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
  2114. #define GPIO_DIRCLR_PIN24_Input (0UL) /*!< Pin set as input. */
  2115. #define GPIO_DIRCLR_PIN24_Output (1UL) /*!< Pin set as output. */
  2116. #define GPIO_DIRCLR_PIN24_Clear (1UL) /*!< Set pin as input. */
  2117. /* Bit 23 : Set as input pin 23. */
  2118. #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
  2119. #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
  2120. #define GPIO_DIRCLR_PIN23_Input (0UL) /*!< Pin set as input. */
  2121. #define GPIO_DIRCLR_PIN23_Output (1UL) /*!< Pin set as output. */
  2122. #define GPIO_DIRCLR_PIN23_Clear (1UL) /*!< Set pin as input. */
  2123. /* Bit 22 : Set as input pin 22. */
  2124. #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
  2125. #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
  2126. #define GPIO_DIRCLR_PIN22_Input (0UL) /*!< Pin set as input. */
  2127. #define GPIO_DIRCLR_PIN22_Output (1UL) /*!< Pin set as output. */
  2128. #define GPIO_DIRCLR_PIN22_Clear (1UL) /*!< Set pin as input. */
  2129. /* Bit 21 : Set as input pin 21. */
  2130. #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
  2131. #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
  2132. #define GPIO_DIRCLR_PIN21_Input (0UL) /*!< Pin set as input. */
  2133. #define GPIO_DIRCLR_PIN21_Output (1UL) /*!< Pin set as output. */
  2134. #define GPIO_DIRCLR_PIN21_Clear (1UL) /*!< Set pin as input. */
  2135. /* Bit 20 : Set as input pin 20. */
  2136. #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
  2137. #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
  2138. #define GPIO_DIRCLR_PIN20_Input (0UL) /*!< Pin set as input. */
  2139. #define GPIO_DIRCLR_PIN20_Output (1UL) /*!< Pin set as output. */
  2140. #define GPIO_DIRCLR_PIN20_Clear (1UL) /*!< Set pin as input. */
  2141. /* Bit 19 : Set as input pin 19. */
  2142. #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
  2143. #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
  2144. #define GPIO_DIRCLR_PIN19_Input (0UL) /*!< Pin set as input. */
  2145. #define GPIO_DIRCLR_PIN19_Output (1UL) /*!< Pin set as output. */
  2146. #define GPIO_DIRCLR_PIN19_Clear (1UL) /*!< Set pin as input. */
  2147. /* Bit 18 : Set as input pin 18. */
  2148. #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
  2149. #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
  2150. #define GPIO_DIRCLR_PIN18_Input (0UL) /*!< Pin set as input. */
  2151. #define GPIO_DIRCLR_PIN18_Output (1UL) /*!< Pin set as output. */
  2152. #define GPIO_DIRCLR_PIN18_Clear (1UL) /*!< Set pin as input. */
  2153. /* Bit 17 : Set as input pin 17. */
  2154. #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
  2155. #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
  2156. #define GPIO_DIRCLR_PIN17_Input (0UL) /*!< Pin set as input. */
  2157. #define GPIO_DIRCLR_PIN17_Output (1UL) /*!< Pin set as output. */
  2158. #define GPIO_DIRCLR_PIN17_Clear (1UL) /*!< Set pin as input. */
  2159. /* Bit 16 : Set as input pin 16. */
  2160. #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
  2161. #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
  2162. #define GPIO_DIRCLR_PIN16_Input (0UL) /*!< Pin set as input. */
  2163. #define GPIO_DIRCLR_PIN16_Output (1UL) /*!< Pin set as output. */
  2164. #define GPIO_DIRCLR_PIN16_Clear (1UL) /*!< Set pin as input. */
  2165. /* Bit 15 : Set as input pin 15. */
  2166. #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
  2167. #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
  2168. #define GPIO_DIRCLR_PIN15_Input (0UL) /*!< Pin set as input. */
  2169. #define GPIO_DIRCLR_PIN15_Output (1UL) /*!< Pin set as output. */
  2170. #define GPIO_DIRCLR_PIN15_Clear (1UL) /*!< Set pin as input. */
  2171. /* Bit 14 : Set as input pin 14. */
  2172. #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
  2173. #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
  2174. #define GPIO_DIRCLR_PIN14_Input (0UL) /*!< Pin set as input. */
  2175. #define GPIO_DIRCLR_PIN14_Output (1UL) /*!< Pin set as output. */
  2176. #define GPIO_DIRCLR_PIN14_Clear (1UL) /*!< Set pin as input. */
  2177. /* Bit 13 : Set as input pin 13. */
  2178. #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
  2179. #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
  2180. #define GPIO_DIRCLR_PIN13_Input (0UL) /*!< Pin set as input. */
  2181. #define GPIO_DIRCLR_PIN13_Output (1UL) /*!< Pin set as output. */
  2182. #define GPIO_DIRCLR_PIN13_Clear (1UL) /*!< Set pin as input. */
  2183. /* Bit 12 : Set as input pin 12. */
  2184. #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
  2185. #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
  2186. #define GPIO_DIRCLR_PIN12_Input (0UL) /*!< Pin set as input. */
  2187. #define GPIO_DIRCLR_PIN12_Output (1UL) /*!< Pin set as output. */
  2188. #define GPIO_DIRCLR_PIN12_Clear (1UL) /*!< Set pin as input. */
  2189. /* Bit 11 : Set as input pin 11. */
  2190. #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
  2191. #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
  2192. #define GPIO_DIRCLR_PIN11_Input (0UL) /*!< Pin set as input. */
  2193. #define GPIO_DIRCLR_PIN11_Output (1UL) /*!< Pin set as output. */
  2194. #define GPIO_DIRCLR_PIN11_Clear (1UL) /*!< Set pin as input. */
  2195. /* Bit 10 : Set as input pin 10. */
  2196. #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
  2197. #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
  2198. #define GPIO_DIRCLR_PIN10_Input (0UL) /*!< Pin set as input. */
  2199. #define GPIO_DIRCLR_PIN10_Output (1UL) /*!< Pin set as output. */
  2200. #define GPIO_DIRCLR_PIN10_Clear (1UL) /*!< Set pin as input. */
  2201. /* Bit 9 : Set as input pin 9. */
  2202. #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
  2203. #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
  2204. #define GPIO_DIRCLR_PIN9_Input (0UL) /*!< Pin set as input. */
  2205. #define GPIO_DIRCLR_PIN9_Output (1UL) /*!< Pin set as output. */
  2206. #define GPIO_DIRCLR_PIN9_Clear (1UL) /*!< Set pin as input. */
  2207. /* Bit 8 : Set as input pin 8. */
  2208. #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
  2209. #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
  2210. #define GPIO_DIRCLR_PIN8_Input (0UL) /*!< Pin set as input. */
  2211. #define GPIO_DIRCLR_PIN8_Output (1UL) /*!< Pin set as output. */
  2212. #define GPIO_DIRCLR_PIN8_Clear (1UL) /*!< Set pin as input. */
  2213. /* Bit 7 : Set as input pin 7. */
  2214. #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
  2215. #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
  2216. #define GPIO_DIRCLR_PIN7_Input (0UL) /*!< Pin set as input. */
  2217. #define GPIO_DIRCLR_PIN7_Output (1UL) /*!< Pin set as output. */
  2218. #define GPIO_DIRCLR_PIN7_Clear (1UL) /*!< Set pin as input. */
  2219. /* Bit 6 : Set as input pin 6. */
  2220. #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
  2221. #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
  2222. #define GPIO_DIRCLR_PIN6_Input (0UL) /*!< Pin set as input. */
  2223. #define GPIO_DIRCLR_PIN6_Output (1UL) /*!< Pin set as output. */
  2224. #define GPIO_DIRCLR_PIN6_Clear (1UL) /*!< Set pin as input. */
  2225. /* Bit 5 : Set as input pin 5. */
  2226. #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
  2227. #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
  2228. #define GPIO_DIRCLR_PIN5_Input (0UL) /*!< Pin set as input. */
  2229. #define GPIO_DIRCLR_PIN5_Output (1UL) /*!< Pin set as output. */
  2230. #define GPIO_DIRCLR_PIN5_Clear (1UL) /*!< Set pin as input. */
  2231. /* Bit 4 : Set as input pin 4. */
  2232. #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
  2233. #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
  2234. #define GPIO_DIRCLR_PIN4_Input (0UL) /*!< Pin set as input. */
  2235. #define GPIO_DIRCLR_PIN4_Output (1UL) /*!< Pin set as output. */
  2236. #define GPIO_DIRCLR_PIN4_Clear (1UL) /*!< Set pin as input. */
  2237. /* Bit 3 : Set as input pin 3. */
  2238. #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
  2239. #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
  2240. #define GPIO_DIRCLR_PIN3_Input (0UL) /*!< Pin set as input. */
  2241. #define GPIO_DIRCLR_PIN3_Output (1UL) /*!< Pin set as output. */
  2242. #define GPIO_DIRCLR_PIN3_Clear (1UL) /*!< Set pin as input. */
  2243. /* Bit 2 : Set as input pin 2. */
  2244. #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
  2245. #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
  2246. #define GPIO_DIRCLR_PIN2_Input (0UL) /*!< Pin set as input. */
  2247. #define GPIO_DIRCLR_PIN2_Output (1UL) /*!< Pin set as output. */
  2248. #define GPIO_DIRCLR_PIN2_Clear (1UL) /*!< Set pin as input. */
  2249. /* Bit 1 : Set as input pin 1. */
  2250. #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
  2251. #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
  2252. #define GPIO_DIRCLR_PIN1_Input (0UL) /*!< Pin set as input. */
  2253. #define GPIO_DIRCLR_PIN1_Output (1UL) /*!< Pin set as output. */
  2254. #define GPIO_DIRCLR_PIN1_Clear (1UL) /*!< Set pin as input. */
  2255. /* Bit 0 : Set as input pin 0. */
  2256. #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
  2257. #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
  2258. #define GPIO_DIRCLR_PIN0_Input (0UL) /*!< Pin set as input. */
  2259. #define GPIO_DIRCLR_PIN0_Output (1UL) /*!< Pin set as output. */
  2260. #define GPIO_DIRCLR_PIN0_Clear (1UL) /*!< Set pin as input. */
  2261. /* Register: GPIO_PIN_CNF */
  2262. /* Description: Configuration of GPIO pins. */
  2263. /* Bits 17..16 : Pin sensing mechanism. */
  2264. #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */
  2265. #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */
  2266. #define GPIO_PIN_CNF_SENSE_Disabled (0x00UL) /*!< Disabled. */
  2267. #define GPIO_PIN_CNF_SENSE_High (0x02UL) /*!< Wakeup on high level. */
  2268. #define GPIO_PIN_CNF_SENSE_Low (0x03UL) /*!< Wakeup on low level. */
  2269. /* Bits 10..8 : Drive configuration. */
  2270. #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */
  2271. #define GPIO_PIN_CNF_DRIVE_Msk (0x7UL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */
  2272. #define GPIO_PIN_CNF_DRIVE_S0S1 (0x00UL) /*!< Standard '0', Standard '1'. */
  2273. #define GPIO_PIN_CNF_DRIVE_H0S1 (0x01UL) /*!< High '0', Standard '1'. */
  2274. #define GPIO_PIN_CNF_DRIVE_S0H1 (0x02UL) /*!< Standard '0', High '1'. */
  2275. #define GPIO_PIN_CNF_DRIVE_H0H1 (0x03UL) /*!< High '0', High '1'. */
  2276. #define GPIO_PIN_CNF_DRIVE_D0S1 (0x04UL) /*!< Disconnected '0', Standard '1'. */
  2277. #define GPIO_PIN_CNF_DRIVE_D0H1 (0x05UL) /*!< Disconnected '0', High '1'. */
  2278. #define GPIO_PIN_CNF_DRIVE_S0D1 (0x06UL) /*!< Standard '0', Disconnected '1'. */
  2279. #define GPIO_PIN_CNF_DRIVE_H0D1 (0x07UL) /*!< High '0', Disconnected '1'. */
  2280. /* Bits 3..2 : Pull-up or -down configuration. */
  2281. #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */
  2282. #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */
  2283. #define GPIO_PIN_CNF_PULL_Disabled (0x00UL) /*!< No pull. */
  2284. #define GPIO_PIN_CNF_PULL_Pulldown (0x01UL) /*!< Pulldown on pin. */
  2285. #define GPIO_PIN_CNF_PULL_Pullup (0x03UL) /*!< Pullup on pin. */
  2286. /* Bit 1 : Connect or disconnect input path. */
  2287. #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */
  2288. #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */
  2289. #define GPIO_PIN_CNF_INPUT_Connect (0UL) /*!< Connect input pin. */
  2290. #define GPIO_PIN_CNF_INPUT_Disconnect (1UL) /*!< Disconnect input pin. */
  2291. /* Bit 0 : Pin direction. */
  2292. #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */
  2293. #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */
  2294. #define GPIO_PIN_CNF_DIR_Input (0UL) /*!< Configure pin as an input pin. */
  2295. #define GPIO_PIN_CNF_DIR_Output (1UL) /*!< Configure pin as an output pin. */
  2296. /* Peripheral: GPIOTE */
  2297. /* Description: GPIO tasks and events. */
  2298. /* Register: GPIOTE_INTENSET */
  2299. /* Description: Interrupt enable set register. */
  2300. /* Bit 31 : Enable interrupt on PORT event. */
  2301. #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */
  2302. #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */
  2303. #define GPIOTE_INTENSET_PORT_Disabled (0UL) /*!< Interrupt disabled. */
  2304. #define GPIOTE_INTENSET_PORT_Enabled (1UL) /*!< Interrupt enabled. */
  2305. #define GPIOTE_INTENSET_PORT_Set (1UL) /*!< Enable interrupt on write. */
  2306. /* Bit 3 : Enable interrupt on IN[3] event. */
  2307. #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */
  2308. #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */
  2309. #define GPIOTE_INTENSET_IN3_Disabled (0UL) /*!< Interrupt disabled. */
  2310. #define GPIOTE_INTENSET_IN3_Enabled (1UL) /*!< Interrupt enabled. */
  2311. #define GPIOTE_INTENSET_IN3_Set (1UL) /*!< Enable interrupt on write. */
  2312. /* Bit 2 : Enable interrupt on IN[2] event. */
  2313. #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */
  2314. #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */
  2315. #define GPIOTE_INTENSET_IN2_Disabled (0UL) /*!< Interrupt disabled. */
  2316. #define GPIOTE_INTENSET_IN2_Enabled (1UL) /*!< Interrupt enabled. */
  2317. #define GPIOTE_INTENSET_IN2_Set (1UL) /*!< Enable interrupt on write. */
  2318. /* Bit 1 : Enable interrupt on IN[1] event. */
  2319. #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */
  2320. #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */
  2321. #define GPIOTE_INTENSET_IN1_Disabled (0UL) /*!< Interrupt disabled. */
  2322. #define GPIOTE_INTENSET_IN1_Enabled (1UL) /*!< Interrupt enabled. */
  2323. #define GPIOTE_INTENSET_IN1_Set (1UL) /*!< Enable interrupt on write. */
  2324. /* Bit 0 : Enable interrupt on IN[0] event. */
  2325. #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */
  2326. #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */
  2327. #define GPIOTE_INTENSET_IN0_Disabled (0UL) /*!< Interrupt disabled. */
  2328. #define GPIOTE_INTENSET_IN0_Enabled (1UL) /*!< Interrupt enabled. */
  2329. #define GPIOTE_INTENSET_IN0_Set (1UL) /*!< Enable interrupt on write. */
  2330. /* Register: GPIOTE_INTENCLR */
  2331. /* Description: Interrupt enable clear register. */
  2332. /* Bit 31 : Disable interrupt on PORT event. */
  2333. #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */
  2334. #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */
  2335. #define GPIOTE_INTENCLR_PORT_Disabled (0UL) /*!< Interrupt disabled. */
  2336. #define GPIOTE_INTENCLR_PORT_Enabled (1UL) /*!< Interrupt enabled. */
  2337. #define GPIOTE_INTENCLR_PORT_Clear (1UL) /*!< Disable interrupt on write. */
  2338. /* Bit 3 : Disable interrupt on IN[3] event. */
  2339. #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */
  2340. #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */
  2341. #define GPIOTE_INTENCLR_IN3_Disabled (0UL) /*!< Interrupt disabled. */
  2342. #define GPIOTE_INTENCLR_IN3_Enabled (1UL) /*!< Interrupt enabled. */
  2343. #define GPIOTE_INTENCLR_IN3_Clear (1UL) /*!< Disable interrupt on write. */
  2344. /* Bit 2 : Disable interrupt on IN[2] event. */
  2345. #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */
  2346. #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */
  2347. #define GPIOTE_INTENCLR_IN2_Disabled (0UL) /*!< Interrupt disabled. */
  2348. #define GPIOTE_INTENCLR_IN2_Enabled (1UL) /*!< Interrupt enabled. */
  2349. #define GPIOTE_INTENCLR_IN2_Clear (1UL) /*!< Disable interrupt on write. */
  2350. /* Bit 1 : Disable interrupt on IN[1] event. */
  2351. #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */
  2352. #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */
  2353. #define GPIOTE_INTENCLR_IN1_Disabled (0UL) /*!< Interrupt disabled. */
  2354. #define GPIOTE_INTENCLR_IN1_Enabled (1UL) /*!< Interrupt enabled. */
  2355. #define GPIOTE_INTENCLR_IN1_Clear (1UL) /*!< Disable interrupt on write. */
  2356. /* Bit 0 : Disable interrupt on IN[0] event. */
  2357. #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */
  2358. #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */
  2359. #define GPIOTE_INTENCLR_IN0_Disabled (0UL) /*!< Interrupt disabled. */
  2360. #define GPIOTE_INTENCLR_IN0_Enabled (1UL) /*!< Interrupt enabled. */
  2361. #define GPIOTE_INTENCLR_IN0_Clear (1UL) /*!< Disable interrupt on write. */
  2362. /* Register: GPIOTE_CONFIG */
  2363. /* Description: Channel configuration registers. */
  2364. /* Bit 20 : Initial value of the output when the GPIOTE channel is configured as a Task. */
  2365. #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */
  2366. #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */
  2367. #define GPIOTE_CONFIG_OUTINIT_Low (0UL) /*!< Initial low output when in task mode. */
  2368. #define GPIOTE_CONFIG_OUTINIT_High (1UL) /*!< Initial high output when in task mode. */
  2369. /* Bits 17..16 : Effects on output when in Task mode, or events on input that generates an event. */
  2370. #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */
  2371. #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */
  2372. #define GPIOTE_CONFIG_POLARITY_None (0x00UL) /*!< No task or event. */
  2373. #define GPIOTE_CONFIG_POLARITY_LoToHi (0x01UL) /*!< Low to high. */
  2374. #define GPIOTE_CONFIG_POLARITY_HiToLo (0x02UL) /*!< High to low. */
  2375. #define GPIOTE_CONFIG_POLARITY_Toggle (0x03UL) /*!< Toggle. */
  2376. /* Bits 12..8 : Pin select. */
  2377. #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
  2378. #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
  2379. /* Bits 1..0 : Mode */
  2380. #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */
  2381. #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */
  2382. #define GPIOTE_CONFIG_MODE_Disabled (0x00UL) /*!< Disabled. */
  2383. #define GPIOTE_CONFIG_MODE_Event (0x01UL) /*!< Channel configure in event mode. */
  2384. #define GPIOTE_CONFIG_MODE_Task (0x03UL) /*!< Channel configure in task mode. */
  2385. /* Register: GPIOTE_POWER */
  2386. /* Description: Peripheral power control. */
  2387. /* Bit 0 : Peripheral power control. */
  2388. #define GPIOTE_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  2389. #define GPIOTE_POWER_POWER_Msk (0x1UL << GPIOTE_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  2390. #define GPIOTE_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  2391. #define GPIOTE_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  2392. /* Peripheral: LPCOMP */
  2393. /* Description: Low power comparator. */
  2394. /* Register: LPCOMP_SHORTS */
  2395. /* Description: Shortcuts for the LPCOMP. */
  2396. /* Bit 4 : Shortcut between CROSS event and STOP task. */
  2397. #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */
  2398. #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */
  2399. #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  2400. #define LPCOMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  2401. /* Bit 3 : Shortcut between UP event and STOP task. */
  2402. #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */
  2403. #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */
  2404. #define LPCOMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  2405. #define LPCOMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  2406. /* Bit 2 : Shortcut between DOWN event and STOP task. */
  2407. #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */
  2408. #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */
  2409. #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  2410. #define LPCOMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  2411. /* Bit 1 : Shortcut between RADY event and STOP task. */
  2412. #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */
  2413. #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */
  2414. #define LPCOMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  2415. #define LPCOMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  2416. /* Bit 0 : Shortcut between READY event and SAMPLE task. */
  2417. #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */
  2418. #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */
  2419. #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Shortcut disabled. */
  2420. #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Shortcut enabled. */
  2421. /* Register: LPCOMP_INTENSET */
  2422. /* Description: Interrupt enable set register. */
  2423. /* Bit 3 : Enable interrupt on CROSS event. */
  2424. #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  2425. #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */
  2426. #define LPCOMP_INTENSET_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
  2427. #define LPCOMP_INTENSET_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
  2428. #define LPCOMP_INTENSET_CROSS_Set (1UL) /*!< Enable interrupt on write. */
  2429. /* Bit 2 : Enable interrupt on UP event. */
  2430. #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */
  2431. #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */
  2432. #define LPCOMP_INTENSET_UP_Disabled (0UL) /*!< Interrupt disabled. */
  2433. #define LPCOMP_INTENSET_UP_Enabled (1UL) /*!< Interrupt enabled. */
  2434. #define LPCOMP_INTENSET_UP_Set (1UL) /*!< Enable interrupt on write. */
  2435. /* Bit 1 : Enable interrupt on DOWN event. */
  2436. #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  2437. #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */
  2438. #define LPCOMP_INTENSET_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
  2439. #define LPCOMP_INTENSET_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
  2440. #define LPCOMP_INTENSET_DOWN_Set (1UL) /*!< Enable interrupt on write. */
  2441. /* Bit 0 : Enable interrupt on READY event. */
  2442. #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  2443. #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  2444. #define LPCOMP_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
  2445. #define LPCOMP_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
  2446. #define LPCOMP_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
  2447. /* Register: LPCOMP_INTENCLR */
  2448. /* Description: Interrupt enable clear register. */
  2449. /* Bit 3 : Disable interrupt on CROSS event. */
  2450. #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */
  2451. #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */
  2452. #define LPCOMP_INTENCLR_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
  2453. #define LPCOMP_INTENCLR_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
  2454. #define LPCOMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable interrupt on write. */
  2455. /* Bit 2 : Disable interrupt on UP event. */
  2456. #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */
  2457. #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */
  2458. #define LPCOMP_INTENCLR_UP_Disabled (0UL) /*!< Interrupt disabled. */
  2459. #define LPCOMP_INTENCLR_UP_Enabled (1UL) /*!< Interrupt enabled. */
  2460. #define LPCOMP_INTENCLR_UP_Clear (1UL) /*!< Disable interrupt on write. */
  2461. /* Bit 1 : Disable interrupt on DOWN event. */
  2462. #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */
  2463. #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */
  2464. #define LPCOMP_INTENCLR_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
  2465. #define LPCOMP_INTENCLR_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
  2466. #define LPCOMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable interrupt on write. */
  2467. /* Bit 0 : Disable interrupt on READY event. */
  2468. #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  2469. #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  2470. #define LPCOMP_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
  2471. #define LPCOMP_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
  2472. #define LPCOMP_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
  2473. /* Register: LPCOMP_RESULT */
  2474. /* Description: Result of last compare. */
  2475. /* Bit 0 : Result of last compare. Decision point SAMPLE task. */
  2476. #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
  2477. #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
  2478. #define LPCOMP_RESULT_RESULT_Bellow (0UL) /*!< Input voltage is bellow the reference threshold. */
  2479. #define LPCOMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold. */
  2480. /* Register: LPCOMP_ENABLE */
  2481. /* Description: Enable the LPCOMP. */
  2482. /* Bits 1..0 : Enable or disable LPCOMP. */
  2483. #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  2484. #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  2485. #define LPCOMP_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled LPCOMP. */
  2486. #define LPCOMP_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable LPCOMP. */
  2487. /* Register: LPCOMP_PSEL */
  2488. /* Description: Input pin select. */
  2489. /* Bits 2..0 : Analog input pin select. */
  2490. #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */
  2491. #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */
  2492. #define LPCOMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< Use analog input 0 as analog input. */
  2493. #define LPCOMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< Use analog input 1 as analog input. */
  2494. #define LPCOMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< Use analog input 2 as analog input. */
  2495. #define LPCOMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< Use analog input 3 as analog input. */
  2496. #define LPCOMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< Use analog input 4 as analog input. */
  2497. #define LPCOMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< Use analog input 5 as analog input. */
  2498. #define LPCOMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< Use analog input 6 as analog input. */
  2499. #define LPCOMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< Use analog input 7 as analog input. */
  2500. /* Register: LPCOMP_REFSEL */
  2501. /* Description: Reference select. */
  2502. /* Bits 2..0 : Reference select. */
  2503. #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */
  2504. #define LPCOMP_REFSEL_REFSEL_Msk (0x7UL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
  2505. #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling (0UL) /*!< Use supply with a 1/8 prescaler as reference. */
  2506. #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling (1UL) /*!< Use supply with a 2/8 prescaler as reference. */
  2507. #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling (2UL) /*!< Use supply with a 3/8 prescaler as reference. */
  2508. #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling (3UL) /*!< Use supply with a 4/8 prescaler as reference. */
  2509. #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling (4UL) /*!< Use supply with a 5/8 prescaler as reference. */
  2510. #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling (5UL) /*!< Use supply with a 6/8 prescaler as reference. */
  2511. #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling (6UL) /*!< Use supply with a 7/8 prescaler as reference. */
  2512. #define LPCOMP_REFSEL_REFSEL_ARef (7UL) /*!< Use external analog reference as reference. */
  2513. /* Register: LPCOMP_EXTREFSEL */
  2514. /* Description: External reference select. */
  2515. /* Bit 0 : External analog reference pin selection. */
  2516. #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */
  2517. #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
  2518. #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use analog reference 0 as reference. */
  2519. #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use analog reference 1 as reference. */
  2520. /* Register: LPCOMP_ANADETECT */
  2521. /* Description: Analog detect configuration. */
  2522. /* Bits 1..0 : Analog detect configuration. */
  2523. #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */
  2524. #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */
  2525. #define LPCOMP_ANADETECT_ANADETECT_Cross (0UL) /*!< Generate ANADETEC on crossing, both upwards and downwards crossing. */
  2526. #define LPCOMP_ANADETECT_ANADETECT_Up (1UL) /*!< Generate ANADETEC on upwards crossing only. */
  2527. #define LPCOMP_ANADETECT_ANADETECT_Down (2UL) /*!< Generate ANADETEC on downwards crossing only. */
  2528. /* Register: LPCOMP_POWER */
  2529. /* Description: Peripheral power control. */
  2530. /* Bit 0 : Peripheral power control. */
  2531. #define LPCOMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  2532. #define LPCOMP_POWER_POWER_Msk (0x1UL << LPCOMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  2533. #define LPCOMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  2534. #define LPCOMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  2535. /* Peripheral: MPU */
  2536. /* Description: Memory Protection Unit. */
  2537. /* Register: MPU_PERR0 */
  2538. /* Description: Configuration of peripherals in mpu regions. */
  2539. /* Bit 31 : PPI region configuration. */
  2540. #define MPU_PERR0_PPI_Pos (31UL) /*!< Position of PPI field. */
  2541. #define MPU_PERR0_PPI_Msk (0x1UL << MPU_PERR0_PPI_Pos) /*!< Bit mask of PPI field. */
  2542. #define MPU_PERR0_PPI_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2543. #define MPU_PERR0_PPI_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2544. /* Bit 30 : NVMC region configuration. */
  2545. #define MPU_PERR0_NVMC_Pos (30UL) /*!< Position of NVMC field. */
  2546. #define MPU_PERR0_NVMC_Msk (0x1UL << MPU_PERR0_NVMC_Pos) /*!< Bit mask of NVMC field. */
  2547. #define MPU_PERR0_NVMC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2548. #define MPU_PERR0_NVMC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2549. /* Bit 19 : LPCOMP region configuration. */
  2550. #define MPU_PERR0_LPCOMP_Pos (19UL) /*!< Position of LPCOMP field. */
  2551. #define MPU_PERR0_LPCOMP_Msk (0x1UL << MPU_PERR0_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */
  2552. #define MPU_PERR0_LPCOMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2553. #define MPU_PERR0_LPCOMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2554. /* Bit 18 : QDEC region configuration. */
  2555. #define MPU_PERR0_QDEC_Pos (18UL) /*!< Position of QDEC field. */
  2556. #define MPU_PERR0_QDEC_Msk (0x1UL << MPU_PERR0_QDEC_Pos) /*!< Bit mask of QDEC field. */
  2557. #define MPU_PERR0_QDEC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2558. #define MPU_PERR0_QDEC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2559. /* Bit 17 : RTC1 region configuration. */
  2560. #define MPU_PERR0_RTC1_Pos (17UL) /*!< Position of RTC1 field. */
  2561. #define MPU_PERR0_RTC1_Msk (0x1UL << MPU_PERR0_RTC1_Pos) /*!< Bit mask of RTC1 field. */
  2562. #define MPU_PERR0_RTC1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2563. #define MPU_PERR0_RTC1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2564. /* Bit 16 : WDT region configuration. */
  2565. #define MPU_PERR0_WDT_Pos (16UL) /*!< Position of WDT field. */
  2566. #define MPU_PERR0_WDT_Msk (0x1UL << MPU_PERR0_WDT_Pos) /*!< Bit mask of WDT field. */
  2567. #define MPU_PERR0_WDT_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2568. #define MPU_PERR0_WDT_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2569. /* Bit 15 : CCM and AAR region configuration. */
  2570. #define MPU_PERR0_CCM_AAR_Pos (15UL) /*!< Position of CCM_AAR field. */
  2571. #define MPU_PERR0_CCM_AAR_Msk (0x1UL << MPU_PERR0_CCM_AAR_Pos) /*!< Bit mask of CCM_AAR field. */
  2572. #define MPU_PERR0_CCM_AAR_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2573. #define MPU_PERR0_CCM_AAR_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2574. /* Bit 14 : ECB region configuration. */
  2575. #define MPU_PERR0_ECB_Pos (14UL) /*!< Position of ECB field. */
  2576. #define MPU_PERR0_ECB_Msk (0x1UL << MPU_PERR0_ECB_Pos) /*!< Bit mask of ECB field. */
  2577. #define MPU_PERR0_ECB_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2578. #define MPU_PERR0_ECB_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2579. /* Bit 13 : RNG region configuration. */
  2580. #define MPU_PERR0_RNG_Pos (13UL) /*!< Position of RNG field. */
  2581. #define MPU_PERR0_RNG_Msk (0x1UL << MPU_PERR0_RNG_Pos) /*!< Bit mask of RNG field. */
  2582. #define MPU_PERR0_RNG_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2583. #define MPU_PERR0_RNG_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2584. /* Bit 12 : TEMP region configuration. */
  2585. #define MPU_PERR0_TEMP_Pos (12UL) /*!< Position of TEMP field. */
  2586. #define MPU_PERR0_TEMP_Msk (0x1UL << MPU_PERR0_TEMP_Pos) /*!< Bit mask of TEMP field. */
  2587. #define MPU_PERR0_TEMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2588. #define MPU_PERR0_TEMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2589. /* Bit 11 : RTC0 region configuration. */
  2590. #define MPU_PERR0_RTC0_Pos (11UL) /*!< Position of RTC0 field. */
  2591. #define MPU_PERR0_RTC0_Msk (0x1UL << MPU_PERR0_RTC0_Pos) /*!< Bit mask of RTC0 field. */
  2592. #define MPU_PERR0_RTC0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2593. #define MPU_PERR0_RTC0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2594. /* Bit 10 : TIMER2 region configuration. */
  2595. #define MPU_PERR0_TIMER2_Pos (10UL) /*!< Position of TIMER2 field. */
  2596. #define MPU_PERR0_TIMER2_Msk (0x1UL << MPU_PERR0_TIMER2_Pos) /*!< Bit mask of TIMER2 field. */
  2597. #define MPU_PERR0_TIMER2_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2598. #define MPU_PERR0_TIMER2_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2599. /* Bit 9 : TIMER1 region configuration. */
  2600. #define MPU_PERR0_TIMER1_Pos (9UL) /*!< Position of TIMER1 field. */
  2601. #define MPU_PERR0_TIMER1_Msk (0x1UL << MPU_PERR0_TIMER1_Pos) /*!< Bit mask of TIMER1 field. */
  2602. #define MPU_PERR0_TIMER1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2603. #define MPU_PERR0_TIMER1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2604. /* Bit 8 : TIMER0 region configuration. */
  2605. #define MPU_PERR0_TIMER0_Pos (8UL) /*!< Position of TIMER0 field. */
  2606. #define MPU_PERR0_TIMER0_Msk (0x1UL << MPU_PERR0_TIMER0_Pos) /*!< Bit mask of TIMER0 field. */
  2607. #define MPU_PERR0_TIMER0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2608. #define MPU_PERR0_TIMER0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2609. /* Bit 7 : ADC region configuration. */
  2610. #define MPU_PERR0_ADC_Pos (7UL) /*!< Position of ADC field. */
  2611. #define MPU_PERR0_ADC_Msk (0x1UL << MPU_PERR0_ADC_Pos) /*!< Bit mask of ADC field. */
  2612. #define MPU_PERR0_ADC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2613. #define MPU_PERR0_ADC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2614. /* Bit 6 : GPIOTE region configuration. */
  2615. #define MPU_PERR0_GPIOTE_Pos (6UL) /*!< Position of GPIOTE field. */
  2616. #define MPU_PERR0_GPIOTE_Msk (0x1UL << MPU_PERR0_GPIOTE_Pos) /*!< Bit mask of GPIOTE field. */
  2617. #define MPU_PERR0_GPIOTE_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2618. #define MPU_PERR0_GPIOTE_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2619. /* Bit 4 : SPI1 and TWI1 region configuration. */
  2620. #define MPU_PERR0_SPI1_TWI1_Pos (4UL) /*!< Position of SPI1_TWI1 field. */
  2621. #define MPU_PERR0_SPI1_TWI1_Msk (0x1UL << MPU_PERR0_SPI1_TWI1_Pos) /*!< Bit mask of SPI1_TWI1 field. */
  2622. #define MPU_PERR0_SPI1_TWI1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2623. #define MPU_PERR0_SPI1_TWI1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2624. /* Bit 3 : SPI0 and TWI0 region configuration. */
  2625. #define MPU_PERR0_SPI0_TWI0_Pos (3UL) /*!< Position of SPI0_TWI0 field. */
  2626. #define MPU_PERR0_SPI0_TWI0_Msk (0x1UL << MPU_PERR0_SPI0_TWI0_Pos) /*!< Bit mask of SPI0_TWI0 field. */
  2627. #define MPU_PERR0_SPI0_TWI0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2628. #define MPU_PERR0_SPI0_TWI0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2629. /* Bit 2 : UART0 region configuration. */
  2630. #define MPU_PERR0_UART0_Pos (2UL) /*!< Position of UART0 field. */
  2631. #define MPU_PERR0_UART0_Msk (0x1UL << MPU_PERR0_UART0_Pos) /*!< Bit mask of UART0 field. */
  2632. #define MPU_PERR0_UART0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2633. #define MPU_PERR0_UART0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2634. /* Bit 1 : RADIO region configuration. */
  2635. #define MPU_PERR0_RADIO_Pos (1UL) /*!< Position of RADIO field. */
  2636. #define MPU_PERR0_RADIO_Msk (0x1UL << MPU_PERR0_RADIO_Pos) /*!< Bit mask of RADIO field. */
  2637. #define MPU_PERR0_RADIO_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2638. #define MPU_PERR0_RADIO_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2639. /* Bit 0 : POWER_CLOCK region configuration. */
  2640. #define MPU_PERR0_POWER_CLOCK_Pos (0UL) /*!< Position of POWER_CLOCK field. */
  2641. #define MPU_PERR0_POWER_CLOCK_Msk (0x1UL << MPU_PERR0_POWER_CLOCK_Pos) /*!< Bit mask of POWER_CLOCK field. */
  2642. #define MPU_PERR0_POWER_CLOCK_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
  2643. #define MPU_PERR0_POWER_CLOCK_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
  2644. /* Register: MPU_PROTENSET0 */
  2645. /* Description: Erase and write protection bit enable set register. */
  2646. /* Bit 31 : Protection enable for region 31. */
  2647. #define MPU_PROTENSET0_PROTREG31_Pos (31UL) /*!< Position of PROTREG31 field. */
  2648. #define MPU_PROTENSET0_PROTREG31_Msk (0x1UL << MPU_PROTENSET0_PROTREG31_Pos) /*!< Bit mask of PROTREG31 field. */
  2649. #define MPU_PROTENSET0_PROTREG31_Disabled (0UL) /*!< Protection disabled. */
  2650. #define MPU_PROTENSET0_PROTREG31_Enabled (1UL) /*!< Protection enabled. */
  2651. #define MPU_PROTENSET0_PROTREG31_Set (1UL) /*!< Enable protection on write. */
  2652. /* Bit 30 : Protection enable for region 30. */
  2653. #define MPU_PROTENSET0_PROTREG30_Pos (30UL) /*!< Position of PROTREG30 field. */
  2654. #define MPU_PROTENSET0_PROTREG30_Msk (0x1UL << MPU_PROTENSET0_PROTREG30_Pos) /*!< Bit mask of PROTREG30 field. */
  2655. #define MPU_PROTENSET0_PROTREG30_Disabled (0UL) /*!< Protection disabled. */
  2656. #define MPU_PROTENSET0_PROTREG30_Enabled (1UL) /*!< Protection enabled. */
  2657. #define MPU_PROTENSET0_PROTREG30_Set (1UL) /*!< Enable protection on write. */
  2658. /* Bit 29 : Protection enable for region 29. */
  2659. #define MPU_PROTENSET0_PROTREG29_Pos (29UL) /*!< Position of PROTREG29 field. */
  2660. #define MPU_PROTENSET0_PROTREG29_Msk (0x1UL << MPU_PROTENSET0_PROTREG29_Pos) /*!< Bit mask of PROTREG29 field. */
  2661. #define MPU_PROTENSET0_PROTREG29_Disabled (0UL) /*!< Protection disabled. */
  2662. #define MPU_PROTENSET0_PROTREG29_Enabled (1UL) /*!< Protection enabled. */
  2663. #define MPU_PROTENSET0_PROTREG29_Set (1UL) /*!< Enable protection on write. */
  2664. /* Bit 28 : Protection enable for region 28. */
  2665. #define MPU_PROTENSET0_PROTREG28_Pos (28UL) /*!< Position of PROTREG28 field. */
  2666. #define MPU_PROTENSET0_PROTREG28_Msk (0x1UL << MPU_PROTENSET0_PROTREG28_Pos) /*!< Bit mask of PROTREG28 field. */
  2667. #define MPU_PROTENSET0_PROTREG28_Disabled (0UL) /*!< Protection disabled. */
  2668. #define MPU_PROTENSET0_PROTREG28_Enabled (1UL) /*!< Protection enabled. */
  2669. #define MPU_PROTENSET0_PROTREG28_Set (1UL) /*!< Enable protection on write. */
  2670. /* Bit 27 : Protection enable for region 27. */
  2671. #define MPU_PROTENSET0_PROTREG27_Pos (27UL) /*!< Position of PROTREG27 field. */
  2672. #define MPU_PROTENSET0_PROTREG27_Msk (0x1UL << MPU_PROTENSET0_PROTREG27_Pos) /*!< Bit mask of PROTREG27 field. */
  2673. #define MPU_PROTENSET0_PROTREG27_Disabled (0UL) /*!< Protection disabled. */
  2674. #define MPU_PROTENSET0_PROTREG27_Enabled (1UL) /*!< Protection enabled. */
  2675. #define MPU_PROTENSET0_PROTREG27_Set (1UL) /*!< Enable protection on write. */
  2676. /* Bit 26 : Protection enable for region 26. */
  2677. #define MPU_PROTENSET0_PROTREG26_Pos (26UL) /*!< Position of PROTREG26 field. */
  2678. #define MPU_PROTENSET0_PROTREG26_Msk (0x1UL << MPU_PROTENSET0_PROTREG26_Pos) /*!< Bit mask of PROTREG26 field. */
  2679. #define MPU_PROTENSET0_PROTREG26_Disabled (0UL) /*!< Protection disabled. */
  2680. #define MPU_PROTENSET0_PROTREG26_Enabled (1UL) /*!< Protection enabled. */
  2681. #define MPU_PROTENSET0_PROTREG26_Set (1UL) /*!< Enable protection on write. */
  2682. /* Bit 25 : Protection enable for region 25. */
  2683. #define MPU_PROTENSET0_PROTREG25_Pos (25UL) /*!< Position of PROTREG25 field. */
  2684. #define MPU_PROTENSET0_PROTREG25_Msk (0x1UL << MPU_PROTENSET0_PROTREG25_Pos) /*!< Bit mask of PROTREG25 field. */
  2685. #define MPU_PROTENSET0_PROTREG25_Disabled (0UL) /*!< Protection disabled. */
  2686. #define MPU_PROTENSET0_PROTREG25_Enabled (1UL) /*!< Protection enabled. */
  2687. #define MPU_PROTENSET0_PROTREG25_Set (1UL) /*!< Enable protection on write. */
  2688. /* Bit 24 : Protection enable for region 24. */
  2689. #define MPU_PROTENSET0_PROTREG24_Pos (24UL) /*!< Position of PROTREG24 field. */
  2690. #define MPU_PROTENSET0_PROTREG24_Msk (0x1UL << MPU_PROTENSET0_PROTREG24_Pos) /*!< Bit mask of PROTREG24 field. */
  2691. #define MPU_PROTENSET0_PROTREG24_Disabled (0UL) /*!< Protection disabled. */
  2692. #define MPU_PROTENSET0_PROTREG24_Enabled (1UL) /*!< Protection enabled. */
  2693. #define MPU_PROTENSET0_PROTREG24_Set (1UL) /*!< Enable protection on write. */
  2694. /* Bit 23 : Protection enable for region 23. */
  2695. #define MPU_PROTENSET0_PROTREG23_Pos (23UL) /*!< Position of PROTREG23 field. */
  2696. #define MPU_PROTENSET0_PROTREG23_Msk (0x1UL << MPU_PROTENSET0_PROTREG23_Pos) /*!< Bit mask of PROTREG23 field. */
  2697. #define MPU_PROTENSET0_PROTREG23_Disabled (0UL) /*!< Protection disabled. */
  2698. #define MPU_PROTENSET0_PROTREG23_Enabled (1UL) /*!< Protection enabled. */
  2699. #define MPU_PROTENSET0_PROTREG23_Set (1UL) /*!< Enable protection on write. */
  2700. /* Bit 22 : Protection enable for region 22. */
  2701. #define MPU_PROTENSET0_PROTREG22_Pos (22UL) /*!< Position of PROTREG22 field. */
  2702. #define MPU_PROTENSET0_PROTREG22_Msk (0x1UL << MPU_PROTENSET0_PROTREG22_Pos) /*!< Bit mask of PROTREG22 field. */
  2703. #define MPU_PROTENSET0_PROTREG22_Disabled (0UL) /*!< Protection disabled. */
  2704. #define MPU_PROTENSET0_PROTREG22_Enabled (1UL) /*!< Protection enabled. */
  2705. #define MPU_PROTENSET0_PROTREG22_Set (1UL) /*!< Enable protection on write. */
  2706. /* Bit 21 : Protection enable for region 21. */
  2707. #define MPU_PROTENSET0_PROTREG21_Pos (21UL) /*!< Position of PROTREG21 field. */
  2708. #define MPU_PROTENSET0_PROTREG21_Msk (0x1UL << MPU_PROTENSET0_PROTREG21_Pos) /*!< Bit mask of PROTREG21 field. */
  2709. #define MPU_PROTENSET0_PROTREG21_Disabled (0UL) /*!< Protection disabled. */
  2710. #define MPU_PROTENSET0_PROTREG21_Enabled (1UL) /*!< Protection enabled. */
  2711. #define MPU_PROTENSET0_PROTREG21_Set (1UL) /*!< Enable protection on write. */
  2712. /* Bit 20 : Protection enable for region 20. */
  2713. #define MPU_PROTENSET0_PROTREG20_Pos (20UL) /*!< Position of PROTREG20 field. */
  2714. #define MPU_PROTENSET0_PROTREG20_Msk (0x1UL << MPU_PROTENSET0_PROTREG20_Pos) /*!< Bit mask of PROTREG20 field. */
  2715. #define MPU_PROTENSET0_PROTREG20_Disabled (0UL) /*!< Protection disabled. */
  2716. #define MPU_PROTENSET0_PROTREG20_Enabled (1UL) /*!< Protection enabled. */
  2717. #define MPU_PROTENSET0_PROTREG20_Set (1UL) /*!< Enable protection on write. */
  2718. /* Bit 19 : Protection enable for region 19. */
  2719. #define MPU_PROTENSET0_PROTREG19_Pos (19UL) /*!< Position of PROTREG19 field. */
  2720. #define MPU_PROTENSET0_PROTREG19_Msk (0x1UL << MPU_PROTENSET0_PROTREG19_Pos) /*!< Bit mask of PROTREG19 field. */
  2721. #define MPU_PROTENSET0_PROTREG19_Disabled (0UL) /*!< Protection disabled. */
  2722. #define MPU_PROTENSET0_PROTREG19_Enabled (1UL) /*!< Protection enabled. */
  2723. #define MPU_PROTENSET0_PROTREG19_Set (1UL) /*!< Enable protection on write. */
  2724. /* Bit 18 : Protection enable for region 18. */
  2725. #define MPU_PROTENSET0_PROTREG18_Pos (18UL) /*!< Position of PROTREG18 field. */
  2726. #define MPU_PROTENSET0_PROTREG18_Msk (0x1UL << MPU_PROTENSET0_PROTREG18_Pos) /*!< Bit mask of PROTREG18 field. */
  2727. #define MPU_PROTENSET0_PROTREG18_Disabled (0UL) /*!< Protection disabled. */
  2728. #define MPU_PROTENSET0_PROTREG18_Enabled (1UL) /*!< Protection enabled. */
  2729. #define MPU_PROTENSET0_PROTREG18_Set (1UL) /*!< Enable protection on write. */
  2730. /* Bit 17 : Protection enable for region 17. */
  2731. #define MPU_PROTENSET0_PROTREG17_Pos (17UL) /*!< Position of PROTREG17 field. */
  2732. #define MPU_PROTENSET0_PROTREG17_Msk (0x1UL << MPU_PROTENSET0_PROTREG17_Pos) /*!< Bit mask of PROTREG17 field. */
  2733. #define MPU_PROTENSET0_PROTREG17_Disabled (0UL) /*!< Protection disabled. */
  2734. #define MPU_PROTENSET0_PROTREG17_Enabled (1UL) /*!< Protection enabled. */
  2735. #define MPU_PROTENSET0_PROTREG17_Set (1UL) /*!< Enable protection on write. */
  2736. /* Bit 16 : Protection enable for region 16. */
  2737. #define MPU_PROTENSET0_PROTREG16_Pos (16UL) /*!< Position of PROTREG16 field. */
  2738. #define MPU_PROTENSET0_PROTREG16_Msk (0x1UL << MPU_PROTENSET0_PROTREG16_Pos) /*!< Bit mask of PROTREG16 field. */
  2739. #define MPU_PROTENSET0_PROTREG16_Disabled (0UL) /*!< Protection disabled. */
  2740. #define MPU_PROTENSET0_PROTREG16_Enabled (1UL) /*!< Protection enabled. */
  2741. #define MPU_PROTENSET0_PROTREG16_Set (1UL) /*!< Enable protection on write. */
  2742. /* Bit 15 : Protection enable for region 15. */
  2743. #define MPU_PROTENSET0_PROTREG15_Pos (15UL) /*!< Position of PROTREG15 field. */
  2744. #define MPU_PROTENSET0_PROTREG15_Msk (0x1UL << MPU_PROTENSET0_PROTREG15_Pos) /*!< Bit mask of PROTREG15 field. */
  2745. #define MPU_PROTENSET0_PROTREG15_Disabled (0UL) /*!< Protection disabled. */
  2746. #define MPU_PROTENSET0_PROTREG15_Enabled (1UL) /*!< Protection enabled. */
  2747. #define MPU_PROTENSET0_PROTREG15_Set (1UL) /*!< Enable protection on write. */
  2748. /* Bit 14 : Protection enable for region 14. */
  2749. #define MPU_PROTENSET0_PROTREG14_Pos (14UL) /*!< Position of PROTREG14 field. */
  2750. #define MPU_PROTENSET0_PROTREG14_Msk (0x1UL << MPU_PROTENSET0_PROTREG14_Pos) /*!< Bit mask of PROTREG14 field. */
  2751. #define MPU_PROTENSET0_PROTREG14_Disabled (0UL) /*!< Protection disabled. */
  2752. #define MPU_PROTENSET0_PROTREG14_Enabled (1UL) /*!< Protection enabled. */
  2753. #define MPU_PROTENSET0_PROTREG14_Set (1UL) /*!< Enable protection on write. */
  2754. /* Bit 13 : Protection enable for region 13. */
  2755. #define MPU_PROTENSET0_PROTREG13_Pos (13UL) /*!< Position of PROTREG13 field. */
  2756. #define MPU_PROTENSET0_PROTREG13_Msk (0x1UL << MPU_PROTENSET0_PROTREG13_Pos) /*!< Bit mask of PROTREG13 field. */
  2757. #define MPU_PROTENSET0_PROTREG13_Disabled (0UL) /*!< Protection disabled. */
  2758. #define MPU_PROTENSET0_PROTREG13_Enabled (1UL) /*!< Protection enabled. */
  2759. #define MPU_PROTENSET0_PROTREG13_Set (1UL) /*!< Enable protection on write. */
  2760. /* Bit 12 : Protection enable for region 12. */
  2761. #define MPU_PROTENSET0_PROTREG12_Pos (12UL) /*!< Position of PROTREG12 field. */
  2762. #define MPU_PROTENSET0_PROTREG12_Msk (0x1UL << MPU_PROTENSET0_PROTREG12_Pos) /*!< Bit mask of PROTREG12 field. */
  2763. #define MPU_PROTENSET0_PROTREG12_Disabled (0UL) /*!< Protection disabled. */
  2764. #define MPU_PROTENSET0_PROTREG12_Enabled (1UL) /*!< Protection enabled. */
  2765. #define MPU_PROTENSET0_PROTREG12_Set (1UL) /*!< Enable protection on write. */
  2766. /* Bit 11 : Protection enable for region 11. */
  2767. #define MPU_PROTENSET0_PROTREG11_Pos (11UL) /*!< Position of PROTREG11 field. */
  2768. #define MPU_PROTENSET0_PROTREG11_Msk (0x1UL << MPU_PROTENSET0_PROTREG11_Pos) /*!< Bit mask of PROTREG11 field. */
  2769. #define MPU_PROTENSET0_PROTREG11_Disabled (0UL) /*!< Protection disabled. */
  2770. #define MPU_PROTENSET0_PROTREG11_Enabled (1UL) /*!< Protection enabled. */
  2771. #define MPU_PROTENSET0_PROTREG11_Set (1UL) /*!< Enable protection on write. */
  2772. /* Bit 10 : Protection enable for region 10. */
  2773. #define MPU_PROTENSET0_PROTREG10_Pos (10UL) /*!< Position of PROTREG10 field. */
  2774. #define MPU_PROTENSET0_PROTREG10_Msk (0x1UL << MPU_PROTENSET0_PROTREG10_Pos) /*!< Bit mask of PROTREG10 field. */
  2775. #define MPU_PROTENSET0_PROTREG10_Disabled (0UL) /*!< Protection disabled. */
  2776. #define MPU_PROTENSET0_PROTREG10_Enabled (1UL) /*!< Protection enabled. */
  2777. #define MPU_PROTENSET0_PROTREG10_Set (1UL) /*!< Enable protection on write. */
  2778. /* Bit 9 : Protection enable for region 9. */
  2779. #define MPU_PROTENSET0_PROTREG9_Pos (9UL) /*!< Position of PROTREG9 field. */
  2780. #define MPU_PROTENSET0_PROTREG9_Msk (0x1UL << MPU_PROTENSET0_PROTREG9_Pos) /*!< Bit mask of PROTREG9 field. */
  2781. #define MPU_PROTENSET0_PROTREG9_Disabled (0UL) /*!< Protection disabled. */
  2782. #define MPU_PROTENSET0_PROTREG9_Enabled (1UL) /*!< Protection enabled. */
  2783. #define MPU_PROTENSET0_PROTREG9_Set (1UL) /*!< Enable protection on write. */
  2784. /* Bit 8 : Protection enable for region 8. */
  2785. #define MPU_PROTENSET0_PROTREG8_Pos (8UL) /*!< Position of PROTREG8 field. */
  2786. #define MPU_PROTENSET0_PROTREG8_Msk (0x1UL << MPU_PROTENSET0_PROTREG8_Pos) /*!< Bit mask of PROTREG8 field. */
  2787. #define MPU_PROTENSET0_PROTREG8_Disabled (0UL) /*!< Protection disabled. */
  2788. #define MPU_PROTENSET0_PROTREG8_Enabled (1UL) /*!< Protection enabled. */
  2789. #define MPU_PROTENSET0_PROTREG8_Set (1UL) /*!< Enable protection on write. */
  2790. /* Bit 7 : Protection enable for region 7. */
  2791. #define MPU_PROTENSET0_PROTREG7_Pos (7UL) /*!< Position of PROTREG7 field. */
  2792. #define MPU_PROTENSET0_PROTREG7_Msk (0x1UL << MPU_PROTENSET0_PROTREG7_Pos) /*!< Bit mask of PROTREG7 field. */
  2793. #define MPU_PROTENSET0_PROTREG7_Disabled (0UL) /*!< Protection disabled. */
  2794. #define MPU_PROTENSET0_PROTREG7_Enabled (1UL) /*!< Protection enabled. */
  2795. #define MPU_PROTENSET0_PROTREG7_Set (1UL) /*!< Enable protection on write. */
  2796. /* Bit 6 : Protection enable for region 6. */
  2797. #define MPU_PROTENSET0_PROTREG6_Pos (6UL) /*!< Position of PROTREG6 field. */
  2798. #define MPU_PROTENSET0_PROTREG6_Msk (0x1UL << MPU_PROTENSET0_PROTREG6_Pos) /*!< Bit mask of PROTREG6 field. */
  2799. #define MPU_PROTENSET0_PROTREG6_Disabled (0UL) /*!< Protection disabled. */
  2800. #define MPU_PROTENSET0_PROTREG6_Enabled (1UL) /*!< Protection enabled. */
  2801. #define MPU_PROTENSET0_PROTREG6_Set (1UL) /*!< Enable protection on write. */
  2802. /* Bit 5 : Protection enable for region 5. */
  2803. #define MPU_PROTENSET0_PROTREG5_Pos (5UL) /*!< Position of PROTREG5 field. */
  2804. #define MPU_PROTENSET0_PROTREG5_Msk (0x1UL << MPU_PROTENSET0_PROTREG5_Pos) /*!< Bit mask of PROTREG5 field. */
  2805. #define MPU_PROTENSET0_PROTREG5_Disabled (0UL) /*!< Protection disabled. */
  2806. #define MPU_PROTENSET0_PROTREG5_Enabled (1UL) /*!< Protection enabled. */
  2807. #define MPU_PROTENSET0_PROTREG5_Set (1UL) /*!< Enable protection on write. */
  2808. /* Bit 4 : Protection enable for region 4. */
  2809. #define MPU_PROTENSET0_PROTREG4_Pos (4UL) /*!< Position of PROTREG4 field. */
  2810. #define MPU_PROTENSET0_PROTREG4_Msk (0x1UL << MPU_PROTENSET0_PROTREG4_Pos) /*!< Bit mask of PROTREG4 field. */
  2811. #define MPU_PROTENSET0_PROTREG4_Disabled (0UL) /*!< Protection disabled. */
  2812. #define MPU_PROTENSET0_PROTREG4_Enabled (1UL) /*!< Protection enabled. */
  2813. #define MPU_PROTENSET0_PROTREG4_Set (1UL) /*!< Enable protection on write. */
  2814. /* Bit 3 : Protection enable for region 3. */
  2815. #define MPU_PROTENSET0_PROTREG3_Pos (3UL) /*!< Position of PROTREG3 field. */
  2816. #define MPU_PROTENSET0_PROTREG3_Msk (0x1UL << MPU_PROTENSET0_PROTREG3_Pos) /*!< Bit mask of PROTREG3 field. */
  2817. #define MPU_PROTENSET0_PROTREG3_Disabled (0UL) /*!< Protection disabled. */
  2818. #define MPU_PROTENSET0_PROTREG3_Enabled (1UL) /*!< Protection enabled. */
  2819. #define MPU_PROTENSET0_PROTREG3_Set (1UL) /*!< Enable protection on write. */
  2820. /* Bit 2 : Protection enable for region 2. */
  2821. #define MPU_PROTENSET0_PROTREG2_Pos (2UL) /*!< Position of PROTREG2 field. */
  2822. #define MPU_PROTENSET0_PROTREG2_Msk (0x1UL << MPU_PROTENSET0_PROTREG2_Pos) /*!< Bit mask of PROTREG2 field. */
  2823. #define MPU_PROTENSET0_PROTREG2_Disabled (0UL) /*!< Protection disabled. */
  2824. #define MPU_PROTENSET0_PROTREG2_Enabled (1UL) /*!< Protection enabled. */
  2825. #define MPU_PROTENSET0_PROTREG2_Set (1UL) /*!< Enable protection on write. */
  2826. /* Bit 1 : Protection enable for region 1. */
  2827. #define MPU_PROTENSET0_PROTREG1_Pos (1UL) /*!< Position of PROTREG1 field. */
  2828. #define MPU_PROTENSET0_PROTREG1_Msk (0x1UL << MPU_PROTENSET0_PROTREG1_Pos) /*!< Bit mask of PROTREG1 field. */
  2829. #define MPU_PROTENSET0_PROTREG1_Disabled (0UL) /*!< Protection disabled. */
  2830. #define MPU_PROTENSET0_PROTREG1_Enabled (1UL) /*!< Protection enabled. */
  2831. #define MPU_PROTENSET0_PROTREG1_Set (1UL) /*!< Enable protection on write. */
  2832. /* Bit 0 : Protection enable for region 0. */
  2833. #define MPU_PROTENSET0_PROTREG0_Pos (0UL) /*!< Position of PROTREG0 field. */
  2834. #define MPU_PROTENSET0_PROTREG0_Msk (0x1UL << MPU_PROTENSET0_PROTREG0_Pos) /*!< Bit mask of PROTREG0 field. */
  2835. #define MPU_PROTENSET0_PROTREG0_Disabled (0UL) /*!< Protection disabled. */
  2836. #define MPU_PROTENSET0_PROTREG0_Enabled (1UL) /*!< Protection enabled. */
  2837. #define MPU_PROTENSET0_PROTREG0_Set (1UL) /*!< Enable protection on write. */
  2838. /* Register: MPU_PROTENSET1 */
  2839. /* Description: Erase and write protection bit enable set register. */
  2840. /* Bit 31 : Protection enable for region 63. */
  2841. #define MPU_PROTENSET1_PROTREG63_Pos (31UL) /*!< Position of PROTREG63 field. */
  2842. #define MPU_PROTENSET1_PROTREG63_Msk (0x1UL << MPU_PROTENSET1_PROTREG63_Pos) /*!< Bit mask of PROTREG63 field. */
  2843. #define MPU_PROTENSET1_PROTREG63_Disabled (0UL) /*!< Protection disabled. */
  2844. #define MPU_PROTENSET1_PROTREG63_Enabled (1UL) /*!< Protection enabled. */
  2845. #define MPU_PROTENSET1_PROTREG63_Set (1UL) /*!< Enable protection on write. */
  2846. /* Bit 30 : Protection enable for region 62. */
  2847. #define MPU_PROTENSET1_PROTREG62_Pos (30UL) /*!< Position of PROTREG62 field. */
  2848. #define MPU_PROTENSET1_PROTREG62_Msk (0x1UL << MPU_PROTENSET1_PROTREG62_Pos) /*!< Bit mask of PROTREG62 field. */
  2849. #define MPU_PROTENSET1_PROTREG62_Disabled (0UL) /*!< Protection disabled. */
  2850. #define MPU_PROTENSET1_PROTREG62_Enabled (1UL) /*!< Protection enabled. */
  2851. #define MPU_PROTENSET1_PROTREG62_Set (1UL) /*!< Enable protection on write. */
  2852. /* Bit 29 : Protection enable for region 61. */
  2853. #define MPU_PROTENSET1_PROTREG61_Pos (29UL) /*!< Position of PROTREG61 field. */
  2854. #define MPU_PROTENSET1_PROTREG61_Msk (0x1UL << MPU_PROTENSET1_PROTREG61_Pos) /*!< Bit mask of PROTREG61 field. */
  2855. #define MPU_PROTENSET1_PROTREG61_Disabled (0UL) /*!< Protection disabled. */
  2856. #define MPU_PROTENSET1_PROTREG61_Enabled (1UL) /*!< Protection enabled. */
  2857. #define MPU_PROTENSET1_PROTREG61_Set (1UL) /*!< Enable protection on write. */
  2858. /* Bit 28 : Protection enable for region 60. */
  2859. #define MPU_PROTENSET1_PROTREG60_Pos (28UL) /*!< Position of PROTREG60 field. */
  2860. #define MPU_PROTENSET1_PROTREG60_Msk (0x1UL << MPU_PROTENSET1_PROTREG60_Pos) /*!< Bit mask of PROTREG60 field. */
  2861. #define MPU_PROTENSET1_PROTREG60_Disabled (0UL) /*!< Protection disabled. */
  2862. #define MPU_PROTENSET1_PROTREG60_Enabled (1UL) /*!< Protection enabled. */
  2863. #define MPU_PROTENSET1_PROTREG60_Set (1UL) /*!< Enable protection on write. */
  2864. /* Bit 27 : Protection enable for region 59. */
  2865. #define MPU_PROTENSET1_PROTREG59_Pos (27UL) /*!< Position of PROTREG59 field. */
  2866. #define MPU_PROTENSET1_PROTREG59_Msk (0x1UL << MPU_PROTENSET1_PROTREG59_Pos) /*!< Bit mask of PROTREG59 field. */
  2867. #define MPU_PROTENSET1_PROTREG59_Disabled (0UL) /*!< Protection disabled. */
  2868. #define MPU_PROTENSET1_PROTREG59_Enabled (1UL) /*!< Protection enabled. */
  2869. #define MPU_PROTENSET1_PROTREG59_Set (1UL) /*!< Enable protection on write. */
  2870. /* Bit 26 : Protection enable for region 58. */
  2871. #define MPU_PROTENSET1_PROTREG58_Pos (26UL) /*!< Position of PROTREG58 field. */
  2872. #define MPU_PROTENSET1_PROTREG58_Msk (0x1UL << MPU_PROTENSET1_PROTREG58_Pos) /*!< Bit mask of PROTREG58 field. */
  2873. #define MPU_PROTENSET1_PROTREG58_Disabled (0UL) /*!< Protection disabled. */
  2874. #define MPU_PROTENSET1_PROTREG58_Enabled (1UL) /*!< Protection enabled. */
  2875. #define MPU_PROTENSET1_PROTREG58_Set (1UL) /*!< Enable protection on write. */
  2876. /* Bit 25 : Protection enable for region 57. */
  2877. #define MPU_PROTENSET1_PROTREG57_Pos (25UL) /*!< Position of PROTREG57 field. */
  2878. #define MPU_PROTENSET1_PROTREG57_Msk (0x1UL << MPU_PROTENSET1_PROTREG57_Pos) /*!< Bit mask of PROTREG57 field. */
  2879. #define MPU_PROTENSET1_PROTREG57_Disabled (0UL) /*!< Protection disabled. */
  2880. #define MPU_PROTENSET1_PROTREG57_Enabled (1UL) /*!< Protection enabled. */
  2881. #define MPU_PROTENSET1_PROTREG57_Set (1UL) /*!< Enable protection on write. */
  2882. /* Bit 24 : Protection enable for region 56. */
  2883. #define MPU_PROTENSET1_PROTREG56_Pos (24UL) /*!< Position of PROTREG56 field. */
  2884. #define MPU_PROTENSET1_PROTREG56_Msk (0x1UL << MPU_PROTENSET1_PROTREG56_Pos) /*!< Bit mask of PROTREG56 field. */
  2885. #define MPU_PROTENSET1_PROTREG56_Disabled (0UL) /*!< Protection disabled. */
  2886. #define MPU_PROTENSET1_PROTREG56_Enabled (1UL) /*!< Protection enabled. */
  2887. #define MPU_PROTENSET1_PROTREG56_Set (1UL) /*!< Enable protection on write. */
  2888. /* Bit 23 : Protection enable for region 55. */
  2889. #define MPU_PROTENSET1_PROTREG55_Pos (23UL) /*!< Position of PROTREG55 field. */
  2890. #define MPU_PROTENSET1_PROTREG55_Msk (0x1UL << MPU_PROTENSET1_PROTREG55_Pos) /*!< Bit mask of PROTREG55 field. */
  2891. #define MPU_PROTENSET1_PROTREG55_Disabled (0UL) /*!< Protection disabled. */
  2892. #define MPU_PROTENSET1_PROTREG55_Enabled (1UL) /*!< Protection enabled. */
  2893. #define MPU_PROTENSET1_PROTREG55_Set (1UL) /*!< Enable protection on write. */
  2894. /* Bit 22 : Protection enable for region 54. */
  2895. #define MPU_PROTENSET1_PROTREG54_Pos (22UL) /*!< Position of PROTREG54 field. */
  2896. #define MPU_PROTENSET1_PROTREG54_Msk (0x1UL << MPU_PROTENSET1_PROTREG54_Pos) /*!< Bit mask of PROTREG54 field. */
  2897. #define MPU_PROTENSET1_PROTREG54_Disabled (0UL) /*!< Protection disabled. */
  2898. #define MPU_PROTENSET1_PROTREG54_Enabled (1UL) /*!< Protection enabled. */
  2899. #define MPU_PROTENSET1_PROTREG54_Set (1UL) /*!< Enable protection on write. */
  2900. /* Bit 21 : Protection enable for region 53. */
  2901. #define MPU_PROTENSET1_PROTREG53_Pos (21UL) /*!< Position of PROTREG53 field. */
  2902. #define MPU_PROTENSET1_PROTREG53_Msk (0x1UL << MPU_PROTENSET1_PROTREG53_Pos) /*!< Bit mask of PROTREG53 field. */
  2903. #define MPU_PROTENSET1_PROTREG53_Disabled (0UL) /*!< Protection disabled. */
  2904. #define MPU_PROTENSET1_PROTREG53_Enabled (1UL) /*!< Protection enabled. */
  2905. #define MPU_PROTENSET1_PROTREG53_Set (1UL) /*!< Enable protection on write. */
  2906. /* Bit 20 : Protection enable for region 52. */
  2907. #define MPU_PROTENSET1_PROTREG52_Pos (20UL) /*!< Position of PROTREG52 field. */
  2908. #define MPU_PROTENSET1_PROTREG52_Msk (0x1UL << MPU_PROTENSET1_PROTREG52_Pos) /*!< Bit mask of PROTREG52 field. */
  2909. #define MPU_PROTENSET1_PROTREG52_Disabled (0UL) /*!< Protection disabled. */
  2910. #define MPU_PROTENSET1_PROTREG52_Enabled (1UL) /*!< Protection enabled. */
  2911. #define MPU_PROTENSET1_PROTREG52_Set (1UL) /*!< Enable protection on write. */
  2912. /* Bit 19 : Protection enable for region 51. */
  2913. #define MPU_PROTENSET1_PROTREG51_Pos (19UL) /*!< Position of PROTREG51 field. */
  2914. #define MPU_PROTENSET1_PROTREG51_Msk (0x1UL << MPU_PROTENSET1_PROTREG51_Pos) /*!< Bit mask of PROTREG51 field. */
  2915. #define MPU_PROTENSET1_PROTREG51_Disabled (0UL) /*!< Protection disabled. */
  2916. #define MPU_PROTENSET1_PROTREG51_Enabled (1UL) /*!< Protection enabled. */
  2917. #define MPU_PROTENSET1_PROTREG51_Set (1UL) /*!< Enable protection on write. */
  2918. /* Bit 18 : Protection enable for region 50. */
  2919. #define MPU_PROTENSET1_PROTREG50_Pos (18UL) /*!< Position of PROTREG50 field. */
  2920. #define MPU_PROTENSET1_PROTREG50_Msk (0x1UL << MPU_PROTENSET1_PROTREG50_Pos) /*!< Bit mask of PROTREG50 field. */
  2921. #define MPU_PROTENSET1_PROTREG50_Disabled (0UL) /*!< Protection disabled. */
  2922. #define MPU_PROTENSET1_PROTREG50_Enabled (1UL) /*!< Protection enabled. */
  2923. #define MPU_PROTENSET1_PROTREG50_Set (1UL) /*!< Enable protection on write. */
  2924. /* Bit 17 : Protection enable for region 49. */
  2925. #define MPU_PROTENSET1_PROTREG49_Pos (17UL) /*!< Position of PROTREG49 field. */
  2926. #define MPU_PROTENSET1_PROTREG49_Msk (0x1UL << MPU_PROTENSET1_PROTREG49_Pos) /*!< Bit mask of PROTREG49 field. */
  2927. #define MPU_PROTENSET1_PROTREG49_Disabled (0UL) /*!< Protection disabled. */
  2928. #define MPU_PROTENSET1_PROTREG49_Enabled (1UL) /*!< Protection enabled. */
  2929. #define MPU_PROTENSET1_PROTREG49_Set (1UL) /*!< Enable protection on write. */
  2930. /* Bit 16 : Protection enable for region 48. */
  2931. #define MPU_PROTENSET1_PROTREG48_Pos (16UL) /*!< Position of PROTREG48 field. */
  2932. #define MPU_PROTENSET1_PROTREG48_Msk (0x1UL << MPU_PROTENSET1_PROTREG48_Pos) /*!< Bit mask of PROTREG48 field. */
  2933. #define MPU_PROTENSET1_PROTREG48_Disabled (0UL) /*!< Protection disabled. */
  2934. #define MPU_PROTENSET1_PROTREG48_Enabled (1UL) /*!< Protection enabled. */
  2935. #define MPU_PROTENSET1_PROTREG48_Set (1UL) /*!< Enable protection on write. */
  2936. /* Bit 15 : Protection enable for region 47. */
  2937. #define MPU_PROTENSET1_PROTREG47_Pos (15UL) /*!< Position of PROTREG47 field. */
  2938. #define MPU_PROTENSET1_PROTREG47_Msk (0x1UL << MPU_PROTENSET1_PROTREG47_Pos) /*!< Bit mask of PROTREG47 field. */
  2939. #define MPU_PROTENSET1_PROTREG47_Disabled (0UL) /*!< Protection disabled. */
  2940. #define MPU_PROTENSET1_PROTREG47_Enabled (1UL) /*!< Protection enabled. */
  2941. #define MPU_PROTENSET1_PROTREG47_Set (1UL) /*!< Enable protection on write. */
  2942. /* Bit 14 : Protection enable for region 46. */
  2943. #define MPU_PROTENSET1_PROTREG46_Pos (14UL) /*!< Position of PROTREG46 field. */
  2944. #define MPU_PROTENSET1_PROTREG46_Msk (0x1UL << MPU_PROTENSET1_PROTREG46_Pos) /*!< Bit mask of PROTREG46 field. */
  2945. #define MPU_PROTENSET1_PROTREG46_Disabled (0UL) /*!< Protection disabled. */
  2946. #define MPU_PROTENSET1_PROTREG46_Enabled (1UL) /*!< Protection enabled. */
  2947. #define MPU_PROTENSET1_PROTREG46_Set (1UL) /*!< Enable protection on write. */
  2948. /* Bit 13 : Protection enable for region 45. */
  2949. #define MPU_PROTENSET1_PROTREG45_Pos (13UL) /*!< Position of PROTREG45 field. */
  2950. #define MPU_PROTENSET1_PROTREG45_Msk (0x1UL << MPU_PROTENSET1_PROTREG45_Pos) /*!< Bit mask of PROTREG45 field. */
  2951. #define MPU_PROTENSET1_PROTREG45_Disabled (0UL) /*!< Protection disabled. */
  2952. #define MPU_PROTENSET1_PROTREG45_Enabled (1UL) /*!< Protection enabled. */
  2953. #define MPU_PROTENSET1_PROTREG45_Set (1UL) /*!< Enable protection on write. */
  2954. /* Bit 12 : Protection enable for region 44. */
  2955. #define MPU_PROTENSET1_PROTREG44_Pos (12UL) /*!< Position of PROTREG44 field. */
  2956. #define MPU_PROTENSET1_PROTREG44_Msk (0x1UL << MPU_PROTENSET1_PROTREG44_Pos) /*!< Bit mask of PROTREG44 field. */
  2957. #define MPU_PROTENSET1_PROTREG44_Disabled (0UL) /*!< Protection disabled. */
  2958. #define MPU_PROTENSET1_PROTREG44_Enabled (1UL) /*!< Protection enabled. */
  2959. #define MPU_PROTENSET1_PROTREG44_Set (1UL) /*!< Enable protection on write. */
  2960. /* Bit 11 : Protection enable for region 43. */
  2961. #define MPU_PROTENSET1_PROTREG43_Pos (11UL) /*!< Position of PROTREG43 field. */
  2962. #define MPU_PROTENSET1_PROTREG43_Msk (0x1UL << MPU_PROTENSET1_PROTREG43_Pos) /*!< Bit mask of PROTREG43 field. */
  2963. #define MPU_PROTENSET1_PROTREG43_Disabled (0UL) /*!< Protection disabled. */
  2964. #define MPU_PROTENSET1_PROTREG43_Enabled (1UL) /*!< Protection enabled. */
  2965. #define MPU_PROTENSET1_PROTREG43_Set (1UL) /*!< Enable protection on write. */
  2966. /* Bit 10 : Protection enable for region 42. */
  2967. #define MPU_PROTENSET1_PROTREG42_Pos (10UL) /*!< Position of PROTREG42 field. */
  2968. #define MPU_PROTENSET1_PROTREG42_Msk (0x1UL << MPU_PROTENSET1_PROTREG42_Pos) /*!< Bit mask of PROTREG42 field. */
  2969. #define MPU_PROTENSET1_PROTREG42_Disabled (0UL) /*!< Protection disabled. */
  2970. #define MPU_PROTENSET1_PROTREG42_Enabled (1UL) /*!< Protection enabled. */
  2971. #define MPU_PROTENSET1_PROTREG42_Set (1UL) /*!< Enable protection on write. */
  2972. /* Bit 9 : Protection enable for region 41. */
  2973. #define MPU_PROTENSET1_PROTREG41_Pos (9UL) /*!< Position of PROTREG41 field. */
  2974. #define MPU_PROTENSET1_PROTREG41_Msk (0x1UL << MPU_PROTENSET1_PROTREG41_Pos) /*!< Bit mask of PROTREG41 field. */
  2975. #define MPU_PROTENSET1_PROTREG41_Disabled (0UL) /*!< Protection disabled. */
  2976. #define MPU_PROTENSET1_PROTREG41_Enabled (1UL) /*!< Protection enabled. */
  2977. #define MPU_PROTENSET1_PROTREG41_Set (1UL) /*!< Enable protection on write. */
  2978. /* Bit 8 : Protection enable for region 40. */
  2979. #define MPU_PROTENSET1_PROTREG40_Pos (8UL) /*!< Position of PROTREG40 field. */
  2980. #define MPU_PROTENSET1_PROTREG40_Msk (0x1UL << MPU_PROTENSET1_PROTREG40_Pos) /*!< Bit mask of PROTREG40 field. */
  2981. #define MPU_PROTENSET1_PROTREG40_Disabled (0UL) /*!< Protection disabled. */
  2982. #define MPU_PROTENSET1_PROTREG40_Enabled (1UL) /*!< Protection enabled. */
  2983. #define MPU_PROTENSET1_PROTREG40_Set (1UL) /*!< Enable protection on write. */
  2984. /* Bit 7 : Protection enable for region 39. */
  2985. #define MPU_PROTENSET1_PROTREG39_Pos (7UL) /*!< Position of PROTREG39 field. */
  2986. #define MPU_PROTENSET1_PROTREG39_Msk (0x1UL << MPU_PROTENSET1_PROTREG39_Pos) /*!< Bit mask of PROTREG39 field. */
  2987. #define MPU_PROTENSET1_PROTREG39_Disabled (0UL) /*!< Protection disabled. */
  2988. #define MPU_PROTENSET1_PROTREG39_Enabled (1UL) /*!< Protection enabled. */
  2989. #define MPU_PROTENSET1_PROTREG39_Set (1UL) /*!< Enable protection on write. */
  2990. /* Bit 6 : Protection enable for region 38. */
  2991. #define MPU_PROTENSET1_PROTREG38_Pos (6UL) /*!< Position of PROTREG38 field. */
  2992. #define MPU_PROTENSET1_PROTREG38_Msk (0x1UL << MPU_PROTENSET1_PROTREG38_Pos) /*!< Bit mask of PROTREG38 field. */
  2993. #define MPU_PROTENSET1_PROTREG38_Disabled (0UL) /*!< Protection disabled. */
  2994. #define MPU_PROTENSET1_PROTREG38_Enabled (1UL) /*!< Protection enabled. */
  2995. #define MPU_PROTENSET1_PROTREG38_Set (1UL) /*!< Enable protection on write. */
  2996. /* Bit 5 : Protection enable for region 37. */
  2997. #define MPU_PROTENSET1_PROTREG37_Pos (5UL) /*!< Position of PROTREG37 field. */
  2998. #define MPU_PROTENSET1_PROTREG37_Msk (0x1UL << MPU_PROTENSET1_PROTREG37_Pos) /*!< Bit mask of PROTREG37 field. */
  2999. #define MPU_PROTENSET1_PROTREG37_Disabled (0UL) /*!< Protection disabled. */
  3000. #define MPU_PROTENSET1_PROTREG37_Enabled (1UL) /*!< Protection enabled. */
  3001. #define MPU_PROTENSET1_PROTREG37_Set (1UL) /*!< Enable protection on write. */
  3002. /* Bit 4 : Protection enable for region 36. */
  3003. #define MPU_PROTENSET1_PROTREG36_Pos (4UL) /*!< Position of PROTREG36 field. */
  3004. #define MPU_PROTENSET1_PROTREG36_Msk (0x1UL << MPU_PROTENSET1_PROTREG36_Pos) /*!< Bit mask of PROTREG36 field. */
  3005. #define MPU_PROTENSET1_PROTREG36_Disabled (0UL) /*!< Protection disabled. */
  3006. #define MPU_PROTENSET1_PROTREG36_Enabled (1UL) /*!< Protection enabled. */
  3007. #define MPU_PROTENSET1_PROTREG36_Set (1UL) /*!< Enable protection on write. */
  3008. /* Bit 3 : Protection enable for region 35. */
  3009. #define MPU_PROTENSET1_PROTREG35_Pos (3UL) /*!< Position of PROTREG35 field. */
  3010. #define MPU_PROTENSET1_PROTREG35_Msk (0x1UL << MPU_PROTENSET1_PROTREG35_Pos) /*!< Bit mask of PROTREG35 field. */
  3011. #define MPU_PROTENSET1_PROTREG35_Disabled (0UL) /*!< Protection disabled. */
  3012. #define MPU_PROTENSET1_PROTREG35_Enabled (1UL) /*!< Protection enabled. */
  3013. #define MPU_PROTENSET1_PROTREG35_Set (1UL) /*!< Enable protection on write. */
  3014. /* Bit 2 : Protection enable for region 34. */
  3015. #define MPU_PROTENSET1_PROTREG34_Pos (2UL) /*!< Position of PROTREG34 field. */
  3016. #define MPU_PROTENSET1_PROTREG34_Msk (0x1UL << MPU_PROTENSET1_PROTREG34_Pos) /*!< Bit mask of PROTREG34 field. */
  3017. #define MPU_PROTENSET1_PROTREG34_Disabled (0UL) /*!< Protection disabled. */
  3018. #define MPU_PROTENSET1_PROTREG34_Enabled (1UL) /*!< Protection enabled. */
  3019. #define MPU_PROTENSET1_PROTREG34_Set (1UL) /*!< Enable protection on write. */
  3020. /* Bit 1 : Protection enable for region 33. */
  3021. #define MPU_PROTENSET1_PROTREG33_Pos (1UL) /*!< Position of PROTREG33 field. */
  3022. #define MPU_PROTENSET1_PROTREG33_Msk (0x1UL << MPU_PROTENSET1_PROTREG33_Pos) /*!< Bit mask of PROTREG33 field. */
  3023. #define MPU_PROTENSET1_PROTREG33_Disabled (0UL) /*!< Protection disabled. */
  3024. #define MPU_PROTENSET1_PROTREG33_Enabled (1UL) /*!< Protection enabled. */
  3025. #define MPU_PROTENSET1_PROTREG33_Set (1UL) /*!< Enable protection on write. */
  3026. /* Bit 0 : Protection enable for region 32. */
  3027. #define MPU_PROTENSET1_PROTREG32_Pos (0UL) /*!< Position of PROTREG32 field. */
  3028. #define MPU_PROTENSET1_PROTREG32_Msk (0x1UL << MPU_PROTENSET1_PROTREG32_Pos) /*!< Bit mask of PROTREG32 field. */
  3029. #define MPU_PROTENSET1_PROTREG32_Disabled (0UL) /*!< Protection disabled. */
  3030. #define MPU_PROTENSET1_PROTREG32_Enabled (1UL) /*!< Protection enabled. */
  3031. #define MPU_PROTENSET1_PROTREG32_Set (1UL) /*!< Enable protection on write. */
  3032. /* Register: MPU_DISABLEINDEBUG */
  3033. /* Description: Disable erase and write protection mechanism in debug mode. */
  3034. /* Bit 0 : Disable protection mechanism in debug mode. */
  3035. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos (0UL) /*!< Position of DISABLEINDEBUG field. */
  3036. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Msk (0x1UL << MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos) /*!< Bit mask of DISABLEINDEBUG field. */
  3037. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Enabled (0UL) /*!< Protection enabled. */
  3038. #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Disabled (1UL) /*!< Protection disabled. */
  3039. /* Register: MPU_PROTBLOCKSIZE */
  3040. /* Description: Erase and write protection block size. */
  3041. /* Bits 1..0 : Erase and write protection block size. */
  3042. #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos (0UL) /*!< Position of PROTBLOCKSIZE field. */
  3043. #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Msk (0x3UL << MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos) /*!< Bit mask of PROTBLOCKSIZE field. */
  3044. #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_4k (0UL) /*!< Erase and write protection block size is 4k. */
  3045. /* Peripheral: NVMC */
  3046. /* Description: Non Volatile Memory Controller. */
  3047. /* Register: NVMC_READY */
  3048. /* Description: Ready flag. */
  3049. /* Bit 0 : NVMC ready. */
  3050. #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */
  3051. #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */
  3052. #define NVMC_READY_READY_Busy (0UL) /*!< NVMC is busy (on-going write or erase operation). */
  3053. #define NVMC_READY_READY_Ready (1UL) /*!< NVMC is ready. */
  3054. /* Register: NVMC_CONFIG */
  3055. /* Description: Configuration register. */
  3056. /* Bits 1..0 : Program write enable. */
  3057. #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */
  3058. #define NVMC_CONFIG_WEN_Msk (0x3UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */
  3059. #define NVMC_CONFIG_WEN_Ren (0x00UL) /*!< Read only access. */
  3060. #define NVMC_CONFIG_WEN_Wen (0x01UL) /*!< Write enabled. */
  3061. #define NVMC_CONFIG_WEN_Een (0x02UL) /*!< Erase enabled. */
  3062. /* Register: NVMC_ERASEALL */
  3063. /* Description: Register for erasing all non-volatile user memory. */
  3064. /* Bit 0 : Starts the erasing of all user NVM (code region 0/1 and UICR registers). */
  3065. #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */
  3066. #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */
  3067. #define NVMC_ERASEALL_ERASEALL_NoOperation (0UL) /*!< No operation. */
  3068. #define NVMC_ERASEALL_ERASEALL_Erase (1UL) /*!< Start chip erase. */
  3069. /* Register: NVMC_ERASEUICR */
  3070. /* Description: Register for start erasing User Information Congfiguration Registers. */
  3071. /* Bit 0 : It can only be used when all contents of code region 1 are erased. */
  3072. #define NVMC_ERASEUICR_ERASEUICR_Pos (0UL) /*!< Position of ERASEUICR field. */
  3073. #define NVMC_ERASEUICR_ERASEUICR_Msk (0x1UL << NVMC_ERASEUICR_ERASEUICR_Pos) /*!< Bit mask of ERASEUICR field. */
  3074. #define NVMC_ERASEUICR_ERASEUICR_NoOperation (0UL) /*!< No operation. */
  3075. #define NVMC_ERASEUICR_ERASEUICR_Erase (1UL) /*!< Start UICR erase. */
  3076. /* Peripheral: POWER */
  3077. /* Description: Power Control. */
  3078. /* Register: POWER_INTENSET */
  3079. /* Description: Interrupt enable set register. */
  3080. /* Bit 2 : Enable interrupt on POFWARN event. */
  3081. #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
  3082. #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
  3083. #define POWER_INTENSET_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */
  3084. #define POWER_INTENSET_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */
  3085. #define POWER_INTENSET_POFWARN_Set (1UL) /*!< Enable interrupt on write. */
  3086. /* Register: POWER_INTENCLR */
  3087. /* Description: Interrupt enable clear register. */
  3088. /* Bit 2 : Disable interrupt on POFWARN event. */
  3089. #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
  3090. #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
  3091. #define POWER_INTENCLR_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */
  3092. #define POWER_INTENCLR_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */
  3093. #define POWER_INTENCLR_POFWARN_Clear (1UL) /*!< Disable interrupt on write. */
  3094. /* Register: POWER_RESETREAS */
  3095. /* Description: Reset reason. */
  3096. /* Bit 18 : Reset from wake-up from OFF mode detected by entering into debug interface mode. */
  3097. #define POWER_RESETREAS_DIF_Pos (18UL) /*!< Position of DIF field. */
  3098. #define POWER_RESETREAS_DIF_Msk (0x1UL << POWER_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */
  3099. #define POWER_RESETREAS_DIF_NotDetected (0UL) /*!< Reset not detected. */
  3100. #define POWER_RESETREAS_DIF_Detected (1UL) /*!< Reset detected. */
  3101. /* Bit 17 : Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP. */
  3102. #define POWER_RESETREAS_LPCOMP_Pos (17UL) /*!< Position of LPCOMP field. */
  3103. #define POWER_RESETREAS_LPCOMP_Msk (0x1UL << POWER_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */
  3104. #define POWER_RESETREAS_LPCOMP_NotDetected (0UL) /*!< Reset not detected. */
  3105. #define POWER_RESETREAS_LPCOMP_Detected (1UL) /*!< Reset detected. */
  3106. /* Bit 16 : Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO. */
  3107. #define POWER_RESETREAS_OFF_Pos (16UL) /*!< Position of OFF field. */
  3108. #define POWER_RESETREAS_OFF_Msk (0x1UL << POWER_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */
  3109. #define POWER_RESETREAS_OFF_NotDetected (0UL) /*!< Reset not detected. */
  3110. #define POWER_RESETREAS_OFF_Detected (1UL) /*!< Reset detected. */
  3111. /* Bit 3 : Reset from CPU lock-up detected. */
  3112. #define POWER_RESETREAS_LOCKUP_Pos (3UL) /*!< Position of LOCKUP field. */
  3113. #define POWER_RESETREAS_LOCKUP_Msk (0x1UL << POWER_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */
  3114. #define POWER_RESETREAS_LOCKUP_NotDetected (0UL) /*!< Reset not detected. */
  3115. #define POWER_RESETREAS_LOCKUP_Detected (1UL) /*!< Reset detected. */
  3116. /* Bit 2 : Reset from AIRCR.SYSRESETREQ detected. */
  3117. #define POWER_RESETREAS_SREQ_Pos (2UL) /*!< Position of SREQ field. */
  3118. #define POWER_RESETREAS_SREQ_Msk (0x1UL << POWER_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */
  3119. #define POWER_RESETREAS_SREQ_NotDetected (0UL) /*!< Reset not detected. */
  3120. #define POWER_RESETREAS_SREQ_Detected (1UL) /*!< Reset detected. */
  3121. /* Bit 1 : Reset from watchdog detected. */
  3122. #define POWER_RESETREAS_DOG_Pos (1UL) /*!< Position of DOG field. */
  3123. #define POWER_RESETREAS_DOG_Msk (0x1UL << POWER_RESETREAS_DOG_Pos) /*!< Bit mask of DOG field. */
  3124. #define POWER_RESETREAS_DOG_NotDetected (0UL) /*!< Reset not detected. */
  3125. #define POWER_RESETREAS_DOG_Detected (1UL) /*!< Reset detected. */
  3126. /* Bit 0 : Reset from pin-reset detected. */
  3127. #define POWER_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */
  3128. #define POWER_RESETREAS_RESETPIN_Msk (0x1UL << POWER_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */
  3129. #define POWER_RESETREAS_RESETPIN_NotDetected (0UL) /*!< Reset not detected. */
  3130. #define POWER_RESETREAS_RESETPIN_Detected (1UL) /*!< Reset detected. */
  3131. /* Register: POWER_RAMSTATUS */
  3132. /* Description: Ram status register. */
  3133. /* Bit 3 : RAM block 3 status. */
  3134. #define POWER_RAMSTATUS_RAMBLOCK3_Pos (3UL) /*!< Position of RAMBLOCK3 field. */
  3135. #define POWER_RAMSTATUS_RAMBLOCK3_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK3_Pos) /*!< Bit mask of RAMBLOCK3 field. */
  3136. #define POWER_RAMSTATUS_RAMBLOCK3_Off (0UL) /*!< RAM block 3 is off or powering up. */
  3137. #define POWER_RAMSTATUS_RAMBLOCK3_On (1UL) /*!< RAM block 3 is on. */
  3138. /* Bit 2 : RAM block 2 status. */
  3139. #define POWER_RAMSTATUS_RAMBLOCK2_Pos (2UL) /*!< Position of RAMBLOCK2 field. */
  3140. #define POWER_RAMSTATUS_RAMBLOCK2_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK2_Pos) /*!< Bit mask of RAMBLOCK2 field. */
  3141. #define POWER_RAMSTATUS_RAMBLOCK2_Off (0UL) /*!< RAM block 2 is off or powering up. */
  3142. #define POWER_RAMSTATUS_RAMBLOCK2_On (1UL) /*!< RAM block 2 is on. */
  3143. /* Bit 1 : RAM block 1 status. */
  3144. #define POWER_RAMSTATUS_RAMBLOCK1_Pos (1UL) /*!< Position of RAMBLOCK1 field. */
  3145. #define POWER_RAMSTATUS_RAMBLOCK1_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK1_Pos) /*!< Bit mask of RAMBLOCK1 field. */
  3146. #define POWER_RAMSTATUS_RAMBLOCK1_Off (0UL) /*!< RAM block 1 is off or powering up. */
  3147. #define POWER_RAMSTATUS_RAMBLOCK1_On (1UL) /*!< RAM block 1 is on. */
  3148. /* Bit 0 : RAM block 0 status. */
  3149. #define POWER_RAMSTATUS_RAMBLOCK0_Pos (0UL) /*!< Position of RAMBLOCK0 field. */
  3150. #define POWER_RAMSTATUS_RAMBLOCK0_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK0_Pos) /*!< Bit mask of RAMBLOCK0 field. */
  3151. #define POWER_RAMSTATUS_RAMBLOCK0_Off (0UL) /*!< RAM block 0 is off or powering up. */
  3152. #define POWER_RAMSTATUS_RAMBLOCK0_On (1UL) /*!< RAM block 0 is on. */
  3153. /* Register: POWER_SYSTEMOFF */
  3154. /* Description: System off register. */
  3155. /* Bit 0 : Enter system off mode. */
  3156. #define POWER_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */
  3157. #define POWER_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << POWER_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */
  3158. #define POWER_SYSTEMOFF_SYSTEMOFF_Enter (1UL) /*!< Enter system off mode. */
  3159. /* Register: POWER_POFCON */
  3160. /* Description: Power failure configuration. */
  3161. /* Bits 2..1 : Set threshold level. */
  3162. #define POWER_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */
  3163. #define POWER_POFCON_THRESHOLD_Msk (0x3UL << POWER_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */
  3164. #define POWER_POFCON_THRESHOLD_V21 (0x00UL) /*!< Set threshold to 2.1Volts. */
  3165. #define POWER_POFCON_THRESHOLD_V23 (0x01UL) /*!< Set threshold to 2.3Volts. */
  3166. #define POWER_POFCON_THRESHOLD_V25 (0x02UL) /*!< Set threshold to 2.5Volts. */
  3167. #define POWER_POFCON_THRESHOLD_V27 (0x03UL) /*!< Set threshold to 2.7Volts. */
  3168. /* Bit 0 : Power failure comparator enable. */
  3169. #define POWER_POFCON_POF_Pos (0UL) /*!< Position of POF field. */
  3170. #define POWER_POFCON_POF_Msk (0x1UL << POWER_POFCON_POF_Pos) /*!< Bit mask of POF field. */
  3171. #define POWER_POFCON_POF_Disabled (0UL) /*!< Disabled. */
  3172. #define POWER_POFCON_POF_Enabled (1UL) /*!< Enabled. */
  3173. /* Register: POWER_GPREGRET */
  3174. /* Description: General purpose retention register. This register is a retained register. */
  3175. /* Bits 7..0 : General purpose retention register. */
  3176. #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */
  3177. #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */
  3178. /* Register: POWER_RAMON */
  3179. /* Description: Ram on/off. */
  3180. /* Bit 17 : RAM block 1 behaviour in OFF mode. */
  3181. #define POWER_RAMON_OFFRAM1_Pos (17UL) /*!< Position of OFFRAM1 field. */
  3182. #define POWER_RAMON_OFFRAM1_Msk (0x1UL << POWER_RAMON_OFFRAM1_Pos) /*!< Bit mask of OFFRAM1 field. */
  3183. #define POWER_RAMON_OFFRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in OFF mode. */
  3184. #define POWER_RAMON_OFFRAM1_RAM1On (1UL) /*!< RAM block 1 ON in OFF mode. */
  3185. /* Bit 16 : RAM block 0 behaviour in OFF mode. */
  3186. #define POWER_RAMON_OFFRAM0_Pos (16UL) /*!< Position of OFFRAM0 field. */
  3187. #define POWER_RAMON_OFFRAM0_Msk (0x1UL << POWER_RAMON_OFFRAM0_Pos) /*!< Bit mask of OFFRAM0 field. */
  3188. #define POWER_RAMON_OFFRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in OFF mode. */
  3189. #define POWER_RAMON_OFFRAM0_RAM0On (1UL) /*!< RAM block 0 ON in OFF mode. */
  3190. /* Bit 1 : RAM block 1 behaviour in ON mode. */
  3191. #define POWER_RAMON_ONRAM1_Pos (1UL) /*!< Position of ONRAM1 field. */
  3192. #define POWER_RAMON_ONRAM1_Msk (0x1UL << POWER_RAMON_ONRAM1_Pos) /*!< Bit mask of ONRAM1 field. */
  3193. #define POWER_RAMON_ONRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in ON mode. */
  3194. #define POWER_RAMON_ONRAM1_RAM1On (1UL) /*!< RAM block 1 ON in ON mode. */
  3195. /* Bit 0 : RAM block 0 behaviour in ON mode. */
  3196. #define POWER_RAMON_ONRAM0_Pos (0UL) /*!< Position of ONRAM0 field. */
  3197. #define POWER_RAMON_ONRAM0_Msk (0x1UL << POWER_RAMON_ONRAM0_Pos) /*!< Bit mask of ONRAM0 field. */
  3198. #define POWER_RAMON_ONRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in ON mode. */
  3199. #define POWER_RAMON_ONRAM0_RAM0On (1UL) /*!< RAM block 0 ON in ON mode. */
  3200. /* Register: POWER_RESET */
  3201. /* Description: Pin reset functionality configuration register. This register is a retained register. */
  3202. /* Bit 0 : Enable or disable pin reset in debug interface mode. */
  3203. #define POWER_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */
  3204. #define POWER_RESET_RESET_Msk (0x1UL << POWER_RESET_RESET_Pos) /*!< Bit mask of RESET field. */
  3205. #define POWER_RESET_RESET_Disabled (0UL) /*!< Pin reset in debug interface mode disabled. */
  3206. #define POWER_RESET_RESET_Enabled (1UL) /*!< Pin reset in debug interface mode enabled. */
  3207. /* Register: POWER_RAMONB */
  3208. /* Description: Ram on/off. */
  3209. /* Bit 17 : RAM block 3 behaviour in OFF mode. */
  3210. #define POWER_RAMONB_OFFRAM3_Pos (17UL) /*!< Position of OFFRAM3 field. */
  3211. #define POWER_RAMONB_OFFRAM3_Msk (0x1UL << POWER_RAMONB_OFFRAM3_Pos) /*!< Bit mask of OFFRAM3 field. */
  3212. #define POWER_RAMONB_OFFRAM3_RAM3Off (0UL) /*!< RAM block 3 OFF in OFF mode. */
  3213. #define POWER_RAMONB_OFFRAM3_RAM3On (1UL) /*!< RAM block 3 ON in OFF mode. */
  3214. /* Bit 16 : RAM block 2 behaviour in OFF mode. */
  3215. #define POWER_RAMONB_OFFRAM2_Pos (16UL) /*!< Position of OFFRAM2 field. */
  3216. #define POWER_RAMONB_OFFRAM2_Msk (0x1UL << POWER_RAMONB_OFFRAM2_Pos) /*!< Bit mask of OFFRAM2 field. */
  3217. #define POWER_RAMONB_OFFRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in OFF mode. */
  3218. #define POWER_RAMONB_OFFRAM2_RAM2On (1UL) /*!< RAM block 2 ON in OFF mode. */
  3219. /* Bit 1 : RAM block 3 behaviour in ON mode. */
  3220. #define POWER_RAMONB_ONRAM3_Pos (1UL) /*!< Position of ONRAM3 field. */
  3221. #define POWER_RAMONB_ONRAM3_Msk (0x1UL << POWER_RAMONB_ONRAM3_Pos) /*!< Bit mask of ONRAM3 field. */
  3222. #define POWER_RAMONB_ONRAM3_RAM3Off (0UL) /*!< RAM block 33 OFF in ON mode. */
  3223. #define POWER_RAMONB_ONRAM3_RAM3On (1UL) /*!< RAM block 3 ON in ON mode. */
  3224. /* Bit 0 : RAM block 2 behaviour in ON mode. */
  3225. #define POWER_RAMONB_ONRAM2_Pos (0UL) /*!< Position of ONRAM2 field. */
  3226. #define POWER_RAMONB_ONRAM2_Msk (0x1UL << POWER_RAMONB_ONRAM2_Pos) /*!< Bit mask of ONRAM2 field. */
  3227. #define POWER_RAMONB_ONRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in ON mode. */
  3228. #define POWER_RAMONB_ONRAM2_RAM2On (1UL) /*!< RAM block 2 ON in ON mode. */
  3229. /* Register: POWER_DCDCEN */
  3230. /* Description: DCDC converter enable configuration register. */
  3231. /* Bit 0 : Enable DCDC converter. */
  3232. #define POWER_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */
  3233. #define POWER_DCDCEN_DCDCEN_Msk (0x1UL << POWER_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */
  3234. #define POWER_DCDCEN_DCDCEN_Disabled (0UL) /*!< DCDC converter disabled. */
  3235. #define POWER_DCDCEN_DCDCEN_Enabled (1UL) /*!< DCDC converter enabled. */
  3236. /* Register: POWER_DCDCFORCE */
  3237. /* Description: DCDC power-up force register. */
  3238. /* Bit 1 : DCDC power-up force on. */
  3239. #define POWER_DCDCFORCE_FORCEON_Pos (1UL) /*!< Position of FORCEON field. */
  3240. #define POWER_DCDCFORCE_FORCEON_Msk (0x1UL << POWER_DCDCFORCE_FORCEON_Pos) /*!< Bit mask of FORCEON field. */
  3241. #define POWER_DCDCFORCE_FORCEON_NoForce (0UL) /*!< No force. */
  3242. #define POWER_DCDCFORCE_FORCEON_Force (1UL) /*!< Force. */
  3243. /* Bit 0 : DCDC power-up force off. */
  3244. #define POWER_DCDCFORCE_FORCEOFF_Pos (0UL) /*!< Position of FORCEOFF field. */
  3245. #define POWER_DCDCFORCE_FORCEOFF_Msk (0x1UL << POWER_DCDCFORCE_FORCEOFF_Pos) /*!< Bit mask of FORCEOFF field. */
  3246. #define POWER_DCDCFORCE_FORCEOFF_NoForce (0UL) /*!< No force. */
  3247. #define POWER_DCDCFORCE_FORCEOFF_Force (1UL) /*!< Force. */
  3248. /* Peripheral: PPI */
  3249. /* Description: PPI controller. */
  3250. /* Register: PPI_CHEN */
  3251. /* Description: Channel enable. */
  3252. /* Bit 31 : Enable PPI channel 31. */
  3253. #define PPI_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */
  3254. #define PPI_CHEN_CH31_Msk (0x1UL << PPI_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */
  3255. #define PPI_CHEN_CH31_Disabled (0UL) /*!< Channel disabled. */
  3256. #define PPI_CHEN_CH31_Enabled (1UL) /*!< Channel enabled. */
  3257. /* Bit 30 : Enable PPI channel 30. */
  3258. #define PPI_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */
  3259. #define PPI_CHEN_CH30_Msk (0x1UL << PPI_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */
  3260. #define PPI_CHEN_CH30_Disabled (0UL) /*!< Channel disabled. */
  3261. #define PPI_CHEN_CH30_Enabled (1UL) /*!< Channel enabled. */
  3262. /* Bit 29 : Enable PPI channel 29. */
  3263. #define PPI_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */
  3264. #define PPI_CHEN_CH29_Msk (0x1UL << PPI_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */
  3265. #define PPI_CHEN_CH29_Disabled (0UL) /*!< Channel disabled. */
  3266. #define PPI_CHEN_CH29_Enabled (1UL) /*!< Channel enabled. */
  3267. /* Bit 28 : Enable PPI channel 28. */
  3268. #define PPI_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */
  3269. #define PPI_CHEN_CH28_Msk (0x1UL << PPI_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */
  3270. #define PPI_CHEN_CH28_Disabled (0UL) /*!< Channel disabled. */
  3271. #define PPI_CHEN_CH28_Enabled (1UL) /*!< Channel enabled. */
  3272. /* Bit 27 : Enable PPI channel 27. */
  3273. #define PPI_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */
  3274. #define PPI_CHEN_CH27_Msk (0x1UL << PPI_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */
  3275. #define PPI_CHEN_CH27_Disabled (0UL) /*!< Channel disabled. */
  3276. #define PPI_CHEN_CH27_Enabled (1UL) /*!< Channel enabled. */
  3277. /* Bit 26 : Enable PPI channel 26. */
  3278. #define PPI_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */
  3279. #define PPI_CHEN_CH26_Msk (0x1UL << PPI_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */
  3280. #define PPI_CHEN_CH26_Disabled (0UL) /*!< Channel disabled. */
  3281. #define PPI_CHEN_CH26_Enabled (1UL) /*!< Channel enabled. */
  3282. /* Bit 25 : Enable PPI channel 25. */
  3283. #define PPI_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */
  3284. #define PPI_CHEN_CH25_Msk (0x1UL << PPI_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */
  3285. #define PPI_CHEN_CH25_Disabled (0UL) /*!< Channel disabled. */
  3286. #define PPI_CHEN_CH25_Enabled (1UL) /*!< Channel enabled. */
  3287. /* Bit 24 : Enable PPI channel 24. */
  3288. #define PPI_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */
  3289. #define PPI_CHEN_CH24_Msk (0x1UL << PPI_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */
  3290. #define PPI_CHEN_CH24_Disabled (0UL) /*!< Channel disabled. */
  3291. #define PPI_CHEN_CH24_Enabled (1UL) /*!< Channel enabled. */
  3292. /* Bit 23 : Enable PPI channel 23. */
  3293. #define PPI_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */
  3294. #define PPI_CHEN_CH23_Msk (0x1UL << PPI_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */
  3295. #define PPI_CHEN_CH23_Disabled (0UL) /*!< Channel disabled. */
  3296. #define PPI_CHEN_CH23_Enabled (1UL) /*!< Channel enabled. */
  3297. /* Bit 22 : Enable PPI channel 22. */
  3298. #define PPI_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */
  3299. #define PPI_CHEN_CH22_Msk (0x1UL << PPI_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */
  3300. #define PPI_CHEN_CH22_Disabled (0UL) /*!< Channel disabled. */
  3301. #define PPI_CHEN_CH22_Enabled (1UL) /*!< Channel enabled. */
  3302. /* Bit 21 : Enable PPI channel 21. */
  3303. #define PPI_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */
  3304. #define PPI_CHEN_CH21_Msk (0x1UL << PPI_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */
  3305. #define PPI_CHEN_CH21_Disabled (0UL) /*!< Channel disabled. */
  3306. #define PPI_CHEN_CH21_Enabled (1UL) /*!< Channel enabled. */
  3307. /* Bit 20 : Enable PPI channel 20. */
  3308. #define PPI_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */
  3309. #define PPI_CHEN_CH20_Msk (0x1UL << PPI_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */
  3310. #define PPI_CHEN_CH20_Disabled (0UL) /*!< Channel disabled. */
  3311. #define PPI_CHEN_CH20_Enabled (1UL) /*!< Channel enabled. */
  3312. /* Bit 15 : Enable PPI channel 15. */
  3313. #define PPI_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */
  3314. #define PPI_CHEN_CH15_Msk (0x1UL << PPI_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */
  3315. #define PPI_CHEN_CH15_Disabled (0UL) /*!< Channel disabled. */
  3316. #define PPI_CHEN_CH15_Enabled (1UL) /*!< Channel enabled. */
  3317. /* Bit 14 : Enable PPI channel 14. */
  3318. #define PPI_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */
  3319. #define PPI_CHEN_CH14_Msk (0x1UL << PPI_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */
  3320. #define PPI_CHEN_CH14_Disabled (0UL) /*!< Channel disabled. */
  3321. #define PPI_CHEN_CH14_Enabled (1UL) /*!< Channel enabled. */
  3322. /* Bit 13 : Enable PPI channel 13. */
  3323. #define PPI_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */
  3324. #define PPI_CHEN_CH13_Msk (0x1UL << PPI_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */
  3325. #define PPI_CHEN_CH13_Disabled (0UL) /*!< Channel disabled. */
  3326. #define PPI_CHEN_CH13_Enabled (1UL) /*!< Channel enabled. */
  3327. /* Bit 12 : Enable PPI channel 12. */
  3328. #define PPI_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */
  3329. #define PPI_CHEN_CH12_Msk (0x1UL << PPI_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */
  3330. #define PPI_CHEN_CH12_Disabled (0UL) /*!< Channel disabled. */
  3331. #define PPI_CHEN_CH12_Enabled (1UL) /*!< Channel enabled. */
  3332. /* Bit 11 : Enable PPI channel 11. */
  3333. #define PPI_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */
  3334. #define PPI_CHEN_CH11_Msk (0x1UL << PPI_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */
  3335. #define PPI_CHEN_CH11_Disabled (0UL) /*!< Channel disabled. */
  3336. #define PPI_CHEN_CH11_Enabled (1UL) /*!< Channel enabled. */
  3337. /* Bit 10 : Enable PPI channel 10. */
  3338. #define PPI_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */
  3339. #define PPI_CHEN_CH10_Msk (0x1UL << PPI_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */
  3340. #define PPI_CHEN_CH10_Disabled (0UL) /*!< Channel disabled. */
  3341. #define PPI_CHEN_CH10_Enabled (1UL) /*!< Channel enabled. */
  3342. /* Bit 9 : Enable PPI channel 9. */
  3343. #define PPI_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */
  3344. #define PPI_CHEN_CH9_Msk (0x1UL << PPI_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */
  3345. #define PPI_CHEN_CH9_Disabled (0UL) /*!< Channel disabled. */
  3346. #define PPI_CHEN_CH9_Enabled (1UL) /*!< Channel enabled. */
  3347. /* Bit 8 : Enable PPI channel 8. */
  3348. #define PPI_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */
  3349. #define PPI_CHEN_CH8_Msk (0x1UL << PPI_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */
  3350. #define PPI_CHEN_CH8_Disabled (0UL) /*!< Channel disabled. */
  3351. #define PPI_CHEN_CH8_Enabled (1UL) /*!< Channel enabled. */
  3352. /* Bit 7 : Enable PPI channel 7. */
  3353. #define PPI_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */
  3354. #define PPI_CHEN_CH7_Msk (0x1UL << PPI_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */
  3355. #define PPI_CHEN_CH7_Disabled (0UL) /*!< Channel disabled. */
  3356. #define PPI_CHEN_CH7_Enabled (1UL) /*!< Channel enabled. */
  3357. /* Bit 6 : Enable PPI channel 6. */
  3358. #define PPI_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */
  3359. #define PPI_CHEN_CH6_Msk (0x1UL << PPI_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */
  3360. #define PPI_CHEN_CH6_Disabled (0UL) /*!< Channel disabled. */
  3361. #define PPI_CHEN_CH6_Enabled (1UL) /*!< Channel enabled. */
  3362. /* Bit 5 : Enable PPI channel 5. */
  3363. #define PPI_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */
  3364. #define PPI_CHEN_CH5_Msk (0x1UL << PPI_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */
  3365. #define PPI_CHEN_CH5_Disabled (0UL) /*!< Channel disabled. */
  3366. #define PPI_CHEN_CH5_Enabled (1UL) /*!< Channel enabled. */
  3367. /* Bit 4 : Enable PPI channel 4. */
  3368. #define PPI_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */
  3369. #define PPI_CHEN_CH4_Msk (0x1UL << PPI_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */
  3370. #define PPI_CHEN_CH4_Disabled (0UL) /*!< Channel disabled. */
  3371. #define PPI_CHEN_CH4_Enabled (1UL) /*!< Channel enabled. */
  3372. /* Bit 3 : Enable PPI channel 3. */
  3373. #define PPI_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */
  3374. #define PPI_CHEN_CH3_Msk (0x1UL << PPI_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */
  3375. #define PPI_CHEN_CH3_Disabled (0UL) /*!< Channel disabled */
  3376. #define PPI_CHEN_CH3_Enabled (1UL) /*!< Channel enabled */
  3377. /* Bit 2 : Enable PPI channel 2. */
  3378. #define PPI_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3379. #define PPI_CHEN_CH2_Msk (0x1UL << PPI_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */
  3380. #define PPI_CHEN_CH2_Disabled (0UL) /*!< Channel disabled. */
  3381. #define PPI_CHEN_CH2_Enabled (1UL) /*!< Channel enabled. */
  3382. /* Bit 1 : Enable PPI channel 1. */
  3383. #define PPI_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3384. #define PPI_CHEN_CH1_Msk (0x1UL << PPI_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */
  3385. #define PPI_CHEN_CH1_Disabled (0UL) /*!< Channel disabled. */
  3386. #define PPI_CHEN_CH1_Enabled (1UL) /*!< Channel enabled. */
  3387. /* Bit 0 : Enable PPI channel 0. */
  3388. #define PPI_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3389. #define PPI_CHEN_CH0_Msk (0x1UL << PPI_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */
  3390. #define PPI_CHEN_CH0_Disabled (0UL) /*!< Channel disabled. */
  3391. #define PPI_CHEN_CH0_Enabled (1UL) /*!< Channel enabled. */
  3392. /* Register: PPI_CHENSET */
  3393. /* Description: Channel enable set. */
  3394. /* Bit 31 : Enable PPI channel 31. */
  3395. #define PPI_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */
  3396. #define PPI_CHENSET_CH31_Msk (0x1UL << PPI_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */
  3397. #define PPI_CHENSET_CH31_Disabled (0UL) /*!< Channel disabled. */
  3398. #define PPI_CHENSET_CH31_Enabled (1UL) /*!< Channel enabled. */
  3399. #define PPI_CHENSET_CH31_Set (1UL) /*!< Enable channel on write. */
  3400. /* Bit 30 : Enable PPI channel 30. */
  3401. #define PPI_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */
  3402. #define PPI_CHENSET_CH30_Msk (0x1UL << PPI_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */
  3403. #define PPI_CHENSET_CH30_Disabled (0UL) /*!< Channel disabled. */
  3404. #define PPI_CHENSET_CH30_Enabled (1UL) /*!< Channel enabled. */
  3405. #define PPI_CHENSET_CH30_Set (1UL) /*!< Enable channel on write. */
  3406. /* Bit 29 : Enable PPI channel 29. */
  3407. #define PPI_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */
  3408. #define PPI_CHENSET_CH29_Msk (0x1UL << PPI_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */
  3409. #define PPI_CHENSET_CH29_Disabled (0UL) /*!< Channel disabled. */
  3410. #define PPI_CHENSET_CH29_Enabled (1UL) /*!< Channel enabled. */
  3411. #define PPI_CHENSET_CH29_Set (1UL) /*!< Enable channel on write. */
  3412. /* Bit 28 : Enable PPI channel 28. */
  3413. #define PPI_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */
  3414. #define PPI_CHENSET_CH28_Msk (0x1UL << PPI_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */
  3415. #define PPI_CHENSET_CH28_Disabled (0UL) /*!< Channel disabled. */
  3416. #define PPI_CHENSET_CH28_Enabled (1UL) /*!< Channel enabled. */
  3417. #define PPI_CHENSET_CH28_Set (1UL) /*!< Enable channel on write. */
  3418. /* Bit 27 : Enable PPI channel 27. */
  3419. #define PPI_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */
  3420. #define PPI_CHENSET_CH27_Msk (0x1UL << PPI_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */
  3421. #define PPI_CHENSET_CH27_Disabled (0UL) /*!< Channel disabled. */
  3422. #define PPI_CHENSET_CH27_Enabled (1UL) /*!< Channel enabled. */
  3423. #define PPI_CHENSET_CH27_Set (1UL) /*!< Enable channel on write. */
  3424. /* Bit 26 : Enable PPI channel 26. */
  3425. #define PPI_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */
  3426. #define PPI_CHENSET_CH26_Msk (0x1UL << PPI_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */
  3427. #define PPI_CHENSET_CH26_Disabled (0UL) /*!< Channel disabled. */
  3428. #define PPI_CHENSET_CH26_Enabled (1UL) /*!< Channel enabled. */
  3429. #define PPI_CHENSET_CH26_Set (1UL) /*!< Enable channel on write. */
  3430. /* Bit 25 : Enable PPI channel 25. */
  3431. #define PPI_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */
  3432. #define PPI_CHENSET_CH25_Msk (0x1UL << PPI_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */
  3433. #define PPI_CHENSET_CH25_Disabled (0UL) /*!< Channel disabled. */
  3434. #define PPI_CHENSET_CH25_Enabled (1UL) /*!< Channel enabled. */
  3435. #define PPI_CHENSET_CH25_Set (1UL) /*!< Enable channel on write. */
  3436. /* Bit 24 : Enable PPI channel 24. */
  3437. #define PPI_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */
  3438. #define PPI_CHENSET_CH24_Msk (0x1UL << PPI_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */
  3439. #define PPI_CHENSET_CH24_Disabled (0UL) /*!< Channel disabled. */
  3440. #define PPI_CHENSET_CH24_Enabled (1UL) /*!< Channel enabled. */
  3441. #define PPI_CHENSET_CH24_Set (1UL) /*!< Enable channel on write. */
  3442. /* Bit 23 : Enable PPI channel 23. */
  3443. #define PPI_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */
  3444. #define PPI_CHENSET_CH23_Msk (0x1UL << PPI_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */
  3445. #define PPI_CHENSET_CH23_Disabled (0UL) /*!< Channel disabled. */
  3446. #define PPI_CHENSET_CH23_Enabled (1UL) /*!< Channel enabled. */
  3447. #define PPI_CHENSET_CH23_Set (1UL) /*!< Enable channel on write. */
  3448. /* Bit 22 : Enable PPI channel 22. */
  3449. #define PPI_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */
  3450. #define PPI_CHENSET_CH22_Msk (0x1UL << PPI_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */
  3451. #define PPI_CHENSET_CH22_Disabled (0UL) /*!< Channel disabled. */
  3452. #define PPI_CHENSET_CH22_Enabled (1UL) /*!< Channel enabled. */
  3453. #define PPI_CHENSET_CH22_Set (1UL) /*!< Enable channel on write. */
  3454. /* Bit 21 : Enable PPI channel 21. */
  3455. #define PPI_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */
  3456. #define PPI_CHENSET_CH21_Msk (0x1UL << PPI_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */
  3457. #define PPI_CHENSET_CH21_Disabled (0UL) /*!< Channel disabled. */
  3458. #define PPI_CHENSET_CH21_Enabled (1UL) /*!< Channel enabled. */
  3459. #define PPI_CHENSET_CH21_Set (1UL) /*!< Enable channel on write. */
  3460. /* Bit 20 : Enable PPI channel 20. */
  3461. #define PPI_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */
  3462. #define PPI_CHENSET_CH20_Msk (0x1UL << PPI_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */
  3463. #define PPI_CHENSET_CH20_Disabled (0UL) /*!< Channel disabled. */
  3464. #define PPI_CHENSET_CH20_Enabled (1UL) /*!< Channel enabled. */
  3465. #define PPI_CHENSET_CH20_Set (1UL) /*!< Enable channel on write. */
  3466. /* Bit 15 : Enable PPI channel 15. */
  3467. #define PPI_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */
  3468. #define PPI_CHENSET_CH15_Msk (0x1UL << PPI_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */
  3469. #define PPI_CHENSET_CH15_Disabled (0UL) /*!< Channel disabled. */
  3470. #define PPI_CHENSET_CH15_Enabled (1UL) /*!< Channel enabled. */
  3471. #define PPI_CHENSET_CH15_Set (1UL) /*!< Enable channel on write. */
  3472. /* Bit 14 : Enable PPI channel 14. */
  3473. #define PPI_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */
  3474. #define PPI_CHENSET_CH14_Msk (0x1UL << PPI_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */
  3475. #define PPI_CHENSET_CH14_Disabled (0UL) /*!< Channel disabled. */
  3476. #define PPI_CHENSET_CH14_Enabled (1UL) /*!< Channel enabled. */
  3477. #define PPI_CHENSET_CH14_Set (1UL) /*!< Enable channel on write. */
  3478. /* Bit 13 : Enable PPI channel 13. */
  3479. #define PPI_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */
  3480. #define PPI_CHENSET_CH13_Msk (0x1UL << PPI_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */
  3481. #define PPI_CHENSET_CH13_Disabled (0UL) /*!< Channel disabled. */
  3482. #define PPI_CHENSET_CH13_Enabled (1UL) /*!< Channel enabled. */
  3483. #define PPI_CHENSET_CH13_Set (1UL) /*!< Enable channel on write. */
  3484. /* Bit 12 : Enable PPI channel 12. */
  3485. #define PPI_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */
  3486. #define PPI_CHENSET_CH12_Msk (0x1UL << PPI_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */
  3487. #define PPI_CHENSET_CH12_Disabled (0UL) /*!< Channel disabled. */
  3488. #define PPI_CHENSET_CH12_Enabled (1UL) /*!< Channel enabled. */
  3489. #define PPI_CHENSET_CH12_Set (1UL) /*!< Enable channel on write. */
  3490. /* Bit 11 : Enable PPI channel 11. */
  3491. #define PPI_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */
  3492. #define PPI_CHENSET_CH11_Msk (0x1UL << PPI_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */
  3493. #define PPI_CHENSET_CH11_Disabled (0UL) /*!< Channel disabled. */
  3494. #define PPI_CHENSET_CH11_Enabled (1UL) /*!< Channel enabled. */
  3495. #define PPI_CHENSET_CH11_Set (1UL) /*!< Enable channel on write. */
  3496. /* Bit 10 : Enable PPI channel 10. */
  3497. #define PPI_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */
  3498. #define PPI_CHENSET_CH10_Msk (0x1UL << PPI_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */
  3499. #define PPI_CHENSET_CH10_Disabled (0UL) /*!< Channel disabled. */
  3500. #define PPI_CHENSET_CH10_Enabled (1UL) /*!< Channel enabled. */
  3501. #define PPI_CHENSET_CH10_Set (1UL) /*!< Enable channel on write. */
  3502. /* Bit 9 : Enable PPI channel 9. */
  3503. #define PPI_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */
  3504. #define PPI_CHENSET_CH9_Msk (0x1UL << PPI_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */
  3505. #define PPI_CHENSET_CH9_Disabled (0UL) /*!< Channel disabled. */
  3506. #define PPI_CHENSET_CH9_Enabled (1UL) /*!< Channel enabled. */
  3507. #define PPI_CHENSET_CH9_Set (1UL) /*!< Enable channel on write. */
  3508. /* Bit 8 : Enable PPI channel 8. */
  3509. #define PPI_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */
  3510. #define PPI_CHENSET_CH8_Msk (0x1UL << PPI_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */
  3511. #define PPI_CHENSET_CH8_Disabled (0UL) /*!< Channel disabled. */
  3512. #define PPI_CHENSET_CH8_Enabled (1UL) /*!< Channel enabled. */
  3513. #define PPI_CHENSET_CH8_Set (1UL) /*!< Enable channel on write. */
  3514. /* Bit 7 : Enable PPI channel 7. */
  3515. #define PPI_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */
  3516. #define PPI_CHENSET_CH7_Msk (0x1UL << PPI_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */
  3517. #define PPI_CHENSET_CH7_Disabled (0UL) /*!< Channel disabled. */
  3518. #define PPI_CHENSET_CH7_Enabled (1UL) /*!< Channel enabled. */
  3519. #define PPI_CHENSET_CH7_Set (1UL) /*!< Enable channel on write. */
  3520. /* Bit 6 : Enable PPI channel 6. */
  3521. #define PPI_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */
  3522. #define PPI_CHENSET_CH6_Msk (0x1UL << PPI_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */
  3523. #define PPI_CHENSET_CH6_Disabled (0UL) /*!< Channel disabled. */
  3524. #define PPI_CHENSET_CH6_Enabled (1UL) /*!< Channel enabled. */
  3525. #define PPI_CHENSET_CH6_Set (1UL) /*!< Enable channel on write. */
  3526. /* Bit 5 : Enable PPI channel 5. */
  3527. #define PPI_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */
  3528. #define PPI_CHENSET_CH5_Msk (0x1UL << PPI_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */
  3529. #define PPI_CHENSET_CH5_Disabled (0UL) /*!< Channel disabled. */
  3530. #define PPI_CHENSET_CH5_Enabled (1UL) /*!< Channel enabled. */
  3531. #define PPI_CHENSET_CH5_Set (1UL) /*!< Enable channel on write. */
  3532. /* Bit 4 : Enable PPI channel 4. */
  3533. #define PPI_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */
  3534. #define PPI_CHENSET_CH4_Msk (0x1UL << PPI_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */
  3535. #define PPI_CHENSET_CH4_Disabled (0UL) /*!< Channel disabled. */
  3536. #define PPI_CHENSET_CH4_Enabled (1UL) /*!< Channel enabled. */
  3537. #define PPI_CHENSET_CH4_Set (1UL) /*!< Enable channel on write. */
  3538. /* Bit 3 : Enable PPI channel 3. */
  3539. #define PPI_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */
  3540. #define PPI_CHENSET_CH3_Msk (0x1UL << PPI_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */
  3541. #define PPI_CHENSET_CH3_Disabled (0UL) /*!< Channel disabled. */
  3542. #define PPI_CHENSET_CH3_Enabled (1UL) /*!< Channel enabled. */
  3543. #define PPI_CHENSET_CH3_Set (1UL) /*!< Enable channel on write. */
  3544. /* Bit 2 : Enable PPI channel 2. */
  3545. #define PPI_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3546. #define PPI_CHENSET_CH2_Msk (0x1UL << PPI_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */
  3547. #define PPI_CHENSET_CH2_Disabled (0UL) /*!< Channel disabled. */
  3548. #define PPI_CHENSET_CH2_Enabled (1UL) /*!< Channel enabled. */
  3549. #define PPI_CHENSET_CH2_Set (1UL) /*!< Enable channel on write. */
  3550. /* Bit 1 : Enable PPI channel 1. */
  3551. #define PPI_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3552. #define PPI_CHENSET_CH1_Msk (0x1UL << PPI_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */
  3553. #define PPI_CHENSET_CH1_Disabled (0UL) /*!< Channel disabled. */
  3554. #define PPI_CHENSET_CH1_Enabled (1UL) /*!< Channel enabled. */
  3555. #define PPI_CHENSET_CH1_Set (1UL) /*!< Enable channel on write. */
  3556. /* Bit 0 : Enable PPI channel 0. */
  3557. #define PPI_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3558. #define PPI_CHENSET_CH0_Msk (0x1UL << PPI_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */
  3559. #define PPI_CHENSET_CH0_Disabled (0UL) /*!< Channel disabled. */
  3560. #define PPI_CHENSET_CH0_Enabled (1UL) /*!< Channel enabled. */
  3561. #define PPI_CHENSET_CH0_Set (1UL) /*!< Enable channel on write. */
  3562. /* Register: PPI_CHENCLR */
  3563. /* Description: Channel enable clear. */
  3564. /* Bit 31 : Disable PPI channel 31. */
  3565. #define PPI_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */
  3566. #define PPI_CHENCLR_CH31_Msk (0x1UL << PPI_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */
  3567. #define PPI_CHENCLR_CH31_Disabled (0UL) /*!< Channel disabled. */
  3568. #define PPI_CHENCLR_CH31_Enabled (1UL) /*!< Channel enabled. */
  3569. #define PPI_CHENCLR_CH31_Clear (1UL) /*!< Disable channel on write. */
  3570. /* Bit 30 : Disable PPI channel 30. */
  3571. #define PPI_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */
  3572. #define PPI_CHENCLR_CH30_Msk (0x1UL << PPI_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */
  3573. #define PPI_CHENCLR_CH30_Disabled (0UL) /*!< Channel disabled. */
  3574. #define PPI_CHENCLR_CH30_Enabled (1UL) /*!< Channel enabled. */
  3575. #define PPI_CHENCLR_CH30_Clear (1UL) /*!< Disable channel on write. */
  3576. /* Bit 29 : Disable PPI channel 29. */
  3577. #define PPI_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */
  3578. #define PPI_CHENCLR_CH29_Msk (0x1UL << PPI_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */
  3579. #define PPI_CHENCLR_CH29_Disabled (0UL) /*!< Channel disabled. */
  3580. #define PPI_CHENCLR_CH29_Enabled (1UL) /*!< Channel enabled. */
  3581. #define PPI_CHENCLR_CH29_Clear (1UL) /*!< Disable channel on write. */
  3582. /* Bit 28 : Disable PPI channel 28. */
  3583. #define PPI_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */
  3584. #define PPI_CHENCLR_CH28_Msk (0x1UL << PPI_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */
  3585. #define PPI_CHENCLR_CH28_Disabled (0UL) /*!< Channel disabled. */
  3586. #define PPI_CHENCLR_CH28_Enabled (1UL) /*!< Channel enabled. */
  3587. #define PPI_CHENCLR_CH28_Clear (1UL) /*!< Disable channel on write. */
  3588. /* Bit 27 : Disable PPI channel 27. */
  3589. #define PPI_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */
  3590. #define PPI_CHENCLR_CH27_Msk (0x1UL << PPI_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */
  3591. #define PPI_CHENCLR_CH27_Disabled (0UL) /*!< Channel disabled. */
  3592. #define PPI_CHENCLR_CH27_Enabled (1UL) /*!< Channel enabled. */
  3593. #define PPI_CHENCLR_CH27_Clear (1UL) /*!< Disable channel on write. */
  3594. /* Bit 26 : Disable PPI channel 26. */
  3595. #define PPI_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */
  3596. #define PPI_CHENCLR_CH26_Msk (0x1UL << PPI_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */
  3597. #define PPI_CHENCLR_CH26_Disabled (0UL) /*!< Channel disabled. */
  3598. #define PPI_CHENCLR_CH26_Enabled (1UL) /*!< Channel enabled. */
  3599. #define PPI_CHENCLR_CH26_Clear (1UL) /*!< Disable channel on write. */
  3600. /* Bit 25 : Disable PPI channel 25. */
  3601. #define PPI_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */
  3602. #define PPI_CHENCLR_CH25_Msk (0x1UL << PPI_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */
  3603. #define PPI_CHENCLR_CH25_Disabled (0UL) /*!< Channel disabled. */
  3604. #define PPI_CHENCLR_CH25_Enabled (1UL) /*!< Channel enabled. */
  3605. #define PPI_CHENCLR_CH25_Clear (1UL) /*!< Disable channel on write. */
  3606. /* Bit 24 : Disable PPI channel 24. */
  3607. #define PPI_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */
  3608. #define PPI_CHENCLR_CH24_Msk (0x1UL << PPI_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */
  3609. #define PPI_CHENCLR_CH24_Disabled (0UL) /*!< Channel disabled. */
  3610. #define PPI_CHENCLR_CH24_Enabled (1UL) /*!< Channel enabled. */
  3611. #define PPI_CHENCLR_CH24_Clear (1UL) /*!< Disable channel on write. */
  3612. /* Bit 23 : Disable PPI channel 23. */
  3613. #define PPI_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */
  3614. #define PPI_CHENCLR_CH23_Msk (0x1UL << PPI_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */
  3615. #define PPI_CHENCLR_CH23_Disabled (0UL) /*!< Channel disabled. */
  3616. #define PPI_CHENCLR_CH23_Enabled (1UL) /*!< Channel enabled. */
  3617. #define PPI_CHENCLR_CH23_Clear (1UL) /*!< Disable channel on write. */
  3618. /* Bit 22 : Disable PPI channel 22. */
  3619. #define PPI_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */
  3620. #define PPI_CHENCLR_CH22_Msk (0x1UL << PPI_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */
  3621. #define PPI_CHENCLR_CH22_Disabled (0UL) /*!< Channel disabled. */
  3622. #define PPI_CHENCLR_CH22_Enabled (1UL) /*!< Channel enabled. */
  3623. #define PPI_CHENCLR_CH22_Clear (1UL) /*!< Disable channel on write. */
  3624. /* Bit 21 : Disable PPI channel 21. */
  3625. #define PPI_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */
  3626. #define PPI_CHENCLR_CH21_Msk (0x1UL << PPI_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */
  3627. #define PPI_CHENCLR_CH21_Disabled (0UL) /*!< Channel disabled. */
  3628. #define PPI_CHENCLR_CH21_Enabled (1UL) /*!< Channel enabled. */
  3629. #define PPI_CHENCLR_CH21_Clear (1UL) /*!< Disable channel on write. */
  3630. /* Bit 20 : Disable PPI channel 20. */
  3631. #define PPI_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */
  3632. #define PPI_CHENCLR_CH20_Msk (0x1UL << PPI_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */
  3633. #define PPI_CHENCLR_CH20_Disabled (0UL) /*!< Channel disabled. */
  3634. #define PPI_CHENCLR_CH20_Enabled (1UL) /*!< Channel enabled. */
  3635. #define PPI_CHENCLR_CH20_Clear (1UL) /*!< Disable channel on write. */
  3636. /* Bit 15 : Disable PPI channel 15. */
  3637. #define PPI_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */
  3638. #define PPI_CHENCLR_CH15_Msk (0x1UL << PPI_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */
  3639. #define PPI_CHENCLR_CH15_Disabled (0UL) /*!< Channel disabled. */
  3640. #define PPI_CHENCLR_CH15_Enabled (1UL) /*!< Channel enabled. */
  3641. #define PPI_CHENCLR_CH15_Clear (1UL) /*!< Disable channel on write. */
  3642. /* Bit 14 : Disable PPI channel 14. */
  3643. #define PPI_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */
  3644. #define PPI_CHENCLR_CH14_Msk (0x1UL << PPI_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */
  3645. #define PPI_CHENCLR_CH14_Disabled (0UL) /*!< Channel disabled. */
  3646. #define PPI_CHENCLR_CH14_Enabled (1UL) /*!< Channel enabled. */
  3647. #define PPI_CHENCLR_CH14_Clear (1UL) /*!< Disable channel on write. */
  3648. /* Bit 13 : Disable PPI channel 13. */
  3649. #define PPI_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */
  3650. #define PPI_CHENCLR_CH13_Msk (0x1UL << PPI_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */
  3651. #define PPI_CHENCLR_CH13_Disabled (0UL) /*!< Channel disabled. */
  3652. #define PPI_CHENCLR_CH13_Enabled (1UL) /*!< Channel enabled. */
  3653. #define PPI_CHENCLR_CH13_Clear (1UL) /*!< Disable channel on write. */
  3654. /* Bit 12 : Disable PPI channel 12. */
  3655. #define PPI_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */
  3656. #define PPI_CHENCLR_CH12_Msk (0x1UL << PPI_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */
  3657. #define PPI_CHENCLR_CH12_Disabled (0UL) /*!< Channel disabled. */
  3658. #define PPI_CHENCLR_CH12_Enabled (1UL) /*!< Channel enabled. */
  3659. #define PPI_CHENCLR_CH12_Clear (1UL) /*!< Disable channel on write. */
  3660. /* Bit 11 : Disable PPI channel 11. */
  3661. #define PPI_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */
  3662. #define PPI_CHENCLR_CH11_Msk (0x1UL << PPI_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */
  3663. #define PPI_CHENCLR_CH11_Disabled (0UL) /*!< Channel disabled. */
  3664. #define PPI_CHENCLR_CH11_Enabled (1UL) /*!< Channel enabled. */
  3665. #define PPI_CHENCLR_CH11_Clear (1UL) /*!< Disable channel on write. */
  3666. /* Bit 10 : Disable PPI channel 10. */
  3667. #define PPI_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */
  3668. #define PPI_CHENCLR_CH10_Msk (0x1UL << PPI_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */
  3669. #define PPI_CHENCLR_CH10_Disabled (0UL) /*!< Channel disabled. */
  3670. #define PPI_CHENCLR_CH10_Enabled (1UL) /*!< Channel enabled. */
  3671. #define PPI_CHENCLR_CH10_Clear (1UL) /*!< Disable channel on write. */
  3672. /* Bit 9 : Disable PPI channel 9. */
  3673. #define PPI_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */
  3674. #define PPI_CHENCLR_CH9_Msk (0x1UL << PPI_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */
  3675. #define PPI_CHENCLR_CH9_Disabled (0UL) /*!< Channel disabled. */
  3676. #define PPI_CHENCLR_CH9_Enabled (1UL) /*!< Channel enabled. */
  3677. #define PPI_CHENCLR_CH9_Clear (1UL) /*!< Disable channel on write. */
  3678. /* Bit 8 : Disable PPI channel 8. */
  3679. #define PPI_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */
  3680. #define PPI_CHENCLR_CH8_Msk (0x1UL << PPI_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */
  3681. #define PPI_CHENCLR_CH8_Disabled (0UL) /*!< Channel disabled. */
  3682. #define PPI_CHENCLR_CH8_Enabled (1UL) /*!< Channel enabled. */
  3683. #define PPI_CHENCLR_CH8_Clear (1UL) /*!< Disable channel on write. */
  3684. /* Bit 7 : Disable PPI channel 7. */
  3685. #define PPI_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */
  3686. #define PPI_CHENCLR_CH7_Msk (0x1UL << PPI_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */
  3687. #define PPI_CHENCLR_CH7_Disabled (0UL) /*!< Channel disabled. */
  3688. #define PPI_CHENCLR_CH7_Enabled (1UL) /*!< Channel enabled. */
  3689. #define PPI_CHENCLR_CH7_Clear (1UL) /*!< Disable channel on write. */
  3690. /* Bit 6 : Disable PPI channel 6. */
  3691. #define PPI_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */
  3692. #define PPI_CHENCLR_CH6_Msk (0x1UL << PPI_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */
  3693. #define PPI_CHENCLR_CH6_Disabled (0UL) /*!< Channel disabled. */
  3694. #define PPI_CHENCLR_CH6_Enabled (1UL) /*!< Channel enabled. */
  3695. #define PPI_CHENCLR_CH6_Clear (1UL) /*!< Disable channel on write. */
  3696. /* Bit 5 : Disable PPI channel 5. */
  3697. #define PPI_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */
  3698. #define PPI_CHENCLR_CH5_Msk (0x1UL << PPI_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */
  3699. #define PPI_CHENCLR_CH5_Disabled (0UL) /*!< Channel disabled. */
  3700. #define PPI_CHENCLR_CH5_Enabled (1UL) /*!< Channel enabled. */
  3701. #define PPI_CHENCLR_CH5_Clear (1UL) /*!< Disable channel on write. */
  3702. /* Bit 4 : Disable PPI channel 4. */
  3703. #define PPI_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */
  3704. #define PPI_CHENCLR_CH4_Msk (0x1UL << PPI_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */
  3705. #define PPI_CHENCLR_CH4_Disabled (0UL) /*!< Channel disabled. */
  3706. #define PPI_CHENCLR_CH4_Enabled (1UL) /*!< Channel enabled. */
  3707. #define PPI_CHENCLR_CH4_Clear (1UL) /*!< Disable channel on write. */
  3708. /* Bit 3 : Disable PPI channel 3. */
  3709. #define PPI_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */
  3710. #define PPI_CHENCLR_CH3_Msk (0x1UL << PPI_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */
  3711. #define PPI_CHENCLR_CH3_Disabled (0UL) /*!< Channel disabled. */
  3712. #define PPI_CHENCLR_CH3_Enabled (1UL) /*!< Channel enabled. */
  3713. #define PPI_CHENCLR_CH3_Clear (1UL) /*!< Disable channel on write. */
  3714. /* Bit 2 : Disable PPI channel 2. */
  3715. #define PPI_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3716. #define PPI_CHENCLR_CH2_Msk (0x1UL << PPI_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */
  3717. #define PPI_CHENCLR_CH2_Disabled (0UL) /*!< Channel disabled. */
  3718. #define PPI_CHENCLR_CH2_Enabled (1UL) /*!< Channel enabled. */
  3719. #define PPI_CHENCLR_CH2_Clear (1UL) /*!< Disable channel on write. */
  3720. /* Bit 1 : Disable PPI channel 1. */
  3721. #define PPI_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3722. #define PPI_CHENCLR_CH1_Msk (0x1UL << PPI_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */
  3723. #define PPI_CHENCLR_CH1_Disabled (0UL) /*!< Channel disabled. */
  3724. #define PPI_CHENCLR_CH1_Enabled (1UL) /*!< Channel enabled. */
  3725. #define PPI_CHENCLR_CH1_Clear (1UL) /*!< Disable channel on write. */
  3726. /* Bit 0 : Disable PPI channel 0. */
  3727. #define PPI_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3728. #define PPI_CHENCLR_CH0_Msk (0x1UL << PPI_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */
  3729. #define PPI_CHENCLR_CH0_Disabled (0UL) /*!< Channel disabled. */
  3730. #define PPI_CHENCLR_CH0_Enabled (1UL) /*!< Channel enabled. */
  3731. #define PPI_CHENCLR_CH0_Clear (1UL) /*!< Disable channel on write. */
  3732. /* Register: PPI_CHG */
  3733. /* Description: Channel group configuration. */
  3734. /* Bit 31 : Include CH31 in channel group. */
  3735. #define PPI_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */
  3736. #define PPI_CHG_CH31_Msk (0x1UL << PPI_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */
  3737. #define PPI_CHG_CH31_Excluded (0UL) /*!< Channel excluded. */
  3738. #define PPI_CHG_CH31_Included (1UL) /*!< Channel included. */
  3739. /* Bit 30 : Include CH30 in channel group. */
  3740. #define PPI_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */
  3741. #define PPI_CHG_CH30_Msk (0x1UL << PPI_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */
  3742. #define PPI_CHG_CH30_Excluded (0UL) /*!< Channel excluded. */
  3743. #define PPI_CHG_CH30_Included (1UL) /*!< Channel included. */
  3744. /* Bit 29 : Include CH29 in channel group. */
  3745. #define PPI_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */
  3746. #define PPI_CHG_CH29_Msk (0x1UL << PPI_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */
  3747. #define PPI_CHG_CH29_Excluded (0UL) /*!< Channel excluded. */
  3748. #define PPI_CHG_CH29_Included (1UL) /*!< Channel included. */
  3749. /* Bit 28 : Include CH28 in channel group. */
  3750. #define PPI_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */
  3751. #define PPI_CHG_CH28_Msk (0x1UL << PPI_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */
  3752. #define PPI_CHG_CH28_Excluded (0UL) /*!< Channel excluded. */
  3753. #define PPI_CHG_CH28_Included (1UL) /*!< Channel included. */
  3754. /* Bit 27 : Include CH27 in channel group. */
  3755. #define PPI_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */
  3756. #define PPI_CHG_CH27_Msk (0x1UL << PPI_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */
  3757. #define PPI_CHG_CH27_Excluded (0UL) /*!< Channel excluded. */
  3758. #define PPI_CHG_CH27_Included (1UL) /*!< Channel included. */
  3759. /* Bit 26 : Include CH26 in channel group. */
  3760. #define PPI_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */
  3761. #define PPI_CHG_CH26_Msk (0x1UL << PPI_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */
  3762. #define PPI_CHG_CH26_Excluded (0UL) /*!< Channel excluded. */
  3763. #define PPI_CHG_CH26_Included (1UL) /*!< Channel included. */
  3764. /* Bit 25 : Include CH25 in channel group. */
  3765. #define PPI_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */
  3766. #define PPI_CHG_CH25_Msk (0x1UL << PPI_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */
  3767. #define PPI_CHG_CH25_Excluded (0UL) /*!< Channel excluded. */
  3768. #define PPI_CHG_CH25_Included (1UL) /*!< Channel included. */
  3769. /* Bit 24 : Include CH24 in channel group. */
  3770. #define PPI_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */
  3771. #define PPI_CHG_CH24_Msk (0x1UL << PPI_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */
  3772. #define PPI_CHG_CH24_Excluded (0UL) /*!< Channel excluded. */
  3773. #define PPI_CHG_CH24_Included (1UL) /*!< Channel included. */
  3774. /* Bit 23 : Include CH23 in channel group. */
  3775. #define PPI_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */
  3776. #define PPI_CHG_CH23_Msk (0x1UL << PPI_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */
  3777. #define PPI_CHG_CH23_Excluded (0UL) /*!< Channel excluded. */
  3778. #define PPI_CHG_CH23_Included (1UL) /*!< Channel included. */
  3779. /* Bit 22 : Include CH22 in channel group. */
  3780. #define PPI_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */
  3781. #define PPI_CHG_CH22_Msk (0x1UL << PPI_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */
  3782. #define PPI_CHG_CH22_Excluded (0UL) /*!< Channel excluded. */
  3783. #define PPI_CHG_CH22_Included (1UL) /*!< Channel included. */
  3784. /* Bit 21 : Include CH21 in channel group. */
  3785. #define PPI_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */
  3786. #define PPI_CHG_CH21_Msk (0x1UL << PPI_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */
  3787. #define PPI_CHG_CH21_Excluded (0UL) /*!< Channel excluded. */
  3788. #define PPI_CHG_CH21_Included (1UL) /*!< Channel included. */
  3789. /* Bit 20 : Include CH20 in channel group. */
  3790. #define PPI_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */
  3791. #define PPI_CHG_CH20_Msk (0x1UL << PPI_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */
  3792. #define PPI_CHG_CH20_Excluded (0UL) /*!< Channel excluded. */
  3793. #define PPI_CHG_CH20_Included (1UL) /*!< Channel included. */
  3794. /* Bit 15 : Include CH15 in channel group. */
  3795. #define PPI_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */
  3796. #define PPI_CHG_CH15_Msk (0x1UL << PPI_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */
  3797. #define PPI_CHG_CH15_Excluded (0UL) /*!< Channel excluded. */
  3798. #define PPI_CHG_CH15_Included (1UL) /*!< Channel included. */
  3799. /* Bit 14 : Include CH14 in channel group. */
  3800. #define PPI_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */
  3801. #define PPI_CHG_CH14_Msk (0x1UL << PPI_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */
  3802. #define PPI_CHG_CH14_Excluded (0UL) /*!< Channel excluded. */
  3803. #define PPI_CHG_CH14_Included (1UL) /*!< Channel included. */
  3804. /* Bit 13 : Include CH13 in channel group. */
  3805. #define PPI_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */
  3806. #define PPI_CHG_CH13_Msk (0x1UL << PPI_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */
  3807. #define PPI_CHG_CH13_Excluded (0UL) /*!< Channel excluded. */
  3808. #define PPI_CHG_CH13_Included (1UL) /*!< Channel included. */
  3809. /* Bit 12 : Include CH12 in channel group. */
  3810. #define PPI_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */
  3811. #define PPI_CHG_CH12_Msk (0x1UL << PPI_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */
  3812. #define PPI_CHG_CH12_Excluded (0UL) /*!< Channel excluded. */
  3813. #define PPI_CHG_CH12_Included (1UL) /*!< Channel included. */
  3814. /* Bit 11 : Include CH11 in channel group. */
  3815. #define PPI_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */
  3816. #define PPI_CHG_CH11_Msk (0x1UL << PPI_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */
  3817. #define PPI_CHG_CH11_Excluded (0UL) /*!< Channel excluded. */
  3818. #define PPI_CHG_CH11_Included (1UL) /*!< Channel included. */
  3819. /* Bit 10 : Include CH10 in channel group. */
  3820. #define PPI_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */
  3821. #define PPI_CHG_CH10_Msk (0x1UL << PPI_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */
  3822. #define PPI_CHG_CH10_Excluded (0UL) /*!< Channel excluded. */
  3823. #define PPI_CHG_CH10_Included (1UL) /*!< Channel included. */
  3824. /* Bit 9 : Include CH9 in channel group. */
  3825. #define PPI_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */
  3826. #define PPI_CHG_CH9_Msk (0x1UL << PPI_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */
  3827. #define PPI_CHG_CH9_Excluded (0UL) /*!< Channel excluded. */
  3828. #define PPI_CHG_CH9_Included (1UL) /*!< Channel included. */
  3829. /* Bit 8 : Include CH8 in channel group. */
  3830. #define PPI_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */
  3831. #define PPI_CHG_CH8_Msk (0x1UL << PPI_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */
  3832. #define PPI_CHG_CH8_Excluded (0UL) /*!< Channel excluded. */
  3833. #define PPI_CHG_CH8_Included (1UL) /*!< Channel included. */
  3834. /* Bit 7 : Include CH7 in channel group. */
  3835. #define PPI_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */
  3836. #define PPI_CHG_CH7_Msk (0x1UL << PPI_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */
  3837. #define PPI_CHG_CH7_Excluded (0UL) /*!< Channel excluded. */
  3838. #define PPI_CHG_CH7_Included (1UL) /*!< Channel included. */
  3839. /* Bit 6 : Include CH6 in channel group. */
  3840. #define PPI_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */
  3841. #define PPI_CHG_CH6_Msk (0x1UL << PPI_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */
  3842. #define PPI_CHG_CH6_Excluded (0UL) /*!< Channel excluded. */
  3843. #define PPI_CHG_CH6_Included (1UL) /*!< Channel included. */
  3844. /* Bit 5 : Include CH5 in channel group. */
  3845. #define PPI_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */
  3846. #define PPI_CHG_CH5_Msk (0x1UL << PPI_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */
  3847. #define PPI_CHG_CH5_Excluded (0UL) /*!< Channel excluded. */
  3848. #define PPI_CHG_CH5_Included (1UL) /*!< Channel included. */
  3849. /* Bit 4 : Include CH4 in channel group. */
  3850. #define PPI_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */
  3851. #define PPI_CHG_CH4_Msk (0x1UL << PPI_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */
  3852. #define PPI_CHG_CH4_Excluded (0UL) /*!< Channel excluded. */
  3853. #define PPI_CHG_CH4_Included (1UL) /*!< Channel included. */
  3854. /* Bit 3 : Include CH3 in channel group. */
  3855. #define PPI_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */
  3856. #define PPI_CHG_CH3_Msk (0x1UL << PPI_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */
  3857. #define PPI_CHG_CH3_Excluded (0UL) /*!< Channel excluded. */
  3858. #define PPI_CHG_CH3_Included (1UL) /*!< Channel included. */
  3859. /* Bit 2 : Include CH2 in channel group. */
  3860. #define PPI_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */
  3861. #define PPI_CHG_CH2_Msk (0x1UL << PPI_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */
  3862. #define PPI_CHG_CH2_Excluded (0UL) /*!< Channel excluded. */
  3863. #define PPI_CHG_CH2_Included (1UL) /*!< Channel included. */
  3864. /* Bit 1 : Include CH1 in channel group. */
  3865. #define PPI_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */
  3866. #define PPI_CHG_CH1_Msk (0x1UL << PPI_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */
  3867. #define PPI_CHG_CH1_Excluded (0UL) /*!< Channel excluded. */
  3868. #define PPI_CHG_CH1_Included (1UL) /*!< Channel included. */
  3869. /* Bit 0 : Include CH0 in channel group. */
  3870. #define PPI_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */
  3871. #define PPI_CHG_CH0_Msk (0x1UL << PPI_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */
  3872. #define PPI_CHG_CH0_Excluded (0UL) /*!< Channel excluded. */
  3873. #define PPI_CHG_CH0_Included (1UL) /*!< Channel included. */
  3874. /* Peripheral: QDEC */
  3875. /* Description: Rotary decoder. */
  3876. /* Register: QDEC_SHORTS */
  3877. /* Description: Shortcuts for the QDEC. */
  3878. /* Bit 1 : Shortcut between SAMPLERDY event and STOP task. */
  3879. #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */
  3880. #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */
  3881. #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  3882. #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  3883. /* Bit 0 : Shortcut between REPORTRDY event and READCLRACC task. */
  3884. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */
  3885. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */
  3886. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0UL) /*!< Shortcut disabled. */
  3887. #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (1UL) /*!< Shortcut enabled. */
  3888. /* Register: QDEC_INTENSET */
  3889. /* Description: Interrupt enable set register. */
  3890. /* Bit 2 : Enable interrupt on ACCOF event. */
  3891. #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
  3892. #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
  3893. #define QDEC_INTENSET_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */
  3894. #define QDEC_INTENSET_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */
  3895. #define QDEC_INTENSET_ACCOF_Set (1UL) /*!< Enable interrupt on write. */
  3896. /* Bit 1 : Enable interrupt on REPORTRDY event. */
  3897. #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
  3898. #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
  3899. #define QDEC_INTENSET_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */
  3900. #define QDEC_INTENSET_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */
  3901. #define QDEC_INTENSET_REPORTRDY_Set (1UL) /*!< Enable interrupt on write. */
  3902. /* Bit 0 : Enable interrupt on SAMPLERDY event. */
  3903. #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
  3904. #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
  3905. #define QDEC_INTENSET_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */
  3906. #define QDEC_INTENSET_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */
  3907. #define QDEC_INTENSET_SAMPLERDY_Set (1UL) /*!< Enable interrupt on write. */
  3908. /* Register: QDEC_INTENCLR */
  3909. /* Description: Interrupt enable clear register. */
  3910. /* Bit 2 : Disable interrupt on ACCOF event. */
  3911. #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
  3912. #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
  3913. #define QDEC_INTENCLR_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */
  3914. #define QDEC_INTENCLR_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */
  3915. #define QDEC_INTENCLR_ACCOF_Clear (1UL) /*!< Disable interrupt on write. */
  3916. /* Bit 1 : Disable interrupt on REPORTRDY event. */
  3917. #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
  3918. #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
  3919. #define QDEC_INTENCLR_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */
  3920. #define QDEC_INTENCLR_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */
  3921. #define QDEC_INTENCLR_REPORTRDY_Clear (1UL) /*!< Disable interrupt on write. */
  3922. /* Bit 0 : Disable interrupt on SAMPLERDY event. */
  3923. #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
  3924. #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
  3925. #define QDEC_INTENCLR_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */
  3926. #define QDEC_INTENCLR_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */
  3927. #define QDEC_INTENCLR_SAMPLERDY_Clear (1UL) /*!< Disable interrupt on write. */
  3928. /* Register: QDEC_ENABLE */
  3929. /* Description: Enable the QDEC. */
  3930. /* Bit 0 : Enable or disable QDEC. */
  3931. #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  3932. #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  3933. #define QDEC_ENABLE_ENABLE_Disabled (0UL) /*!< Disabled QDEC. */
  3934. #define QDEC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable QDEC. */
  3935. /* Register: QDEC_LEDPOL */
  3936. /* Description: LED output pin polarity. */
  3937. /* Bit 0 : LED output pin polarity. */
  3938. #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */
  3939. #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */
  3940. #define QDEC_LEDPOL_LEDPOL_ActiveLow (0UL) /*!< LED output is active low. */
  3941. #define QDEC_LEDPOL_LEDPOL_ActiveHigh (1UL) /*!< LED output is active high. */
  3942. /* Register: QDEC_SAMPLEPER */
  3943. /* Description: Sample period. */
  3944. /* Bits 2..0 : Sample period. */
  3945. #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */
  3946. #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0x7UL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */
  3947. #define QDEC_SAMPLEPER_SAMPLEPER_128us (0x00UL) /*!< 128us sample period. */
  3948. #define QDEC_SAMPLEPER_SAMPLEPER_256us (0x01UL) /*!< 256us sample period. */
  3949. #define QDEC_SAMPLEPER_SAMPLEPER_512us (0x02UL) /*!< 512us sample period. */
  3950. #define QDEC_SAMPLEPER_SAMPLEPER_1024us (0x03UL) /*!< 1024us sample period. */
  3951. #define QDEC_SAMPLEPER_SAMPLEPER_2048us (0x04UL) /*!< 2048us sample period. */
  3952. #define QDEC_SAMPLEPER_SAMPLEPER_4096us (0x05UL) /*!< 4096us sample period. */
  3953. #define QDEC_SAMPLEPER_SAMPLEPER_8192us (0x06UL) /*!< 8192us sample period. */
  3954. #define QDEC_SAMPLEPER_SAMPLEPER_16384us (0x07UL) /*!< 16384us sample period. */
  3955. /* Register: QDEC_SAMPLE */
  3956. /* Description: Motion sample value. */
  3957. /* Bits 31..0 : Last sample taken in compliment to 2. */
  3958. #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */
  3959. #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */
  3960. /* Register: QDEC_REPORTPER */
  3961. /* Description: Number of samples to generate an EVENT_REPORTRDY. */
  3962. /* Bits 2..0 : Number of samples to generate an EVENT_REPORTRDY. */
  3963. #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */
  3964. #define QDEC_REPORTPER_REPORTPER_Msk (0x7UL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */
  3965. #define QDEC_REPORTPER_REPORTPER_10Smpl (0x00UL) /*!< 10 samples per report. */
  3966. #define QDEC_REPORTPER_REPORTPER_40Smpl (0x01UL) /*!< 40 samples per report. */
  3967. #define QDEC_REPORTPER_REPORTPER_80Smpl (0x02UL) /*!< 80 samples per report. */
  3968. #define QDEC_REPORTPER_REPORTPER_120Smpl (0x03UL) /*!< 120 samples per report. */
  3969. #define QDEC_REPORTPER_REPORTPER_160Smpl (0x04UL) /*!< 160 samples per report. */
  3970. #define QDEC_REPORTPER_REPORTPER_200Smpl (0x05UL) /*!< 200 samples per report. */
  3971. #define QDEC_REPORTPER_REPORTPER_240Smpl (0x06UL) /*!< 240 samples per report. */
  3972. #define QDEC_REPORTPER_REPORTPER_280Smpl (0x07UL) /*!< 280 samples per report. */
  3973. /* Register: QDEC_DBFEN */
  3974. /* Description: Enable debouncer input filters. */
  3975. /* Bit 0 : Enable debounce input filters. */
  3976. #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */
  3977. #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */
  3978. #define QDEC_DBFEN_DBFEN_Disabled (0UL) /*!< Debounce input filters disabled. */
  3979. #define QDEC_DBFEN_DBFEN_Enabled (1UL) /*!< Debounce input filters enabled. */
  3980. /* Register: QDEC_LEDPRE */
  3981. /* Description: Time LED is switched ON before the sample. */
  3982. /* Bits 8..0 : Period in us the LED in switched on prior to sampling. */
  3983. #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */
  3984. #define QDEC_LEDPRE_LEDPRE_Msk (0x1FFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */
  3985. /* Register: QDEC_ACCDBL */
  3986. /* Description: Accumulated double (error) transitions register. */
  3987. /* Bits 3..0 : Accumulated double (error) transitions. */
  3988. #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */
  3989. #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */
  3990. /* Register: QDEC_ACCDBLREAD */
  3991. /* Description: Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. */
  3992. /* Bits 3..0 : Snapshot of accumulated double (error) transitions. */
  3993. #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */
  3994. #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */
  3995. /* Register: QDEC_POWER */
  3996. /* Description: Peripheral power control. */
  3997. /* Bit 0 : Peripheral power control. */
  3998. #define QDEC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  3999. #define QDEC_POWER_POWER_Msk (0x1UL << QDEC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4000. #define QDEC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4001. #define QDEC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4002. /* Peripheral: RADIO */
  4003. /* Description: The radio. */
  4004. /* Register: RADIO_SHORTS */
  4005. /* Description: Shortcuts for the radio. */
  4006. /* Bit 8 : Shortcut between DISABLED event and RSSISTOP task. */
  4007. #define RADIO_SHORTS_DISABLED_RSSISTOP_Pos (8UL) /*!< Position of DISABLED_RSSISTOP field. */
  4008. #define RADIO_SHORTS_DISABLED_RSSISTOP_Msk (0x1UL << RADIO_SHORTS_DISABLED_RSSISTOP_Pos) /*!< Bit mask of DISABLED_RSSISTOP field. */
  4009. #define RADIO_SHORTS_DISABLED_RSSISTOP_Disabled (0UL) /*!< Shortcut disabled. */
  4010. #define RADIO_SHORTS_DISABLED_RSSISTOP_Enabled (1UL) /*!< Shortcut enabled. */
  4011. /* Bit 6 : Shortcut between ADDRESS event and BCSTART task. */
  4012. #define RADIO_SHORTS_ADDRESS_BCSTART_Pos (6UL) /*!< Position of ADDRESS_BCSTART field. */
  4013. #define RADIO_SHORTS_ADDRESS_BCSTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_BCSTART_Pos) /*!< Bit mask of ADDRESS_BCSTART field. */
  4014. #define RADIO_SHORTS_ADDRESS_BCSTART_Disabled (0UL) /*!< Shortcut disabled. */
  4015. #define RADIO_SHORTS_ADDRESS_BCSTART_Enabled (1UL) /*!< Shortcut enabled. */
  4016. /* Bit 5 : Shortcut between END event and START task. */
  4017. #define RADIO_SHORTS_END_START_Pos (5UL) /*!< Position of END_START field. */
  4018. #define RADIO_SHORTS_END_START_Msk (0x1UL << RADIO_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */
  4019. #define RADIO_SHORTS_END_START_Disabled (0UL) /*!< Shortcut disabled. */
  4020. #define RADIO_SHORTS_END_START_Enabled (1UL) /*!< Shortcut enabled. */
  4021. /* Bit 4 : Shortcut between ADDRESS event and RSSISTART task. */
  4022. #define RADIO_SHORTS_ADDRESS_RSSISTART_Pos (4UL) /*!< Position of ADDRESS_RSSISTART field. */
  4023. #define RADIO_SHORTS_ADDRESS_RSSISTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_RSSISTART_Pos) /*!< Bit mask of ADDRESS_RSSISTART field. */
  4024. #define RADIO_SHORTS_ADDRESS_RSSISTART_Disabled (0UL) /*!< Shortcut disabled. */
  4025. #define RADIO_SHORTS_ADDRESS_RSSISTART_Enabled (1UL) /*!< Shortcut enabled. */
  4026. /* Bit 3 : Shortcut between DISABLED event and RXEN task. */
  4027. #define RADIO_SHORTS_DISABLED_RXEN_Pos (3UL) /*!< Position of DISABLED_RXEN field. */
  4028. #define RADIO_SHORTS_DISABLED_RXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_RXEN_Pos) /*!< Bit mask of DISABLED_RXEN field. */
  4029. #define RADIO_SHORTS_DISABLED_RXEN_Disabled (0UL) /*!< Shortcut disabled. */
  4030. #define RADIO_SHORTS_DISABLED_RXEN_Enabled (1UL) /*!< Shortcut enabled. */
  4031. /* Bit 2 : Shortcut between DISABLED event and TXEN task. */
  4032. #define RADIO_SHORTS_DISABLED_TXEN_Pos (2UL) /*!< Position of DISABLED_TXEN field. */
  4033. #define RADIO_SHORTS_DISABLED_TXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_TXEN_Pos) /*!< Bit mask of DISABLED_TXEN field. */
  4034. #define RADIO_SHORTS_DISABLED_TXEN_Disabled (0UL) /*!< Shortcut disabled. */
  4035. #define RADIO_SHORTS_DISABLED_TXEN_Enabled (1UL) /*!< Shortcut enabled. */
  4036. /* Bit 1 : Shortcut between END event and DISABLE task. */
  4037. #define RADIO_SHORTS_END_DISABLE_Pos (1UL) /*!< Position of END_DISABLE field. */
  4038. #define RADIO_SHORTS_END_DISABLE_Msk (0x1UL << RADIO_SHORTS_END_DISABLE_Pos) /*!< Bit mask of END_DISABLE field. */
  4039. #define RADIO_SHORTS_END_DISABLE_Disabled (0UL) /*!< Shortcut disabled. */
  4040. #define RADIO_SHORTS_END_DISABLE_Enabled (1UL) /*!< Shortcut enabled. */
  4041. /* Bit 0 : Shortcut between READY event and START task. */
  4042. #define RADIO_SHORTS_READY_START_Pos (0UL) /*!< Position of READY_START field. */
  4043. #define RADIO_SHORTS_READY_START_Msk (0x1UL << RADIO_SHORTS_READY_START_Pos) /*!< Bit mask of READY_START field. */
  4044. #define RADIO_SHORTS_READY_START_Disabled (0UL) /*!< Shortcut disabled. */
  4045. #define RADIO_SHORTS_READY_START_Enabled (1UL) /*!< Shortcut enabled. */
  4046. /* Register: RADIO_INTENSET */
  4047. /* Description: Interrupt enable set register. */
  4048. /* Bit 10 : Enable interrupt on BCMATCH event. */
  4049. #define RADIO_INTENSET_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
  4050. #define RADIO_INTENSET_BCMATCH_Msk (0x1UL << RADIO_INTENSET_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
  4051. #define RADIO_INTENSET_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  4052. #define RADIO_INTENSET_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  4053. #define RADIO_INTENSET_BCMATCH_Set (1UL) /*!< Enable interrupt on write. */
  4054. /* Bit 7 : Enable interrupt on RSSIEND event. */
  4055. #define RADIO_INTENSET_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
  4056. #define RADIO_INTENSET_RSSIEND_Msk (0x1UL << RADIO_INTENSET_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
  4057. #define RADIO_INTENSET_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */
  4058. #define RADIO_INTENSET_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */
  4059. #define RADIO_INTENSET_RSSIEND_Set (1UL) /*!< Enable interrupt on write. */
  4060. /* Bit 6 : Enable interrupt on DEVMISS event. */
  4061. #define RADIO_INTENSET_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
  4062. #define RADIO_INTENSET_DEVMISS_Msk (0x1UL << RADIO_INTENSET_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
  4063. #define RADIO_INTENSET_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */
  4064. #define RADIO_INTENSET_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */
  4065. #define RADIO_INTENSET_DEVMISS_Set (1UL) /*!< Enable interrupt on write. */
  4066. /* Bit 5 : Enable interrupt on DEVMATCH event. */
  4067. #define RADIO_INTENSET_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
  4068. #define RADIO_INTENSET_DEVMATCH_Msk (0x1UL << RADIO_INTENSET_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
  4069. #define RADIO_INTENSET_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  4070. #define RADIO_INTENSET_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  4071. #define RADIO_INTENSET_DEVMATCH_Set (1UL) /*!< Enable interrupt on write. */
  4072. /* Bit 4 : Enable interrupt on DISABLED event. */
  4073. #define RADIO_INTENSET_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
  4074. #define RADIO_INTENSET_DISABLED_Msk (0x1UL << RADIO_INTENSET_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
  4075. #define RADIO_INTENSET_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */
  4076. #define RADIO_INTENSET_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */
  4077. #define RADIO_INTENSET_DISABLED_Set (1UL) /*!< Enable interrupt on write. */
  4078. /* Bit 3 : Enable interrupt on END event. */
  4079. #define RADIO_INTENSET_END_Pos (3UL) /*!< Position of END field. */
  4080. #define RADIO_INTENSET_END_Msk (0x1UL << RADIO_INTENSET_END_Pos) /*!< Bit mask of END field. */
  4081. #define RADIO_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  4082. #define RADIO_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  4083. #define RADIO_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  4084. /* Bit 2 : Enable interrupt on PAYLOAD event. */
  4085. #define RADIO_INTENSET_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
  4086. #define RADIO_INTENSET_PAYLOAD_Msk (0x1UL << RADIO_INTENSET_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
  4087. #define RADIO_INTENSET_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */
  4088. #define RADIO_INTENSET_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */
  4089. #define RADIO_INTENSET_PAYLOAD_Set (1UL) /*!< Enable interrupt on write. */
  4090. /* Bit 1 : Enable interrupt on ADDRESS event. */
  4091. #define RADIO_INTENSET_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
  4092. #define RADIO_INTENSET_ADDRESS_Msk (0x1UL << RADIO_INTENSET_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  4093. #define RADIO_INTENSET_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */
  4094. #define RADIO_INTENSET_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */
  4095. #define RADIO_INTENSET_ADDRESS_Set (1UL) /*!< Enable interrupt on write. */
  4096. /* Bit 0 : Enable interrupt on READY event. */
  4097. #define RADIO_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
  4098. #define RADIO_INTENSET_READY_Msk (0x1UL << RADIO_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  4099. #define RADIO_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
  4100. #define RADIO_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
  4101. #define RADIO_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
  4102. /* Register: RADIO_INTENCLR */
  4103. /* Description: Interrupt enable clear register. */
  4104. /* Bit 10 : Disable interrupt on BCMATCH event. */
  4105. #define RADIO_INTENCLR_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
  4106. #define RADIO_INTENCLR_BCMATCH_Msk (0x1UL << RADIO_INTENCLR_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
  4107. #define RADIO_INTENCLR_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  4108. #define RADIO_INTENCLR_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  4109. #define RADIO_INTENCLR_BCMATCH_Clear (1UL) /*!< Disable interrupt on write. */
  4110. /* Bit 7 : Disable interrupt on RSSIEND event. */
  4111. #define RADIO_INTENCLR_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
  4112. #define RADIO_INTENCLR_RSSIEND_Msk (0x1UL << RADIO_INTENCLR_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
  4113. #define RADIO_INTENCLR_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */
  4114. #define RADIO_INTENCLR_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */
  4115. #define RADIO_INTENCLR_RSSIEND_Clear (1UL) /*!< Disable interrupt on write. */
  4116. /* Bit 6 : Disable interrupt on DEVMISS event. */
  4117. #define RADIO_INTENCLR_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
  4118. #define RADIO_INTENCLR_DEVMISS_Msk (0x1UL << RADIO_INTENCLR_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
  4119. #define RADIO_INTENCLR_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */
  4120. #define RADIO_INTENCLR_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */
  4121. #define RADIO_INTENCLR_DEVMISS_Clear (1UL) /*!< Disable interrupt on write. */
  4122. /* Bit 5 : Disable interrupt on DEVMATCH event. */
  4123. #define RADIO_INTENCLR_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
  4124. #define RADIO_INTENCLR_DEVMATCH_Msk (0x1UL << RADIO_INTENCLR_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
  4125. #define RADIO_INTENCLR_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */
  4126. #define RADIO_INTENCLR_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */
  4127. #define RADIO_INTENCLR_DEVMATCH_Clear (1UL) /*!< Disable interrupt on write. */
  4128. /* Bit 4 : Disable interrupt on DISABLED event. */
  4129. #define RADIO_INTENCLR_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
  4130. #define RADIO_INTENCLR_DISABLED_Msk (0x1UL << RADIO_INTENCLR_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
  4131. #define RADIO_INTENCLR_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */
  4132. #define RADIO_INTENCLR_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */
  4133. #define RADIO_INTENCLR_DISABLED_Clear (1UL) /*!< Disable interrupt on write. */
  4134. /* Bit 3 : Disable interrupt on END event. */
  4135. #define RADIO_INTENCLR_END_Pos (3UL) /*!< Position of END field. */
  4136. #define RADIO_INTENCLR_END_Msk (0x1UL << RADIO_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  4137. #define RADIO_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  4138. #define RADIO_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  4139. #define RADIO_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  4140. /* Bit 2 : Disable interrupt on PAYLOAD event. */
  4141. #define RADIO_INTENCLR_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
  4142. #define RADIO_INTENCLR_PAYLOAD_Msk (0x1UL << RADIO_INTENCLR_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
  4143. #define RADIO_INTENCLR_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */
  4144. #define RADIO_INTENCLR_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */
  4145. #define RADIO_INTENCLR_PAYLOAD_Clear (1UL) /*!< Disable interrupt on write. */
  4146. /* Bit 1 : Disable interrupt on ADDRESS event. */
  4147. #define RADIO_INTENCLR_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
  4148. #define RADIO_INTENCLR_ADDRESS_Msk (0x1UL << RADIO_INTENCLR_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  4149. #define RADIO_INTENCLR_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */
  4150. #define RADIO_INTENCLR_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */
  4151. #define RADIO_INTENCLR_ADDRESS_Clear (1UL) /*!< Disable interrupt on write. */
  4152. /* Bit 0 : Disable interrupt on READY event. */
  4153. #define RADIO_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
  4154. #define RADIO_INTENCLR_READY_Msk (0x1UL << RADIO_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  4155. #define RADIO_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
  4156. #define RADIO_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
  4157. #define RADIO_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
  4158. /* Register: RADIO_CRCSTATUS */
  4159. /* Description: CRC status of received packet. */
  4160. /* Bit 0 : CRC status of received packet. */
  4161. #define RADIO_CRCSTATUS_CRCSTATUS_Pos (0UL) /*!< Position of CRCSTATUS field. */
  4162. #define RADIO_CRCSTATUS_CRCSTATUS_Msk (0x1UL << RADIO_CRCSTATUS_CRCSTATUS_Pos) /*!< Bit mask of CRCSTATUS field. */
  4163. #define RADIO_CRCSTATUS_CRCSTATUS_CRCError (0UL) /*!< Packet received with CRC error. */
  4164. #define RADIO_CRCSTATUS_CRCSTATUS_CRCOk (1UL) /*!< Packet received with CRC ok. */
  4165. /* Register: RADIO_RXMATCH */
  4166. /* Description: Received address. */
  4167. /* Bits 2..0 : Logical address in which previous packet was received. */
  4168. #define RADIO_RXMATCH_RXMATCH_Pos (0UL) /*!< Position of RXMATCH field. */
  4169. #define RADIO_RXMATCH_RXMATCH_Msk (0x7UL << RADIO_RXMATCH_RXMATCH_Pos) /*!< Bit mask of RXMATCH field. */
  4170. /* Register: RADIO_RXCRC */
  4171. /* Description: Received CRC. */
  4172. /* Bits 23..0 : CRC field of previously received packet. */
  4173. #define RADIO_RXCRC_RXCRC_Pos (0UL) /*!< Position of RXCRC field. */
  4174. #define RADIO_RXCRC_RXCRC_Msk (0xFFFFFFUL << RADIO_RXCRC_RXCRC_Pos) /*!< Bit mask of RXCRC field. */
  4175. /* Register: RADIO_DAI */
  4176. /* Description: Device address match index. */
  4177. /* Bits 2..0 : Index (n) of device address (see DAB[n] and DAP[n]) that obtained an address match. */
  4178. #define RADIO_DAI_DAI_Pos (0UL) /*!< Position of DAI field. */
  4179. #define RADIO_DAI_DAI_Msk (0x7UL << RADIO_DAI_DAI_Pos) /*!< Bit mask of DAI field. */
  4180. /* Register: RADIO_FREQUENCY */
  4181. /* Description: Frequency. */
  4182. /* Bits 6..0 : Radio channel frequency offset in MHz: RF Frequency = 2400 + FREQUENCY (MHz). Decision point: TXEN or RXEN task. */
  4183. #define RADIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  4184. #define RADIO_FREQUENCY_FREQUENCY_Msk (0x7FUL << RADIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  4185. /* Register: RADIO_TXPOWER */
  4186. /* Description: Output power. */
  4187. /* Bits 7..0 : Radio output power. Decision point: TXEN task. */
  4188. #define RADIO_TXPOWER_TXPOWER_Pos (0UL) /*!< Position of TXPOWER field. */
  4189. #define RADIO_TXPOWER_TXPOWER_Msk (0xFFUL << RADIO_TXPOWER_TXPOWER_Pos) /*!< Bit mask of TXPOWER field. */
  4190. #define RADIO_TXPOWER_TXPOWER_0dBm (0x00UL) /*!< 0dBm. */
  4191. #define RADIO_TXPOWER_TXPOWER_Pos4dBm (0x04UL) /*!< +4dBm. */
  4192. #define RADIO_TXPOWER_TXPOWER_Neg30dBm (0xD8UL) /*!< -30dBm. */
  4193. #define RADIO_TXPOWER_TXPOWER_Neg20dBm (0xECUL) /*!< -20dBm. */
  4194. #define RADIO_TXPOWER_TXPOWER_Neg16dBm (0xF0UL) /*!< -16dBm. */
  4195. #define RADIO_TXPOWER_TXPOWER_Neg12dBm (0xF4UL) /*!< -12dBm. */
  4196. #define RADIO_TXPOWER_TXPOWER_Neg8dBm (0xF8UL) /*!< -8dBm. */
  4197. #define RADIO_TXPOWER_TXPOWER_Neg4dBm (0xFCUL) /*!< -4dBm. */
  4198. /* Register: RADIO_MODE */
  4199. /* Description: Data rate and modulation. */
  4200. /* Bits 1..0 : Radio data rate and modulation setting. Decision point: TXEN or RXEN task. */
  4201. #define RADIO_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  4202. #define RADIO_MODE_MODE_Msk (0x3UL << RADIO_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  4203. #define RADIO_MODE_MODE_Nrf_1Mbit (0x00UL) /*!< 1Mbit/s Nordic propietary radio mode. */
  4204. #define RADIO_MODE_MODE_Nrf_2Mbit (0x01UL) /*!< 2Mbit/s Nordic propietary radio mode. */
  4205. #define RADIO_MODE_MODE_Nrf_250Kbit (0x02UL) /*!< 250kbit/s Nordic propietary radio mode. */
  4206. #define RADIO_MODE_MODE_Ble_1Mbit (0x03UL) /*!< 1Mbit/s Bluetooth Low Energy */
  4207. /* Register: RADIO_PCNF0 */
  4208. /* Description: Packet configuration 0. */
  4209. /* Bits 19..16 : Length of S1 field in number of bits. Decision point: START task. */
  4210. #define RADIO_PCNF0_S1LEN_Pos (16UL) /*!< Position of S1LEN field. */
  4211. #define RADIO_PCNF0_S1LEN_Msk (0xFUL << RADIO_PCNF0_S1LEN_Pos) /*!< Bit mask of S1LEN field. */
  4212. /* Bit 8 : Length of S0 field in number of bytes. Decision point: START task. */
  4213. #define RADIO_PCNF0_S0LEN_Pos (8UL) /*!< Position of S0LEN field. */
  4214. #define RADIO_PCNF0_S0LEN_Msk (0x1UL << RADIO_PCNF0_S0LEN_Pos) /*!< Bit mask of S0LEN field. */
  4215. /* Bits 3..0 : Length of length field in number of bits. Decision point: START task. */
  4216. #define RADIO_PCNF0_LFLEN_Pos (0UL) /*!< Position of LFLEN field. */
  4217. #define RADIO_PCNF0_LFLEN_Msk (0xFUL << RADIO_PCNF0_LFLEN_Pos) /*!< Bit mask of LFLEN field. */
  4218. /* Register: RADIO_PCNF1 */
  4219. /* Description: Packet configuration 1. */
  4220. /* Bit 25 : Packet whitening enable. */
  4221. #define RADIO_PCNF1_WHITEEN_Pos (25UL) /*!< Position of WHITEEN field. */
  4222. #define RADIO_PCNF1_WHITEEN_Msk (0x1UL << RADIO_PCNF1_WHITEEN_Pos) /*!< Bit mask of WHITEEN field. */
  4223. #define RADIO_PCNF1_WHITEEN_Disabled (0UL) /*!< Whitening disabled. */
  4224. #define RADIO_PCNF1_WHITEEN_Enabled (1UL) /*!< Whitening enabled. */
  4225. /* Bit 24 : On air endianness of packet length field. Decision point: START task. */
  4226. #define RADIO_PCNF1_ENDIAN_Pos (24UL) /*!< Position of ENDIAN field. */
  4227. #define RADIO_PCNF1_ENDIAN_Msk (0x1UL << RADIO_PCNF1_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */
  4228. #define RADIO_PCNF1_ENDIAN_Little (0UL) /*!< Least significant bit on air first */
  4229. #define RADIO_PCNF1_ENDIAN_Big (1UL) /*!< Most significant bit on air first */
  4230. /* Bits 18..16 : Base address length in number of bytes. Decision point: START task. */
  4231. #define RADIO_PCNF1_BALEN_Pos (16UL) /*!< Position of BALEN field. */
  4232. #define RADIO_PCNF1_BALEN_Msk (0x7UL << RADIO_PCNF1_BALEN_Pos) /*!< Bit mask of BALEN field. */
  4233. /* Bits 15..8 : Static length in number of bytes. Decision point: START task. */
  4234. #define RADIO_PCNF1_STATLEN_Pos (8UL) /*!< Position of STATLEN field. */
  4235. #define RADIO_PCNF1_STATLEN_Msk (0xFFUL << RADIO_PCNF1_STATLEN_Pos) /*!< Bit mask of STATLEN field. */
  4236. /* Bits 7..0 : Maximum length of packet payload in number of bytes. */
  4237. #define RADIO_PCNF1_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */
  4238. #define RADIO_PCNF1_MAXLEN_Msk (0xFFUL << RADIO_PCNF1_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */
  4239. /* Register: RADIO_PREFIX0 */
  4240. /* Description: Prefixes bytes for logical addresses 0 to 3. */
  4241. /* Bits 31..24 : Address prefix 3. Decision point: START task. */
  4242. #define RADIO_PREFIX0_AP3_Pos (24UL) /*!< Position of AP3 field. */
  4243. #define RADIO_PREFIX0_AP3_Msk (0xFFUL << RADIO_PREFIX0_AP3_Pos) /*!< Bit mask of AP3 field. */
  4244. /* Bits 23..16 : Address prefix 2. Decision point: START task. */
  4245. #define RADIO_PREFIX0_AP2_Pos (16UL) /*!< Position of AP2 field. */
  4246. #define RADIO_PREFIX0_AP2_Msk (0xFFUL << RADIO_PREFIX0_AP2_Pos) /*!< Bit mask of AP2 field. */
  4247. /* Bits 15..8 : Address prefix 1. Decision point: START task. */
  4248. #define RADIO_PREFIX0_AP1_Pos (8UL) /*!< Position of AP1 field. */
  4249. #define RADIO_PREFIX0_AP1_Msk (0xFFUL << RADIO_PREFIX0_AP1_Pos) /*!< Bit mask of AP1 field. */
  4250. /* Bits 7..0 : Address prefix 0. Decision point: START task. */
  4251. #define RADIO_PREFIX0_AP0_Pos (0UL) /*!< Position of AP0 field. */
  4252. #define RADIO_PREFIX0_AP0_Msk (0xFFUL << RADIO_PREFIX0_AP0_Pos) /*!< Bit mask of AP0 field. */
  4253. /* Register: RADIO_PREFIX1 */
  4254. /* Description: Prefixes bytes for logical addresses 4 to 7. */
  4255. /* Bits 31..24 : Address prefix 7. Decision point: START task. */
  4256. #define RADIO_PREFIX1_AP7_Pos (24UL) /*!< Position of AP7 field. */
  4257. #define RADIO_PREFIX1_AP7_Msk (0xFFUL << RADIO_PREFIX1_AP7_Pos) /*!< Bit mask of AP7 field. */
  4258. /* Bits 23..16 : Address prefix 6. Decision point: START task. */
  4259. #define RADIO_PREFIX1_AP6_Pos (16UL) /*!< Position of AP6 field. */
  4260. #define RADIO_PREFIX1_AP6_Msk (0xFFUL << RADIO_PREFIX1_AP6_Pos) /*!< Bit mask of AP6 field. */
  4261. /* Bits 15..8 : Address prefix 5. Decision point: START task. */
  4262. #define RADIO_PREFIX1_AP5_Pos (8UL) /*!< Position of AP5 field. */
  4263. #define RADIO_PREFIX1_AP5_Msk (0xFFUL << RADIO_PREFIX1_AP5_Pos) /*!< Bit mask of AP5 field. */
  4264. /* Bits 7..0 : Address prefix 4. Decision point: START task. */
  4265. #define RADIO_PREFIX1_AP4_Pos (0UL) /*!< Position of AP4 field. */
  4266. #define RADIO_PREFIX1_AP4_Msk (0xFFUL << RADIO_PREFIX1_AP4_Pos) /*!< Bit mask of AP4 field. */
  4267. /* Register: RADIO_TXADDRESS */
  4268. /* Description: Transmit address select. */
  4269. /* Bits 2..0 : Logical address to be used when transmitting a packet. Decision point: START task. */
  4270. #define RADIO_TXADDRESS_TXADDRESS_Pos (0UL) /*!< Position of TXADDRESS field. */
  4271. #define RADIO_TXADDRESS_TXADDRESS_Msk (0x7UL << RADIO_TXADDRESS_TXADDRESS_Pos) /*!< Bit mask of TXADDRESS field. */
  4272. /* Register: RADIO_RXADDRESSES */
  4273. /* Description: Receive address select. */
  4274. /* Bit 7 : Enable reception on logical address 7. Decision point: START task. */
  4275. #define RADIO_RXADDRESSES_ADDR7_Pos (7UL) /*!< Position of ADDR7 field. */
  4276. #define RADIO_RXADDRESSES_ADDR7_Msk (0x1UL << RADIO_RXADDRESSES_ADDR7_Pos) /*!< Bit mask of ADDR7 field. */
  4277. #define RADIO_RXADDRESSES_ADDR7_Disabled (0UL) /*!< Reception disabled. */
  4278. #define RADIO_RXADDRESSES_ADDR7_Enabled (1UL) /*!< Reception enabled. */
  4279. /* Bit 6 : Enable reception on logical address 6. Decision point: START task. */
  4280. #define RADIO_RXADDRESSES_ADDR6_Pos (6UL) /*!< Position of ADDR6 field. */
  4281. #define RADIO_RXADDRESSES_ADDR6_Msk (0x1UL << RADIO_RXADDRESSES_ADDR6_Pos) /*!< Bit mask of ADDR6 field. */
  4282. #define RADIO_RXADDRESSES_ADDR6_Disabled (0UL) /*!< Reception disabled. */
  4283. #define RADIO_RXADDRESSES_ADDR6_Enabled (1UL) /*!< Reception enabled. */
  4284. /* Bit 5 : Enable reception on logical address 5. Decision point: START task. */
  4285. #define RADIO_RXADDRESSES_ADDR5_Pos (5UL) /*!< Position of ADDR5 field. */
  4286. #define RADIO_RXADDRESSES_ADDR5_Msk (0x1UL << RADIO_RXADDRESSES_ADDR5_Pos) /*!< Bit mask of ADDR5 field. */
  4287. #define RADIO_RXADDRESSES_ADDR5_Disabled (0UL) /*!< Reception disabled. */
  4288. #define RADIO_RXADDRESSES_ADDR5_Enabled (1UL) /*!< Reception enabled. */
  4289. /* Bit 4 : Enable reception on logical address 4. Decision point: START task. */
  4290. #define RADIO_RXADDRESSES_ADDR4_Pos (4UL) /*!< Position of ADDR4 field. */
  4291. #define RADIO_RXADDRESSES_ADDR4_Msk (0x1UL << RADIO_RXADDRESSES_ADDR4_Pos) /*!< Bit mask of ADDR4 field. */
  4292. #define RADIO_RXADDRESSES_ADDR4_Disabled (0UL) /*!< Reception disabled. */
  4293. #define RADIO_RXADDRESSES_ADDR4_Enabled (1UL) /*!< Reception enabled. */
  4294. /* Bit 3 : Enable reception on logical address 3. Decision point: START task. */
  4295. #define RADIO_RXADDRESSES_ADDR3_Pos (3UL) /*!< Position of ADDR3 field. */
  4296. #define RADIO_RXADDRESSES_ADDR3_Msk (0x1UL << RADIO_RXADDRESSES_ADDR3_Pos) /*!< Bit mask of ADDR3 field. */
  4297. #define RADIO_RXADDRESSES_ADDR3_Disabled (0UL) /*!< Reception disabled. */
  4298. #define RADIO_RXADDRESSES_ADDR3_Enabled (1UL) /*!< Reception enabled. */
  4299. /* Bit 2 : Enable reception on logical address 2. Decision point: START task. */
  4300. #define RADIO_RXADDRESSES_ADDR2_Pos (2UL) /*!< Position of ADDR2 field. */
  4301. #define RADIO_RXADDRESSES_ADDR2_Msk (0x1UL << RADIO_RXADDRESSES_ADDR2_Pos) /*!< Bit mask of ADDR2 field. */
  4302. #define RADIO_RXADDRESSES_ADDR2_Disabled (0UL) /*!< Reception disabled. */
  4303. #define RADIO_RXADDRESSES_ADDR2_Enabled (1UL) /*!< Reception enabled. */
  4304. /* Bit 1 : Enable reception on logical address 1. Decision point: START task. */
  4305. #define RADIO_RXADDRESSES_ADDR1_Pos (1UL) /*!< Position of ADDR1 field. */
  4306. #define RADIO_RXADDRESSES_ADDR1_Msk (0x1UL << RADIO_RXADDRESSES_ADDR1_Pos) /*!< Bit mask of ADDR1 field. */
  4307. #define RADIO_RXADDRESSES_ADDR1_Disabled (0UL) /*!< Reception disabled. */
  4308. #define RADIO_RXADDRESSES_ADDR1_Enabled (1UL) /*!< Reception enabled. */
  4309. /* Bit 0 : Enable reception on logical address 0. Decision point: START task. */
  4310. #define RADIO_RXADDRESSES_ADDR0_Pos (0UL) /*!< Position of ADDR0 field. */
  4311. #define RADIO_RXADDRESSES_ADDR0_Msk (0x1UL << RADIO_RXADDRESSES_ADDR0_Pos) /*!< Bit mask of ADDR0 field. */
  4312. #define RADIO_RXADDRESSES_ADDR0_Disabled (0UL) /*!< Reception disabled. */
  4313. #define RADIO_RXADDRESSES_ADDR0_Enabled (1UL) /*!< Reception enabled. */
  4314. /* Register: RADIO_CRCCNF */
  4315. /* Description: CRC configuration. */
  4316. /* Bit 8 : Leave packet address field out of the CRC calculation. Decision point: START task. */
  4317. #define RADIO_CRCCNF_SKIPADDR_Pos (8UL) /*!< Position of SKIPADDR field. */
  4318. #define RADIO_CRCCNF_SKIPADDR_Msk (0x1UL << RADIO_CRCCNF_SKIPADDR_Pos) /*!< Bit mask of SKIPADDR field. */
  4319. #define RADIO_CRCCNF_SKIPADDR_Include (0UL) /*!< Include packet address in CRC calculation. */
  4320. #define RADIO_CRCCNF_SKIPADDR_Skip (1UL) /*!< Packet address is skipped in CRC calculation. The CRC calculation will start at the first byte after the address. */
  4321. /* Bits 1..0 : CRC length. Decision point: START task. */
  4322. #define RADIO_CRCCNF_LEN_Pos (0UL) /*!< Position of LEN field. */
  4323. #define RADIO_CRCCNF_LEN_Msk (0x3UL << RADIO_CRCCNF_LEN_Pos) /*!< Bit mask of LEN field. */
  4324. #define RADIO_CRCCNF_LEN_Disabled (0UL) /*!< CRC calculation disabled. */
  4325. #define RADIO_CRCCNF_LEN_One (1UL) /*!< One byte long CRC. */
  4326. #define RADIO_CRCCNF_LEN_Two (2UL) /*!< Two bytes long CRC. */
  4327. #define RADIO_CRCCNF_LEN_Three (3UL) /*!< Three bytes long CRC. */
  4328. /* Register: RADIO_CRCPOLY */
  4329. /* Description: CRC polynomial. */
  4330. /* Bits 23..0 : CRC polynomial. Decision point: START task. */
  4331. #define RADIO_CRCPOLY_CRCPOLY_Pos (0UL) /*!< Position of CRCPOLY field. */
  4332. #define RADIO_CRCPOLY_CRCPOLY_Msk (0xFFFFFFUL << RADIO_CRCPOLY_CRCPOLY_Pos) /*!< Bit mask of CRCPOLY field. */
  4333. /* Register: RADIO_CRCINIT */
  4334. /* Description: CRC initial value. */
  4335. /* Bits 23..0 : Initial value for CRC calculation. Decision point: START task. */
  4336. #define RADIO_CRCINIT_CRCINIT_Pos (0UL) /*!< Position of CRCINIT field. */
  4337. #define RADIO_CRCINIT_CRCINIT_Msk (0xFFFFFFUL << RADIO_CRCINIT_CRCINIT_Pos) /*!< Bit mask of CRCINIT field. */
  4338. /* Register: RADIO_TEST */
  4339. /* Description: Test features enable register. */
  4340. /* Bit 1 : PLL lock. Decision point: TXEN or RXEN task. */
  4341. #define RADIO_TEST_PLLLOCK_Pos (1UL) /*!< Position of PLLLOCK field. */
  4342. #define RADIO_TEST_PLLLOCK_Msk (0x1UL << RADIO_TEST_PLLLOCK_Pos) /*!< Bit mask of PLLLOCK field. */
  4343. #define RADIO_TEST_PLLLOCK_Disabled (0UL) /*!< PLL lock disabled. */
  4344. #define RADIO_TEST_PLLLOCK_Enabled (1UL) /*!< PLL lock enabled. */
  4345. /* Bit 0 : Constant carrier. Decision point: TXEN task. */
  4346. #define RADIO_TEST_CONSTCARRIER_Pos (0UL) /*!< Position of CONSTCARRIER field. */
  4347. #define RADIO_TEST_CONSTCARRIER_Msk (0x1UL << RADIO_TEST_CONSTCARRIER_Pos) /*!< Bit mask of CONSTCARRIER field. */
  4348. #define RADIO_TEST_CONSTCARRIER_Disabled (0UL) /*!< Constant carrier disabled. */
  4349. #define RADIO_TEST_CONSTCARRIER_Enabled (1UL) /*!< Constant carrier enabled. */
  4350. /* Register: RADIO_TIFS */
  4351. /* Description: Inter Frame Spacing in microseconds. */
  4352. /* Bits 7..0 : Inter frame spacing in microseconds. Decision point: START rask */
  4353. #define RADIO_TIFS_TIFS_Pos (0UL) /*!< Position of TIFS field. */
  4354. #define RADIO_TIFS_TIFS_Msk (0xFFUL << RADIO_TIFS_TIFS_Pos) /*!< Bit mask of TIFS field. */
  4355. /* Register: RADIO_RSSISAMPLE */
  4356. /* Description: RSSI sample. */
  4357. /* Bits 6..0 : RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm */
  4358. #define RADIO_RSSISAMPLE_RSSISAMPLE_Pos (0UL) /*!< Position of RSSISAMPLE field. */
  4359. #define RADIO_RSSISAMPLE_RSSISAMPLE_Msk (0x7FUL << RADIO_RSSISAMPLE_RSSISAMPLE_Pos) /*!< Bit mask of RSSISAMPLE field. */
  4360. /* Register: RADIO_STATE */
  4361. /* Description: Current radio state. */
  4362. /* Bits 3..0 : Current radio state. */
  4363. #define RADIO_STATE_STATE_Pos (0UL) /*!< Position of STATE field. */
  4364. #define RADIO_STATE_STATE_Msk (0xFUL << RADIO_STATE_STATE_Pos) /*!< Bit mask of STATE field. */
  4365. #define RADIO_STATE_STATE_Disabled (0x00UL) /*!< Radio is in the Disabled state. */
  4366. #define RADIO_STATE_STATE_RxRu (0x01UL) /*!< Radio is in the Rx Ramp Up state. */
  4367. #define RADIO_STATE_STATE_RxIdle (0x02UL) /*!< Radio is in the Rx Idle state. */
  4368. #define RADIO_STATE_STATE_Rx (0x03UL) /*!< Radio is in the Rx state. */
  4369. #define RADIO_STATE_STATE_RxDisable (0x04UL) /*!< Radio is in the Rx Disable state. */
  4370. #define RADIO_STATE_STATE_TxRu (0x09UL) /*!< Radio is in the Tx Ramp Up state. */
  4371. #define RADIO_STATE_STATE_TxIdle (0x0AUL) /*!< Radio is in the Tx Idle state. */
  4372. #define RADIO_STATE_STATE_Tx (0x0BUL) /*!< Radio is in the Tx state. */
  4373. #define RADIO_STATE_STATE_TxDisable (0x0CUL) /*!< Radio is in the Tx Disable state. */
  4374. /* Register: RADIO_DATAWHITEIV */
  4375. /* Description: Data whitening initial value. */
  4376. /* Bits 6..0 : Data whitening initial value. Bit 0 corresponds to Position 0 of the LSFR, Bit 1 to position 5... Decision point: TXEN or RXEN task. */
  4377. #define RADIO_DATAWHITEIV_DATAWHITEIV_Pos (0UL) /*!< Position of DATAWHITEIV field. */
  4378. #define RADIO_DATAWHITEIV_DATAWHITEIV_Msk (0x7FUL << RADIO_DATAWHITEIV_DATAWHITEIV_Pos) /*!< Bit mask of DATAWHITEIV field. */
  4379. /* Register: RADIO_DAP */
  4380. /* Description: Device address prefix. */
  4381. /* Bits 15..0 : Device address prefix. */
  4382. #define RADIO_DAP_DAP_Pos (0UL) /*!< Position of DAP field. */
  4383. #define RADIO_DAP_DAP_Msk (0xFFFFUL << RADIO_DAP_DAP_Pos) /*!< Bit mask of DAP field. */
  4384. /* Register: RADIO_DACNF */
  4385. /* Description: Device address match configuration. */
  4386. /* Bit 15 : TxAdd for device address 7. */
  4387. #define RADIO_DACNF_TXADD7_Pos (15UL) /*!< Position of TXADD7 field. */
  4388. #define RADIO_DACNF_TXADD7_Msk (0x1UL << RADIO_DACNF_TXADD7_Pos) /*!< Bit mask of TXADD7 field. */
  4389. /* Bit 14 : TxAdd for device address 6. */
  4390. #define RADIO_DACNF_TXADD6_Pos (14UL) /*!< Position of TXADD6 field. */
  4391. #define RADIO_DACNF_TXADD6_Msk (0x1UL << RADIO_DACNF_TXADD6_Pos) /*!< Bit mask of TXADD6 field. */
  4392. /* Bit 13 : TxAdd for device address 5. */
  4393. #define RADIO_DACNF_TXADD5_Pos (13UL) /*!< Position of TXADD5 field. */
  4394. #define RADIO_DACNF_TXADD5_Msk (0x1UL << RADIO_DACNF_TXADD5_Pos) /*!< Bit mask of TXADD5 field. */
  4395. /* Bit 12 : TxAdd for device address 4. */
  4396. #define RADIO_DACNF_TXADD4_Pos (12UL) /*!< Position of TXADD4 field. */
  4397. #define RADIO_DACNF_TXADD4_Msk (0x1UL << RADIO_DACNF_TXADD4_Pos) /*!< Bit mask of TXADD4 field. */
  4398. /* Bit 11 : TxAdd for device address 3. */
  4399. #define RADIO_DACNF_TXADD3_Pos (11UL) /*!< Position of TXADD3 field. */
  4400. #define RADIO_DACNF_TXADD3_Msk (0x1UL << RADIO_DACNF_TXADD3_Pos) /*!< Bit mask of TXADD3 field. */
  4401. /* Bit 10 : TxAdd for device address 2. */
  4402. #define RADIO_DACNF_TXADD2_Pos (10UL) /*!< Position of TXADD2 field. */
  4403. #define RADIO_DACNF_TXADD2_Msk (0x1UL << RADIO_DACNF_TXADD2_Pos) /*!< Bit mask of TXADD2 field. */
  4404. /* Bit 9 : TxAdd for device address 1. */
  4405. #define RADIO_DACNF_TXADD1_Pos (9UL) /*!< Position of TXADD1 field. */
  4406. #define RADIO_DACNF_TXADD1_Msk (0x1UL << RADIO_DACNF_TXADD1_Pos) /*!< Bit mask of TXADD1 field. */
  4407. /* Bit 8 : TxAdd for device address 0. */
  4408. #define RADIO_DACNF_TXADD0_Pos (8UL) /*!< Position of TXADD0 field. */
  4409. #define RADIO_DACNF_TXADD0_Msk (0x1UL << RADIO_DACNF_TXADD0_Pos) /*!< Bit mask of TXADD0 field. */
  4410. /* Bit 7 : Enable or disable device address matching using device address 7. */
  4411. #define RADIO_DACNF_ENA7_Pos (7UL) /*!< Position of ENA7 field. */
  4412. #define RADIO_DACNF_ENA7_Msk (0x1UL << RADIO_DACNF_ENA7_Pos) /*!< Bit mask of ENA7 field. */
  4413. #define RADIO_DACNF_ENA7_Disabled (0UL) /*!< Disabled. */
  4414. #define RADIO_DACNF_ENA7_Enabled (1UL) /*!< Enabled. */
  4415. /* Bit 6 : Enable or disable device address matching using device address 6. */
  4416. #define RADIO_DACNF_ENA6_Pos (6UL) /*!< Position of ENA6 field. */
  4417. #define RADIO_DACNF_ENA6_Msk (0x1UL << RADIO_DACNF_ENA6_Pos) /*!< Bit mask of ENA6 field. */
  4418. #define RADIO_DACNF_ENA6_Disabled (0UL) /*!< Disabled. */
  4419. #define RADIO_DACNF_ENA6_Enabled (1UL) /*!< Enabled. */
  4420. /* Bit 5 : Enable or disable device address matching using device address 5. */
  4421. #define RADIO_DACNF_ENA5_Pos (5UL) /*!< Position of ENA5 field. */
  4422. #define RADIO_DACNF_ENA5_Msk (0x1UL << RADIO_DACNF_ENA5_Pos) /*!< Bit mask of ENA5 field. */
  4423. #define RADIO_DACNF_ENA5_Disabled (0UL) /*!< Disabled. */
  4424. #define RADIO_DACNF_ENA5_Enabled (1UL) /*!< Enabled. */
  4425. /* Bit 4 : Enable or disable device address matching using device address 4. */
  4426. #define RADIO_DACNF_ENA4_Pos (4UL) /*!< Position of ENA4 field. */
  4427. #define RADIO_DACNF_ENA4_Msk (0x1UL << RADIO_DACNF_ENA4_Pos) /*!< Bit mask of ENA4 field. */
  4428. #define RADIO_DACNF_ENA4_Disabled (0UL) /*!< Disabled. */
  4429. #define RADIO_DACNF_ENA4_Enabled (1UL) /*!< Enabled. */
  4430. /* Bit 3 : Enable or disable device address matching using device address 3. */
  4431. #define RADIO_DACNF_ENA3_Pos (3UL) /*!< Position of ENA3 field. */
  4432. #define RADIO_DACNF_ENA3_Msk (0x1UL << RADIO_DACNF_ENA3_Pos) /*!< Bit mask of ENA3 field. */
  4433. #define RADIO_DACNF_ENA3_Disabled (0UL) /*!< Disabled. */
  4434. #define RADIO_DACNF_ENA3_Enabled (1UL) /*!< Enabled. */
  4435. /* Bit 2 : Enable or disable device address matching using device address 2. */
  4436. #define RADIO_DACNF_ENA2_Pos (2UL) /*!< Position of ENA2 field. */
  4437. #define RADIO_DACNF_ENA2_Msk (0x1UL << RADIO_DACNF_ENA2_Pos) /*!< Bit mask of ENA2 field. */
  4438. #define RADIO_DACNF_ENA2_Disabled (0UL) /*!< Disabled. */
  4439. #define RADIO_DACNF_ENA2_Enabled (1UL) /*!< Enabled. */
  4440. /* Bit 1 : Enable or disable device address matching using device address 1. */
  4441. #define RADIO_DACNF_ENA1_Pos (1UL) /*!< Position of ENA1 field. */
  4442. #define RADIO_DACNF_ENA1_Msk (0x1UL << RADIO_DACNF_ENA1_Pos) /*!< Bit mask of ENA1 field. */
  4443. #define RADIO_DACNF_ENA1_Disabled (0UL) /*!< Disabled. */
  4444. #define RADIO_DACNF_ENA1_Enabled (1UL) /*!< Enabled. */
  4445. /* Bit 0 : Enable or disable device address matching using device address 0. */
  4446. #define RADIO_DACNF_ENA0_Pos (0UL) /*!< Position of ENA0 field. */
  4447. #define RADIO_DACNF_ENA0_Msk (0x1UL << RADIO_DACNF_ENA0_Pos) /*!< Bit mask of ENA0 field. */
  4448. #define RADIO_DACNF_ENA0_Disabled (0UL) /*!< Disabled. */
  4449. #define RADIO_DACNF_ENA0_Enabled (1UL) /*!< Enabled. */
  4450. /* Register: RADIO_OVERRIDE0 */
  4451. /* Description: Trim value override register 0. */
  4452. /* Bits 31..0 : Trim value override 0. */
  4453. #define RADIO_OVERRIDE0_OVERRIDE0_Pos (0UL) /*!< Position of OVERRIDE0 field. */
  4454. #define RADIO_OVERRIDE0_OVERRIDE0_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE0_OVERRIDE0_Pos) /*!< Bit mask of OVERRIDE0 field. */
  4455. /* Register: RADIO_OVERRIDE1 */
  4456. /* Description: Trim value override register 1. */
  4457. /* Bits 31..0 : Trim value override 1. */
  4458. #define RADIO_OVERRIDE1_OVERRIDE1_Pos (0UL) /*!< Position of OVERRIDE1 field. */
  4459. #define RADIO_OVERRIDE1_OVERRIDE1_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE1_OVERRIDE1_Pos) /*!< Bit mask of OVERRIDE1 field. */
  4460. /* Register: RADIO_OVERRIDE2 */
  4461. /* Description: Trim value override register 2. */
  4462. /* Bits 31..0 : Trim value override 2. */
  4463. #define RADIO_OVERRIDE2_OVERRIDE2_Pos (0UL) /*!< Position of OVERRIDE2 field. */
  4464. #define RADIO_OVERRIDE2_OVERRIDE2_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE2_OVERRIDE2_Pos) /*!< Bit mask of OVERRIDE2 field. */
  4465. /* Register: RADIO_OVERRIDE3 */
  4466. /* Description: Trim value override register 3. */
  4467. /* Bits 31..0 : Trim value override 3. */
  4468. #define RADIO_OVERRIDE3_OVERRIDE3_Pos (0UL) /*!< Position of OVERRIDE3 field. */
  4469. #define RADIO_OVERRIDE3_OVERRIDE3_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE3_OVERRIDE3_Pos) /*!< Bit mask of OVERRIDE3 field. */
  4470. /* Register: RADIO_OVERRIDE4 */
  4471. /* Description: Trim value override register 4. */
  4472. /* Bit 31 : Enable or disable override of default trim values. */
  4473. #define RADIO_OVERRIDE4_ENABLE_Pos (31UL) /*!< Position of ENABLE field. */
  4474. #define RADIO_OVERRIDE4_ENABLE_Msk (0x1UL << RADIO_OVERRIDE4_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4475. #define RADIO_OVERRIDE4_ENABLE_Disabled (0UL) /*!< Override trim values disabled. */
  4476. #define RADIO_OVERRIDE4_ENABLE_Enabled (1UL) /*!< Override trim values enabled. */
  4477. /* Bits 27..0 : Trim value override 4. */
  4478. #define RADIO_OVERRIDE4_OVERRIDE4_Pos (0UL) /*!< Position of OVERRIDE4 field. */
  4479. #define RADIO_OVERRIDE4_OVERRIDE4_Msk (0xFFFFFFFUL << RADIO_OVERRIDE4_OVERRIDE4_Pos) /*!< Bit mask of OVERRIDE4 field. */
  4480. /* Register: RADIO_POWER */
  4481. /* Description: Peripheral power control. */
  4482. /* Bit 0 : Peripheral power control. */
  4483. #define RADIO_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4484. #define RADIO_POWER_POWER_Msk (0x1UL << RADIO_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4485. #define RADIO_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4486. #define RADIO_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4487. /* Peripheral: RNG */
  4488. /* Description: Random Number Generator. */
  4489. /* Register: RNG_SHORTS */
  4490. /* Description: Shortcuts for the RNG. */
  4491. /* Bit 0 : Shortcut between VALRDY event and STOP task. */
  4492. #define RNG_SHORTS_VALRDY_STOP_Pos (0UL) /*!< Position of VALRDY_STOP field. */
  4493. #define RNG_SHORTS_VALRDY_STOP_Msk (0x1UL << RNG_SHORTS_VALRDY_STOP_Pos) /*!< Bit mask of VALRDY_STOP field. */
  4494. #define RNG_SHORTS_VALRDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  4495. #define RNG_SHORTS_VALRDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  4496. /* Register: RNG_INTENSET */
  4497. /* Description: Interrupt enable set register */
  4498. /* Bit 0 : Enable interrupt on VALRDY event. */
  4499. #define RNG_INTENSET_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
  4500. #define RNG_INTENSET_VALRDY_Msk (0x1UL << RNG_INTENSET_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
  4501. #define RNG_INTENSET_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */
  4502. #define RNG_INTENSET_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */
  4503. #define RNG_INTENSET_VALRDY_Set (1UL) /*!< Enable interrupt on write. */
  4504. /* Register: RNG_INTENCLR */
  4505. /* Description: Interrupt enable clear register */
  4506. /* Bit 0 : Disable interrupt on VALRDY event. */
  4507. #define RNG_INTENCLR_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
  4508. #define RNG_INTENCLR_VALRDY_Msk (0x1UL << RNG_INTENCLR_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
  4509. #define RNG_INTENCLR_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */
  4510. #define RNG_INTENCLR_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */
  4511. #define RNG_INTENCLR_VALRDY_Clear (1UL) /*!< Disable interrupt on write. */
  4512. /* Register: RNG_CONFIG */
  4513. /* Description: Configuration register. */
  4514. /* Bit 0 : Digital error correction enable. */
  4515. #define RNG_CONFIG_DERCEN_Pos (0UL) /*!< Position of DERCEN field. */
  4516. #define RNG_CONFIG_DERCEN_Msk (0x1UL << RNG_CONFIG_DERCEN_Pos) /*!< Bit mask of DERCEN field. */
  4517. #define RNG_CONFIG_DERCEN_Disabled (0UL) /*!< Digital error correction disabled. */
  4518. #define RNG_CONFIG_DERCEN_Enabled (1UL) /*!< Digital error correction enabled. */
  4519. /* Register: RNG_VALUE */
  4520. /* Description: RNG random number. */
  4521. /* Bits 7..0 : Generated random number. */
  4522. #define RNG_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */
  4523. #define RNG_VALUE_VALUE_Msk (0xFFUL << RNG_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */
  4524. /* Register: RNG_POWER */
  4525. /* Description: Peripheral power control. */
  4526. /* Bit 0 : Peripheral power control. */
  4527. #define RNG_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4528. #define RNG_POWER_POWER_Msk (0x1UL << RNG_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4529. #define RNG_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4530. #define RNG_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4531. /* Peripheral: RTC */
  4532. /* Description: Real time counter 0. */
  4533. /* Register: RTC_INTENSET */
  4534. /* Description: Interrupt enable set register. */
  4535. /* Bit 19 : Enable interrupt on COMPARE[3] event. */
  4536. #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4537. #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4538. #define RTC_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  4539. #define RTC_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  4540. #define RTC_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */
  4541. /* Bit 18 : Enable interrupt on COMPARE[2] event. */
  4542. #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4543. #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4544. #define RTC_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  4545. #define RTC_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  4546. #define RTC_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */
  4547. /* Bit 17 : Enable interrupt on COMPARE[1] event. */
  4548. #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4549. #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4550. #define RTC_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  4551. #define RTC_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  4552. #define RTC_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */
  4553. /* Bit 16 : Enable interrupt on COMPARE[0] event. */
  4554. #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4555. #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4556. #define RTC_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  4557. #define RTC_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  4558. #define RTC_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */
  4559. /* Bit 1 : Enable interrupt on OVRFLW event. */
  4560. #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4561. #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4562. #define RTC_INTENSET_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */
  4563. #define RTC_INTENSET_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */
  4564. #define RTC_INTENSET_OVRFLW_Set (1UL) /*!< Enable interrupt on write. */
  4565. /* Bit 0 : Enable interrupt on TICK event. */
  4566. #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
  4567. #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
  4568. #define RTC_INTENSET_TICK_Disabled (0UL) /*!< Interrupt disabled. */
  4569. #define RTC_INTENSET_TICK_Enabled (1UL) /*!< Interrupt enabled. */
  4570. #define RTC_INTENSET_TICK_Set (1UL) /*!< Enable interrupt on write. */
  4571. /* Register: RTC_INTENCLR */
  4572. /* Description: Interrupt enable clear register. */
  4573. /* Bit 19 : Disable interrupt on COMPARE[3] event. */
  4574. #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4575. #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4576. #define RTC_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  4577. #define RTC_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  4578. #define RTC_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */
  4579. /* Bit 18 : Disable interrupt on COMPARE[2] event. */
  4580. #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4581. #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4582. #define RTC_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  4583. #define RTC_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  4584. #define RTC_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */
  4585. /* Bit 17 : Disable interrupt on COMPARE[1] event. */
  4586. #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4587. #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4588. #define RTC_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  4589. #define RTC_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  4590. #define RTC_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */
  4591. /* Bit 16 : Disable interrupt on COMPARE[0] event. */
  4592. #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4593. #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4594. #define RTC_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  4595. #define RTC_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  4596. #define RTC_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */
  4597. /* Bit 1 : Disable interrupt on OVRFLW event. */
  4598. #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4599. #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4600. #define RTC_INTENCLR_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */
  4601. #define RTC_INTENCLR_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */
  4602. #define RTC_INTENCLR_OVRFLW_Clear (1UL) /*!< Disable interrupt on write. */
  4603. /* Bit 0 : Disable interrupt on TICK event. */
  4604. #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
  4605. #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
  4606. #define RTC_INTENCLR_TICK_Disabled (0UL) /*!< Interrupt disabled. */
  4607. #define RTC_INTENCLR_TICK_Enabled (1UL) /*!< Interrupt enabled. */
  4608. #define RTC_INTENCLR_TICK_Clear (1UL) /*!< Disable interrupt on write. */
  4609. /* Register: RTC_EVTEN */
  4610. /* Description: Configures event enable routing to PPI for each RTC event. */
  4611. /* Bit 19 : COMPARE[3] event enable. */
  4612. #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4613. #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4614. #define RTC_EVTEN_COMPARE3_Disabled (0UL) /*!< Event disabled. */
  4615. #define RTC_EVTEN_COMPARE3_Enabled (1UL) /*!< Event enabled. */
  4616. /* Bit 18 : COMPARE[2] event enable. */
  4617. #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4618. #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4619. #define RTC_EVTEN_COMPARE2_Disabled (0UL) /*!< Event disabled. */
  4620. #define RTC_EVTEN_COMPARE2_Enabled (1UL) /*!< Event enabled. */
  4621. /* Bit 17 : COMPARE[1] event enable. */
  4622. #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4623. #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4624. #define RTC_EVTEN_COMPARE1_Disabled (0UL) /*!< Event disabled. */
  4625. #define RTC_EVTEN_COMPARE1_Enabled (1UL) /*!< Event enabled. */
  4626. /* Bit 16 : COMPARE[0] event enable. */
  4627. #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4628. #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4629. #define RTC_EVTEN_COMPARE0_Disabled (0UL) /*!< Event disabled. */
  4630. #define RTC_EVTEN_COMPARE0_Enabled (1UL) /*!< Event enabled. */
  4631. /* Bit 1 : OVRFLW event enable. */
  4632. #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4633. #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4634. #define RTC_EVTEN_OVRFLW_Disabled (0UL) /*!< Event disabled. */
  4635. #define RTC_EVTEN_OVRFLW_Enabled (1UL) /*!< Event enabled. */
  4636. /* Bit 0 : TICK event enable. */
  4637. #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */
  4638. #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */
  4639. #define RTC_EVTEN_TICK_Disabled (0UL) /*!< Event disabled. */
  4640. #define RTC_EVTEN_TICK_Enabled (1UL) /*!< Event enabled. */
  4641. /* Register: RTC_EVTENSET */
  4642. /* Description: Enable events routing to PPI. The reading of this register gives the value of EVTEN. */
  4643. /* Bit 19 : Enable routing to PPI of COMPARE[3] event. */
  4644. #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4645. #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4646. #define RTC_EVTENSET_COMPARE3_Disabled (0UL) /*!< Event disabled. */
  4647. #define RTC_EVTENSET_COMPARE3_Enabled (1UL) /*!< Event enabled. */
  4648. #define RTC_EVTENSET_COMPARE3_Set (1UL) /*!< Enable event on write. */
  4649. /* Bit 18 : Enable routing to PPI of COMPARE[2] event. */
  4650. #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4651. #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4652. #define RTC_EVTENSET_COMPARE2_Disabled (0UL) /*!< Event disabled. */
  4653. #define RTC_EVTENSET_COMPARE2_Enabled (1UL) /*!< Event enabled. */
  4654. #define RTC_EVTENSET_COMPARE2_Set (1UL) /*!< Enable event on write. */
  4655. /* Bit 17 : Enable routing to PPI of COMPARE[1] event. */
  4656. #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4657. #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4658. #define RTC_EVTENSET_COMPARE1_Disabled (0UL) /*!< Event disabled. */
  4659. #define RTC_EVTENSET_COMPARE1_Enabled (1UL) /*!< Event enabled. */
  4660. #define RTC_EVTENSET_COMPARE1_Set (1UL) /*!< Enable event on write. */
  4661. /* Bit 16 : Enable routing to PPI of COMPARE[0] event. */
  4662. #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4663. #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4664. #define RTC_EVTENSET_COMPARE0_Disabled (0UL) /*!< Event disabled. */
  4665. #define RTC_EVTENSET_COMPARE0_Enabled (1UL) /*!< Event enabled. */
  4666. #define RTC_EVTENSET_COMPARE0_Set (1UL) /*!< Enable event on write. */
  4667. /* Bit 1 : Enable routing to PPI of OVRFLW event. */
  4668. #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4669. #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4670. #define RTC_EVTENSET_OVRFLW_Disabled (0UL) /*!< Event disabled. */
  4671. #define RTC_EVTENSET_OVRFLW_Enabled (1UL) /*!< Event enabled. */
  4672. #define RTC_EVTENSET_OVRFLW_Set (1UL) /*!< Enable event on write. */
  4673. /* Bit 0 : Enable routing to PPI of TICK event. */
  4674. #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
  4675. #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
  4676. #define RTC_EVTENSET_TICK_Disabled (0UL) /*!< Event disabled. */
  4677. #define RTC_EVTENSET_TICK_Enabled (1UL) /*!< Event enabled. */
  4678. #define RTC_EVTENSET_TICK_Set (1UL) /*!< Enable event on write. */
  4679. /* Register: RTC_EVTENCLR */
  4680. /* Description: Disable events routing to PPI. The reading of this register gives the value of EVTEN. */
  4681. /* Bit 19 : Disable routing to PPI of COMPARE[3] event. */
  4682. #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  4683. #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  4684. #define RTC_EVTENCLR_COMPARE3_Disabled (0UL) /*!< Event disabled. */
  4685. #define RTC_EVTENCLR_COMPARE3_Enabled (1UL) /*!< Event enabled. */
  4686. #define RTC_EVTENCLR_COMPARE3_Clear (1UL) /*!< Disable event on write. */
  4687. /* Bit 18 : Disable routing to PPI of COMPARE[2] event. */
  4688. #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  4689. #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  4690. #define RTC_EVTENCLR_COMPARE2_Disabled (0UL) /*!< Event disabled. */
  4691. #define RTC_EVTENCLR_COMPARE2_Enabled (1UL) /*!< Event enabled. */
  4692. #define RTC_EVTENCLR_COMPARE2_Clear (1UL) /*!< Disable event on write. */
  4693. /* Bit 17 : Disable routing to PPI of COMPARE[1] event. */
  4694. #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  4695. #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  4696. #define RTC_EVTENCLR_COMPARE1_Disabled (0UL) /*!< Event disabled. */
  4697. #define RTC_EVTENCLR_COMPARE1_Enabled (1UL) /*!< Event enabled. */
  4698. #define RTC_EVTENCLR_COMPARE1_Clear (1UL) /*!< Disable event on write. */
  4699. /* Bit 16 : Disable routing to PPI of COMPARE[0] event. */
  4700. #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  4701. #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  4702. #define RTC_EVTENCLR_COMPARE0_Disabled (0UL) /*!< Event disabled. */
  4703. #define RTC_EVTENCLR_COMPARE0_Enabled (1UL) /*!< Event enabled. */
  4704. #define RTC_EVTENCLR_COMPARE0_Clear (1UL) /*!< Disable event on write. */
  4705. /* Bit 1 : Disable routing to PPI of OVRFLW event. */
  4706. #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
  4707. #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
  4708. #define RTC_EVTENCLR_OVRFLW_Disabled (0UL) /*!< Event disabled. */
  4709. #define RTC_EVTENCLR_OVRFLW_Enabled (1UL) /*!< Event enabled. */
  4710. #define RTC_EVTENCLR_OVRFLW_Clear (1UL) /*!< Disable event on write. */
  4711. /* Bit 0 : Disable routing to PPI of TICK event. */
  4712. #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
  4713. #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
  4714. #define RTC_EVTENCLR_TICK_Disabled (0UL) /*!< Event disabled. */
  4715. #define RTC_EVTENCLR_TICK_Enabled (1UL) /*!< Event enabled. */
  4716. #define RTC_EVTENCLR_TICK_Clear (1UL) /*!< Disable event on write. */
  4717. /* Register: RTC_COUNTER */
  4718. /* Description: Current COUNTER value. */
  4719. /* Bits 23..0 : Counter value. */
  4720. #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */
  4721. #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */
  4722. /* Register: RTC_PRESCALER */
  4723. /* Description: 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed. */
  4724. /* Bits 11..0 : RTC PRESCALER value. */
  4725. #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  4726. #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  4727. /* Register: RTC_CC */
  4728. /* Description: Capture/compare registers. */
  4729. /* Bits 23..0 : Compare value. */
  4730. #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */
  4731. #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */
  4732. /* Register: RTC_POWER */
  4733. /* Description: Peripheral power control. */
  4734. /* Bit 0 : Peripheral power control. */
  4735. #define RTC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4736. #define RTC_POWER_POWER_Msk (0x1UL << RTC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4737. #define RTC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4738. #define RTC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4739. /* Peripheral: SPI */
  4740. /* Description: SPI master 0. */
  4741. /* Register: SPI_INTENSET */
  4742. /* Description: Interrupt enable set register. */
  4743. /* Bit 2 : Enable interrupt on READY event. */
  4744. #define SPI_INTENSET_READY_Pos (2UL) /*!< Position of READY field. */
  4745. #define SPI_INTENSET_READY_Msk (0x1UL << SPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
  4746. #define SPI_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
  4747. #define SPI_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
  4748. #define SPI_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
  4749. /* Register: SPI_INTENCLR */
  4750. /* Description: Interrupt enable clear register. */
  4751. /* Bit 2 : Disable interrupt on READY event. */
  4752. #define SPI_INTENCLR_READY_Pos (2UL) /*!< Position of READY field. */
  4753. #define SPI_INTENCLR_READY_Msk (0x1UL << SPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
  4754. #define SPI_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
  4755. #define SPI_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
  4756. #define SPI_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
  4757. /* Register: SPI_ENABLE */
  4758. /* Description: Enable SPI. */
  4759. /* Bits 2..0 : Enable or disable SPI. */
  4760. #define SPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  4761. #define SPI_ENABLE_ENABLE_Msk (0x7UL << SPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4762. #define SPI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPI. */
  4763. #define SPI_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable SPI. */
  4764. /* Register: SPI_RXD */
  4765. /* Description: RX data. */
  4766. /* Bits 7..0 : RX data from last transfer. */
  4767. #define SPI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  4768. #define SPI_RXD_RXD_Msk (0xFFUL << SPI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  4769. /* Register: SPI_TXD */
  4770. /* Description: TX data. */
  4771. /* Bits 7..0 : TX data for next transfer. */
  4772. #define SPI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  4773. #define SPI_TXD_TXD_Msk (0xFFUL << SPI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  4774. /* Register: SPI_FREQUENCY */
  4775. /* Description: SPI frequency */
  4776. /* Bits 31..0 : SPI data rate. */
  4777. #define SPI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  4778. #define SPI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  4779. #define SPI_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125kbps. */
  4780. #define SPI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250kbps. */
  4781. #define SPI_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500kbps. */
  4782. #define SPI_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1Mbps. */
  4783. #define SPI_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2Mbps. */
  4784. #define SPI_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4Mbps. */
  4785. #define SPI_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8Mbps. */
  4786. /* Register: SPI_CONFIG */
  4787. /* Description: Configuration register. */
  4788. /* Bit 2 : Serial clock (SCK) polarity. */
  4789. #define SPI_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  4790. #define SPI_CONFIG_CPOL_Msk (0x1UL << SPI_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  4791. #define SPI_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
  4792. #define SPI_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
  4793. /* Bit 1 : Serial clock (SCK) phase. */
  4794. #define SPI_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  4795. #define SPI_CONFIG_CPHA_Msk (0x1UL << SPI_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  4796. #define SPI_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
  4797. #define SPI_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
  4798. /* Bit 0 : Bit order. */
  4799. #define SPI_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  4800. #define SPI_CONFIG_ORDER_Msk (0x1UL << SPI_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  4801. #define SPI_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
  4802. #define SPI_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
  4803. /* Register: SPI_POWER */
  4804. /* Description: Peripheral power control. */
  4805. /* Bit 0 : Peripheral power control. */
  4806. #define SPI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4807. #define SPI_POWER_POWER_Msk (0x1UL << SPI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4808. #define SPI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4809. #define SPI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4810. /* Peripheral: SPIM */
  4811. /* Description: SPI master with easyDMA 1. */
  4812. /* Register: SPIM_INTENSET */
  4813. /* Description: Interrupt enable set register. */
  4814. /* Bit 19 : Enable interrupt on STARTED event. */
  4815. #define SPIM_INTENSET_STARTED_Pos (19UL) /*!< Position of STARTED field. */
  4816. #define SPIM_INTENSET_STARTED_Msk (0x1UL << SPIM_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */
  4817. #define SPIM_INTENSET_STARTED_Disabled (0UL) /*!< Interrupt disabled. */
  4818. #define SPIM_INTENSET_STARTED_Enabled (1UL) /*!< Interrupt enabled. */
  4819. #define SPIM_INTENSET_STARTED_Set (1UL) /*!< Enable interrupt on write. */
  4820. /* Bit 8 : Enable interrupt on ENDTX event. */
  4821. #define SPIM_INTENSET_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  4822. #define SPIM_INTENSET_ENDTX_Msk (0x1UL << SPIM_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  4823. #define SPIM_INTENSET_ENDTX_Disabled (0UL) /*!< Interrupt disabled. */
  4824. #define SPIM_INTENSET_ENDTX_Enabled (1UL) /*!< Interrupt enabled. */
  4825. #define SPIM_INTENSET_ENDTX_Set (1UL) /*!< Enable interrupt on write. */
  4826. /* Bit 4 : Enable interrupt on ENDRX event. */
  4827. #define SPIM_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  4828. #define SPIM_INTENSET_ENDRX_Msk (0x1UL << SPIM_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  4829. #define SPIM_INTENSET_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */
  4830. #define SPIM_INTENSET_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */
  4831. #define SPIM_INTENSET_ENDRX_Set (1UL) /*!< Enable interrupt on write. */
  4832. /* Bit 1 : Enable interrupt on STOPPED event. */
  4833. #define SPIM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  4834. #define SPIM_INTENSET_STOPPED_Msk (0x1UL << SPIM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  4835. #define SPIM_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
  4836. #define SPIM_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
  4837. #define SPIM_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */
  4838. /* Register: SPIM_INTENCLR */
  4839. /* Description: Interrupt enable clear register. */
  4840. /* Bit 19 : Disable interrupt on STARTED event. */
  4841. #define SPIM_INTENCLR_STARTED_Pos (19UL) /*!< Position of STARTED field. */
  4842. #define SPIM_INTENCLR_STARTED_Msk (0x1UL << SPIM_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */
  4843. #define SPIM_INTENCLR_STARTED_Disabled (0UL) /*!< Interrupt disabled. */
  4844. #define SPIM_INTENCLR_STARTED_Enabled (1UL) /*!< Interrupt enabled. */
  4845. #define SPIM_INTENCLR_STARTED_Clear (1UL) /*!< Disable interrupt on write. */
  4846. /* Bit 8 : Disable interrupt on ENDTX event. */
  4847. #define SPIM_INTENCLR_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */
  4848. #define SPIM_INTENCLR_ENDTX_Msk (0x1UL << SPIM_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */
  4849. #define SPIM_INTENCLR_ENDTX_Disabled (0UL) /*!< Interrupt disabled. */
  4850. #define SPIM_INTENCLR_ENDTX_Enabled (1UL) /*!< Interrupt enabled. */
  4851. #define SPIM_INTENCLR_ENDTX_Clear (1UL) /*!< Disable interrupt on write. */
  4852. /* Bit 4 : Disable interrupt on ENDRX event. */
  4853. #define SPIM_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  4854. #define SPIM_INTENCLR_ENDRX_Msk (0x1UL << SPIM_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  4855. #define SPIM_INTENCLR_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */
  4856. #define SPIM_INTENCLR_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */
  4857. #define SPIM_INTENCLR_ENDRX_Clear (1UL) /*!< Disable interrupt on write. */
  4858. /* Bit 1 : Disable interrupt on STOPPED event. */
  4859. #define SPIM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  4860. #define SPIM_INTENCLR_STOPPED_Msk (0x1UL << SPIM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  4861. #define SPIM_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
  4862. #define SPIM_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
  4863. #define SPIM_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */
  4864. /* Register: SPIM_ENABLE */
  4865. /* Description: Enable SPIM. */
  4866. /* Bits 3..0 : Enable or disable SPIM. */
  4867. #define SPIM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  4868. #define SPIM_ENABLE_ENABLE_Msk (0xFUL << SPIM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  4869. #define SPIM_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIM. */
  4870. #define SPIM_ENABLE_ENABLE_Enabled (0x07UL) /*!< Enable SPIM. */
  4871. /* Register: SPIM_FREQUENCY */
  4872. /* Description: SPI frequency. */
  4873. /* Bits 31..0 : SPI master data rate. */
  4874. #define SPIM_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  4875. #define SPIM_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPIM_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  4876. #define SPIM_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125 kbps. */
  4877. #define SPIM_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */
  4878. #define SPIM_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500 kbps. */
  4879. #define SPIM_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1 Mbps. */
  4880. #define SPIM_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2 Mbps. */
  4881. #define SPIM_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4 Mbps. */
  4882. #define SPIM_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8 Mbps. */
  4883. /* Register: SPIM_RXD_PTR */
  4884. /* Description: Data pointer. */
  4885. /* Bits 31..0 : Data pointer. */
  4886. #define SPIM_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  4887. #define SPIM_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  4888. /* Register: SPIM_RXD_MAXCNT */
  4889. /* Description: Maximum number of buffer bytes to receive. */
  4890. /* Bits 7..0 : Maximum number of buffer bytes to receive. */
  4891. #define SPIM_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  4892. #define SPIM_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIM_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  4893. /* Register: SPIM_RXD_AMOUNT */
  4894. /* Description: Number of bytes received in the last transaction. */
  4895. /* Bits 7..0 : Number of bytes received in the last transaction. */
  4896. #define SPIM_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  4897. #define SPIM_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIM_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  4898. /* Register: SPIM_TXD_PTR */
  4899. /* Description: Data pointer. */
  4900. /* Bits 31..0 : Data pointer. */
  4901. #define SPIM_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */
  4902. #define SPIM_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */
  4903. /* Register: SPIM_TXD_MAXCNT */
  4904. /* Description: Maximum number of buffer bytes to send. */
  4905. /* Bits 7..0 : Maximum number of buffer bytes to send. */
  4906. #define SPIM_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */
  4907. #define SPIM_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIM_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */
  4908. /* Register: SPIM_TXD_AMOUNT */
  4909. /* Description: Number of bytes sent in the last transaction. */
  4910. /* Bits 7..0 : Number of bytes sent in the last transaction. */
  4911. #define SPIM_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */
  4912. #define SPIM_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIM_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */
  4913. /* Register: SPIM_CONFIG */
  4914. /* Description: Configuration register. */
  4915. /* Bit 2 : Serial clock (SCK) polarity. */
  4916. #define SPIM_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  4917. #define SPIM_CONFIG_CPOL_Msk (0x1UL << SPIM_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  4918. #define SPIM_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
  4919. #define SPIM_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
  4920. /* Bit 1 : Serial clock (SCK) phase. */
  4921. #define SPIM_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  4922. #define SPIM_CONFIG_CPHA_Msk (0x1UL << SPIM_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  4923. #define SPIM_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
  4924. #define SPIM_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
  4925. /* Bit 0 : Bit order. */
  4926. #define SPIM_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  4927. #define SPIM_CONFIG_ORDER_Msk (0x1UL << SPIM_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  4928. #define SPIM_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
  4929. #define SPIM_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
  4930. /* Register: SPIM_ORC */
  4931. /* Description: Over-read character. */
  4932. /* Bits 7..0 : Over-read character. */
  4933. #define SPIM_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
  4934. #define SPIM_ORC_ORC_Msk (0xFFUL << SPIM_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
  4935. /* Register: SPIM_POWER */
  4936. /* Description: Peripheral power control. */
  4937. /* Bit 0 : Peripheral power control. */
  4938. #define SPIM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  4939. #define SPIM_POWER_POWER_Msk (0x1UL << SPIM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  4940. #define SPIM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  4941. #define SPIM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  4942. /* Peripheral: SPIS */
  4943. /* Description: SPI slave 1. */
  4944. /* Register: SPIS_SHORTS */
  4945. /* Description: Shortcuts for SPIS. */
  4946. /* Bit 2 : Shortcut between END event and the ACQUIRE task. */
  4947. #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */
  4948. #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */
  4949. #define SPIS_SHORTS_END_ACQUIRE_Disabled (0UL) /*!< Shortcut disabled. */
  4950. #define SPIS_SHORTS_END_ACQUIRE_Enabled (1UL) /*!< Shortcut enabled. */
  4951. /* Register: SPIS_INTENSET */
  4952. /* Description: Interrupt enable set register. */
  4953. /* Bit 10 : Enable interrupt on ACQUIRED event. */
  4954. #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
  4955. #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
  4956. #define SPIS_INTENSET_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */
  4957. #define SPIS_INTENSET_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */
  4958. #define SPIS_INTENSET_ACQUIRED_Set (1UL) /*!< Enable interrupt on write. */
  4959. /* Bit 4 : enable interrupt on ENDRX event. */
  4960. #define SPIS_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  4961. #define SPIS_INTENSET_ENDRX_Msk (0x1UL << SPIS_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  4962. #define SPIS_INTENSET_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */
  4963. #define SPIS_INTENSET_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */
  4964. #define SPIS_INTENSET_ENDRX_Set (1UL) /*!< Enable interrupt on write. */
  4965. /* Bit 1 : Enable interrupt on END event. */
  4966. #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */
  4967. #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */
  4968. #define SPIS_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
  4969. #define SPIS_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
  4970. #define SPIS_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
  4971. /* Register: SPIS_INTENCLR */
  4972. /* Description: Interrupt enable clear register. */
  4973. /* Bit 10 : Disable interrupt on ACQUIRED event. */
  4974. #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
  4975. #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
  4976. #define SPIS_INTENCLR_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */
  4977. #define SPIS_INTENCLR_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */
  4978. #define SPIS_INTENCLR_ACQUIRED_Clear (1UL) /*!< Disable interrupt on write. */
  4979. /* Bit 4 : Disable interrupt on ENDRX event. */
  4980. #define SPIS_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */
  4981. #define SPIS_INTENCLR_ENDRX_Msk (0x1UL << SPIS_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */
  4982. #define SPIS_INTENCLR_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */
  4983. #define SPIS_INTENCLR_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */
  4984. #define SPIS_INTENCLR_ENDRX_Clear (1UL) /*!< Disable interrupt on write. */
  4985. /* Bit 1 : Disable interrupt on END event. */
  4986. #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */
  4987. #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */
  4988. #define SPIS_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
  4989. #define SPIS_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
  4990. #define SPIS_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
  4991. /* Register: SPIS_SEMSTAT */
  4992. /* Description: Semaphore status. */
  4993. /* Bits 1..0 : Semaphore status. */
  4994. #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */
  4995. #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */
  4996. #define SPIS_SEMSTAT_SEMSTAT_Free (0x00UL) /*!< Semaphore is free. */
  4997. #define SPIS_SEMSTAT_SEMSTAT_CPU (0x01UL) /*!< Semaphore is assigned to the CPU. */
  4998. #define SPIS_SEMSTAT_SEMSTAT_SPIS (0x02UL) /*!< Semaphore is assigned to the SPIS. */
  4999. #define SPIS_SEMSTAT_SEMSTAT_CPUPending (0x03UL) /*!< Semaphore is assigned to the SPIS, but a handover to the CPU is pending. */
  5000. /* Register: SPIS_STATUS */
  5001. /* Description: Status from last transaction. */
  5002. /* Bit 1 : RX buffer overflow detected, and prevented. */
  5003. #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */
  5004. #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */
  5005. #define SPIS_STATUS_OVERFLOW_NotPresent (0UL) /*!< Error not present. */
  5006. #define SPIS_STATUS_OVERFLOW_Present (1UL) /*!< Error present. */
  5007. #define SPIS_STATUS_OVERFLOW_Clear (1UL) /*!< Clear on write. */
  5008. /* Bit 0 : TX buffer overread detected, and prevented. */
  5009. #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */
  5010. #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */
  5011. #define SPIS_STATUS_OVERREAD_NotPresent (0UL) /*!< Error not present. */
  5012. #define SPIS_STATUS_OVERREAD_Present (1UL) /*!< Error present. */
  5013. #define SPIS_STATUS_OVERREAD_Clear (1UL) /*!< Clear on write. */
  5014. /* Register: SPIS_ENABLE */
  5015. /* Description: Enable SPIS. */
  5016. /* Bits 2..0 : Enable or disable SPIS. */
  5017. #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  5018. #define SPIS_ENABLE_ENABLE_Msk (0x7UL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  5019. #define SPIS_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIS. */
  5020. #define SPIS_ENABLE_ENABLE_Enabled (0x02UL) /*!< Enable SPIS. */
  5021. /* Register: SPIS_MAXRX */
  5022. /* Description: Maximum number of bytes in the receive buffer. */
  5023. /* Bits 7..0 : Maximum number of bytes in the receive buffer. */
  5024. #define SPIS_MAXRX_MAXRX_Pos (0UL) /*!< Position of MAXRX field. */
  5025. #define SPIS_MAXRX_MAXRX_Msk (0xFFUL << SPIS_MAXRX_MAXRX_Pos) /*!< Bit mask of MAXRX field. */
  5026. /* Register: SPIS_AMOUNTRX */
  5027. /* Description: Number of bytes received in last granted transaction. */
  5028. /* Bits 7..0 : Number of bytes received in last granted transaction. */
  5029. #define SPIS_AMOUNTRX_AMOUNTRX_Pos (0UL) /*!< Position of AMOUNTRX field. */
  5030. #define SPIS_AMOUNTRX_AMOUNTRX_Msk (0xFFUL << SPIS_AMOUNTRX_AMOUNTRX_Pos) /*!< Bit mask of AMOUNTRX field. */
  5031. /* Register: SPIS_MAXTX */
  5032. /* Description: Maximum number of bytes in the transmit buffer. */
  5033. /* Bits 7..0 : Maximum number of bytes in the transmit buffer. */
  5034. #define SPIS_MAXTX_MAXTX_Pos (0UL) /*!< Position of MAXTX field. */
  5035. #define SPIS_MAXTX_MAXTX_Msk (0xFFUL << SPIS_MAXTX_MAXTX_Pos) /*!< Bit mask of MAXTX field. */
  5036. /* Register: SPIS_AMOUNTTX */
  5037. /* Description: Number of bytes transmitted in last granted transaction. */
  5038. /* Bits 7..0 : Number of bytes transmitted in last granted transaction. */
  5039. #define SPIS_AMOUNTTX_AMOUNTTX_Pos (0UL) /*!< Position of AMOUNTTX field. */
  5040. #define SPIS_AMOUNTTX_AMOUNTTX_Msk (0xFFUL << SPIS_AMOUNTTX_AMOUNTTX_Pos) /*!< Bit mask of AMOUNTTX field. */
  5041. /* Register: SPIS_CONFIG */
  5042. /* Description: Configuration register. */
  5043. /* Bit 2 : Serial clock (SCK) polarity. */
  5044. #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
  5045. #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
  5046. #define SPIS_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
  5047. #define SPIS_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
  5048. /* Bit 1 : Serial clock (SCK) phase. */
  5049. #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
  5050. #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
  5051. #define SPIS_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
  5052. #define SPIS_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
  5053. /* Bit 0 : Bit order. */
  5054. #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
  5055. #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
  5056. #define SPIS_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
  5057. #define SPIS_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
  5058. /* Register: SPIS_DEF */
  5059. /* Description: Default character. */
  5060. /* Bits 7..0 : Default character. */
  5061. #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */
  5062. #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */
  5063. /* Register: SPIS_ORC */
  5064. /* Description: Over-read character. */
  5065. /* Bits 7..0 : Over-read character. */
  5066. #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
  5067. #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
  5068. /* Register: SPIS_POWER */
  5069. /* Description: Peripheral power control. */
  5070. /* Bit 0 : Peripheral power control. */
  5071. #define SPIS_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5072. #define SPIS_POWER_POWER_Msk (0x1UL << SPIS_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5073. #define SPIS_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5074. #define SPIS_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5075. /* Peripheral: TEMP */
  5076. /* Description: Temperature Sensor. */
  5077. /* Register: TEMP_INTENSET */
  5078. /* Description: Interrupt enable set register. */
  5079. /* Bit 0 : Enable interrupt on DATARDY event. */
  5080. #define TEMP_INTENSET_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
  5081. #define TEMP_INTENSET_DATARDY_Msk (0x1UL << TEMP_INTENSET_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
  5082. #define TEMP_INTENSET_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */
  5083. #define TEMP_INTENSET_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */
  5084. #define TEMP_INTENSET_DATARDY_Set (1UL) /*!< Enable interrupt on write. */
  5085. /* Register: TEMP_INTENCLR */
  5086. /* Description: Interrupt enable clear register. */
  5087. /* Bit 0 : Disable interrupt on DATARDY event. */
  5088. #define TEMP_INTENCLR_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
  5089. #define TEMP_INTENCLR_DATARDY_Msk (0x1UL << TEMP_INTENCLR_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
  5090. #define TEMP_INTENCLR_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */
  5091. #define TEMP_INTENCLR_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */
  5092. #define TEMP_INTENCLR_DATARDY_Clear (1UL) /*!< Disable interrupt on write. */
  5093. /* Register: TEMP_POWER */
  5094. /* Description: Peripheral power control. */
  5095. /* Bit 0 : Peripheral power control. */
  5096. #define TEMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5097. #define TEMP_POWER_POWER_Msk (0x1UL << TEMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5098. #define TEMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5099. #define TEMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5100. /* Peripheral: TIMER */
  5101. /* Description: Timer 0. */
  5102. /* Register: TIMER_SHORTS */
  5103. /* Description: Shortcuts for Timer. */
  5104. /* Bit 11 : Shortcut between CC[3] event and the STOP task. */
  5105. #define TIMER_SHORTS_COMPARE3_STOP_Pos (11UL) /*!< Position of COMPARE3_STOP field. */
  5106. #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */
  5107. #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  5108. #define TIMER_SHORTS_COMPARE3_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  5109. /* Bit 10 : Shortcut between CC[2] event and the STOP task. */
  5110. #define TIMER_SHORTS_COMPARE2_STOP_Pos (10UL) /*!< Position of COMPARE2_STOP field. */
  5111. #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */
  5112. #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  5113. #define TIMER_SHORTS_COMPARE2_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  5114. /* Bit 9 : Shortcut between CC[1] event and the STOP task. */
  5115. #define TIMER_SHORTS_COMPARE1_STOP_Pos (9UL) /*!< Position of COMPARE1_STOP field. */
  5116. #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */
  5117. #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  5118. #define TIMER_SHORTS_COMPARE1_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  5119. /* Bit 8 : Shortcut between CC[0] event and the STOP task. */
  5120. #define TIMER_SHORTS_COMPARE0_STOP_Pos (8UL) /*!< Position of COMPARE0_STOP field. */
  5121. #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */
  5122. #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  5123. #define TIMER_SHORTS_COMPARE0_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  5124. /* Bit 3 : Shortcut between CC[3] event and the CLEAR task. */
  5125. #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */
  5126. #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */
  5127. #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  5128. #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  5129. /* Bit 2 : Shortcut between CC[2] event and the CLEAR task. */
  5130. #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */
  5131. #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */
  5132. #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  5133. #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  5134. /* Bit 1 : Shortcut between CC[1] event and the CLEAR task. */
  5135. #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */
  5136. #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */
  5137. #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  5138. #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  5139. /* Bit 0 : Shortcut between CC[0] event and the CLEAR task. */
  5140. #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */
  5141. #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */
  5142. #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
  5143. #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
  5144. /* Register: TIMER_INTENSET */
  5145. /* Description: Interrupt enable set register. */
  5146. /* Bit 19 : Enable interrupt on COMPARE[3] */
  5147. #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  5148. #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  5149. #define TIMER_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  5150. #define TIMER_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  5151. #define TIMER_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */
  5152. /* Bit 18 : Enable interrupt on COMPARE[2] */
  5153. #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  5154. #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  5155. #define TIMER_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  5156. #define TIMER_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  5157. #define TIMER_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */
  5158. /* Bit 17 : Enable interrupt on COMPARE[1] */
  5159. #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  5160. #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  5161. #define TIMER_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  5162. #define TIMER_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  5163. #define TIMER_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */
  5164. /* Bit 16 : Enable interrupt on COMPARE[0] */
  5165. #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  5166. #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  5167. #define TIMER_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  5168. #define TIMER_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  5169. #define TIMER_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */
  5170. /* Register: TIMER_INTENCLR */
  5171. /* Description: Interrupt enable clear register. */
  5172. /* Bit 19 : Disable interrupt on COMPARE[3] */
  5173. #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
  5174. #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
  5175. #define TIMER_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
  5176. #define TIMER_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
  5177. #define TIMER_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */
  5178. /* Bit 18 : Disable interrupt on COMPARE[2] */
  5179. #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
  5180. #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
  5181. #define TIMER_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
  5182. #define TIMER_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
  5183. #define TIMER_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */
  5184. /* Bit 17 : Disable interrupt on COMPARE[1] */
  5185. #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
  5186. #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
  5187. #define TIMER_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
  5188. #define TIMER_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
  5189. #define TIMER_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */
  5190. /* Bit 16 : Disable interrupt on COMPARE[0] */
  5191. #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
  5192. #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
  5193. #define TIMER_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
  5194. #define TIMER_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
  5195. #define TIMER_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */
  5196. /* Register: TIMER_MODE */
  5197. /* Description: Timer Mode selection. */
  5198. /* Bit 0 : Select Normal or Counter mode. */
  5199. #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
  5200. #define TIMER_MODE_MODE_Msk (0x1UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
  5201. #define TIMER_MODE_MODE_Timer (0UL) /*!< Timer in Normal mode. */
  5202. #define TIMER_MODE_MODE_Counter (1UL) /*!< Timer in Counter mode. */
  5203. /* Register: TIMER_BITMODE */
  5204. /* Description: Sets timer behaviour. */
  5205. /* Bits 1..0 : Sets timer behaviour ro be like the implementation of a timer with width as indicated. */
  5206. #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */
  5207. #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */
  5208. #define TIMER_BITMODE_BITMODE_16Bit (0x00UL) /*!< 16-bit timer behaviour. */
  5209. #define TIMER_BITMODE_BITMODE_08Bit (0x01UL) /*!< 8-bit timer behaviour. */
  5210. #define TIMER_BITMODE_BITMODE_24Bit (0x02UL) /*!< 24-bit timer behaviour. */
  5211. #define TIMER_BITMODE_BITMODE_32Bit (0x03UL) /*!< 32-bit timer behaviour. */
  5212. /* Register: TIMER_PRESCALER */
  5213. /* Description: 4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE. */
  5214. /* Bits 3..0 : Timer PRESCALER value. Max value is 9. */
  5215. #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
  5216. #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
  5217. /* Register: TIMER_POWER */
  5218. /* Description: Peripheral power control. */
  5219. /* Bit 0 : Peripheral power control. */
  5220. #define TIMER_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5221. #define TIMER_POWER_POWER_Msk (0x1UL << TIMER_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5222. #define TIMER_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5223. #define TIMER_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5224. /* Peripheral: TWI */
  5225. /* Description: Two-wire interface master 0. */
  5226. /* Register: TWI_SHORTS */
  5227. /* Description: Shortcuts for TWI. */
  5228. /* Bit 1 : Shortcut between BB event and the STOP task. */
  5229. #define TWI_SHORTS_BB_STOP_Pos (1UL) /*!< Position of BB_STOP field. */
  5230. #define TWI_SHORTS_BB_STOP_Msk (0x1UL << TWI_SHORTS_BB_STOP_Pos) /*!< Bit mask of BB_STOP field. */
  5231. #define TWI_SHORTS_BB_STOP_Disabled (0UL) /*!< Shortcut disabled. */
  5232. #define TWI_SHORTS_BB_STOP_Enabled (1UL) /*!< Shortcut enabled. */
  5233. /* Bit 0 : Shortcut between BB event and the SUSPEND task. */
  5234. #define TWI_SHORTS_BB_SUSPEND_Pos (0UL) /*!< Position of BB_SUSPEND field. */
  5235. #define TWI_SHORTS_BB_SUSPEND_Msk (0x1UL << TWI_SHORTS_BB_SUSPEND_Pos) /*!< Bit mask of BB_SUSPEND field. */
  5236. #define TWI_SHORTS_BB_SUSPEND_Disabled (0UL) /*!< Shortcut disabled. */
  5237. #define TWI_SHORTS_BB_SUSPEND_Enabled (1UL) /*!< Shortcut enabled. */
  5238. /* Register: TWI_INTENSET */
  5239. /* Description: Interrupt enable set register. */
  5240. /* Bit 18 : Enable interrupt on SUSPENDED event. */
  5241. #define TWI_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  5242. #define TWI_INTENSET_SUSPENDED_Msk (0x1UL << TWI_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  5243. #define TWI_INTENSET_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */
  5244. #define TWI_INTENSET_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */
  5245. #define TWI_INTENSET_SUSPENDED_Set (1UL) /*!< Enable interrupt on write. */
  5246. /* Bit 14 : Enable interrupt on BB event. */
  5247. #define TWI_INTENSET_BB_Pos (14UL) /*!< Position of BB field. */
  5248. #define TWI_INTENSET_BB_Msk (0x1UL << TWI_INTENSET_BB_Pos) /*!< Bit mask of BB field. */
  5249. #define TWI_INTENSET_BB_Disabled (0UL) /*!< Interrupt disabled. */
  5250. #define TWI_INTENSET_BB_Enabled (1UL) /*!< Interrupt enabled. */
  5251. #define TWI_INTENSET_BB_Set (1UL) /*!< Enable interrupt on write. */
  5252. /* Bit 9 : Enable interrupt on ERROR event. */
  5253. #define TWI_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  5254. #define TWI_INTENSET_ERROR_Msk (0x1UL << TWI_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  5255. #define TWI_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  5256. #define TWI_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  5257. #define TWI_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
  5258. /* Bit 7 : Enable interrupt on TXDSENT event. */
  5259. #define TWI_INTENSET_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
  5260. #define TWI_INTENSET_TXDSENT_Msk (0x1UL << TWI_INTENSET_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
  5261. #define TWI_INTENSET_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */
  5262. #define TWI_INTENSET_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */
  5263. #define TWI_INTENSET_TXDSENT_Set (1UL) /*!< Enable interrupt on write. */
  5264. /* Bit 2 : Enable interrupt on READY event. */
  5265. #define TWI_INTENSET_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
  5266. #define TWI_INTENSET_RXDREADY_Msk (0x1UL << TWI_INTENSET_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
  5267. #define TWI_INTENSET_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */
  5268. #define TWI_INTENSET_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */
  5269. #define TWI_INTENSET_RXDREADY_Set (1UL) /*!< Enable interrupt on write. */
  5270. /* Bit 1 : Enable interrupt on STOPPED event. */
  5271. #define TWI_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  5272. #define TWI_INTENSET_STOPPED_Msk (0x1UL << TWI_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  5273. #define TWI_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
  5274. #define TWI_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
  5275. #define TWI_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */
  5276. /* Register: TWI_INTENCLR */
  5277. /* Description: Interrupt enable clear register. */
  5278. /* Bit 18 : Disable interrupt on SUSPENDED event. */
  5279. #define TWI_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */
  5280. #define TWI_INTENCLR_SUSPENDED_Msk (0x1UL << TWI_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */
  5281. #define TWI_INTENCLR_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */
  5282. #define TWI_INTENCLR_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */
  5283. #define TWI_INTENCLR_SUSPENDED_Clear (1UL) /*!< Disable interrupt on write. */
  5284. /* Bit 14 : Disable interrupt on BB event. */
  5285. #define TWI_INTENCLR_BB_Pos (14UL) /*!< Position of BB field. */
  5286. #define TWI_INTENCLR_BB_Msk (0x1UL << TWI_INTENCLR_BB_Pos) /*!< Bit mask of BB field. */
  5287. #define TWI_INTENCLR_BB_Disabled (0UL) /*!< Interrupt disabled. */
  5288. #define TWI_INTENCLR_BB_Enabled (1UL) /*!< Interrupt enabled. */
  5289. #define TWI_INTENCLR_BB_Clear (1UL) /*!< Disable interrupt on write. */
  5290. /* Bit 9 : Disable interrupt on ERROR event. */
  5291. #define TWI_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  5292. #define TWI_INTENCLR_ERROR_Msk (0x1UL << TWI_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  5293. #define TWI_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  5294. #define TWI_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  5295. #define TWI_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
  5296. /* Bit 7 : Disable interrupt on TXDSENT event. */
  5297. #define TWI_INTENCLR_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
  5298. #define TWI_INTENCLR_TXDSENT_Msk (0x1UL << TWI_INTENCLR_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
  5299. #define TWI_INTENCLR_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */
  5300. #define TWI_INTENCLR_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */
  5301. #define TWI_INTENCLR_TXDSENT_Clear (1UL) /*!< Disable interrupt on write. */
  5302. /* Bit 2 : Disable interrupt on RXDREADY event. */
  5303. #define TWI_INTENCLR_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
  5304. #define TWI_INTENCLR_RXDREADY_Msk (0x1UL << TWI_INTENCLR_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
  5305. #define TWI_INTENCLR_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */
  5306. #define TWI_INTENCLR_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */
  5307. #define TWI_INTENCLR_RXDREADY_Clear (1UL) /*!< Disable interrupt on write. */
  5308. /* Bit 1 : Disable interrupt on STOPPED event. */
  5309. #define TWI_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
  5310. #define TWI_INTENCLR_STOPPED_Msk (0x1UL << TWI_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
  5311. #define TWI_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
  5312. #define TWI_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
  5313. #define TWI_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */
  5314. /* Register: TWI_ERRORSRC */
  5315. /* Description: Two-wire error source. Write error field to 1 to clear error. */
  5316. /* Bit 2 : NACK received after sending a data byte. */
  5317. #define TWI_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */
  5318. #define TWI_ERRORSRC_DNACK_Msk (0x1UL << TWI_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */
  5319. #define TWI_ERRORSRC_DNACK_NotPresent (0UL) /*!< Error not present. */
  5320. #define TWI_ERRORSRC_DNACK_Present (1UL) /*!< Error present. */
  5321. #define TWI_ERRORSRC_DNACK_Clear (1UL) /*!< Clear error on write. */
  5322. /* Bit 1 : NACK received after sending the address. */
  5323. #define TWI_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */
  5324. #define TWI_ERRORSRC_ANACK_Msk (0x1UL << TWI_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */
  5325. #define TWI_ERRORSRC_ANACK_NotPresent (0UL) /*!< Error not present. */
  5326. #define TWI_ERRORSRC_ANACK_Present (1UL) /*!< Error present. */
  5327. #define TWI_ERRORSRC_ANACK_Clear (1UL) /*!< Clear error on write. */
  5328. /* Bit 0 : Byte received in RXD register before read of the last received byte (data loss). */
  5329. #define TWI_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  5330. #define TWI_ERRORSRC_OVERRUN_Msk (0x1UL << TWI_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  5331. #define TWI_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */
  5332. #define TWI_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */
  5333. #define TWI_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */
  5334. /* Register: TWI_ENABLE */
  5335. /* Description: Enable two-wire master. */
  5336. /* Bits 2..0 : Enable or disable W2M */
  5337. #define TWI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  5338. #define TWI_ENABLE_ENABLE_Msk (0x7UL << TWI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  5339. #define TWI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled. */
  5340. #define TWI_ENABLE_ENABLE_Enabled (0x05UL) /*!< Enabled. */
  5341. /* Register: TWI_RXD */
  5342. /* Description: RX data register. */
  5343. /* Bits 7..0 : RX data from last transfer. */
  5344. #define TWI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  5345. #define TWI_RXD_RXD_Msk (0xFFUL << TWI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  5346. /* Register: TWI_TXD */
  5347. /* Description: TX data register. */
  5348. /* Bits 7..0 : TX data for next transfer. */
  5349. #define TWI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  5350. #define TWI_TXD_TXD_Msk (0xFFUL << TWI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  5351. /* Register: TWI_FREQUENCY */
  5352. /* Description: Two-wire frequency. */
  5353. /* Bits 31..0 : Two-wire master clock frequency. */
  5354. #define TWI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
  5355. #define TWI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
  5356. #define TWI_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps. */
  5357. #define TWI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */
  5358. #define TWI_FREQUENCY_FREQUENCY_K400 (0x06680000UL) /*!< 400 kbps. */
  5359. /* Register: TWI_ADDRESS */
  5360. /* Description: Address used in the two-wire transfer. */
  5361. /* Bits 6..0 : Two-wire address. */
  5362. #define TWI_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */
  5363. #define TWI_ADDRESS_ADDRESS_Msk (0x7FUL << TWI_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
  5364. /* Register: TWI_POWER */
  5365. /* Description: Peripheral power control. */
  5366. /* Bit 0 : Peripheral power control. */
  5367. #define TWI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5368. #define TWI_POWER_POWER_Msk (0x1UL << TWI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5369. #define TWI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5370. #define TWI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5371. /* Peripheral: UART */
  5372. /* Description: Universal Asynchronous Receiver/Transmitter. */
  5373. /* Register: UART_SHORTS */
  5374. /* Description: Shortcuts for UART. */
  5375. /* Bit 4 : Shortcut between NCTS event and STOPRX task. */
  5376. #define UART_SHORTS_NCTS_STOPRX_Pos (4UL) /*!< Position of NCTS_STOPRX field. */
  5377. #define UART_SHORTS_NCTS_STOPRX_Msk (0x1UL << UART_SHORTS_NCTS_STOPRX_Pos) /*!< Bit mask of NCTS_STOPRX field. */
  5378. #define UART_SHORTS_NCTS_STOPRX_Disabled (0UL) /*!< Shortcut disabled. */
  5379. #define UART_SHORTS_NCTS_STOPRX_Enabled (1UL) /*!< Shortcut enabled. */
  5380. /* Bit 3 : Shortcut between CTS event and STARTRX task. */
  5381. #define UART_SHORTS_CTS_STARTRX_Pos (3UL) /*!< Position of CTS_STARTRX field. */
  5382. #define UART_SHORTS_CTS_STARTRX_Msk (0x1UL << UART_SHORTS_CTS_STARTRX_Pos) /*!< Bit mask of CTS_STARTRX field. */
  5383. #define UART_SHORTS_CTS_STARTRX_Disabled (0UL) /*!< Shortcut disabled. */
  5384. #define UART_SHORTS_CTS_STARTRX_Enabled (1UL) /*!< Shortcut enabled. */
  5385. /* Register: UART_INTENSET */
  5386. /* Description: Interrupt enable set register. */
  5387. /* Bit 17 : Enable interrupt on RXTO event. */
  5388. #define UART_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  5389. #define UART_INTENSET_RXTO_Msk (0x1UL << UART_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */
  5390. #define UART_INTENSET_RXTO_Disabled (0UL) /*!< Interrupt disabled. */
  5391. #define UART_INTENSET_RXTO_Enabled (1UL) /*!< Interrupt enabled. */
  5392. #define UART_INTENSET_RXTO_Set (1UL) /*!< Enable interrupt on write. */
  5393. /* Bit 9 : Enable interrupt on ERROR event. */
  5394. #define UART_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  5395. #define UART_INTENSET_ERROR_Msk (0x1UL << UART_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
  5396. #define UART_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  5397. #define UART_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  5398. #define UART_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
  5399. /* Bit 7 : Enable interrupt on TXRDY event. */
  5400. #define UART_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  5401. #define UART_INTENSET_TXDRDY_Msk (0x1UL << UART_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  5402. #define UART_INTENSET_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  5403. #define UART_INTENSET_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  5404. #define UART_INTENSET_TXDRDY_Set (1UL) /*!< Enable interrupt on write. */
  5405. /* Bit 2 : Enable interrupt on RXRDY event. */
  5406. #define UART_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  5407. #define UART_INTENSET_RXDRDY_Msk (0x1UL << UART_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  5408. #define UART_INTENSET_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  5409. #define UART_INTENSET_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  5410. #define UART_INTENSET_RXDRDY_Set (1UL) /*!< Enable interrupt on write. */
  5411. /* Bit 1 : Enable interrupt on NCTS event. */
  5412. #define UART_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  5413. #define UART_INTENSET_NCTS_Msk (0x1UL << UART_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */
  5414. #define UART_INTENSET_NCTS_Disabled (0UL) /*!< Interrupt disabled. */
  5415. #define UART_INTENSET_NCTS_Enabled (1UL) /*!< Interrupt enabled. */
  5416. #define UART_INTENSET_NCTS_Set (1UL) /*!< Enable interrupt on write. */
  5417. /* Bit 0 : Enable interrupt on CTS event. */
  5418. #define UART_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */
  5419. #define UART_INTENSET_CTS_Msk (0x1UL << UART_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */
  5420. #define UART_INTENSET_CTS_Disabled (0UL) /*!< Interrupt disabled. */
  5421. #define UART_INTENSET_CTS_Enabled (1UL) /*!< Interrupt enabled. */
  5422. #define UART_INTENSET_CTS_Set (1UL) /*!< Enable interrupt on write. */
  5423. /* Register: UART_INTENCLR */
  5424. /* Description: Interrupt enable clear register. */
  5425. /* Bit 17 : Disable interrupt on RXTO event. */
  5426. #define UART_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */
  5427. #define UART_INTENCLR_RXTO_Msk (0x1UL << UART_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */
  5428. #define UART_INTENCLR_RXTO_Disabled (0UL) /*!< Interrupt disabled. */
  5429. #define UART_INTENCLR_RXTO_Enabled (1UL) /*!< Interrupt enabled. */
  5430. #define UART_INTENCLR_RXTO_Clear (1UL) /*!< Disable interrupt on write. */
  5431. /* Bit 9 : Disable interrupt on ERROR event. */
  5432. #define UART_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
  5433. #define UART_INTENCLR_ERROR_Msk (0x1UL << UART_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
  5434. #define UART_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
  5435. #define UART_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
  5436. #define UART_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
  5437. /* Bit 7 : Disable interrupt on TXRDY event. */
  5438. #define UART_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
  5439. #define UART_INTENCLR_TXDRDY_Msk (0x1UL << UART_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
  5440. #define UART_INTENCLR_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  5441. #define UART_INTENCLR_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  5442. #define UART_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable interrupt on write. */
  5443. /* Bit 2 : Disable interrupt on RXRDY event. */
  5444. #define UART_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
  5445. #define UART_INTENCLR_RXDRDY_Msk (0x1UL << UART_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
  5446. #define UART_INTENCLR_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
  5447. #define UART_INTENCLR_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
  5448. #define UART_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable interrupt on write. */
  5449. /* Bit 1 : Disable interrupt on NCTS event. */
  5450. #define UART_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */
  5451. #define UART_INTENCLR_NCTS_Msk (0x1UL << UART_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */
  5452. #define UART_INTENCLR_NCTS_Disabled (0UL) /*!< Interrupt disabled. */
  5453. #define UART_INTENCLR_NCTS_Enabled (1UL) /*!< Interrupt enabled. */
  5454. #define UART_INTENCLR_NCTS_Clear (1UL) /*!< Disable interrupt on write. */
  5455. /* Bit 0 : Disable interrupt on CTS event. */
  5456. #define UART_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */
  5457. #define UART_INTENCLR_CTS_Msk (0x1UL << UART_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */
  5458. #define UART_INTENCLR_CTS_Disabled (0UL) /*!< Interrupt disabled. */
  5459. #define UART_INTENCLR_CTS_Enabled (1UL) /*!< Interrupt enabled. */
  5460. #define UART_INTENCLR_CTS_Clear (1UL) /*!< Disable interrupt on write. */
  5461. /* Register: UART_ERRORSRC */
  5462. /* Description: Error source. Write error field to 1 to clear error. */
  5463. /* Bit 3 : The serial data input is '0' for longer than the length of a data frame. */
  5464. #define UART_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */
  5465. #define UART_ERRORSRC_BREAK_Msk (0x1UL << UART_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */
  5466. #define UART_ERRORSRC_BREAK_NotPresent (0UL) /*!< Error not present. */
  5467. #define UART_ERRORSRC_BREAK_Present (1UL) /*!< Error present. */
  5468. #define UART_ERRORSRC_BREAK_Clear (1UL) /*!< Clear error on write. */
  5469. /* Bit 2 : A valid stop bit is not detected on the serial data input after all bits in a character have been received. */
  5470. #define UART_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */
  5471. #define UART_ERRORSRC_FRAMING_Msk (0x1UL << UART_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */
  5472. #define UART_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Error not present. */
  5473. #define UART_ERRORSRC_FRAMING_Present (1UL) /*!< Error present. */
  5474. #define UART_ERRORSRC_FRAMING_Clear (1UL) /*!< Clear error on write. */
  5475. /* Bit 1 : A character with bad parity is received. Only checked if HW parity control is enabled. */
  5476. #define UART_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  5477. #define UART_ERRORSRC_PARITY_Msk (0x1UL << UART_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */
  5478. #define UART_ERRORSRC_PARITY_NotPresent (0UL) /*!< Error not present. */
  5479. #define UART_ERRORSRC_PARITY_Present (1UL) /*!< Error present. */
  5480. #define UART_ERRORSRC_PARITY_Clear (1UL) /*!< Clear error on write. */
  5481. /* Bit 0 : A start bit is received while the previous data still lies in RXD. (Data loss). */
  5482. #define UART_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
  5483. #define UART_ERRORSRC_OVERRUN_Msk (0x1UL << UART_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
  5484. #define UART_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */
  5485. #define UART_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */
  5486. #define UART_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */
  5487. /* Register: UART_ENABLE */
  5488. /* Description: Enable UART and acquire IOs. */
  5489. /* Bits 2..0 : Enable or disable UART and acquire IOs. */
  5490. #define UART_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
  5491. #define UART_ENABLE_ENABLE_Msk (0x7UL << UART_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
  5492. #define UART_ENABLE_ENABLE_Disabled (0x00UL) /*!< UART disabled. */
  5493. #define UART_ENABLE_ENABLE_Enabled (0x04UL) /*!< UART enabled. */
  5494. /* Register: UART_RXD */
  5495. /* Description: RXD register. On read action the buffer pointer is displaced. Once read the character is consumed. If read when no character available, the UART will stop working. */
  5496. /* Bits 7..0 : RX data from previous transfer. Double buffered. */
  5497. #define UART_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
  5498. #define UART_RXD_RXD_Msk (0xFFUL << UART_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
  5499. /* Register: UART_TXD */
  5500. /* Description: TXD register. */
  5501. /* Bits 7..0 : TX data for transfer. */
  5502. #define UART_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
  5503. #define UART_TXD_TXD_Msk (0xFFUL << UART_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
  5504. /* Register: UART_BAUDRATE */
  5505. /* Description: UART Baudrate. */
  5506. /* Bits 31..0 : UART baudrate. */
  5507. #define UART_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */
  5508. #define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UART_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */
  5509. #define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud. */
  5510. #define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud. */
  5511. #define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud. */
  5512. #define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud. */
  5513. #define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /*!< 14400 baud. */
  5514. #define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud. */
  5515. #define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /*!< 28800 baud. */
  5516. #define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /*!< 38400 baud. */
  5517. #define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /*!< 57600 baud. */
  5518. #define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud. */
  5519. #define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /*!< 115200 baud. */
  5520. #define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /*!< 230400 baud. */
  5521. #define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud. */
  5522. #define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /*!< 460800 baud. */
  5523. #define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBED000UL) /*!< 921600 baud. */
  5524. #define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1M baud. */
  5525. /* Register: UART_CONFIG */
  5526. /* Description: Configuration of parity and hardware flow control register. */
  5527. /* Bits 3..1 : Include parity bit. */
  5528. #define UART_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */
  5529. #define UART_CONFIG_PARITY_Msk (0x7UL << UART_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
  5530. #define UART_CONFIG_PARITY_Excluded (0UL) /*!< Parity bit excluded. */
  5531. #define UART_CONFIG_PARITY_Included (7UL) /*!< Parity bit included. */
  5532. /* Bit 0 : Hardware flow control. */
  5533. #define UART_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */
  5534. #define UART_CONFIG_HWFC_Msk (0x1UL << UART_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */
  5535. #define UART_CONFIG_HWFC_Disabled (0UL) /*!< Hardware flow control disabled. */
  5536. #define UART_CONFIG_HWFC_Enabled (1UL) /*!< Hardware flow control enabled. */
  5537. /* Register: UART_POWER */
  5538. /* Description: Peripheral power control. */
  5539. /* Bit 0 : Peripheral power control. */
  5540. #define UART_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5541. #define UART_POWER_POWER_Msk (0x1UL << UART_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5542. #define UART_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5543. #define UART_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5544. /* Peripheral: UICR */
  5545. /* Description: User Information Configuration. */
  5546. /* Register: UICR_RBPCONF */
  5547. /* Description: Readback protection configuration. */
  5548. /* Bits 15..8 : Readback protect all code in the device. */
  5549. #define UICR_RBPCONF_PALL_Pos (8UL) /*!< Position of PALL field. */
  5550. #define UICR_RBPCONF_PALL_Msk (0xFFUL << UICR_RBPCONF_PALL_Pos) /*!< Bit mask of PALL field. */
  5551. #define UICR_RBPCONF_PALL_Enabled (0x00UL) /*!< Enabled. */
  5552. #define UICR_RBPCONF_PALL_Disabled (0xFFUL) /*!< Disabled. */
  5553. /* Bits 7..0 : Readback protect region 0. Will be ignored if pre-programmed factory code is present on the chip. */
  5554. #define UICR_RBPCONF_PR0_Pos (0UL) /*!< Position of PR0 field. */
  5555. #define UICR_RBPCONF_PR0_Msk (0xFFUL << UICR_RBPCONF_PR0_Pos) /*!< Bit mask of PR0 field. */
  5556. #define UICR_RBPCONF_PR0_Enabled (0x00UL) /*!< Enabled. */
  5557. #define UICR_RBPCONF_PR0_Disabled (0xFFUL) /*!< Disabled. */
  5558. /* Register: UICR_XTALFREQ */
  5559. /* Description: Reset value for CLOCK XTALFREQ register. */
  5560. /* Bits 7..0 : Reset value for CLOCK XTALFREQ register. */
  5561. #define UICR_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */
  5562. #define UICR_XTALFREQ_XTALFREQ_Msk (0xFFUL << UICR_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */
  5563. #define UICR_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz Xtal is used. */
  5564. #define UICR_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz Xtal is used. */
  5565. /* Register: UICR_FWID */
  5566. /* Description: Firmware ID. */
  5567. /* Bits 15..0 : Identification number for the firmware loaded into the chip. */
  5568. #define UICR_FWID_FWID_Pos (0UL) /*!< Position of FWID field. */
  5569. #define UICR_FWID_FWID_Msk (0xFFFFUL << UICR_FWID_FWID_Pos) /*!< Bit mask of FWID field. */
  5570. /* Peripheral: WDT */
  5571. /* Description: Watchdog Timer. */
  5572. /* Register: WDT_INTENSET */
  5573. /* Description: Interrupt enable set register. */
  5574. /* Bit 0 : Enable interrupt on TIMEOUT event. */
  5575. #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
  5576. #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
  5577. #define WDT_INTENSET_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */
  5578. #define WDT_INTENSET_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */
  5579. #define WDT_INTENSET_TIMEOUT_Set (1UL) /*!< Enable interrupt on write. */
  5580. /* Register: WDT_INTENCLR */
  5581. /* Description: Interrupt enable clear register. */
  5582. /* Bit 0 : Disable interrupt on TIMEOUT event. */
  5583. #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
  5584. #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
  5585. #define WDT_INTENCLR_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */
  5586. #define WDT_INTENCLR_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */
  5587. #define WDT_INTENCLR_TIMEOUT_Clear (1UL) /*!< Disable interrupt on write. */
  5588. /* Register: WDT_RUNSTATUS */
  5589. /* Description: Watchdog running status. */
  5590. /* Bit 0 : Watchdog running status. */
  5591. #define WDT_RUNSTATUS_RUNSTATUS_Pos (0UL) /*!< Position of RUNSTATUS field. */
  5592. #define WDT_RUNSTATUS_RUNSTATUS_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUS_Pos) /*!< Bit mask of RUNSTATUS field. */
  5593. #define WDT_RUNSTATUS_RUNSTATUS_NotRunning (0UL) /*!< Watchdog timer is not running. */
  5594. #define WDT_RUNSTATUS_RUNSTATUS_Running (1UL) /*!< Watchdog timer is running. */
  5595. /* Register: WDT_REQSTATUS */
  5596. /* Description: Request status. */
  5597. /* Bit 7 : Request status for RR[7]. */
  5598. #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */
  5599. #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */
  5600. #define WDT_REQSTATUS_RR7_DisabledOrRequested (0UL) /*!< RR[7] register is not enabled or has already requested reload. */
  5601. #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (1UL) /*!< RR[7] register is enabled and has not jet requested. */
  5602. /* Bit 6 : Request status for RR[6]. */
  5603. #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */
  5604. #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */
  5605. #define WDT_REQSTATUS_RR6_DisabledOrRequested (0UL) /*!< RR[6] register is not enabled or has already requested reload. */
  5606. #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (1UL) /*!< RR[6] register is enabled and has not jet requested. */
  5607. /* Bit 5 : Request status for RR[5]. */
  5608. #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */
  5609. #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */
  5610. #define WDT_REQSTATUS_RR5_DisabledOrRequested (0UL) /*!< RR[5] register is not enabled or has already requested reload. */
  5611. #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (1UL) /*!< RR[5] register is enabled and has not jet requested. */
  5612. /* Bit 4 : Request status for RR[4]. */
  5613. #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */
  5614. #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */
  5615. #define WDT_REQSTATUS_RR4_DisabledOrRequested (0UL) /*!< RR[4] register is not enabled or has already requested reload. */
  5616. #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (1UL) /*!< RR[4] register is enabled and has not jet requested. */
  5617. /* Bit 3 : Request status for RR[3]. */
  5618. #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */
  5619. #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */
  5620. #define WDT_REQSTATUS_RR3_DisabledOrRequested (0UL) /*!< RR[3] register is not enabled or has already requested reload. */
  5621. #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (1UL) /*!< RR[3] register is enabled and has not jet requested. */
  5622. /* Bit 2 : Request status for RR[2]. */
  5623. #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */
  5624. #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */
  5625. #define WDT_REQSTATUS_RR2_DisabledOrRequested (0UL) /*!< RR[2] register is not enabled or has already requested reload. */
  5626. #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (1UL) /*!< RR[2] register is enabled and has not jet requested. */
  5627. /* Bit 1 : Request status for RR[1]. */
  5628. #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */
  5629. #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */
  5630. #define WDT_REQSTATUS_RR1_DisabledOrRequested (0UL) /*!< RR[1] register is not enabled or has already requested reload. */
  5631. #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (1UL) /*!< RR[1] register is enabled and has not jet requested. */
  5632. /* Bit 0 : Request status for RR[0]. */
  5633. #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */
  5634. #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */
  5635. #define WDT_REQSTATUS_RR0_DisabledOrRequested (0UL) /*!< RR[0] register is not enabled or has already requested reload. */
  5636. #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (1UL) /*!< RR[0] register is enabled and has not jet requested. */
  5637. /* Register: WDT_RREN */
  5638. /* Description: Reload request enable. */
  5639. /* Bit 7 : Enable or disable RR[7] register. */
  5640. #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */
  5641. #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */
  5642. #define WDT_RREN_RR7_Disabled (0UL) /*!< RR[7] register is disabled. */
  5643. #define WDT_RREN_RR7_Enabled (1UL) /*!< RR[7] register is enabled. */
  5644. /* Bit 6 : Enable or disable RR[6] register. */
  5645. #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */
  5646. #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */
  5647. #define WDT_RREN_RR6_Disabled (0UL) /*!< RR[6] register is disabled. */
  5648. #define WDT_RREN_RR6_Enabled (1UL) /*!< RR[6] register is enabled. */
  5649. /* Bit 5 : Enable or disable RR[5] register. */
  5650. #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */
  5651. #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */
  5652. #define WDT_RREN_RR5_Disabled (0UL) /*!< RR[5] register is disabled. */
  5653. #define WDT_RREN_RR5_Enabled (1UL) /*!< RR[5] register is enabled. */
  5654. /* Bit 4 : Enable or disable RR[4] register. */
  5655. #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */
  5656. #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */
  5657. #define WDT_RREN_RR4_Disabled (0UL) /*!< RR[4] register is disabled. */
  5658. #define WDT_RREN_RR4_Enabled (1UL) /*!< RR[4] register is enabled. */
  5659. /* Bit 3 : Enable or disable RR[3] register. */
  5660. #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */
  5661. #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */
  5662. #define WDT_RREN_RR3_Disabled (0UL) /*!< RR[3] register is disabled. */
  5663. #define WDT_RREN_RR3_Enabled (1UL) /*!< RR[3] register is enabled. */
  5664. /* Bit 2 : Enable or disable RR[2] register. */
  5665. #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */
  5666. #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */
  5667. #define WDT_RREN_RR2_Disabled (0UL) /*!< RR[2] register is disabled. */
  5668. #define WDT_RREN_RR2_Enabled (1UL) /*!< RR[2] register is enabled. */
  5669. /* Bit 1 : Enable or disable RR[1] register. */
  5670. #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */
  5671. #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */
  5672. #define WDT_RREN_RR1_Disabled (0UL) /*!< RR[1] register is disabled. */
  5673. #define WDT_RREN_RR1_Enabled (1UL) /*!< RR[1] register is enabled. */
  5674. /* Bit 0 : Enable or disable RR[0] register. */
  5675. #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */
  5676. #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */
  5677. #define WDT_RREN_RR0_Disabled (0UL) /*!< RR[0] register is disabled. */
  5678. #define WDT_RREN_RR0_Enabled (1UL) /*!< RR[0] register is enabled. */
  5679. /* Register: WDT_CONFIG */
  5680. /* Description: Configuration register. */
  5681. /* Bit 3 : Configure the watchdog to pause or not while the CPU is halted by the debugger. */
  5682. #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */
  5683. #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */
  5684. #define WDT_CONFIG_HALT_Pause (0UL) /*!< Pause watchdog while the CPU is halted by the debugger. */
  5685. #define WDT_CONFIG_HALT_Run (1UL) /*!< Do not pause watchdog while the CPU is halted by the debugger. */
  5686. /* Bit 0 : Configure the watchdog to pause or not while the CPU is sleeping. */
  5687. #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */
  5688. #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */
  5689. #define WDT_CONFIG_SLEEP_Pause (0UL) /*!< Pause watchdog while the CPU is asleep. */
  5690. #define WDT_CONFIG_SLEEP_Run (1UL) /*!< Do not pause watchdog while the CPU is asleep. */
  5691. /* Register: WDT_RR */
  5692. /* Description: Reload requests registers. */
  5693. /* Bits 31..0 : Reload register. */
  5694. #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */
  5695. #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */
  5696. #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer. */
  5697. /* Register: WDT_POWER */
  5698. /* Description: Peripheral power control. */
  5699. /* Bit 0 : Peripheral power control. */
  5700. #define WDT_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
  5701. #define WDT_POWER_POWER_Msk (0x1UL << WDT_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
  5702. #define WDT_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
  5703. #define WDT_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
  5704. /*lint --flb "Leave library region" */
  5705. #endif