pin_map.h 635 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493
  1. //*****************************************************************************
  2. //
  3. // pin_map.h - Mapping of peripherals to pins for all parts.
  4. //
  5. // Copyright (c) 2007-2014 Texas Instruments Incorporated. All rights reserved.
  6. // Software License Agreement
  7. //
  8. // Redistribution and use in source and binary forms, with or without
  9. // modification, are permitted provided that the following conditions
  10. // are met:
  11. //
  12. // Redistributions of source code must retain the above copyright
  13. // notice, this list of conditions and the following disclaimer.
  14. //
  15. // Redistributions in binary form must reproduce the above copyright
  16. // notice, this list of conditions and the following disclaimer in the
  17. // documentation and/or other materials provided with the
  18. // distribution.
  19. //
  20. // Neither the name of Texas Instruments Incorporated nor the names of
  21. // its contributors may be used to endorse or promote products derived
  22. // from this software without specific prior written permission.
  23. //
  24. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  25. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  26. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  27. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  28. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  29. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  30. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  31. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  32. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  33. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  34. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  35. //
  36. // This is part of revision 2.1.0.12573 of the Tiva Peripheral Driver Library.
  37. //
  38. //*****************************************************************************
  39. #ifndef __DRIVERLIB_PIN_MAP_H__
  40. #define __DRIVERLIB_PIN_MAP_H__
  41. //*****************************************************************************
  42. //
  43. // TM4C1230C3PM Port/Pin Mapping Definitions
  44. //
  45. //*****************************************************************************
  46. #ifdef PART_TM4C1230C3PM
  47. #define GPIO_PA0_U0RX 0x00000001
  48. #define GPIO_PA1_U0TX 0x00000401
  49. #define GPIO_PA2_SSI0CLK 0x00000802
  50. #define GPIO_PA3_SSI0FSS 0x00000C02
  51. #define GPIO_PA4_SSI0RX 0x00001002
  52. #define GPIO_PA5_SSI0TX 0x00001402
  53. #define GPIO_PA6_I2C1SCL 0x00001803
  54. #define GPIO_PA7_I2C1SDA 0x00001C03
  55. #define GPIO_PB0_U1RX 0x00010001
  56. #define GPIO_PB0_T2CCP0 0x00010007
  57. #define GPIO_PB1_U1TX 0x00010401
  58. #define GPIO_PB1_T2CCP1 0x00010407
  59. #define GPIO_PB2_I2C0SCL 0x00010803
  60. #define GPIO_PB2_T3CCP0 0x00010807
  61. #define GPIO_PB3_I2C0SDA 0x00010C03
  62. #define GPIO_PB3_T3CCP1 0x00010C07
  63. #define GPIO_PB4_SSI2CLK 0x00011002
  64. #define GPIO_PB4_T1CCP0 0x00011007
  65. #define GPIO_PB4_CAN0RX 0x00011008
  66. #define GPIO_PB5_SSI2FSS 0x00011402
  67. #define GPIO_PB5_T1CCP1 0x00011407
  68. #define GPIO_PB5_CAN0TX 0x00011408
  69. #define GPIO_PB6_SSI2RX 0x00011802
  70. #define GPIO_PB6_I2C5SCL 0x00011803
  71. #define GPIO_PB6_T0CCP0 0x00011807
  72. #define GPIO_PB7_SSI2TX 0x00011C02
  73. #define GPIO_PB7_I2C5SDA 0x00011C03
  74. #define GPIO_PB7_T0CCP1 0x00011C07
  75. #define GPIO_PC0_TCK 0x00020001
  76. #define GPIO_PC0_SWCLK 0x00020001
  77. #define GPIO_PC0_T4CCP0 0x00020007
  78. #define GPIO_PC1_TMS 0x00020401
  79. #define GPIO_PC1_SWDIO 0x00020401
  80. #define GPIO_PC1_T4CCP1 0x00020407
  81. #define GPIO_PC2_TDI 0x00020801
  82. #define GPIO_PC2_T5CCP0 0x00020807
  83. #define GPIO_PC3_SWO 0x00020C01
  84. #define GPIO_PC3_TDO 0x00020C01
  85. #define GPIO_PC3_T5CCP1 0x00020C07
  86. #define GPIO_PC4_U4RX 0x00021001
  87. #define GPIO_PC4_U1RX 0x00021002
  88. #define GPIO_PC4_WT0CCP0 0x00021007
  89. #define GPIO_PC4_U1RTS 0x00021008
  90. #define GPIO_PC5_U4TX 0x00021401
  91. #define GPIO_PC5_U1TX 0x00021402
  92. #define GPIO_PC5_WT0CCP1 0x00021407
  93. #define GPIO_PC5_U1CTS 0x00021408
  94. #define GPIO_PC6_U3RX 0x00021801
  95. #define GPIO_PC6_WT1CCP0 0x00021807
  96. #define GPIO_PC7_U3TX 0x00021C01
  97. #define GPIO_PC7_WT1CCP1 0x00021C07
  98. #define GPIO_PD0_SSI3CLK 0x00030001
  99. #define GPIO_PD0_SSI1CLK 0x00030002
  100. #define GPIO_PD0_I2C3SCL 0x00030003
  101. #define GPIO_PD0_WT2CCP0 0x00030007
  102. #define GPIO_PD1_SSI3FSS 0x00030401
  103. #define GPIO_PD1_SSI1FSS 0x00030402
  104. #define GPIO_PD1_I2C3SDA 0x00030403
  105. #define GPIO_PD1_WT2CCP1 0x00030407
  106. #define GPIO_PD2_SSI3RX 0x00030801
  107. #define GPIO_PD2_SSI1RX 0x00030802
  108. #define GPIO_PD2_WT3CCP0 0x00030807
  109. #define GPIO_PD3_SSI3TX 0x00030C01
  110. #define GPIO_PD3_SSI1TX 0x00030C02
  111. #define GPIO_PD3_WT3CCP1 0x00030C07
  112. #define GPIO_PD4_U6RX 0x00031001
  113. #define GPIO_PD4_WT4CCP0 0x00031007
  114. #define GPIO_PD5_U6TX 0x00031401
  115. #define GPIO_PD5_WT4CCP1 0x00031407
  116. #define GPIO_PD6_U2RX 0x00031801
  117. #define GPIO_PD6_WT5CCP0 0x00031807
  118. #define GPIO_PD7_U2TX 0x00031C01
  119. #define GPIO_PD7_WT5CCP1 0x00031C07
  120. #define GPIO_PD7_NMI 0x00031C08
  121. #define GPIO_PE0_U7RX 0x00040001
  122. #define GPIO_PE1_U7TX 0x00040401
  123. #define GPIO_PE4_U5RX 0x00041001
  124. #define GPIO_PE4_I2C2SCL 0x00041003
  125. #define GPIO_PE4_CAN0RX 0x00041008
  126. #define GPIO_PE5_U5TX 0x00041401
  127. #define GPIO_PE5_I2C2SDA 0x00041403
  128. #define GPIO_PE5_CAN0TX 0x00041408
  129. #define GPIO_PF0_U1RTS 0x00050001
  130. #define GPIO_PF0_SSI1RX 0x00050002
  131. #define GPIO_PF0_CAN0RX 0x00050003
  132. #define GPIO_PF0_T0CCP0 0x00050007
  133. #define GPIO_PF0_NMI 0x00050008
  134. #define GPIO_PF0_C0O 0x00050009
  135. #define GPIO_PF1_U1CTS 0x00050401
  136. #define GPIO_PF1_SSI1TX 0x00050402
  137. #define GPIO_PF1_T0CCP1 0x00050407
  138. #define GPIO_PF1_C1O 0x00050409
  139. #define GPIO_PF1_TRD1 0x0005040E
  140. #define GPIO_PF2_SSI1CLK 0x00050802
  141. #define GPIO_PF2_T1CCP0 0x00050807
  142. #define GPIO_PF2_TRD0 0x0005080E
  143. #define GPIO_PF3_SSI1FSS 0x00050C02
  144. #define GPIO_PF3_CAN0TX 0x00050C03
  145. #define GPIO_PF3_T1CCP1 0x00050C07
  146. #define GPIO_PF3_TRCLK 0x00050C0E
  147. #define GPIO_PF4_T2CCP0 0x00051007
  148. #define GPIO_PG0_I2C3SCL 0x00060003
  149. #define GPIO_PG0_T4CCP0 0x00060007
  150. #define GPIO_PG1_I2C3SDA 0x00060403
  151. #define GPIO_PG1_T4CCP1 0x00060407
  152. #define GPIO_PG2_I2C4SCL 0x00060803
  153. #define GPIO_PG2_T5CCP0 0x00060807
  154. #define GPIO_PG3_I2C4SDA 0x00060C03
  155. #define GPIO_PG3_T5CCP1 0x00060C07
  156. #define GPIO_PG4_U2RX 0x00061001
  157. #define GPIO_PG4_I2C1SCL 0x00061003
  158. #define GPIO_PG4_WT0CCP0 0x00061007
  159. #define GPIO_PG5_U2TX 0x00061401
  160. #define GPIO_PG5_I2C1SDA 0x00061403
  161. #define GPIO_PG5_WT0CCP1 0x00061407
  162. #endif // PART_TM4C1230C3PM
  163. //*****************************************************************************
  164. //
  165. // TM4C1230D5PM Port/Pin Mapping Definitions
  166. //
  167. //*****************************************************************************
  168. #ifdef PART_TM4C1230D5PM
  169. #define GPIO_PA0_U0RX 0x00000001
  170. #define GPIO_PA1_U0TX 0x00000401
  171. #define GPIO_PA2_SSI0CLK 0x00000802
  172. #define GPIO_PA3_SSI0FSS 0x00000C02
  173. #define GPIO_PA4_SSI0RX 0x00001002
  174. #define GPIO_PA5_SSI0TX 0x00001402
  175. #define GPIO_PA6_I2C1SCL 0x00001803
  176. #define GPIO_PA7_I2C1SDA 0x00001C03
  177. #define GPIO_PB0_U1RX 0x00010001
  178. #define GPIO_PB0_T2CCP0 0x00010007
  179. #define GPIO_PB1_U1TX 0x00010401
  180. #define GPIO_PB1_T2CCP1 0x00010407
  181. #define GPIO_PB2_I2C0SCL 0x00010803
  182. #define GPIO_PB2_T3CCP0 0x00010807
  183. #define GPIO_PB3_I2C0SDA 0x00010C03
  184. #define GPIO_PB3_T3CCP1 0x00010C07
  185. #define GPIO_PB4_SSI2CLK 0x00011002
  186. #define GPIO_PB4_T1CCP0 0x00011007
  187. #define GPIO_PB4_CAN0RX 0x00011008
  188. #define GPIO_PB5_SSI2FSS 0x00011402
  189. #define GPIO_PB5_T1CCP1 0x00011407
  190. #define GPIO_PB5_CAN0TX 0x00011408
  191. #define GPIO_PB6_SSI2RX 0x00011802
  192. #define GPIO_PB6_I2C5SCL 0x00011803
  193. #define GPIO_PB6_T0CCP0 0x00011807
  194. #define GPIO_PB7_SSI2TX 0x00011C02
  195. #define GPIO_PB7_I2C5SDA 0x00011C03
  196. #define GPIO_PB7_T0CCP1 0x00011C07
  197. #define GPIO_PC0_TCK 0x00020001
  198. #define GPIO_PC0_SWCLK 0x00020001
  199. #define GPIO_PC0_T4CCP0 0x00020007
  200. #define GPIO_PC1_TMS 0x00020401
  201. #define GPIO_PC1_SWDIO 0x00020401
  202. #define GPIO_PC1_T4CCP1 0x00020407
  203. #define GPIO_PC2_TDI 0x00020801
  204. #define GPIO_PC2_T5CCP0 0x00020807
  205. #define GPIO_PC3_SWO 0x00020C01
  206. #define GPIO_PC3_TDO 0x00020C01
  207. #define GPIO_PC3_T5CCP1 0x00020C07
  208. #define GPIO_PC4_U4RX 0x00021001
  209. #define GPIO_PC4_U1RX 0x00021002
  210. #define GPIO_PC4_WT0CCP0 0x00021007
  211. #define GPIO_PC4_U1RTS 0x00021008
  212. #define GPIO_PC5_U4TX 0x00021401
  213. #define GPIO_PC5_U1TX 0x00021402
  214. #define GPIO_PC5_WT0CCP1 0x00021407
  215. #define GPIO_PC5_U1CTS 0x00021408
  216. #define GPIO_PC6_U3RX 0x00021801
  217. #define GPIO_PC6_WT1CCP0 0x00021807
  218. #define GPIO_PC7_U3TX 0x00021C01
  219. #define GPIO_PC7_WT1CCP1 0x00021C07
  220. #define GPIO_PD0_SSI3CLK 0x00030001
  221. #define GPIO_PD0_SSI1CLK 0x00030002
  222. #define GPIO_PD0_I2C3SCL 0x00030003
  223. #define GPIO_PD0_WT2CCP0 0x00030007
  224. #define GPIO_PD1_SSI3FSS 0x00030401
  225. #define GPIO_PD1_SSI1FSS 0x00030402
  226. #define GPIO_PD1_I2C3SDA 0x00030403
  227. #define GPIO_PD1_WT2CCP1 0x00030407
  228. #define GPIO_PD2_SSI3RX 0x00030801
  229. #define GPIO_PD2_SSI1RX 0x00030802
  230. #define GPIO_PD2_WT3CCP0 0x00030807
  231. #define GPIO_PD3_SSI3TX 0x00030C01
  232. #define GPIO_PD3_SSI1TX 0x00030C02
  233. #define GPIO_PD3_WT3CCP1 0x00030C07
  234. #define GPIO_PD4_U6RX 0x00031001
  235. #define GPIO_PD4_WT4CCP0 0x00031007
  236. #define GPIO_PD5_U6TX 0x00031401
  237. #define GPIO_PD5_WT4CCP1 0x00031407
  238. #define GPIO_PD6_U2RX 0x00031801
  239. #define GPIO_PD6_WT5CCP0 0x00031807
  240. #define GPIO_PD7_U2TX 0x00031C01
  241. #define GPIO_PD7_WT5CCP1 0x00031C07
  242. #define GPIO_PD7_NMI 0x00031C08
  243. #define GPIO_PE0_U7RX 0x00040001
  244. #define GPIO_PE1_U7TX 0x00040401
  245. #define GPIO_PE4_U5RX 0x00041001
  246. #define GPIO_PE4_I2C2SCL 0x00041003
  247. #define GPIO_PE4_CAN0RX 0x00041008
  248. #define GPIO_PE5_U5TX 0x00041401
  249. #define GPIO_PE5_I2C2SDA 0x00041403
  250. #define GPIO_PE5_CAN0TX 0x00041408
  251. #define GPIO_PF0_U1RTS 0x00050001
  252. #define GPIO_PF0_SSI1RX 0x00050002
  253. #define GPIO_PF0_CAN0RX 0x00050003
  254. #define GPIO_PF0_T0CCP0 0x00050007
  255. #define GPIO_PF0_NMI 0x00050008
  256. #define GPIO_PF0_C0O 0x00050009
  257. #define GPIO_PF1_U1CTS 0x00050401
  258. #define GPIO_PF1_SSI1TX 0x00050402
  259. #define GPIO_PF1_T0CCP1 0x00050407
  260. #define GPIO_PF1_C1O 0x00050409
  261. #define GPIO_PF1_TRD1 0x0005040E
  262. #define GPIO_PF2_SSI1CLK 0x00050802
  263. #define GPIO_PF2_T1CCP0 0x00050807
  264. #define GPIO_PF2_TRD0 0x0005080E
  265. #define GPIO_PF3_SSI1FSS 0x00050C02
  266. #define GPIO_PF3_CAN0TX 0x00050C03
  267. #define GPIO_PF3_T1CCP1 0x00050C07
  268. #define GPIO_PF3_TRCLK 0x00050C0E
  269. #define GPIO_PF4_T2CCP0 0x00051007
  270. #define GPIO_PG0_I2C3SCL 0x00060003
  271. #define GPIO_PG0_T4CCP0 0x00060007
  272. #define GPIO_PG1_I2C3SDA 0x00060403
  273. #define GPIO_PG1_T4CCP1 0x00060407
  274. #define GPIO_PG2_I2C4SCL 0x00060803
  275. #define GPIO_PG2_T5CCP0 0x00060807
  276. #define GPIO_PG3_I2C4SDA 0x00060C03
  277. #define GPIO_PG3_T5CCP1 0x00060C07
  278. #define GPIO_PG4_U2RX 0x00061001
  279. #define GPIO_PG4_I2C1SCL 0x00061003
  280. #define GPIO_PG4_WT0CCP0 0x00061007
  281. #define GPIO_PG5_U2TX 0x00061401
  282. #define GPIO_PG5_I2C1SDA 0x00061403
  283. #define GPIO_PG5_WT0CCP1 0x00061407
  284. #endif // PART_TM4C1230D5PM
  285. //*****************************************************************************
  286. //
  287. // TM4C1230E6PM Port/Pin Mapping Definitions
  288. //
  289. //*****************************************************************************
  290. #ifdef PART_TM4C1230E6PM
  291. #define GPIO_PA0_U0RX 0x00000001
  292. #define GPIO_PA1_U0TX 0x00000401
  293. #define GPIO_PA2_SSI0CLK 0x00000802
  294. #define GPIO_PA3_SSI0FSS 0x00000C02
  295. #define GPIO_PA4_SSI0RX 0x00001002
  296. #define GPIO_PA5_SSI0TX 0x00001402
  297. #define GPIO_PA6_I2C1SCL 0x00001803
  298. #define GPIO_PA7_I2C1SDA 0x00001C03
  299. #define GPIO_PB0_U1RX 0x00010001
  300. #define GPIO_PB0_T2CCP0 0x00010007
  301. #define GPIO_PB1_U1TX 0x00010401
  302. #define GPIO_PB1_T2CCP1 0x00010407
  303. #define GPIO_PB2_I2C0SCL 0x00010803
  304. #define GPIO_PB2_T3CCP0 0x00010807
  305. #define GPIO_PB3_I2C0SDA 0x00010C03
  306. #define GPIO_PB3_T3CCP1 0x00010C07
  307. #define GPIO_PB4_SSI2CLK 0x00011002
  308. #define GPIO_PB4_T1CCP0 0x00011007
  309. #define GPIO_PB4_CAN0RX 0x00011008
  310. #define GPIO_PB5_SSI2FSS 0x00011402
  311. #define GPIO_PB5_T1CCP1 0x00011407
  312. #define GPIO_PB5_CAN0TX 0x00011408
  313. #define GPIO_PB6_SSI2RX 0x00011802
  314. #define GPIO_PB6_I2C5SCL 0x00011803
  315. #define GPIO_PB6_T0CCP0 0x00011807
  316. #define GPIO_PB7_SSI2TX 0x00011C02
  317. #define GPIO_PB7_I2C5SDA 0x00011C03
  318. #define GPIO_PB7_T0CCP1 0x00011C07
  319. #define GPIO_PC0_TCK 0x00020001
  320. #define GPIO_PC0_SWCLK 0x00020001
  321. #define GPIO_PC0_T4CCP0 0x00020007
  322. #define GPIO_PC1_TMS 0x00020401
  323. #define GPIO_PC1_SWDIO 0x00020401
  324. #define GPIO_PC1_T4CCP1 0x00020407
  325. #define GPIO_PC2_TDI 0x00020801
  326. #define GPIO_PC2_T5CCP0 0x00020807
  327. #define GPIO_PC3_SWO 0x00020C01
  328. #define GPIO_PC3_TDO 0x00020C01
  329. #define GPIO_PC3_T5CCP1 0x00020C07
  330. #define GPIO_PC4_U4RX 0x00021001
  331. #define GPIO_PC4_U1RX 0x00021002
  332. #define GPIO_PC4_WT0CCP0 0x00021007
  333. #define GPIO_PC4_U1RTS 0x00021008
  334. #define GPIO_PC5_U4TX 0x00021401
  335. #define GPIO_PC5_U1TX 0x00021402
  336. #define GPIO_PC5_WT0CCP1 0x00021407
  337. #define GPIO_PC5_U1CTS 0x00021408
  338. #define GPIO_PC6_U3RX 0x00021801
  339. #define GPIO_PC6_WT1CCP0 0x00021807
  340. #define GPIO_PC7_U3TX 0x00021C01
  341. #define GPIO_PC7_WT1CCP1 0x00021C07
  342. #define GPIO_PD0_SSI3CLK 0x00030001
  343. #define GPIO_PD0_SSI1CLK 0x00030002
  344. #define GPIO_PD0_I2C3SCL 0x00030003
  345. #define GPIO_PD0_WT2CCP0 0x00030007
  346. #define GPIO_PD1_SSI3FSS 0x00030401
  347. #define GPIO_PD1_SSI1FSS 0x00030402
  348. #define GPIO_PD1_I2C3SDA 0x00030403
  349. #define GPIO_PD1_WT2CCP1 0x00030407
  350. #define GPIO_PD2_SSI3RX 0x00030801
  351. #define GPIO_PD2_SSI1RX 0x00030802
  352. #define GPIO_PD2_WT3CCP0 0x00030807
  353. #define GPIO_PD3_SSI3TX 0x00030C01
  354. #define GPIO_PD3_SSI1TX 0x00030C02
  355. #define GPIO_PD3_WT3CCP1 0x00030C07
  356. #define GPIO_PD4_U6RX 0x00031001
  357. #define GPIO_PD4_WT4CCP0 0x00031007
  358. #define GPIO_PD5_U6TX 0x00031401
  359. #define GPIO_PD5_WT4CCP1 0x00031407
  360. #define GPIO_PD6_U2RX 0x00031801
  361. #define GPIO_PD6_WT5CCP0 0x00031807
  362. #define GPIO_PD7_U2TX 0x00031C01
  363. #define GPIO_PD7_WT5CCP1 0x00031C07
  364. #define GPIO_PD7_NMI 0x00031C08
  365. #define GPIO_PE0_U7RX 0x00040001
  366. #define GPIO_PE1_U7TX 0x00040401
  367. #define GPIO_PE4_U5RX 0x00041001
  368. #define GPIO_PE4_I2C2SCL 0x00041003
  369. #define GPIO_PE4_CAN0RX 0x00041008
  370. #define GPIO_PE5_U5TX 0x00041401
  371. #define GPIO_PE5_I2C2SDA 0x00041403
  372. #define GPIO_PE5_CAN0TX 0x00041408
  373. #define GPIO_PF0_U1RTS 0x00050001
  374. #define GPIO_PF0_SSI1RX 0x00050002
  375. #define GPIO_PF0_CAN0RX 0x00050003
  376. #define GPIO_PF0_T0CCP0 0x00050007
  377. #define GPIO_PF0_NMI 0x00050008
  378. #define GPIO_PF0_C0O 0x00050009
  379. #define GPIO_PF1_U1CTS 0x00050401
  380. #define GPIO_PF1_SSI1TX 0x00050402
  381. #define GPIO_PF1_T0CCP1 0x00050407
  382. #define GPIO_PF1_C1O 0x00050409
  383. #define GPIO_PF1_TRD1 0x0005040E
  384. #define GPIO_PF2_SSI1CLK 0x00050802
  385. #define GPIO_PF2_T1CCP0 0x00050807
  386. #define GPIO_PF2_TRD0 0x0005080E
  387. #define GPIO_PF3_SSI1FSS 0x00050C02
  388. #define GPIO_PF3_CAN0TX 0x00050C03
  389. #define GPIO_PF3_T1CCP1 0x00050C07
  390. #define GPIO_PF3_TRCLK 0x00050C0E
  391. #define GPIO_PF4_T2CCP0 0x00051007
  392. #define GPIO_PG0_I2C3SCL 0x00060003
  393. #define GPIO_PG0_T4CCP0 0x00060007
  394. #define GPIO_PG1_I2C3SDA 0x00060403
  395. #define GPIO_PG1_T4CCP1 0x00060407
  396. #define GPIO_PG2_I2C4SCL 0x00060803
  397. #define GPIO_PG2_T5CCP0 0x00060807
  398. #define GPIO_PG3_I2C4SDA 0x00060C03
  399. #define GPIO_PG3_T5CCP1 0x00060C07
  400. #define GPIO_PG4_U2RX 0x00061001
  401. #define GPIO_PG4_I2C1SCL 0x00061003
  402. #define GPIO_PG4_WT0CCP0 0x00061007
  403. #define GPIO_PG5_U2TX 0x00061401
  404. #define GPIO_PG5_I2C1SDA 0x00061403
  405. #define GPIO_PG5_WT0CCP1 0x00061407
  406. #endif // PART_TM4C1230E6PM
  407. //*****************************************************************************
  408. //
  409. // TM4C1230H6PM Port/Pin Mapping Definitions
  410. //
  411. //*****************************************************************************
  412. #ifdef PART_TM4C1230H6PM
  413. #define GPIO_PA0_U0RX 0x00000001
  414. #define GPIO_PA1_U0TX 0x00000401
  415. #define GPIO_PA2_SSI0CLK 0x00000802
  416. #define GPIO_PA3_SSI0FSS 0x00000C02
  417. #define GPIO_PA4_SSI0RX 0x00001002
  418. #define GPIO_PA5_SSI0TX 0x00001402
  419. #define GPIO_PA6_I2C1SCL 0x00001803
  420. #define GPIO_PA7_I2C1SDA 0x00001C03
  421. #define GPIO_PB0_U1RX 0x00010001
  422. #define GPIO_PB0_T2CCP0 0x00010007
  423. #define GPIO_PB1_U1TX 0x00010401
  424. #define GPIO_PB1_T2CCP1 0x00010407
  425. #define GPIO_PB2_I2C0SCL 0x00010803
  426. #define GPIO_PB2_T3CCP0 0x00010807
  427. #define GPIO_PB3_I2C0SDA 0x00010C03
  428. #define GPIO_PB3_T3CCP1 0x00010C07
  429. #define GPIO_PB4_SSI2CLK 0x00011002
  430. #define GPIO_PB4_T1CCP0 0x00011007
  431. #define GPIO_PB4_CAN0RX 0x00011008
  432. #define GPIO_PB5_SSI2FSS 0x00011402
  433. #define GPIO_PB5_T1CCP1 0x00011407
  434. #define GPIO_PB5_CAN0TX 0x00011408
  435. #define GPIO_PB6_SSI2RX 0x00011802
  436. #define GPIO_PB6_I2C5SCL 0x00011803
  437. #define GPIO_PB6_T0CCP0 0x00011807
  438. #define GPIO_PB7_SSI2TX 0x00011C02
  439. #define GPIO_PB7_I2C5SDA 0x00011C03
  440. #define GPIO_PB7_T0CCP1 0x00011C07
  441. #define GPIO_PC0_TCK 0x00020001
  442. #define GPIO_PC0_SWCLK 0x00020001
  443. #define GPIO_PC0_T4CCP0 0x00020007
  444. #define GPIO_PC1_TMS 0x00020401
  445. #define GPIO_PC1_SWDIO 0x00020401
  446. #define GPIO_PC1_T4CCP1 0x00020407
  447. #define GPIO_PC2_TDI 0x00020801
  448. #define GPIO_PC2_T5CCP0 0x00020807
  449. #define GPIO_PC3_SWO 0x00020C01
  450. #define GPIO_PC3_TDO 0x00020C01
  451. #define GPIO_PC3_T5CCP1 0x00020C07
  452. #define GPIO_PC4_U4RX 0x00021001
  453. #define GPIO_PC4_U1RX 0x00021002
  454. #define GPIO_PC4_WT0CCP0 0x00021007
  455. #define GPIO_PC4_U1RTS 0x00021008
  456. #define GPIO_PC5_U4TX 0x00021401
  457. #define GPIO_PC5_U1TX 0x00021402
  458. #define GPIO_PC5_WT0CCP1 0x00021407
  459. #define GPIO_PC5_U1CTS 0x00021408
  460. #define GPIO_PC6_U3RX 0x00021801
  461. #define GPIO_PC6_WT1CCP0 0x00021807
  462. #define GPIO_PC7_U3TX 0x00021C01
  463. #define GPIO_PC7_WT1CCP1 0x00021C07
  464. #define GPIO_PD0_SSI3CLK 0x00030001
  465. #define GPIO_PD0_SSI1CLK 0x00030002
  466. #define GPIO_PD0_I2C3SCL 0x00030003
  467. #define GPIO_PD0_WT2CCP0 0x00030007
  468. #define GPIO_PD1_SSI3FSS 0x00030401
  469. #define GPIO_PD1_SSI1FSS 0x00030402
  470. #define GPIO_PD1_I2C3SDA 0x00030403
  471. #define GPIO_PD1_WT2CCP1 0x00030407
  472. #define GPIO_PD2_SSI3RX 0x00030801
  473. #define GPIO_PD2_SSI1RX 0x00030802
  474. #define GPIO_PD2_WT3CCP0 0x00030807
  475. #define GPIO_PD3_SSI3TX 0x00030C01
  476. #define GPIO_PD3_SSI1TX 0x00030C02
  477. #define GPIO_PD3_WT3CCP1 0x00030C07
  478. #define GPIO_PD4_U6RX 0x00031001
  479. #define GPIO_PD4_WT4CCP0 0x00031007
  480. #define GPIO_PD5_U6TX 0x00031401
  481. #define GPIO_PD5_WT4CCP1 0x00031407
  482. #define GPIO_PD6_U2RX 0x00031801
  483. #define GPIO_PD6_WT5CCP0 0x00031807
  484. #define GPIO_PD7_U2TX 0x00031C01
  485. #define GPIO_PD7_WT5CCP1 0x00031C07
  486. #define GPIO_PD7_NMI 0x00031C08
  487. #define GPIO_PE0_U7RX 0x00040001
  488. #define GPIO_PE1_U7TX 0x00040401
  489. #define GPIO_PE4_U5RX 0x00041001
  490. #define GPIO_PE4_I2C2SCL 0x00041003
  491. #define GPIO_PE4_CAN0RX 0x00041008
  492. #define GPIO_PE5_U5TX 0x00041401
  493. #define GPIO_PE5_I2C2SDA 0x00041403
  494. #define GPIO_PE5_CAN0TX 0x00041408
  495. #define GPIO_PF0_U1RTS 0x00050001
  496. #define GPIO_PF0_SSI1RX 0x00050002
  497. #define GPIO_PF0_CAN0RX 0x00050003
  498. #define GPIO_PF0_T0CCP0 0x00050007
  499. #define GPIO_PF0_NMI 0x00050008
  500. #define GPIO_PF0_C0O 0x00050009
  501. #define GPIO_PF1_U1CTS 0x00050401
  502. #define GPIO_PF1_SSI1TX 0x00050402
  503. #define GPIO_PF1_T0CCP1 0x00050407
  504. #define GPIO_PF1_C1O 0x00050409
  505. #define GPIO_PF1_TRD1 0x0005040E
  506. #define GPIO_PF2_SSI1CLK 0x00050802
  507. #define GPIO_PF2_T1CCP0 0x00050807
  508. #define GPIO_PF2_TRD0 0x0005080E
  509. #define GPIO_PF3_SSI1FSS 0x00050C02
  510. #define GPIO_PF3_CAN0TX 0x00050C03
  511. #define GPIO_PF3_T1CCP1 0x00050C07
  512. #define GPIO_PF3_TRCLK 0x00050C0E
  513. #define GPIO_PF4_T2CCP0 0x00051007
  514. #define GPIO_PG0_I2C3SCL 0x00060003
  515. #define GPIO_PG0_T4CCP0 0x00060007
  516. #define GPIO_PG1_I2C3SDA 0x00060403
  517. #define GPIO_PG1_T4CCP1 0x00060407
  518. #define GPIO_PG2_I2C4SCL 0x00060803
  519. #define GPIO_PG2_T5CCP0 0x00060807
  520. #define GPIO_PG3_I2C4SDA 0x00060C03
  521. #define GPIO_PG3_T5CCP1 0x00060C07
  522. #define GPIO_PG4_U2RX 0x00061001
  523. #define GPIO_PG4_I2C1SCL 0x00061003
  524. #define GPIO_PG4_WT0CCP0 0x00061007
  525. #define GPIO_PG5_U2TX 0x00061401
  526. #define GPIO_PG5_I2C1SDA 0x00061403
  527. #define GPIO_PG5_WT0CCP1 0x00061407
  528. #endif // PART_TM4C1230H6PM
  529. //*****************************************************************************
  530. //
  531. // TM4C1231C3PM Port/Pin Mapping Definitions
  532. //
  533. //*****************************************************************************
  534. #ifdef PART_TM4C1231C3PM
  535. #define GPIO_PA0_U0RX 0x00000001
  536. #define GPIO_PA1_U0TX 0x00000401
  537. #define GPIO_PA2_SSI0CLK 0x00000802
  538. #define GPIO_PA3_SSI0FSS 0x00000C02
  539. #define GPIO_PA4_SSI0RX 0x00001002
  540. #define GPIO_PA5_SSI0TX 0x00001402
  541. #define GPIO_PA6_I2C1SCL 0x00001803
  542. #define GPIO_PA7_I2C1SDA 0x00001C03
  543. #define GPIO_PB0_U1RX 0x00010001
  544. #define GPIO_PB0_T2CCP0 0x00010007
  545. #define GPIO_PB1_U1TX 0x00010401
  546. #define GPIO_PB1_T2CCP1 0x00010407
  547. #define GPIO_PB2_I2C0SCL 0x00010803
  548. #define GPIO_PB2_T3CCP0 0x00010807
  549. #define GPIO_PB3_I2C0SDA 0x00010C03
  550. #define GPIO_PB3_T3CCP1 0x00010C07
  551. #define GPIO_PB4_SSI2CLK 0x00011002
  552. #define GPIO_PB4_T1CCP0 0x00011007
  553. #define GPIO_PB4_CAN0RX 0x00011008
  554. #define GPIO_PB5_SSI2FSS 0x00011402
  555. #define GPIO_PB5_T1CCP1 0x00011407
  556. #define GPIO_PB5_CAN0TX 0x00011408
  557. #define GPIO_PB6_SSI2RX 0x00011802
  558. #define GPIO_PB6_T0CCP0 0x00011807
  559. #define GPIO_PB7_SSI2TX 0x00011C02
  560. #define GPIO_PB7_T0CCP1 0x00011C07
  561. #define GPIO_PC0_TCK 0x00020001
  562. #define GPIO_PC0_SWCLK 0x00020001
  563. #define GPIO_PC0_T4CCP0 0x00020007
  564. #define GPIO_PC1_TMS 0x00020401
  565. #define GPIO_PC1_SWDIO 0x00020401
  566. #define GPIO_PC1_T4CCP1 0x00020407
  567. #define GPIO_PC2_TDI 0x00020801
  568. #define GPIO_PC2_T5CCP0 0x00020807
  569. #define GPIO_PC3_SWO 0x00020C01
  570. #define GPIO_PC3_TDO 0x00020C01
  571. #define GPIO_PC3_T5CCP1 0x00020C07
  572. #define GPIO_PC4_U4RX 0x00021001
  573. #define GPIO_PC4_U1RX 0x00021002
  574. #define GPIO_PC4_WT0CCP0 0x00021007
  575. #define GPIO_PC4_U1RTS 0x00021008
  576. #define GPIO_PC5_U4TX 0x00021401
  577. #define GPIO_PC5_U1TX 0x00021402
  578. #define GPIO_PC5_WT0CCP1 0x00021407
  579. #define GPIO_PC5_U1CTS 0x00021408
  580. #define GPIO_PC6_U3RX 0x00021801
  581. #define GPIO_PC6_WT1CCP0 0x00021807
  582. #define GPIO_PC7_U3TX 0x00021C01
  583. #define GPIO_PC7_WT1CCP1 0x00021C07
  584. #define GPIO_PD0_SSI3CLK 0x00030001
  585. #define GPIO_PD0_SSI1CLK 0x00030002
  586. #define GPIO_PD0_I2C3SCL 0x00030003
  587. #define GPIO_PD0_WT2CCP0 0x00030007
  588. #define GPIO_PD1_SSI3FSS 0x00030401
  589. #define GPIO_PD1_SSI1FSS 0x00030402
  590. #define GPIO_PD1_I2C3SDA 0x00030403
  591. #define GPIO_PD1_WT2CCP1 0x00030407
  592. #define GPIO_PD2_SSI3RX 0x00030801
  593. #define GPIO_PD2_SSI1RX 0x00030802
  594. #define GPIO_PD2_WT3CCP0 0x00030807
  595. #define GPIO_PD3_SSI3TX 0x00030C01
  596. #define GPIO_PD3_SSI1TX 0x00030C02
  597. #define GPIO_PD3_WT3CCP1 0x00030C07
  598. #define GPIO_PD4_U6RX 0x00031001
  599. #define GPIO_PD4_WT4CCP0 0x00031007
  600. #define GPIO_PD5_U6TX 0x00031401
  601. #define GPIO_PD5_WT4CCP1 0x00031407
  602. #define GPIO_PD6_U2RX 0x00031801
  603. #define GPIO_PD6_WT5CCP0 0x00031807
  604. #define GPIO_PD7_U2TX 0x00031C01
  605. #define GPIO_PD7_WT5CCP1 0x00031C07
  606. #define GPIO_PD7_NMI 0x00031C08
  607. #define GPIO_PE0_U7RX 0x00040001
  608. #define GPIO_PE1_U7TX 0x00040401
  609. #define GPIO_PE4_U5RX 0x00041001
  610. #define GPIO_PE4_I2C2SCL 0x00041003
  611. #define GPIO_PE4_CAN0RX 0x00041008
  612. #define GPIO_PE5_U5TX 0x00041401
  613. #define GPIO_PE5_I2C2SDA 0x00041403
  614. #define GPIO_PE5_CAN0TX 0x00041408
  615. #define GPIO_PF0_U1RTS 0x00050001
  616. #define GPIO_PF0_SSI1RX 0x00050002
  617. #define GPIO_PF0_CAN0RX 0x00050003
  618. #define GPIO_PF0_T0CCP0 0x00050007
  619. #define GPIO_PF0_NMI 0x00050008
  620. #define GPIO_PF0_C0O 0x00050009
  621. #define GPIO_PF1_U1CTS 0x00050401
  622. #define GPIO_PF1_SSI1TX 0x00050402
  623. #define GPIO_PF1_T0CCP1 0x00050407
  624. #define GPIO_PF1_C1O 0x00050409
  625. #define GPIO_PF1_TRD1 0x0005040E
  626. #define GPIO_PF2_SSI1CLK 0x00050802
  627. #define GPIO_PF2_T1CCP0 0x00050807
  628. #define GPIO_PF2_TRD0 0x0005080E
  629. #define GPIO_PF3_SSI1FSS 0x00050C02
  630. #define GPIO_PF3_CAN0TX 0x00050C03
  631. #define GPIO_PF3_T1CCP1 0x00050C07
  632. #define GPIO_PF3_TRCLK 0x00050C0E
  633. #define GPIO_PF4_T2CCP0 0x00051007
  634. #endif // PART_TM4C1231C3PM
  635. //*****************************************************************************
  636. //
  637. // TM4C1231D5PM Port/Pin Mapping Definitions
  638. //
  639. //*****************************************************************************
  640. #ifdef PART_TM4C1231D5PM
  641. #define GPIO_PA0_U0RX 0x00000001
  642. #define GPIO_PA1_U0TX 0x00000401
  643. #define GPIO_PA2_SSI0CLK 0x00000802
  644. #define GPIO_PA3_SSI0FSS 0x00000C02
  645. #define GPIO_PA4_SSI0RX 0x00001002
  646. #define GPIO_PA5_SSI0TX 0x00001402
  647. #define GPIO_PA6_I2C1SCL 0x00001803
  648. #define GPIO_PA7_I2C1SDA 0x00001C03
  649. #define GPIO_PB0_U1RX 0x00010001
  650. #define GPIO_PB0_T2CCP0 0x00010007
  651. #define GPIO_PB1_U1TX 0x00010401
  652. #define GPIO_PB1_T2CCP1 0x00010407
  653. #define GPIO_PB2_I2C0SCL 0x00010803
  654. #define GPIO_PB2_T3CCP0 0x00010807
  655. #define GPIO_PB3_I2C0SDA 0x00010C03
  656. #define GPIO_PB3_T3CCP1 0x00010C07
  657. #define GPIO_PB4_SSI2CLK 0x00011002
  658. #define GPIO_PB4_T1CCP0 0x00011007
  659. #define GPIO_PB4_CAN0RX 0x00011008
  660. #define GPIO_PB5_SSI2FSS 0x00011402
  661. #define GPIO_PB5_T1CCP1 0x00011407
  662. #define GPIO_PB5_CAN0TX 0x00011408
  663. #define GPIO_PB6_SSI2RX 0x00011802
  664. #define GPIO_PB6_T0CCP0 0x00011807
  665. #define GPIO_PB7_SSI2TX 0x00011C02
  666. #define GPIO_PB7_T0CCP1 0x00011C07
  667. #define GPIO_PC0_TCK 0x00020001
  668. #define GPIO_PC0_SWCLK 0x00020001
  669. #define GPIO_PC0_T4CCP0 0x00020007
  670. #define GPIO_PC1_TMS 0x00020401
  671. #define GPIO_PC1_SWDIO 0x00020401
  672. #define GPIO_PC1_T4CCP1 0x00020407
  673. #define GPIO_PC2_TDI 0x00020801
  674. #define GPIO_PC2_T5CCP0 0x00020807
  675. #define GPIO_PC3_SWO 0x00020C01
  676. #define GPIO_PC3_TDO 0x00020C01
  677. #define GPIO_PC3_T5CCP1 0x00020C07
  678. #define GPIO_PC4_U4RX 0x00021001
  679. #define GPIO_PC4_U1RX 0x00021002
  680. #define GPIO_PC4_WT0CCP0 0x00021007
  681. #define GPIO_PC4_U1RTS 0x00021008
  682. #define GPIO_PC5_U4TX 0x00021401
  683. #define GPIO_PC5_U1TX 0x00021402
  684. #define GPIO_PC5_WT0CCP1 0x00021407
  685. #define GPIO_PC5_U1CTS 0x00021408
  686. #define GPIO_PC6_U3RX 0x00021801
  687. #define GPIO_PC6_WT1CCP0 0x00021807
  688. #define GPIO_PC7_U3TX 0x00021C01
  689. #define GPIO_PC7_WT1CCP1 0x00021C07
  690. #define GPIO_PD0_SSI3CLK 0x00030001
  691. #define GPIO_PD0_SSI1CLK 0x00030002
  692. #define GPIO_PD0_I2C3SCL 0x00030003
  693. #define GPIO_PD0_WT2CCP0 0x00030007
  694. #define GPIO_PD1_SSI3FSS 0x00030401
  695. #define GPIO_PD1_SSI1FSS 0x00030402
  696. #define GPIO_PD1_I2C3SDA 0x00030403
  697. #define GPIO_PD1_WT2CCP1 0x00030407
  698. #define GPIO_PD2_SSI3RX 0x00030801
  699. #define GPIO_PD2_SSI1RX 0x00030802
  700. #define GPIO_PD2_WT3CCP0 0x00030807
  701. #define GPIO_PD3_SSI3TX 0x00030C01
  702. #define GPIO_PD3_SSI1TX 0x00030C02
  703. #define GPIO_PD3_WT3CCP1 0x00030C07
  704. #define GPIO_PD4_U6RX 0x00031001
  705. #define GPIO_PD4_WT4CCP0 0x00031007
  706. #define GPIO_PD5_U6TX 0x00031401
  707. #define GPIO_PD5_WT4CCP1 0x00031407
  708. #define GPIO_PD6_U2RX 0x00031801
  709. #define GPIO_PD6_WT5CCP0 0x00031807
  710. #define GPIO_PD7_U2TX 0x00031C01
  711. #define GPIO_PD7_WT5CCP1 0x00031C07
  712. #define GPIO_PD7_NMI 0x00031C08
  713. #define GPIO_PE0_U7RX 0x00040001
  714. #define GPIO_PE1_U7TX 0x00040401
  715. #define GPIO_PE4_U5RX 0x00041001
  716. #define GPIO_PE4_I2C2SCL 0x00041003
  717. #define GPIO_PE4_CAN0RX 0x00041008
  718. #define GPIO_PE5_U5TX 0x00041401
  719. #define GPIO_PE5_I2C2SDA 0x00041403
  720. #define GPIO_PE5_CAN0TX 0x00041408
  721. #define GPIO_PF0_U1RTS 0x00050001
  722. #define GPIO_PF0_SSI1RX 0x00050002
  723. #define GPIO_PF0_CAN0RX 0x00050003
  724. #define GPIO_PF0_T0CCP0 0x00050007
  725. #define GPIO_PF0_NMI 0x00050008
  726. #define GPIO_PF0_C0O 0x00050009
  727. #define GPIO_PF1_U1CTS 0x00050401
  728. #define GPIO_PF1_SSI1TX 0x00050402
  729. #define GPIO_PF1_T0CCP1 0x00050407
  730. #define GPIO_PF1_C1O 0x00050409
  731. #define GPIO_PF1_TRD1 0x0005040E
  732. #define GPIO_PF2_SSI1CLK 0x00050802
  733. #define GPIO_PF2_T1CCP0 0x00050807
  734. #define GPIO_PF2_TRD0 0x0005080E
  735. #define GPIO_PF3_SSI1FSS 0x00050C02
  736. #define GPIO_PF3_CAN0TX 0x00050C03
  737. #define GPIO_PF3_T1CCP1 0x00050C07
  738. #define GPIO_PF3_TRCLK 0x00050C0E
  739. #define GPIO_PF4_T2CCP0 0x00051007
  740. #endif // PART_TM4C1231D5PM
  741. //*****************************************************************************
  742. //
  743. // TM4C1231D5PZ Port/Pin Mapping Definitions
  744. //
  745. //*****************************************************************************
  746. #ifdef PART_TM4C1231D5PZ
  747. #define GPIO_PA0_U0RX 0x00000001
  748. #define GPIO_PA1_U0TX 0x00000401
  749. #define GPIO_PA2_SSI0CLK 0x00000802
  750. #define GPIO_PA3_SSI0FSS 0x00000C02
  751. #define GPIO_PA4_SSI0RX 0x00001002
  752. #define GPIO_PA5_SSI0TX 0x00001402
  753. #define GPIO_PA6_I2C1SCL 0x00001803
  754. #define GPIO_PA7_I2C1SDA 0x00001C03
  755. #define GPIO_PB0_U1RX 0x00010001
  756. #define GPIO_PB0_T2CCP0 0x00010007
  757. #define GPIO_PB1_U1TX 0x00010401
  758. #define GPIO_PB1_T2CCP1 0x00010407
  759. #define GPIO_PB2_I2C0SCL 0x00010803
  760. #define GPIO_PB2_T3CCP0 0x00010807
  761. #define GPIO_PB3_I2C0SDA 0x00010C03
  762. #define GPIO_PB3_T3CCP1 0x00010C07
  763. #define GPIO_PB4_SSI2CLK 0x00011002
  764. #define GPIO_PB4_T1CCP0 0x00011007
  765. #define GPIO_PB4_CAN0RX 0x00011008
  766. #define GPIO_PB5_SSI2FSS 0x00011402
  767. #define GPIO_PB5_T1CCP1 0x00011407
  768. #define GPIO_PB5_CAN0TX 0x00011408
  769. #define GPIO_PC0_TCK 0x00020001
  770. #define GPIO_PC0_SWCLK 0x00020001
  771. #define GPIO_PC0_T4CCP0 0x00020007
  772. #define GPIO_PC1_TMS 0x00020401
  773. #define GPIO_PC1_SWDIO 0x00020401
  774. #define GPIO_PC1_T4CCP1 0x00020407
  775. #define GPIO_PC2_TDI 0x00020801
  776. #define GPIO_PC2_T5CCP0 0x00020807
  777. #define GPIO_PC3_SWO 0x00020C01
  778. #define GPIO_PC3_TDO 0x00020C01
  779. #define GPIO_PC3_T5CCP1 0x00020C07
  780. #define GPIO_PC4_U4RX 0x00021001
  781. #define GPIO_PC4_U1RX 0x00021002
  782. #define GPIO_PC4_WT0CCP0 0x00021007
  783. #define GPIO_PC4_U1RTS 0x00021008
  784. #define GPIO_PC5_U4TX 0x00021401
  785. #define GPIO_PC5_U1TX 0x00021402
  786. #define GPIO_PC5_WT0CCP1 0x00021407
  787. #define GPIO_PC5_U1CTS 0x00021408
  788. #define GPIO_PC6_U3RX 0x00021801
  789. #define GPIO_PC6_WT1CCP0 0x00021807
  790. #define GPIO_PC7_U3TX 0x00021C01
  791. #define GPIO_PC7_WT1CCP1 0x00021C07
  792. #define GPIO_PD0_SSI3CLK 0x00030001
  793. #define GPIO_PD0_SSI1CLK 0x00030002
  794. #define GPIO_PD0_I2C3SCL 0x00030003
  795. #define GPIO_PD0_WT2CCP0 0x00030007
  796. #define GPIO_PD1_SSI3FSS 0x00030401
  797. #define GPIO_PD1_SSI1FSS 0x00030402
  798. #define GPIO_PD1_I2C3SDA 0x00030403
  799. #define GPIO_PD1_WT2CCP1 0x00030407
  800. #define GPIO_PD2_SSI3RX 0x00030801
  801. #define GPIO_PD2_SSI1RX 0x00030802
  802. #define GPIO_PD2_WT3CCP0 0x00030807
  803. #define GPIO_PD3_SSI3TX 0x00030C01
  804. #define GPIO_PD3_SSI1TX 0x00030C02
  805. #define GPIO_PD3_WT3CCP1 0x00030C07
  806. #define GPIO_PD4_U6RX 0x00031001
  807. #define GPIO_PD4_WT4CCP0 0x00031007
  808. #define GPIO_PD5_U6TX 0x00031401
  809. #define GPIO_PD5_WT4CCP1 0x00031407
  810. #define GPIO_PD6_U2RX 0x00031801
  811. #define GPIO_PD6_WT5CCP0 0x00031807
  812. #define GPIO_PD7_U2TX 0x00031C01
  813. #define GPIO_PD7_WT5CCP1 0x00031C07
  814. #define GPIO_PD7_NMI 0x00031C08
  815. #define GPIO_PE0_U7RX 0x00040001
  816. #define GPIO_PE1_U7TX 0x00040401
  817. #define GPIO_PE4_U5RX 0x00041001
  818. #define GPIO_PE4_I2C2SCL 0x00041003
  819. #define GPIO_PE4_CAN0RX 0x00041008
  820. #define GPIO_PE5_U5TX 0x00041401
  821. #define GPIO_PE5_I2C2SDA 0x00041403
  822. #define GPIO_PE5_CAN0TX 0x00041408
  823. #define GPIO_PE7_U1RI 0x00041C01
  824. #define GPIO_PF0_U1RTS 0x00050001
  825. #define GPIO_PF0_SSI1RX 0x00050002
  826. #define GPIO_PF0_CAN0RX 0x00050003
  827. #define GPIO_PF0_T0CCP0 0x00050007
  828. #define GPIO_PF0_NMI 0x00050008
  829. #define GPIO_PF0_C0O 0x00050009
  830. #define GPIO_PF0_TRD2 0x0005000E
  831. #define GPIO_PF1_U1CTS 0x00050401
  832. #define GPIO_PF1_SSI1TX 0x00050402
  833. #define GPIO_PF1_T0CCP1 0x00050407
  834. #define GPIO_PF1_C1O 0x00050409
  835. #define GPIO_PF1_TRD1 0x0005040E
  836. #define GPIO_PF2_U1DCD 0x00050801
  837. #define GPIO_PF2_SSI1CLK 0x00050802
  838. #define GPIO_PF2_T1CCP0 0x00050807
  839. #define GPIO_PF2_C2O 0x00050809
  840. #define GPIO_PF2_TRD0 0x0005080E
  841. #define GPIO_PF3_U1DSR 0x00050C01
  842. #define GPIO_PF3_SSI1FSS 0x00050C02
  843. #define GPIO_PF3_CAN0TX 0x00050C03
  844. #define GPIO_PF3_T1CCP1 0x00050C07
  845. #define GPIO_PF3_TRCLK 0x00050C0E
  846. #define GPIO_PF4_U1DTR 0x00051001
  847. #define GPIO_PF4_T2CCP0 0x00051007
  848. #define GPIO_PF4_TRD3 0x0005100E
  849. #define GPIO_PF5_T2CCP1 0x00051407
  850. #define GPIO_PF6_I2C2SCL 0x00051803
  851. #define GPIO_PF6_T3CCP0 0x00051807
  852. #define GPIO_PF7_I2C2SDA 0x00051C03
  853. #define GPIO_PF7_T3CCP1 0x00051C07
  854. #define GPIO_PG0_I2C3SCL 0x00060003
  855. #define GPIO_PG0_T4CCP0 0x00060007
  856. #define GPIO_PG1_I2C3SDA 0x00060403
  857. #define GPIO_PG1_T4CCP1 0x00060407
  858. #define GPIO_PG2_I2C4SCL 0x00060803
  859. #define GPIO_PG2_T5CCP0 0x00060807
  860. #define GPIO_PG3_I2C4SDA 0x00060C03
  861. #define GPIO_PG3_T5CCP1 0x00060C07
  862. #define GPIO_PG4_U2RX 0x00061001
  863. #define GPIO_PG4_I2C1SCL 0x00061003
  864. #define GPIO_PG4_WT0CCP0 0x00061007
  865. #define GPIO_PG5_U2TX 0x00061401
  866. #define GPIO_PG5_I2C1SDA 0x00061403
  867. #define GPIO_PG5_WT0CCP1 0x00061407
  868. #define GPIO_PG6_I2C5SCL 0x00061803
  869. #define GPIO_PG6_WT1CCP0 0x00061807
  870. #define GPIO_PG7_I2C5SDA 0x00061C03
  871. #define GPIO_PG7_WT1CCP1 0x00061C07
  872. #define GPIO_PH0_SSI3CLK 0x00070002
  873. #define GPIO_PH0_WT2CCP0 0x00070007
  874. #define GPIO_PH1_SSI3FSS 0x00070402
  875. #define GPIO_PH1_WT2CCP1 0x00070407
  876. #define GPIO_PH2_SSI3RX 0x00070802
  877. #define GPIO_PH2_WT5CCP0 0x00070807
  878. #define GPIO_PH3_SSI3TX 0x00070C02
  879. #define GPIO_PH3_WT5CCP1 0x00070C07
  880. #define GPIO_PH4_SSI2CLK 0x00071002
  881. #define GPIO_PH4_WT3CCP0 0x00071007
  882. #define GPIO_PH5_SSI2FSS 0x00071402
  883. #define GPIO_PH5_WT3CCP1 0x00071407
  884. #define GPIO_PH6_SSI2RX 0x00071802
  885. #define GPIO_PH6_WT4CCP0 0x00071807
  886. #define GPIO_PH7_SSI2TX 0x00071C02
  887. #define GPIO_PH7_WT4CCP1 0x00071C07
  888. #define GPIO_PJ0_U4RX 0x00080001
  889. #define GPIO_PJ0_T1CCP0 0x00080007
  890. #define GPIO_PJ1_U4TX 0x00080401
  891. #define GPIO_PJ1_T1CCP1 0x00080407
  892. #define GPIO_PJ2_U5RX 0x00080801
  893. #define GPIO_PJ2_T2CCP0 0x00080807
  894. #define GPIO_PK0_SSI3CLK 0x00090002
  895. #define GPIO_PK1_SSI3FSS 0x00090402
  896. #define GPIO_PK2_SSI3RX 0x00090802
  897. #define GPIO_PK3_SSI3TX 0x00090C02
  898. #endif // PART_TM4C1231D5PZ
  899. //*****************************************************************************
  900. //
  901. // TM4C1231E6PM Port/Pin Mapping Definitions
  902. //
  903. //*****************************************************************************
  904. #ifdef PART_TM4C1231E6PM
  905. #define GPIO_PA0_U0RX 0x00000001
  906. #define GPIO_PA1_U0TX 0x00000401
  907. #define GPIO_PA2_SSI0CLK 0x00000802
  908. #define GPIO_PA3_SSI0FSS 0x00000C02
  909. #define GPIO_PA4_SSI0RX 0x00001002
  910. #define GPIO_PA5_SSI0TX 0x00001402
  911. #define GPIO_PA6_I2C1SCL 0x00001803
  912. #define GPIO_PA7_I2C1SDA 0x00001C03
  913. #define GPIO_PB0_U1RX 0x00010001
  914. #define GPIO_PB0_T2CCP0 0x00010007
  915. #define GPIO_PB1_U1TX 0x00010401
  916. #define GPIO_PB1_T2CCP1 0x00010407
  917. #define GPIO_PB2_I2C0SCL 0x00010803
  918. #define GPIO_PB2_T3CCP0 0x00010807
  919. #define GPIO_PB3_I2C0SDA 0x00010C03
  920. #define GPIO_PB3_T3CCP1 0x00010C07
  921. #define GPIO_PB4_SSI2CLK 0x00011002
  922. #define GPIO_PB4_T1CCP0 0x00011007
  923. #define GPIO_PB4_CAN0RX 0x00011008
  924. #define GPIO_PB5_SSI2FSS 0x00011402
  925. #define GPIO_PB5_T1CCP1 0x00011407
  926. #define GPIO_PB5_CAN0TX 0x00011408
  927. #define GPIO_PB6_SSI2RX 0x00011802
  928. #define GPIO_PB6_T0CCP0 0x00011807
  929. #define GPIO_PB7_SSI2TX 0x00011C02
  930. #define GPIO_PB7_T0CCP1 0x00011C07
  931. #define GPIO_PC0_TCK 0x00020001
  932. #define GPIO_PC0_SWCLK 0x00020001
  933. #define GPIO_PC0_T4CCP0 0x00020007
  934. #define GPIO_PC1_TMS 0x00020401
  935. #define GPIO_PC1_SWDIO 0x00020401
  936. #define GPIO_PC1_T4CCP1 0x00020407
  937. #define GPIO_PC2_TDI 0x00020801
  938. #define GPIO_PC2_T5CCP0 0x00020807
  939. #define GPIO_PC3_SWO 0x00020C01
  940. #define GPIO_PC3_TDO 0x00020C01
  941. #define GPIO_PC3_T5CCP1 0x00020C07
  942. #define GPIO_PC4_U4RX 0x00021001
  943. #define GPIO_PC4_U1RX 0x00021002
  944. #define GPIO_PC4_WT0CCP0 0x00021007
  945. #define GPIO_PC4_U1RTS 0x00021008
  946. #define GPIO_PC5_U4TX 0x00021401
  947. #define GPIO_PC5_U1TX 0x00021402
  948. #define GPIO_PC5_WT0CCP1 0x00021407
  949. #define GPIO_PC5_U1CTS 0x00021408
  950. #define GPIO_PC6_U3RX 0x00021801
  951. #define GPIO_PC6_WT1CCP0 0x00021807
  952. #define GPIO_PC7_U3TX 0x00021C01
  953. #define GPIO_PC7_WT1CCP1 0x00021C07
  954. #define GPIO_PD0_SSI3CLK 0x00030001
  955. #define GPIO_PD0_SSI1CLK 0x00030002
  956. #define GPIO_PD0_I2C3SCL 0x00030003
  957. #define GPIO_PD0_WT2CCP0 0x00030007
  958. #define GPIO_PD1_SSI3FSS 0x00030401
  959. #define GPIO_PD1_SSI1FSS 0x00030402
  960. #define GPIO_PD1_I2C3SDA 0x00030403
  961. #define GPIO_PD1_WT2CCP1 0x00030407
  962. #define GPIO_PD2_SSI3RX 0x00030801
  963. #define GPIO_PD2_SSI1RX 0x00030802
  964. #define GPIO_PD2_WT3CCP0 0x00030807
  965. #define GPIO_PD3_SSI3TX 0x00030C01
  966. #define GPIO_PD3_SSI1TX 0x00030C02
  967. #define GPIO_PD3_WT3CCP1 0x00030C07
  968. #define GPIO_PD4_U6RX 0x00031001
  969. #define GPIO_PD4_WT4CCP0 0x00031007
  970. #define GPIO_PD5_U6TX 0x00031401
  971. #define GPIO_PD5_WT4CCP1 0x00031407
  972. #define GPIO_PD6_U2RX 0x00031801
  973. #define GPIO_PD6_WT5CCP0 0x00031807
  974. #define GPIO_PD7_U2TX 0x00031C01
  975. #define GPIO_PD7_WT5CCP1 0x00031C07
  976. #define GPIO_PD7_NMI 0x00031C08
  977. #define GPIO_PE0_U7RX 0x00040001
  978. #define GPIO_PE1_U7TX 0x00040401
  979. #define GPIO_PE4_U5RX 0x00041001
  980. #define GPIO_PE4_I2C2SCL 0x00041003
  981. #define GPIO_PE4_CAN0RX 0x00041008
  982. #define GPIO_PE5_U5TX 0x00041401
  983. #define GPIO_PE5_I2C2SDA 0x00041403
  984. #define GPIO_PE5_CAN0TX 0x00041408
  985. #define GPIO_PF0_U1RTS 0x00050001
  986. #define GPIO_PF0_SSI1RX 0x00050002
  987. #define GPIO_PF0_CAN0RX 0x00050003
  988. #define GPIO_PF0_T0CCP0 0x00050007
  989. #define GPIO_PF0_NMI 0x00050008
  990. #define GPIO_PF0_C0O 0x00050009
  991. #define GPIO_PF1_U1CTS 0x00050401
  992. #define GPIO_PF1_SSI1TX 0x00050402
  993. #define GPIO_PF1_T0CCP1 0x00050407
  994. #define GPIO_PF1_C1O 0x00050409
  995. #define GPIO_PF1_TRD1 0x0005040E
  996. #define GPIO_PF2_SSI1CLK 0x00050802
  997. #define GPIO_PF2_T1CCP0 0x00050807
  998. #define GPIO_PF2_TRD0 0x0005080E
  999. #define GPIO_PF3_SSI1FSS 0x00050C02
  1000. #define GPIO_PF3_CAN0TX 0x00050C03
  1001. #define GPIO_PF3_T1CCP1 0x00050C07
  1002. #define GPIO_PF3_TRCLK 0x00050C0E
  1003. #define GPIO_PF4_T2CCP0 0x00051007
  1004. #endif // PART_TM4C1231E6PM
  1005. //*****************************************************************************
  1006. //
  1007. // TM4C1231E6PZ Port/Pin Mapping Definitions
  1008. //
  1009. //*****************************************************************************
  1010. #ifdef PART_TM4C1231E6PZ
  1011. #define GPIO_PA0_U0RX 0x00000001
  1012. #define GPIO_PA1_U0TX 0x00000401
  1013. #define GPIO_PA2_SSI0CLK 0x00000802
  1014. #define GPIO_PA3_SSI0FSS 0x00000C02
  1015. #define GPIO_PA4_SSI0RX 0x00001002
  1016. #define GPIO_PA5_SSI0TX 0x00001402
  1017. #define GPIO_PA6_I2C1SCL 0x00001803
  1018. #define GPIO_PA7_I2C1SDA 0x00001C03
  1019. #define GPIO_PB0_U1RX 0x00010001
  1020. #define GPIO_PB0_T2CCP0 0x00010007
  1021. #define GPIO_PB1_U1TX 0x00010401
  1022. #define GPIO_PB1_T2CCP1 0x00010407
  1023. #define GPIO_PB2_I2C0SCL 0x00010803
  1024. #define GPIO_PB2_T3CCP0 0x00010807
  1025. #define GPIO_PB3_I2C0SDA 0x00010C03
  1026. #define GPIO_PB3_T3CCP1 0x00010C07
  1027. #define GPIO_PB4_SSI2CLK 0x00011002
  1028. #define GPIO_PB4_T1CCP0 0x00011007
  1029. #define GPIO_PB4_CAN0RX 0x00011008
  1030. #define GPIO_PB5_SSI2FSS 0x00011402
  1031. #define GPIO_PB5_T1CCP1 0x00011407
  1032. #define GPIO_PB5_CAN0TX 0x00011408
  1033. #define GPIO_PC0_TCK 0x00020001
  1034. #define GPIO_PC0_SWCLK 0x00020001
  1035. #define GPIO_PC0_T4CCP0 0x00020007
  1036. #define GPIO_PC1_TMS 0x00020401
  1037. #define GPIO_PC1_SWDIO 0x00020401
  1038. #define GPIO_PC1_T4CCP1 0x00020407
  1039. #define GPIO_PC2_TDI 0x00020801
  1040. #define GPIO_PC2_T5CCP0 0x00020807
  1041. #define GPIO_PC3_SWO 0x00020C01
  1042. #define GPIO_PC3_TDO 0x00020C01
  1043. #define GPIO_PC3_T5CCP1 0x00020C07
  1044. #define GPIO_PC4_U4RX 0x00021001
  1045. #define GPIO_PC4_U1RX 0x00021002
  1046. #define GPIO_PC4_WT0CCP0 0x00021007
  1047. #define GPIO_PC4_U1RTS 0x00021008
  1048. #define GPIO_PC5_U4TX 0x00021401
  1049. #define GPIO_PC5_U1TX 0x00021402
  1050. #define GPIO_PC5_WT0CCP1 0x00021407
  1051. #define GPIO_PC5_U1CTS 0x00021408
  1052. #define GPIO_PC6_U3RX 0x00021801
  1053. #define GPIO_PC6_WT1CCP0 0x00021807
  1054. #define GPIO_PC7_U3TX 0x00021C01
  1055. #define GPIO_PC7_WT1CCP1 0x00021C07
  1056. #define GPIO_PD0_SSI3CLK 0x00030001
  1057. #define GPIO_PD0_SSI1CLK 0x00030002
  1058. #define GPIO_PD0_I2C3SCL 0x00030003
  1059. #define GPIO_PD0_WT2CCP0 0x00030007
  1060. #define GPIO_PD1_SSI3FSS 0x00030401
  1061. #define GPIO_PD1_SSI1FSS 0x00030402
  1062. #define GPIO_PD1_I2C3SDA 0x00030403
  1063. #define GPIO_PD1_WT2CCP1 0x00030407
  1064. #define GPIO_PD2_SSI3RX 0x00030801
  1065. #define GPIO_PD2_SSI1RX 0x00030802
  1066. #define GPIO_PD2_WT3CCP0 0x00030807
  1067. #define GPIO_PD3_SSI3TX 0x00030C01
  1068. #define GPIO_PD3_SSI1TX 0x00030C02
  1069. #define GPIO_PD3_WT3CCP1 0x00030C07
  1070. #define GPIO_PD4_U6RX 0x00031001
  1071. #define GPIO_PD4_WT4CCP0 0x00031007
  1072. #define GPIO_PD5_U6TX 0x00031401
  1073. #define GPIO_PD5_WT4CCP1 0x00031407
  1074. #define GPIO_PD6_U2RX 0x00031801
  1075. #define GPIO_PD6_WT5CCP0 0x00031807
  1076. #define GPIO_PD7_U2TX 0x00031C01
  1077. #define GPIO_PD7_WT5CCP1 0x00031C07
  1078. #define GPIO_PD7_NMI 0x00031C08
  1079. #define GPIO_PE0_U7RX 0x00040001
  1080. #define GPIO_PE1_U7TX 0x00040401
  1081. #define GPIO_PE4_U5RX 0x00041001
  1082. #define GPIO_PE4_I2C2SCL 0x00041003
  1083. #define GPIO_PE4_CAN0RX 0x00041008
  1084. #define GPIO_PE5_U5TX 0x00041401
  1085. #define GPIO_PE5_I2C2SDA 0x00041403
  1086. #define GPIO_PE5_CAN0TX 0x00041408
  1087. #define GPIO_PE7_U1RI 0x00041C01
  1088. #define GPIO_PF0_U1RTS 0x00050001
  1089. #define GPIO_PF0_SSI1RX 0x00050002
  1090. #define GPIO_PF0_CAN0RX 0x00050003
  1091. #define GPIO_PF0_T0CCP0 0x00050007
  1092. #define GPIO_PF0_NMI 0x00050008
  1093. #define GPIO_PF0_C0O 0x00050009
  1094. #define GPIO_PF0_TRD2 0x0005000E
  1095. #define GPIO_PF1_U1CTS 0x00050401
  1096. #define GPIO_PF1_SSI1TX 0x00050402
  1097. #define GPIO_PF1_T0CCP1 0x00050407
  1098. #define GPIO_PF1_C1O 0x00050409
  1099. #define GPIO_PF1_TRD1 0x0005040E
  1100. #define GPIO_PF2_U1DCD 0x00050801
  1101. #define GPIO_PF2_SSI1CLK 0x00050802
  1102. #define GPIO_PF2_T1CCP0 0x00050807
  1103. #define GPIO_PF2_C2O 0x00050809
  1104. #define GPIO_PF2_TRD0 0x0005080E
  1105. #define GPIO_PF3_U1DSR 0x00050C01
  1106. #define GPIO_PF3_SSI1FSS 0x00050C02
  1107. #define GPIO_PF3_CAN0TX 0x00050C03
  1108. #define GPIO_PF3_T1CCP1 0x00050C07
  1109. #define GPIO_PF3_TRCLK 0x00050C0E
  1110. #define GPIO_PF4_U1DTR 0x00051001
  1111. #define GPIO_PF4_T2CCP0 0x00051007
  1112. #define GPIO_PF4_TRD3 0x0005100E
  1113. #define GPIO_PF5_T2CCP1 0x00051407
  1114. #define GPIO_PF6_I2C2SCL 0x00051803
  1115. #define GPIO_PF6_T3CCP0 0x00051807
  1116. #define GPIO_PF7_I2C2SDA 0x00051C03
  1117. #define GPIO_PF7_T3CCP1 0x00051C07
  1118. #define GPIO_PG0_I2C3SCL 0x00060003
  1119. #define GPIO_PG0_T4CCP0 0x00060007
  1120. #define GPIO_PG1_I2C3SDA 0x00060403
  1121. #define GPIO_PG1_T4CCP1 0x00060407
  1122. #define GPIO_PG2_I2C4SCL 0x00060803
  1123. #define GPIO_PG2_T5CCP0 0x00060807
  1124. #define GPIO_PG3_I2C4SDA 0x00060C03
  1125. #define GPIO_PG3_T5CCP1 0x00060C07
  1126. #define GPIO_PG4_U2RX 0x00061001
  1127. #define GPIO_PG4_I2C1SCL 0x00061003
  1128. #define GPIO_PG4_WT0CCP0 0x00061007
  1129. #define GPIO_PG5_U2TX 0x00061401
  1130. #define GPIO_PG5_I2C1SDA 0x00061403
  1131. #define GPIO_PG5_WT0CCP1 0x00061407
  1132. #define GPIO_PG6_I2C5SCL 0x00061803
  1133. #define GPIO_PG6_WT1CCP0 0x00061807
  1134. #define GPIO_PG7_I2C5SDA 0x00061C03
  1135. #define GPIO_PG7_WT1CCP1 0x00061C07
  1136. #define GPIO_PH0_SSI3CLK 0x00070002
  1137. #define GPIO_PH0_WT2CCP0 0x00070007
  1138. #define GPIO_PH1_SSI3FSS 0x00070402
  1139. #define GPIO_PH1_WT2CCP1 0x00070407
  1140. #define GPIO_PH2_SSI3RX 0x00070802
  1141. #define GPIO_PH2_WT5CCP0 0x00070807
  1142. #define GPIO_PH3_SSI3TX 0x00070C02
  1143. #define GPIO_PH3_WT5CCP1 0x00070C07
  1144. #define GPIO_PH4_SSI2CLK 0x00071002
  1145. #define GPIO_PH4_WT3CCP0 0x00071007
  1146. #define GPIO_PH5_SSI2FSS 0x00071402
  1147. #define GPIO_PH5_WT3CCP1 0x00071407
  1148. #define GPIO_PH6_SSI2RX 0x00071802
  1149. #define GPIO_PH6_WT4CCP0 0x00071807
  1150. #define GPIO_PH7_SSI2TX 0x00071C02
  1151. #define GPIO_PH7_WT4CCP1 0x00071C07
  1152. #define GPIO_PJ0_U4RX 0x00080001
  1153. #define GPIO_PJ0_T1CCP0 0x00080007
  1154. #define GPIO_PJ1_U4TX 0x00080401
  1155. #define GPIO_PJ1_T1CCP1 0x00080407
  1156. #define GPIO_PJ2_U5RX 0x00080801
  1157. #define GPIO_PJ2_T2CCP0 0x00080807
  1158. #define GPIO_PK0_SSI3CLK 0x00090002
  1159. #define GPIO_PK1_SSI3FSS 0x00090402
  1160. #define GPIO_PK2_SSI3RX 0x00090802
  1161. #define GPIO_PK3_SSI3TX 0x00090C02
  1162. #endif // PART_TM4C1231E6PZ
  1163. //*****************************************************************************
  1164. //
  1165. // TM4C1231H6PM Port/Pin Mapping Definitions
  1166. //
  1167. //*****************************************************************************
  1168. #ifdef PART_TM4C1231H6PM
  1169. #define GPIO_PA0_U0RX 0x00000001
  1170. #define GPIO_PA1_U0TX 0x00000401
  1171. #define GPIO_PA2_SSI0CLK 0x00000802
  1172. #define GPIO_PA3_SSI0FSS 0x00000C02
  1173. #define GPIO_PA4_SSI0RX 0x00001002
  1174. #define GPIO_PA5_SSI0TX 0x00001402
  1175. #define GPIO_PA6_I2C1SCL 0x00001803
  1176. #define GPIO_PA7_I2C1SDA 0x00001C03
  1177. #define GPIO_PB0_U1RX 0x00010001
  1178. #define GPIO_PB0_T2CCP0 0x00010007
  1179. #define GPIO_PB1_U1TX 0x00010401
  1180. #define GPIO_PB1_T2CCP1 0x00010407
  1181. #define GPIO_PB2_I2C0SCL 0x00010803
  1182. #define GPIO_PB2_T3CCP0 0x00010807
  1183. #define GPIO_PB3_I2C0SDA 0x00010C03
  1184. #define GPIO_PB3_T3CCP1 0x00010C07
  1185. #define GPIO_PB4_SSI2CLK 0x00011002
  1186. #define GPIO_PB4_T1CCP0 0x00011007
  1187. #define GPIO_PB4_CAN0RX 0x00011008
  1188. #define GPIO_PB5_SSI2FSS 0x00011402
  1189. #define GPIO_PB5_T1CCP1 0x00011407
  1190. #define GPIO_PB5_CAN0TX 0x00011408
  1191. #define GPIO_PB6_SSI2RX 0x00011802
  1192. #define GPIO_PB6_T0CCP0 0x00011807
  1193. #define GPIO_PB7_SSI2TX 0x00011C02
  1194. #define GPIO_PB7_T0CCP1 0x00011C07
  1195. #define GPIO_PC0_TCK 0x00020001
  1196. #define GPIO_PC0_SWCLK 0x00020001
  1197. #define GPIO_PC0_T4CCP0 0x00020007
  1198. #define GPIO_PC1_TMS 0x00020401
  1199. #define GPIO_PC1_SWDIO 0x00020401
  1200. #define GPIO_PC1_T4CCP1 0x00020407
  1201. #define GPIO_PC2_TDI 0x00020801
  1202. #define GPIO_PC2_T5CCP0 0x00020807
  1203. #define GPIO_PC3_SWO 0x00020C01
  1204. #define GPIO_PC3_TDO 0x00020C01
  1205. #define GPIO_PC3_T5CCP1 0x00020C07
  1206. #define GPIO_PC4_U4RX 0x00021001
  1207. #define GPIO_PC4_U1RX 0x00021002
  1208. #define GPIO_PC4_WT0CCP0 0x00021007
  1209. #define GPIO_PC4_U1RTS 0x00021008
  1210. #define GPIO_PC5_U4TX 0x00021401
  1211. #define GPIO_PC5_U1TX 0x00021402
  1212. #define GPIO_PC5_WT0CCP1 0x00021407
  1213. #define GPIO_PC5_U1CTS 0x00021408
  1214. #define GPIO_PC6_U3RX 0x00021801
  1215. #define GPIO_PC6_WT1CCP0 0x00021807
  1216. #define GPIO_PC7_U3TX 0x00021C01
  1217. #define GPIO_PC7_WT1CCP1 0x00021C07
  1218. #define GPIO_PD0_SSI3CLK 0x00030001
  1219. #define GPIO_PD0_SSI1CLK 0x00030002
  1220. #define GPIO_PD0_I2C3SCL 0x00030003
  1221. #define GPIO_PD0_WT2CCP0 0x00030007
  1222. #define GPIO_PD1_SSI3FSS 0x00030401
  1223. #define GPIO_PD1_SSI1FSS 0x00030402
  1224. #define GPIO_PD1_I2C3SDA 0x00030403
  1225. #define GPIO_PD1_WT2CCP1 0x00030407
  1226. #define GPIO_PD2_SSI3RX 0x00030801
  1227. #define GPIO_PD2_SSI1RX 0x00030802
  1228. #define GPIO_PD2_WT3CCP0 0x00030807
  1229. #define GPIO_PD3_SSI3TX 0x00030C01
  1230. #define GPIO_PD3_SSI1TX 0x00030C02
  1231. #define GPIO_PD3_WT3CCP1 0x00030C07
  1232. #define GPIO_PD4_U6RX 0x00031001
  1233. #define GPIO_PD4_WT4CCP0 0x00031007
  1234. #define GPIO_PD5_U6TX 0x00031401
  1235. #define GPIO_PD5_WT4CCP1 0x00031407
  1236. #define GPIO_PD6_U2RX 0x00031801
  1237. #define GPIO_PD6_WT5CCP0 0x00031807
  1238. #define GPIO_PD7_U2TX 0x00031C01
  1239. #define GPIO_PD7_WT5CCP1 0x00031C07
  1240. #define GPIO_PD7_NMI 0x00031C08
  1241. #define GPIO_PE0_U7RX 0x00040001
  1242. #define GPIO_PE1_U7TX 0x00040401
  1243. #define GPIO_PE4_U5RX 0x00041001
  1244. #define GPIO_PE4_I2C2SCL 0x00041003
  1245. #define GPIO_PE4_CAN0RX 0x00041008
  1246. #define GPIO_PE5_U5TX 0x00041401
  1247. #define GPIO_PE5_I2C2SDA 0x00041403
  1248. #define GPIO_PE5_CAN0TX 0x00041408
  1249. #define GPIO_PF0_U1RTS 0x00050001
  1250. #define GPIO_PF0_SSI1RX 0x00050002
  1251. #define GPIO_PF0_CAN0RX 0x00050003
  1252. #define GPIO_PF0_T0CCP0 0x00050007
  1253. #define GPIO_PF0_NMI 0x00050008
  1254. #define GPIO_PF0_C0O 0x00050009
  1255. #define GPIO_PF1_U1CTS 0x00050401
  1256. #define GPIO_PF1_SSI1TX 0x00050402
  1257. #define GPIO_PF1_T0CCP1 0x00050407
  1258. #define GPIO_PF1_C1O 0x00050409
  1259. #define GPIO_PF1_TRD1 0x0005040E
  1260. #define GPIO_PF2_SSI1CLK 0x00050802
  1261. #define GPIO_PF2_T1CCP0 0x00050807
  1262. #define GPIO_PF2_TRD0 0x0005080E
  1263. #define GPIO_PF3_SSI1FSS 0x00050C02
  1264. #define GPIO_PF3_CAN0TX 0x00050C03
  1265. #define GPIO_PF3_T1CCP1 0x00050C07
  1266. #define GPIO_PF3_TRCLK 0x00050C0E
  1267. #define GPIO_PF4_T2CCP0 0x00051007
  1268. #endif // PART_TM4C1231H6PM
  1269. //*****************************************************************************
  1270. //
  1271. // TM4C1231H6PZ Port/Pin Mapping Definitions
  1272. //
  1273. //*****************************************************************************
  1274. #ifdef PART_TM4C1231H6PZ
  1275. #define GPIO_PA0_U0RX 0x00000001
  1276. #define GPIO_PA1_U0TX 0x00000401
  1277. #define GPIO_PA2_SSI0CLK 0x00000802
  1278. #define GPIO_PA3_SSI0FSS 0x00000C02
  1279. #define GPIO_PA4_SSI0RX 0x00001002
  1280. #define GPIO_PA5_SSI0TX 0x00001402
  1281. #define GPIO_PA6_I2C1SCL 0x00001803
  1282. #define GPIO_PA7_I2C1SDA 0x00001C03
  1283. #define GPIO_PB0_U1RX 0x00010001
  1284. #define GPIO_PB0_T2CCP0 0x00010007
  1285. #define GPIO_PB1_U1TX 0x00010401
  1286. #define GPIO_PB1_T2CCP1 0x00010407
  1287. #define GPIO_PB2_I2C0SCL 0x00010803
  1288. #define GPIO_PB2_T3CCP0 0x00010807
  1289. #define GPIO_PB3_I2C0SDA 0x00010C03
  1290. #define GPIO_PB3_T3CCP1 0x00010C07
  1291. #define GPIO_PB4_SSI2CLK 0x00011002
  1292. #define GPIO_PB4_T1CCP0 0x00011007
  1293. #define GPIO_PB4_CAN0RX 0x00011008
  1294. #define GPIO_PB5_SSI2FSS 0x00011402
  1295. #define GPIO_PB5_T1CCP1 0x00011407
  1296. #define GPIO_PB5_CAN0TX 0x00011408
  1297. #define GPIO_PC0_TCK 0x00020001
  1298. #define GPIO_PC0_SWCLK 0x00020001
  1299. #define GPIO_PC0_T4CCP0 0x00020007
  1300. #define GPIO_PC1_TMS 0x00020401
  1301. #define GPIO_PC1_SWDIO 0x00020401
  1302. #define GPIO_PC1_T4CCP1 0x00020407
  1303. #define GPIO_PC2_TDI 0x00020801
  1304. #define GPIO_PC2_T5CCP0 0x00020807
  1305. #define GPIO_PC3_SWO 0x00020C01
  1306. #define GPIO_PC3_TDO 0x00020C01
  1307. #define GPIO_PC3_T5CCP1 0x00020C07
  1308. #define GPIO_PC4_U4RX 0x00021001
  1309. #define GPIO_PC4_U1RX 0x00021002
  1310. #define GPIO_PC4_WT0CCP0 0x00021007
  1311. #define GPIO_PC4_U1RTS 0x00021008
  1312. #define GPIO_PC5_U4TX 0x00021401
  1313. #define GPIO_PC5_U1TX 0x00021402
  1314. #define GPIO_PC5_WT0CCP1 0x00021407
  1315. #define GPIO_PC5_U1CTS 0x00021408
  1316. #define GPIO_PC6_U3RX 0x00021801
  1317. #define GPIO_PC6_WT1CCP0 0x00021807
  1318. #define GPIO_PC7_U3TX 0x00021C01
  1319. #define GPIO_PC7_WT1CCP1 0x00021C07
  1320. #define GPIO_PD0_SSI3CLK 0x00030001
  1321. #define GPIO_PD0_SSI1CLK 0x00030002
  1322. #define GPIO_PD0_I2C3SCL 0x00030003
  1323. #define GPIO_PD0_WT2CCP0 0x00030007
  1324. #define GPIO_PD1_SSI3FSS 0x00030401
  1325. #define GPIO_PD1_SSI1FSS 0x00030402
  1326. #define GPIO_PD1_I2C3SDA 0x00030403
  1327. #define GPIO_PD1_WT2CCP1 0x00030407
  1328. #define GPIO_PD2_SSI3RX 0x00030801
  1329. #define GPIO_PD2_SSI1RX 0x00030802
  1330. #define GPIO_PD2_WT3CCP0 0x00030807
  1331. #define GPIO_PD3_SSI3TX 0x00030C01
  1332. #define GPIO_PD3_SSI1TX 0x00030C02
  1333. #define GPIO_PD3_WT3CCP1 0x00030C07
  1334. #define GPIO_PD4_U6RX 0x00031001
  1335. #define GPIO_PD4_WT4CCP0 0x00031007
  1336. #define GPIO_PD5_U6TX 0x00031401
  1337. #define GPIO_PD5_WT4CCP1 0x00031407
  1338. #define GPIO_PD6_U2RX 0x00031801
  1339. #define GPIO_PD6_WT5CCP0 0x00031807
  1340. #define GPIO_PD7_U2TX 0x00031C01
  1341. #define GPIO_PD7_WT5CCP1 0x00031C07
  1342. #define GPIO_PD7_NMI 0x00031C08
  1343. #define GPIO_PE0_U7RX 0x00040001
  1344. #define GPIO_PE1_U7TX 0x00040401
  1345. #define GPIO_PE4_U5RX 0x00041001
  1346. #define GPIO_PE4_I2C2SCL 0x00041003
  1347. #define GPIO_PE4_CAN0RX 0x00041008
  1348. #define GPIO_PE5_U5TX 0x00041401
  1349. #define GPIO_PE5_I2C2SDA 0x00041403
  1350. #define GPIO_PE5_CAN0TX 0x00041408
  1351. #define GPIO_PE7_U1RI 0x00041C01
  1352. #define GPIO_PF0_U1RTS 0x00050001
  1353. #define GPIO_PF0_SSI1RX 0x00050002
  1354. #define GPIO_PF0_CAN0RX 0x00050003
  1355. #define GPIO_PF0_T0CCP0 0x00050007
  1356. #define GPIO_PF0_NMI 0x00050008
  1357. #define GPIO_PF0_C0O 0x00050009
  1358. #define GPIO_PF0_TRD2 0x0005000E
  1359. #define GPIO_PF1_U1CTS 0x00050401
  1360. #define GPIO_PF1_SSI1TX 0x00050402
  1361. #define GPIO_PF1_T0CCP1 0x00050407
  1362. #define GPIO_PF1_C1O 0x00050409
  1363. #define GPIO_PF1_TRD1 0x0005040E
  1364. #define GPIO_PF2_U1DCD 0x00050801
  1365. #define GPIO_PF2_SSI1CLK 0x00050802
  1366. #define GPIO_PF2_T1CCP0 0x00050807
  1367. #define GPIO_PF2_C2O 0x00050809
  1368. #define GPIO_PF2_TRD0 0x0005080E
  1369. #define GPIO_PF3_U1DSR 0x00050C01
  1370. #define GPIO_PF3_SSI1FSS 0x00050C02
  1371. #define GPIO_PF3_CAN0TX 0x00050C03
  1372. #define GPIO_PF3_T1CCP1 0x00050C07
  1373. #define GPIO_PF3_TRCLK 0x00050C0E
  1374. #define GPIO_PF4_U1DTR 0x00051001
  1375. #define GPIO_PF4_T2CCP0 0x00051007
  1376. #define GPIO_PF4_TRD3 0x0005100E
  1377. #define GPIO_PF5_T2CCP1 0x00051407
  1378. #define GPIO_PF6_I2C2SCL 0x00051803
  1379. #define GPIO_PF6_T3CCP0 0x00051807
  1380. #define GPIO_PF7_I2C2SDA 0x00051C03
  1381. #define GPIO_PF7_T3CCP1 0x00051C07
  1382. #define GPIO_PG0_I2C3SCL 0x00060003
  1383. #define GPIO_PG0_T4CCP0 0x00060007
  1384. #define GPIO_PG1_I2C3SDA 0x00060403
  1385. #define GPIO_PG1_T4CCP1 0x00060407
  1386. #define GPIO_PG2_I2C4SCL 0x00060803
  1387. #define GPIO_PG2_T5CCP0 0x00060807
  1388. #define GPIO_PG3_I2C4SDA 0x00060C03
  1389. #define GPIO_PG3_T5CCP1 0x00060C07
  1390. #define GPIO_PG4_U2RX 0x00061001
  1391. #define GPIO_PG4_I2C1SCL 0x00061003
  1392. #define GPIO_PG4_WT0CCP0 0x00061007
  1393. #define GPIO_PG5_U2TX 0x00061401
  1394. #define GPIO_PG5_I2C1SDA 0x00061403
  1395. #define GPIO_PG5_WT0CCP1 0x00061407
  1396. #define GPIO_PG6_I2C5SCL 0x00061803
  1397. #define GPIO_PG6_WT1CCP0 0x00061807
  1398. #define GPIO_PG7_I2C5SDA 0x00061C03
  1399. #define GPIO_PG7_WT1CCP1 0x00061C07
  1400. #define GPIO_PH0_SSI3CLK 0x00070002
  1401. #define GPIO_PH0_WT2CCP0 0x00070007
  1402. #define GPIO_PH1_SSI3FSS 0x00070402
  1403. #define GPIO_PH1_WT2CCP1 0x00070407
  1404. #define GPIO_PH2_SSI3RX 0x00070802
  1405. #define GPIO_PH2_WT5CCP0 0x00070807
  1406. #define GPIO_PH3_SSI3TX 0x00070C02
  1407. #define GPIO_PH3_WT5CCP1 0x00070C07
  1408. #define GPIO_PH4_SSI2CLK 0x00071002
  1409. #define GPIO_PH4_WT3CCP0 0x00071007
  1410. #define GPIO_PH5_SSI2FSS 0x00071402
  1411. #define GPIO_PH5_WT3CCP1 0x00071407
  1412. #define GPIO_PH6_SSI2RX 0x00071802
  1413. #define GPIO_PH6_WT4CCP0 0x00071807
  1414. #define GPIO_PH7_SSI2TX 0x00071C02
  1415. #define GPIO_PH7_WT4CCP1 0x00071C07
  1416. #define GPIO_PJ0_U4RX 0x00080001
  1417. #define GPIO_PJ0_T1CCP0 0x00080007
  1418. #define GPIO_PJ1_U4TX 0x00080401
  1419. #define GPIO_PJ1_T1CCP1 0x00080407
  1420. #define GPIO_PJ2_U5RX 0x00080801
  1421. #define GPIO_PJ2_T2CCP0 0x00080807
  1422. #define GPIO_PK0_SSI3CLK 0x00090002
  1423. #define GPIO_PK1_SSI3FSS 0x00090402
  1424. #define GPIO_PK2_SSI3RX 0x00090802
  1425. #define GPIO_PK3_SSI3TX 0x00090C02
  1426. #endif // PART_TM4C1231H6PZ
  1427. //*****************************************************************************
  1428. //
  1429. // TM4C1232C3PM Port/Pin Mapping Definitions
  1430. //
  1431. //*****************************************************************************
  1432. #ifdef PART_TM4C1232C3PM
  1433. #define GPIO_PA0_U0RX 0x00000001
  1434. #define GPIO_PA1_U0TX 0x00000401
  1435. #define GPIO_PA2_SSI0CLK 0x00000802
  1436. #define GPIO_PA3_SSI0FSS 0x00000C02
  1437. #define GPIO_PA4_SSI0RX 0x00001002
  1438. #define GPIO_PA5_SSI0TX 0x00001402
  1439. #define GPIO_PA6_I2C1SCL 0x00001803
  1440. #define GPIO_PA7_I2C1SDA 0x00001C03
  1441. #define GPIO_PB0_U1RX 0x00010001
  1442. #define GPIO_PB0_T2CCP0 0x00010007
  1443. #define GPIO_PB1_U1TX 0x00010401
  1444. #define GPIO_PB1_T2CCP1 0x00010407
  1445. #define GPIO_PB2_I2C0SCL 0x00010803
  1446. #define GPIO_PB2_T3CCP0 0x00010807
  1447. #define GPIO_PB3_I2C0SDA 0x00010C03
  1448. #define GPIO_PB3_T3CCP1 0x00010C07
  1449. #define GPIO_PB4_SSI2CLK 0x00011002
  1450. #define GPIO_PB4_T1CCP0 0x00011007
  1451. #define GPIO_PB4_CAN0RX 0x00011008
  1452. #define GPIO_PB5_SSI2FSS 0x00011402
  1453. #define GPIO_PB5_T1CCP1 0x00011407
  1454. #define GPIO_PB5_CAN0TX 0x00011408
  1455. #define GPIO_PB6_SSI2RX 0x00011802
  1456. #define GPIO_PB6_I2C5SCL 0x00011803
  1457. #define GPIO_PB6_T0CCP0 0x00011807
  1458. #define GPIO_PB7_SSI2TX 0x00011C02
  1459. #define GPIO_PB7_I2C5SDA 0x00011C03
  1460. #define GPIO_PB7_T0CCP1 0x00011C07
  1461. #define GPIO_PC0_TCK 0x00020001
  1462. #define GPIO_PC0_SWCLK 0x00020001
  1463. #define GPIO_PC0_T4CCP0 0x00020007
  1464. #define GPIO_PC1_TMS 0x00020401
  1465. #define GPIO_PC1_SWDIO 0x00020401
  1466. #define GPIO_PC1_T4CCP1 0x00020407
  1467. #define GPIO_PC2_TDI 0x00020801
  1468. #define GPIO_PC2_T5CCP0 0x00020807
  1469. #define GPIO_PC3_SWO 0x00020C01
  1470. #define GPIO_PC3_TDO 0x00020C01
  1471. #define GPIO_PC3_T5CCP1 0x00020C07
  1472. #define GPIO_PC4_U4RX 0x00021001
  1473. #define GPIO_PC4_U1RX 0x00021002
  1474. #define GPIO_PC4_WT0CCP0 0x00021007
  1475. #define GPIO_PC4_U1RTS 0x00021008
  1476. #define GPIO_PC5_U4TX 0x00021401
  1477. #define GPIO_PC5_U1TX 0x00021402
  1478. #define GPIO_PC5_WT0CCP1 0x00021407
  1479. #define GPIO_PC5_U1CTS 0x00021408
  1480. #define GPIO_PC6_U3RX 0x00021801
  1481. #define GPIO_PC6_WT1CCP0 0x00021807
  1482. #define GPIO_PC7_U3TX 0x00021C01
  1483. #define GPIO_PC7_WT1CCP1 0x00021C07
  1484. #define GPIO_PD0_SSI3CLK 0x00030001
  1485. #define GPIO_PD0_SSI1CLK 0x00030002
  1486. #define GPIO_PD0_I2C3SCL 0x00030003
  1487. #define GPIO_PD0_WT2CCP0 0x00030007
  1488. #define GPIO_PD1_SSI3FSS 0x00030401
  1489. #define GPIO_PD1_SSI1FSS 0x00030402
  1490. #define GPIO_PD1_I2C3SDA 0x00030403
  1491. #define GPIO_PD1_WT2CCP1 0x00030407
  1492. #define GPIO_PD2_SSI3RX 0x00030801
  1493. #define GPIO_PD2_SSI1RX 0x00030802
  1494. #define GPIO_PD2_WT3CCP0 0x00030807
  1495. #define GPIO_PD3_SSI3TX 0x00030C01
  1496. #define GPIO_PD3_SSI1TX 0x00030C02
  1497. #define GPIO_PD3_WT3CCP1 0x00030C07
  1498. #define GPIO_PD4_U6RX 0x00031001
  1499. #define GPIO_PD4_WT4CCP0 0x00031007
  1500. #define GPIO_PD5_U6TX 0x00031401
  1501. #define GPIO_PD5_WT4CCP1 0x00031407
  1502. #define GPIO_PD6_U2RX 0x00031801
  1503. #define GPIO_PD6_WT5CCP0 0x00031807
  1504. #define GPIO_PD7_U2TX 0x00031C01
  1505. #define GPIO_PD7_WT5CCP1 0x00031C07
  1506. #define GPIO_PD7_NMI 0x00031C08
  1507. #define GPIO_PE0_U7RX 0x00040001
  1508. #define GPIO_PE1_U7TX 0x00040401
  1509. #define GPIO_PE4_U5RX 0x00041001
  1510. #define GPIO_PE4_I2C2SCL 0x00041003
  1511. #define GPIO_PE4_CAN0RX 0x00041008
  1512. #define GPIO_PE5_U5TX 0x00041401
  1513. #define GPIO_PE5_I2C2SDA 0x00041403
  1514. #define GPIO_PE5_CAN0TX 0x00041408
  1515. #define GPIO_PF0_U1RTS 0x00050001
  1516. #define GPIO_PF0_SSI1RX 0x00050002
  1517. #define GPIO_PF0_CAN0RX 0x00050003
  1518. #define GPIO_PF0_T0CCP0 0x00050007
  1519. #define GPIO_PF0_NMI 0x00050008
  1520. #define GPIO_PF0_C0O 0x00050009
  1521. #define GPIO_PF1_U1CTS 0x00050401
  1522. #define GPIO_PF1_SSI1TX 0x00050402
  1523. #define GPIO_PF1_T0CCP1 0x00050407
  1524. #define GPIO_PF1_C1O 0x00050409
  1525. #define GPIO_PF1_TRD1 0x0005040E
  1526. #define GPIO_PF2_SSI1CLK 0x00050802
  1527. #define GPIO_PF2_T1CCP0 0x00050807
  1528. #define GPIO_PF2_TRD0 0x0005080E
  1529. #define GPIO_PF3_SSI1FSS 0x00050C02
  1530. #define GPIO_PF3_CAN0TX 0x00050C03
  1531. #define GPIO_PF3_T1CCP1 0x00050C07
  1532. #define GPIO_PF3_TRCLK 0x00050C0E
  1533. #define GPIO_PF4_T2CCP0 0x00051007
  1534. #define GPIO_PG0_I2C3SCL 0x00060003
  1535. #define GPIO_PG0_T4CCP0 0x00060007
  1536. #define GPIO_PG1_I2C3SDA 0x00060403
  1537. #define GPIO_PG1_T4CCP1 0x00060407
  1538. #define GPIO_PG2_I2C4SCL 0x00060803
  1539. #define GPIO_PG2_T5CCP0 0x00060807
  1540. #define GPIO_PG3_I2C4SDA 0x00060C03
  1541. #define GPIO_PG3_T5CCP1 0x00060C07
  1542. #define GPIO_PG4_U2RX 0x00061001
  1543. #define GPIO_PG4_I2C1SCL 0x00061003
  1544. #define GPIO_PG4_WT0CCP0 0x00061007
  1545. #define GPIO_PG5_U2TX 0x00061401
  1546. #define GPIO_PG5_I2C1SDA 0x00061403
  1547. #define GPIO_PG5_WT0CCP1 0x00061407
  1548. #endif // PART_TM4C1232C3PM
  1549. //*****************************************************************************
  1550. //
  1551. // TM4C1232D5PM Port/Pin Mapping Definitions
  1552. //
  1553. //*****************************************************************************
  1554. #ifdef PART_TM4C1232D5PM
  1555. #define GPIO_PA0_U0RX 0x00000001
  1556. #define GPIO_PA1_U0TX 0x00000401
  1557. #define GPIO_PA2_SSI0CLK 0x00000802
  1558. #define GPIO_PA3_SSI0FSS 0x00000C02
  1559. #define GPIO_PA4_SSI0RX 0x00001002
  1560. #define GPIO_PA5_SSI0TX 0x00001402
  1561. #define GPIO_PA6_I2C1SCL 0x00001803
  1562. #define GPIO_PA7_I2C1SDA 0x00001C03
  1563. #define GPIO_PB0_U1RX 0x00010001
  1564. #define GPIO_PB0_T2CCP0 0x00010007
  1565. #define GPIO_PB1_U1TX 0x00010401
  1566. #define GPIO_PB1_T2CCP1 0x00010407
  1567. #define GPIO_PB2_I2C0SCL 0x00010803
  1568. #define GPIO_PB2_T3CCP0 0x00010807
  1569. #define GPIO_PB3_I2C0SDA 0x00010C03
  1570. #define GPIO_PB3_T3CCP1 0x00010C07
  1571. #define GPIO_PB4_SSI2CLK 0x00011002
  1572. #define GPIO_PB4_T1CCP0 0x00011007
  1573. #define GPIO_PB4_CAN0RX 0x00011008
  1574. #define GPIO_PB5_SSI2FSS 0x00011402
  1575. #define GPIO_PB5_T1CCP1 0x00011407
  1576. #define GPIO_PB5_CAN0TX 0x00011408
  1577. #define GPIO_PB6_SSI2RX 0x00011802
  1578. #define GPIO_PB6_I2C5SCL 0x00011803
  1579. #define GPIO_PB6_T0CCP0 0x00011807
  1580. #define GPIO_PB7_SSI2TX 0x00011C02
  1581. #define GPIO_PB7_I2C5SDA 0x00011C03
  1582. #define GPIO_PB7_T0CCP1 0x00011C07
  1583. #define GPIO_PC0_TCK 0x00020001
  1584. #define GPIO_PC0_SWCLK 0x00020001
  1585. #define GPIO_PC0_T4CCP0 0x00020007
  1586. #define GPIO_PC1_TMS 0x00020401
  1587. #define GPIO_PC1_SWDIO 0x00020401
  1588. #define GPIO_PC1_T4CCP1 0x00020407
  1589. #define GPIO_PC2_TDI 0x00020801
  1590. #define GPIO_PC2_T5CCP0 0x00020807
  1591. #define GPIO_PC3_SWO 0x00020C01
  1592. #define GPIO_PC3_TDO 0x00020C01
  1593. #define GPIO_PC3_T5CCP1 0x00020C07
  1594. #define GPIO_PC4_U4RX 0x00021001
  1595. #define GPIO_PC4_U1RX 0x00021002
  1596. #define GPIO_PC4_WT0CCP0 0x00021007
  1597. #define GPIO_PC4_U1RTS 0x00021008
  1598. #define GPIO_PC5_U4TX 0x00021401
  1599. #define GPIO_PC5_U1TX 0x00021402
  1600. #define GPIO_PC5_WT0CCP1 0x00021407
  1601. #define GPIO_PC5_U1CTS 0x00021408
  1602. #define GPIO_PC6_U3RX 0x00021801
  1603. #define GPIO_PC6_WT1CCP0 0x00021807
  1604. #define GPIO_PC7_U3TX 0x00021C01
  1605. #define GPIO_PC7_WT1CCP1 0x00021C07
  1606. #define GPIO_PD0_SSI3CLK 0x00030001
  1607. #define GPIO_PD0_SSI1CLK 0x00030002
  1608. #define GPIO_PD0_I2C3SCL 0x00030003
  1609. #define GPIO_PD0_WT2CCP0 0x00030007
  1610. #define GPIO_PD1_SSI3FSS 0x00030401
  1611. #define GPIO_PD1_SSI1FSS 0x00030402
  1612. #define GPIO_PD1_I2C3SDA 0x00030403
  1613. #define GPIO_PD1_WT2CCP1 0x00030407
  1614. #define GPIO_PD2_SSI3RX 0x00030801
  1615. #define GPIO_PD2_SSI1RX 0x00030802
  1616. #define GPIO_PD2_WT3CCP0 0x00030807
  1617. #define GPIO_PD3_SSI3TX 0x00030C01
  1618. #define GPIO_PD3_SSI1TX 0x00030C02
  1619. #define GPIO_PD3_WT3CCP1 0x00030C07
  1620. #define GPIO_PD4_U6RX 0x00031001
  1621. #define GPIO_PD4_WT4CCP0 0x00031007
  1622. #define GPIO_PD5_U6TX 0x00031401
  1623. #define GPIO_PD5_WT4CCP1 0x00031407
  1624. #define GPIO_PD6_U2RX 0x00031801
  1625. #define GPIO_PD6_WT5CCP0 0x00031807
  1626. #define GPIO_PD7_U2TX 0x00031C01
  1627. #define GPIO_PD7_WT5CCP1 0x00031C07
  1628. #define GPIO_PD7_NMI 0x00031C08
  1629. #define GPIO_PE0_U7RX 0x00040001
  1630. #define GPIO_PE1_U7TX 0x00040401
  1631. #define GPIO_PE4_U5RX 0x00041001
  1632. #define GPIO_PE4_I2C2SCL 0x00041003
  1633. #define GPIO_PE4_CAN0RX 0x00041008
  1634. #define GPIO_PE5_U5TX 0x00041401
  1635. #define GPIO_PE5_I2C2SDA 0x00041403
  1636. #define GPIO_PE5_CAN0TX 0x00041408
  1637. #define GPIO_PF0_U1RTS 0x00050001
  1638. #define GPIO_PF0_SSI1RX 0x00050002
  1639. #define GPIO_PF0_CAN0RX 0x00050003
  1640. #define GPIO_PF0_T0CCP0 0x00050007
  1641. #define GPIO_PF0_NMI 0x00050008
  1642. #define GPIO_PF0_C0O 0x00050009
  1643. #define GPIO_PF1_U1CTS 0x00050401
  1644. #define GPIO_PF1_SSI1TX 0x00050402
  1645. #define GPIO_PF1_T0CCP1 0x00050407
  1646. #define GPIO_PF1_C1O 0x00050409
  1647. #define GPIO_PF1_TRD1 0x0005040E
  1648. #define GPIO_PF2_SSI1CLK 0x00050802
  1649. #define GPIO_PF2_T1CCP0 0x00050807
  1650. #define GPIO_PF2_TRD0 0x0005080E
  1651. #define GPIO_PF3_SSI1FSS 0x00050C02
  1652. #define GPIO_PF3_CAN0TX 0x00050C03
  1653. #define GPIO_PF3_T1CCP1 0x00050C07
  1654. #define GPIO_PF3_TRCLK 0x00050C0E
  1655. #define GPIO_PF4_T2CCP0 0x00051007
  1656. #define GPIO_PG0_I2C3SCL 0x00060003
  1657. #define GPIO_PG0_T4CCP0 0x00060007
  1658. #define GPIO_PG1_I2C3SDA 0x00060403
  1659. #define GPIO_PG1_T4CCP1 0x00060407
  1660. #define GPIO_PG2_I2C4SCL 0x00060803
  1661. #define GPIO_PG2_T5CCP0 0x00060807
  1662. #define GPIO_PG3_I2C4SDA 0x00060C03
  1663. #define GPIO_PG3_T5CCP1 0x00060C07
  1664. #define GPIO_PG4_U2RX 0x00061001
  1665. #define GPIO_PG4_I2C1SCL 0x00061003
  1666. #define GPIO_PG4_WT0CCP0 0x00061007
  1667. #define GPIO_PG5_U2TX 0x00061401
  1668. #define GPIO_PG5_I2C1SDA 0x00061403
  1669. #define GPIO_PG5_WT0CCP1 0x00061407
  1670. #endif // PART_TM4C1232D5PM
  1671. //*****************************************************************************
  1672. //
  1673. // TM4C1232E6PM Port/Pin Mapping Definitions
  1674. //
  1675. //*****************************************************************************
  1676. #ifdef PART_TM4C1232E6PM
  1677. #define GPIO_PA0_U0RX 0x00000001
  1678. #define GPIO_PA1_U0TX 0x00000401
  1679. #define GPIO_PA2_SSI0CLK 0x00000802
  1680. #define GPIO_PA3_SSI0FSS 0x00000C02
  1681. #define GPIO_PA4_SSI0RX 0x00001002
  1682. #define GPIO_PA5_SSI0TX 0x00001402
  1683. #define GPIO_PA6_I2C1SCL 0x00001803
  1684. #define GPIO_PA7_I2C1SDA 0x00001C03
  1685. #define GPIO_PB0_U1RX 0x00010001
  1686. #define GPIO_PB0_T2CCP0 0x00010007
  1687. #define GPIO_PB1_U1TX 0x00010401
  1688. #define GPIO_PB1_T2CCP1 0x00010407
  1689. #define GPIO_PB2_I2C0SCL 0x00010803
  1690. #define GPIO_PB2_T3CCP0 0x00010807
  1691. #define GPIO_PB3_I2C0SDA 0x00010C03
  1692. #define GPIO_PB3_T3CCP1 0x00010C07
  1693. #define GPIO_PB4_SSI2CLK 0x00011002
  1694. #define GPIO_PB4_T1CCP0 0x00011007
  1695. #define GPIO_PB4_CAN0RX 0x00011008
  1696. #define GPIO_PB5_SSI2FSS 0x00011402
  1697. #define GPIO_PB5_T1CCP1 0x00011407
  1698. #define GPIO_PB5_CAN0TX 0x00011408
  1699. #define GPIO_PB6_SSI2RX 0x00011802
  1700. #define GPIO_PB6_I2C5SCL 0x00011803
  1701. #define GPIO_PB6_T0CCP0 0x00011807
  1702. #define GPIO_PB7_SSI2TX 0x00011C02
  1703. #define GPIO_PB7_I2C5SDA 0x00011C03
  1704. #define GPIO_PB7_T0CCP1 0x00011C07
  1705. #define GPIO_PC0_TCK 0x00020001
  1706. #define GPIO_PC0_SWCLK 0x00020001
  1707. #define GPIO_PC0_T4CCP0 0x00020007
  1708. #define GPIO_PC1_TMS 0x00020401
  1709. #define GPIO_PC1_SWDIO 0x00020401
  1710. #define GPIO_PC1_T4CCP1 0x00020407
  1711. #define GPIO_PC2_TDI 0x00020801
  1712. #define GPIO_PC2_T5CCP0 0x00020807
  1713. #define GPIO_PC3_SWO 0x00020C01
  1714. #define GPIO_PC3_TDO 0x00020C01
  1715. #define GPIO_PC3_T5CCP1 0x00020C07
  1716. #define GPIO_PC4_U4RX 0x00021001
  1717. #define GPIO_PC4_U1RX 0x00021002
  1718. #define GPIO_PC4_WT0CCP0 0x00021007
  1719. #define GPIO_PC4_U1RTS 0x00021008
  1720. #define GPIO_PC5_U4TX 0x00021401
  1721. #define GPIO_PC5_U1TX 0x00021402
  1722. #define GPIO_PC5_WT0CCP1 0x00021407
  1723. #define GPIO_PC5_U1CTS 0x00021408
  1724. #define GPIO_PC6_U3RX 0x00021801
  1725. #define GPIO_PC6_WT1CCP0 0x00021807
  1726. #define GPIO_PC7_U3TX 0x00021C01
  1727. #define GPIO_PC7_WT1CCP1 0x00021C07
  1728. #define GPIO_PD0_SSI3CLK 0x00030001
  1729. #define GPIO_PD0_SSI1CLK 0x00030002
  1730. #define GPIO_PD0_I2C3SCL 0x00030003
  1731. #define GPIO_PD0_WT2CCP0 0x00030007
  1732. #define GPIO_PD1_SSI3FSS 0x00030401
  1733. #define GPIO_PD1_SSI1FSS 0x00030402
  1734. #define GPIO_PD1_I2C3SDA 0x00030403
  1735. #define GPIO_PD1_WT2CCP1 0x00030407
  1736. #define GPIO_PD2_SSI3RX 0x00030801
  1737. #define GPIO_PD2_SSI1RX 0x00030802
  1738. #define GPIO_PD2_WT3CCP0 0x00030807
  1739. #define GPIO_PD3_SSI3TX 0x00030C01
  1740. #define GPIO_PD3_SSI1TX 0x00030C02
  1741. #define GPIO_PD3_WT3CCP1 0x00030C07
  1742. #define GPIO_PD4_U6RX 0x00031001
  1743. #define GPIO_PD4_WT4CCP0 0x00031007
  1744. #define GPIO_PD5_U6TX 0x00031401
  1745. #define GPIO_PD5_WT4CCP1 0x00031407
  1746. #define GPIO_PD6_U2RX 0x00031801
  1747. #define GPIO_PD6_WT5CCP0 0x00031807
  1748. #define GPIO_PD7_U2TX 0x00031C01
  1749. #define GPIO_PD7_WT5CCP1 0x00031C07
  1750. #define GPIO_PD7_NMI 0x00031C08
  1751. #define GPIO_PE0_U7RX 0x00040001
  1752. #define GPIO_PE1_U7TX 0x00040401
  1753. #define GPIO_PE4_U5RX 0x00041001
  1754. #define GPIO_PE4_I2C2SCL 0x00041003
  1755. #define GPIO_PE4_CAN0RX 0x00041008
  1756. #define GPIO_PE5_U5TX 0x00041401
  1757. #define GPIO_PE5_I2C2SDA 0x00041403
  1758. #define GPIO_PE5_CAN0TX 0x00041408
  1759. #define GPIO_PF0_U1RTS 0x00050001
  1760. #define GPIO_PF0_SSI1RX 0x00050002
  1761. #define GPIO_PF0_CAN0RX 0x00050003
  1762. #define GPIO_PF0_T0CCP0 0x00050007
  1763. #define GPIO_PF0_NMI 0x00050008
  1764. #define GPIO_PF0_C0O 0x00050009
  1765. #define GPIO_PF1_U1CTS 0x00050401
  1766. #define GPIO_PF1_SSI1TX 0x00050402
  1767. #define GPIO_PF1_T0CCP1 0x00050407
  1768. #define GPIO_PF1_C1O 0x00050409
  1769. #define GPIO_PF1_TRD1 0x0005040E
  1770. #define GPIO_PF2_SSI1CLK 0x00050802
  1771. #define GPIO_PF2_T1CCP0 0x00050807
  1772. #define GPIO_PF2_TRD0 0x0005080E
  1773. #define GPIO_PF3_SSI1FSS 0x00050C02
  1774. #define GPIO_PF3_CAN0TX 0x00050C03
  1775. #define GPIO_PF3_T1CCP1 0x00050C07
  1776. #define GPIO_PF3_TRCLK 0x00050C0E
  1777. #define GPIO_PF4_T2CCP0 0x00051007
  1778. #define GPIO_PG0_I2C3SCL 0x00060003
  1779. #define GPIO_PG0_T4CCP0 0x00060007
  1780. #define GPIO_PG1_I2C3SDA 0x00060403
  1781. #define GPIO_PG1_T4CCP1 0x00060407
  1782. #define GPIO_PG2_I2C4SCL 0x00060803
  1783. #define GPIO_PG2_T5CCP0 0x00060807
  1784. #define GPIO_PG3_I2C4SDA 0x00060C03
  1785. #define GPIO_PG3_T5CCP1 0x00060C07
  1786. #define GPIO_PG4_U2RX 0x00061001
  1787. #define GPIO_PG4_I2C1SCL 0x00061003
  1788. #define GPIO_PG4_WT0CCP0 0x00061007
  1789. #define GPIO_PG5_U2TX 0x00061401
  1790. #define GPIO_PG5_I2C1SDA 0x00061403
  1791. #define GPIO_PG5_WT0CCP1 0x00061407
  1792. #endif // PART_TM4C1232E6PM
  1793. //*****************************************************************************
  1794. //
  1795. // TM4C1232H6PM Port/Pin Mapping Definitions
  1796. //
  1797. //*****************************************************************************
  1798. #ifdef PART_TM4C1232H6PM
  1799. #define GPIO_PA0_U0RX 0x00000001
  1800. #define GPIO_PA1_U0TX 0x00000401
  1801. #define GPIO_PA2_SSI0CLK 0x00000802
  1802. #define GPIO_PA3_SSI0FSS 0x00000C02
  1803. #define GPIO_PA4_SSI0RX 0x00001002
  1804. #define GPIO_PA5_SSI0TX 0x00001402
  1805. #define GPIO_PA6_I2C1SCL 0x00001803
  1806. #define GPIO_PA7_I2C1SDA 0x00001C03
  1807. #define GPIO_PB0_U1RX 0x00010001
  1808. #define GPIO_PB0_T2CCP0 0x00010007
  1809. #define GPIO_PB1_U1TX 0x00010401
  1810. #define GPIO_PB1_T2CCP1 0x00010407
  1811. #define GPIO_PB2_I2C0SCL 0x00010803
  1812. #define GPIO_PB2_T3CCP0 0x00010807
  1813. #define GPIO_PB3_I2C0SDA 0x00010C03
  1814. #define GPIO_PB3_T3CCP1 0x00010C07
  1815. #define GPIO_PB4_SSI2CLK 0x00011002
  1816. #define GPIO_PB4_T1CCP0 0x00011007
  1817. #define GPIO_PB4_CAN0RX 0x00011008
  1818. #define GPIO_PB5_SSI2FSS 0x00011402
  1819. #define GPIO_PB5_T1CCP1 0x00011407
  1820. #define GPIO_PB5_CAN0TX 0x00011408
  1821. #define GPIO_PB6_SSI2RX 0x00011802
  1822. #define GPIO_PB6_I2C5SCL 0x00011803
  1823. #define GPIO_PB6_T0CCP0 0x00011807
  1824. #define GPIO_PB7_SSI2TX 0x00011C02
  1825. #define GPIO_PB7_I2C5SDA 0x00011C03
  1826. #define GPIO_PB7_T0CCP1 0x00011C07
  1827. #define GPIO_PC0_TCK 0x00020001
  1828. #define GPIO_PC0_SWCLK 0x00020001
  1829. #define GPIO_PC0_T4CCP0 0x00020007
  1830. #define GPIO_PC1_TMS 0x00020401
  1831. #define GPIO_PC1_SWDIO 0x00020401
  1832. #define GPIO_PC1_T4CCP1 0x00020407
  1833. #define GPIO_PC2_TDI 0x00020801
  1834. #define GPIO_PC2_T5CCP0 0x00020807
  1835. #define GPIO_PC3_SWO 0x00020C01
  1836. #define GPIO_PC3_TDO 0x00020C01
  1837. #define GPIO_PC3_T5CCP1 0x00020C07
  1838. #define GPIO_PC4_U4RX 0x00021001
  1839. #define GPIO_PC4_U1RX 0x00021002
  1840. #define GPIO_PC4_WT0CCP0 0x00021007
  1841. #define GPIO_PC4_U1RTS 0x00021008
  1842. #define GPIO_PC5_U4TX 0x00021401
  1843. #define GPIO_PC5_U1TX 0x00021402
  1844. #define GPIO_PC5_WT0CCP1 0x00021407
  1845. #define GPIO_PC5_U1CTS 0x00021408
  1846. #define GPIO_PC6_U3RX 0x00021801
  1847. #define GPIO_PC6_WT1CCP0 0x00021807
  1848. #define GPIO_PC7_U3TX 0x00021C01
  1849. #define GPIO_PC7_WT1CCP1 0x00021C07
  1850. #define GPIO_PD0_SSI3CLK 0x00030001
  1851. #define GPIO_PD0_SSI1CLK 0x00030002
  1852. #define GPIO_PD0_I2C3SCL 0x00030003
  1853. #define GPIO_PD0_WT2CCP0 0x00030007
  1854. #define GPIO_PD1_SSI3FSS 0x00030401
  1855. #define GPIO_PD1_SSI1FSS 0x00030402
  1856. #define GPIO_PD1_I2C3SDA 0x00030403
  1857. #define GPIO_PD1_WT2CCP1 0x00030407
  1858. #define GPIO_PD2_SSI3RX 0x00030801
  1859. #define GPIO_PD2_SSI1RX 0x00030802
  1860. #define GPIO_PD2_WT3CCP0 0x00030807
  1861. #define GPIO_PD3_SSI3TX 0x00030C01
  1862. #define GPIO_PD3_SSI1TX 0x00030C02
  1863. #define GPIO_PD3_WT3CCP1 0x00030C07
  1864. #define GPIO_PD4_U6RX 0x00031001
  1865. #define GPIO_PD4_WT4CCP0 0x00031007
  1866. #define GPIO_PD5_U6TX 0x00031401
  1867. #define GPIO_PD5_WT4CCP1 0x00031407
  1868. #define GPIO_PD6_U2RX 0x00031801
  1869. #define GPIO_PD6_WT5CCP0 0x00031807
  1870. #define GPIO_PD7_U2TX 0x00031C01
  1871. #define GPIO_PD7_WT5CCP1 0x00031C07
  1872. #define GPIO_PD7_NMI 0x00031C08
  1873. #define GPIO_PE0_U7RX 0x00040001
  1874. #define GPIO_PE1_U7TX 0x00040401
  1875. #define GPIO_PE4_U5RX 0x00041001
  1876. #define GPIO_PE4_I2C2SCL 0x00041003
  1877. #define GPIO_PE4_CAN0RX 0x00041008
  1878. #define GPIO_PE5_U5TX 0x00041401
  1879. #define GPIO_PE5_I2C2SDA 0x00041403
  1880. #define GPIO_PE5_CAN0TX 0x00041408
  1881. #define GPIO_PF0_U1RTS 0x00050001
  1882. #define GPIO_PF0_SSI1RX 0x00050002
  1883. #define GPIO_PF0_CAN0RX 0x00050003
  1884. #define GPIO_PF0_T0CCP0 0x00050007
  1885. #define GPIO_PF0_NMI 0x00050008
  1886. #define GPIO_PF0_C0O 0x00050009
  1887. #define GPIO_PF1_U1CTS 0x00050401
  1888. #define GPIO_PF1_SSI1TX 0x00050402
  1889. #define GPIO_PF1_T0CCP1 0x00050407
  1890. #define GPIO_PF1_C1O 0x00050409
  1891. #define GPIO_PF1_TRD1 0x0005040E
  1892. #define GPIO_PF2_SSI1CLK 0x00050802
  1893. #define GPIO_PF2_T1CCP0 0x00050807
  1894. #define GPIO_PF2_TRD0 0x0005080E
  1895. #define GPIO_PF3_SSI1FSS 0x00050C02
  1896. #define GPIO_PF3_CAN0TX 0x00050C03
  1897. #define GPIO_PF3_T1CCP1 0x00050C07
  1898. #define GPIO_PF3_TRCLK 0x00050C0E
  1899. #define GPIO_PF4_T2CCP0 0x00051007
  1900. #define GPIO_PG0_I2C3SCL 0x00060003
  1901. #define GPIO_PG0_T4CCP0 0x00060007
  1902. #define GPIO_PG1_I2C3SDA 0x00060403
  1903. #define GPIO_PG1_T4CCP1 0x00060407
  1904. #define GPIO_PG2_I2C4SCL 0x00060803
  1905. #define GPIO_PG2_T5CCP0 0x00060807
  1906. #define GPIO_PG3_I2C4SDA 0x00060C03
  1907. #define GPIO_PG3_T5CCP1 0x00060C07
  1908. #define GPIO_PG4_U2RX 0x00061001
  1909. #define GPIO_PG4_I2C1SCL 0x00061003
  1910. #define GPIO_PG4_WT0CCP0 0x00061007
  1911. #define GPIO_PG5_U2TX 0x00061401
  1912. #define GPIO_PG5_I2C1SDA 0x00061403
  1913. #define GPIO_PG5_WT0CCP1 0x00061407
  1914. #endif // PART_TM4C1232H6PM
  1915. //*****************************************************************************
  1916. //
  1917. // TM4C1233C3PM Port/Pin Mapping Definitions
  1918. //
  1919. //*****************************************************************************
  1920. #ifdef PART_TM4C1233C3PM
  1921. #define GPIO_PA0_U0RX 0x00000001
  1922. #define GPIO_PA1_U0TX 0x00000401
  1923. #define GPIO_PA2_SSI0CLK 0x00000802
  1924. #define GPIO_PA3_SSI0FSS 0x00000C02
  1925. #define GPIO_PA4_SSI0RX 0x00001002
  1926. #define GPIO_PA5_SSI0TX 0x00001402
  1927. #define GPIO_PA6_I2C1SCL 0x00001803
  1928. #define GPIO_PA7_I2C1SDA 0x00001C03
  1929. #define GPIO_PB0_U1RX 0x00010001
  1930. #define GPIO_PB0_T2CCP0 0x00010007
  1931. #define GPIO_PB1_U1TX 0x00010401
  1932. #define GPIO_PB1_T2CCP1 0x00010407
  1933. #define GPIO_PB2_I2C0SCL 0x00010803
  1934. #define GPIO_PB2_T3CCP0 0x00010807
  1935. #define GPIO_PB3_I2C0SDA 0x00010C03
  1936. #define GPIO_PB3_T3CCP1 0x00010C07
  1937. #define GPIO_PB4_SSI2CLK 0x00011002
  1938. #define GPIO_PB4_T1CCP0 0x00011007
  1939. #define GPIO_PB4_CAN0RX 0x00011008
  1940. #define GPIO_PB5_SSI2FSS 0x00011402
  1941. #define GPIO_PB5_T1CCP1 0x00011407
  1942. #define GPIO_PB5_CAN0TX 0x00011408
  1943. #define GPIO_PB6_SSI2RX 0x00011802
  1944. #define GPIO_PB6_T0CCP0 0x00011807
  1945. #define GPIO_PB7_SSI2TX 0x00011C02
  1946. #define GPIO_PB7_T0CCP1 0x00011C07
  1947. #define GPIO_PC0_TCK 0x00020001
  1948. #define GPIO_PC0_SWCLK 0x00020001
  1949. #define GPIO_PC0_T4CCP0 0x00020007
  1950. #define GPIO_PC1_TMS 0x00020401
  1951. #define GPIO_PC1_SWDIO 0x00020401
  1952. #define GPIO_PC1_T4CCP1 0x00020407
  1953. #define GPIO_PC2_TDI 0x00020801
  1954. #define GPIO_PC2_T5CCP0 0x00020807
  1955. #define GPIO_PC3_SWO 0x00020C01
  1956. #define GPIO_PC3_TDO 0x00020C01
  1957. #define GPIO_PC3_T5CCP1 0x00020C07
  1958. #define GPIO_PC4_U4RX 0x00021001
  1959. #define GPIO_PC4_U1RX 0x00021002
  1960. #define GPIO_PC4_WT0CCP0 0x00021007
  1961. #define GPIO_PC4_U1RTS 0x00021008
  1962. #define GPIO_PC5_U4TX 0x00021401
  1963. #define GPIO_PC5_U1TX 0x00021402
  1964. #define GPIO_PC5_WT0CCP1 0x00021407
  1965. #define GPIO_PC5_U1CTS 0x00021408
  1966. #define GPIO_PC6_U3RX 0x00021801
  1967. #define GPIO_PC6_WT1CCP0 0x00021807
  1968. #define GPIO_PC7_U3TX 0x00021C01
  1969. #define GPIO_PC7_WT1CCP1 0x00021C07
  1970. #define GPIO_PD0_SSI3CLK 0x00030001
  1971. #define GPIO_PD0_SSI1CLK 0x00030002
  1972. #define GPIO_PD0_I2C3SCL 0x00030003
  1973. #define GPIO_PD0_WT2CCP0 0x00030007
  1974. #define GPIO_PD1_SSI3FSS 0x00030401
  1975. #define GPIO_PD1_SSI1FSS 0x00030402
  1976. #define GPIO_PD1_I2C3SDA 0x00030403
  1977. #define GPIO_PD1_WT2CCP1 0x00030407
  1978. #define GPIO_PD2_SSI3RX 0x00030801
  1979. #define GPIO_PD2_SSI1RX 0x00030802
  1980. #define GPIO_PD2_WT3CCP0 0x00030807
  1981. #define GPIO_PD3_SSI3TX 0x00030C01
  1982. #define GPIO_PD3_SSI1TX 0x00030C02
  1983. #define GPIO_PD3_WT3CCP1 0x00030C07
  1984. #define GPIO_PD4_U6RX 0x00031001
  1985. #define GPIO_PD4_WT4CCP0 0x00031007
  1986. #define GPIO_PD5_U6TX 0x00031401
  1987. #define GPIO_PD5_WT4CCP1 0x00031407
  1988. #define GPIO_PD6_U2RX 0x00031801
  1989. #define GPIO_PD6_WT5CCP0 0x00031807
  1990. #define GPIO_PD7_U2TX 0x00031C01
  1991. #define GPIO_PD7_WT5CCP1 0x00031C07
  1992. #define GPIO_PD7_NMI 0x00031C08
  1993. #define GPIO_PE0_U7RX 0x00040001
  1994. #define GPIO_PE1_U7TX 0x00040401
  1995. #define GPIO_PE4_U5RX 0x00041001
  1996. #define GPIO_PE4_I2C2SCL 0x00041003
  1997. #define GPIO_PE4_CAN0RX 0x00041008
  1998. #define GPIO_PE5_U5TX 0x00041401
  1999. #define GPIO_PE5_I2C2SDA 0x00041403
  2000. #define GPIO_PE5_CAN0TX 0x00041408
  2001. #define GPIO_PF0_U1RTS 0x00050001
  2002. #define GPIO_PF0_SSI1RX 0x00050002
  2003. #define GPIO_PF0_CAN0RX 0x00050003
  2004. #define GPIO_PF0_T0CCP0 0x00050007
  2005. #define GPIO_PF0_NMI 0x00050008
  2006. #define GPIO_PF0_C0O 0x00050009
  2007. #define GPIO_PF1_U1CTS 0x00050401
  2008. #define GPIO_PF1_SSI1TX 0x00050402
  2009. #define GPIO_PF1_T0CCP1 0x00050407
  2010. #define GPIO_PF1_C1O 0x00050409
  2011. #define GPIO_PF1_TRD1 0x0005040E
  2012. #define GPIO_PF2_SSI1CLK 0x00050802
  2013. #define GPIO_PF2_T1CCP0 0x00050807
  2014. #define GPIO_PF2_TRD0 0x0005080E
  2015. #define GPIO_PF3_SSI1FSS 0x00050C02
  2016. #define GPIO_PF3_CAN0TX 0x00050C03
  2017. #define GPIO_PF3_T1CCP1 0x00050C07
  2018. #define GPIO_PF3_TRCLK 0x00050C0E
  2019. #define GPIO_PF4_T2CCP0 0x00051007
  2020. #endif // PART_TM4C1233C3PM
  2021. //*****************************************************************************
  2022. //
  2023. // TM4C1233D5PM Port/Pin Mapping Definitions
  2024. //
  2025. //*****************************************************************************
  2026. #ifdef PART_TM4C1233D5PM
  2027. #define GPIO_PA0_U0RX 0x00000001
  2028. #define GPIO_PA1_U0TX 0x00000401
  2029. #define GPIO_PA2_SSI0CLK 0x00000802
  2030. #define GPIO_PA3_SSI0FSS 0x00000C02
  2031. #define GPIO_PA4_SSI0RX 0x00001002
  2032. #define GPIO_PA5_SSI0TX 0x00001402
  2033. #define GPIO_PA6_I2C1SCL 0x00001803
  2034. #define GPIO_PA7_I2C1SDA 0x00001C03
  2035. #define GPIO_PB0_U1RX 0x00010001
  2036. #define GPIO_PB0_T2CCP0 0x00010007
  2037. #define GPIO_PB1_U1TX 0x00010401
  2038. #define GPIO_PB1_T2CCP1 0x00010407
  2039. #define GPIO_PB2_I2C0SCL 0x00010803
  2040. #define GPIO_PB2_T3CCP0 0x00010807
  2041. #define GPIO_PB3_I2C0SDA 0x00010C03
  2042. #define GPIO_PB3_T3CCP1 0x00010C07
  2043. #define GPIO_PB4_SSI2CLK 0x00011002
  2044. #define GPIO_PB4_T1CCP0 0x00011007
  2045. #define GPIO_PB4_CAN0RX 0x00011008
  2046. #define GPIO_PB5_SSI2FSS 0x00011402
  2047. #define GPIO_PB5_T1CCP1 0x00011407
  2048. #define GPIO_PB5_CAN0TX 0x00011408
  2049. #define GPIO_PB6_SSI2RX 0x00011802
  2050. #define GPIO_PB6_T0CCP0 0x00011807
  2051. #define GPIO_PB7_SSI2TX 0x00011C02
  2052. #define GPIO_PB7_T0CCP1 0x00011C07
  2053. #define GPIO_PC0_TCK 0x00020001
  2054. #define GPIO_PC0_SWCLK 0x00020001
  2055. #define GPIO_PC0_T4CCP0 0x00020007
  2056. #define GPIO_PC1_TMS 0x00020401
  2057. #define GPIO_PC1_SWDIO 0x00020401
  2058. #define GPIO_PC1_T4CCP1 0x00020407
  2059. #define GPIO_PC2_TDI 0x00020801
  2060. #define GPIO_PC2_T5CCP0 0x00020807
  2061. #define GPIO_PC3_SWO 0x00020C01
  2062. #define GPIO_PC3_TDO 0x00020C01
  2063. #define GPIO_PC3_T5CCP1 0x00020C07
  2064. #define GPIO_PC4_U4RX 0x00021001
  2065. #define GPIO_PC4_U1RX 0x00021002
  2066. #define GPIO_PC4_WT0CCP0 0x00021007
  2067. #define GPIO_PC4_U1RTS 0x00021008
  2068. #define GPIO_PC5_U4TX 0x00021401
  2069. #define GPIO_PC5_U1TX 0x00021402
  2070. #define GPIO_PC5_WT0CCP1 0x00021407
  2071. #define GPIO_PC5_U1CTS 0x00021408
  2072. #define GPIO_PC6_U3RX 0x00021801
  2073. #define GPIO_PC6_WT1CCP0 0x00021807
  2074. #define GPIO_PC7_U3TX 0x00021C01
  2075. #define GPIO_PC7_WT1CCP1 0x00021C07
  2076. #define GPIO_PD0_SSI3CLK 0x00030001
  2077. #define GPIO_PD0_SSI1CLK 0x00030002
  2078. #define GPIO_PD0_I2C3SCL 0x00030003
  2079. #define GPIO_PD0_WT2CCP0 0x00030007
  2080. #define GPIO_PD1_SSI3FSS 0x00030401
  2081. #define GPIO_PD1_SSI1FSS 0x00030402
  2082. #define GPIO_PD1_I2C3SDA 0x00030403
  2083. #define GPIO_PD1_WT2CCP1 0x00030407
  2084. #define GPIO_PD2_SSI3RX 0x00030801
  2085. #define GPIO_PD2_SSI1RX 0x00030802
  2086. #define GPIO_PD2_WT3CCP0 0x00030807
  2087. #define GPIO_PD3_SSI3TX 0x00030C01
  2088. #define GPIO_PD3_SSI1TX 0x00030C02
  2089. #define GPIO_PD3_WT3CCP1 0x00030C07
  2090. #define GPIO_PD4_U6RX 0x00031001
  2091. #define GPIO_PD4_WT4CCP0 0x00031007
  2092. #define GPIO_PD5_U6TX 0x00031401
  2093. #define GPIO_PD5_WT4CCP1 0x00031407
  2094. #define GPIO_PD6_U2RX 0x00031801
  2095. #define GPIO_PD6_WT5CCP0 0x00031807
  2096. #define GPIO_PD7_U2TX 0x00031C01
  2097. #define GPIO_PD7_WT5CCP1 0x00031C07
  2098. #define GPIO_PD7_NMI 0x00031C08
  2099. #define GPIO_PE0_U7RX 0x00040001
  2100. #define GPIO_PE1_U7TX 0x00040401
  2101. #define GPIO_PE4_U5RX 0x00041001
  2102. #define GPIO_PE4_I2C2SCL 0x00041003
  2103. #define GPIO_PE4_CAN0RX 0x00041008
  2104. #define GPIO_PE5_U5TX 0x00041401
  2105. #define GPIO_PE5_I2C2SDA 0x00041403
  2106. #define GPIO_PE5_CAN0TX 0x00041408
  2107. #define GPIO_PF0_U1RTS 0x00050001
  2108. #define GPIO_PF0_SSI1RX 0x00050002
  2109. #define GPIO_PF0_CAN0RX 0x00050003
  2110. #define GPIO_PF0_T0CCP0 0x00050007
  2111. #define GPIO_PF0_NMI 0x00050008
  2112. #define GPIO_PF0_C0O 0x00050009
  2113. #define GPIO_PF1_U1CTS 0x00050401
  2114. #define GPIO_PF1_SSI1TX 0x00050402
  2115. #define GPIO_PF1_T0CCP1 0x00050407
  2116. #define GPIO_PF1_C1O 0x00050409
  2117. #define GPIO_PF1_TRD1 0x0005040E
  2118. #define GPIO_PF2_SSI1CLK 0x00050802
  2119. #define GPIO_PF2_T1CCP0 0x00050807
  2120. #define GPIO_PF2_TRD0 0x0005080E
  2121. #define GPIO_PF3_SSI1FSS 0x00050C02
  2122. #define GPIO_PF3_CAN0TX 0x00050C03
  2123. #define GPIO_PF3_T1CCP1 0x00050C07
  2124. #define GPIO_PF3_TRCLK 0x00050C0E
  2125. #define GPIO_PF4_T2CCP0 0x00051007
  2126. #endif // PART_TM4C1233D5PM
  2127. //*****************************************************************************
  2128. //
  2129. // TM4C1233D5PZ Port/Pin Mapping Definitions
  2130. //
  2131. //*****************************************************************************
  2132. #ifdef PART_TM4C1233D5PZ
  2133. #define GPIO_PA0_U0RX 0x00000001
  2134. #define GPIO_PA1_U0TX 0x00000401
  2135. #define GPIO_PA2_SSI0CLK 0x00000802
  2136. #define GPIO_PA3_SSI0FSS 0x00000C02
  2137. #define GPIO_PA4_SSI0RX 0x00001002
  2138. #define GPIO_PA5_SSI0TX 0x00001402
  2139. #define GPIO_PA6_I2C1SCL 0x00001803
  2140. #define GPIO_PA7_I2C1SDA 0x00001C03
  2141. #define GPIO_PB0_U1RX 0x00010001
  2142. #define GPIO_PB0_T2CCP0 0x00010007
  2143. #define GPIO_PB1_U1TX 0x00010401
  2144. #define GPIO_PB1_T2CCP1 0x00010407
  2145. #define GPIO_PB2_I2C0SCL 0x00010803
  2146. #define GPIO_PB2_T3CCP0 0x00010807
  2147. #define GPIO_PB3_I2C0SDA 0x00010C03
  2148. #define GPIO_PB3_T3CCP1 0x00010C07
  2149. #define GPIO_PB4_SSI2CLK 0x00011002
  2150. #define GPIO_PB4_T1CCP0 0x00011007
  2151. #define GPIO_PB4_CAN0RX 0x00011008
  2152. #define GPIO_PB5_SSI2FSS 0x00011402
  2153. #define GPIO_PB5_T1CCP1 0x00011407
  2154. #define GPIO_PB5_CAN0TX 0x00011408
  2155. #define GPIO_PC0_TCK 0x00020001
  2156. #define GPIO_PC0_SWCLK 0x00020001
  2157. #define GPIO_PC0_T4CCP0 0x00020007
  2158. #define GPIO_PC1_TMS 0x00020401
  2159. #define GPIO_PC1_SWDIO 0x00020401
  2160. #define GPIO_PC1_T4CCP1 0x00020407
  2161. #define GPIO_PC2_TDI 0x00020801
  2162. #define GPIO_PC2_T5CCP0 0x00020807
  2163. #define GPIO_PC3_SWO 0x00020C01
  2164. #define GPIO_PC3_TDO 0x00020C01
  2165. #define GPIO_PC3_T5CCP1 0x00020C07
  2166. #define GPIO_PC4_U4RX 0x00021001
  2167. #define GPIO_PC4_U1RX 0x00021002
  2168. #define GPIO_PC4_WT0CCP0 0x00021007
  2169. #define GPIO_PC4_U1RTS 0x00021008
  2170. #define GPIO_PC5_U4TX 0x00021401
  2171. #define GPIO_PC5_U1TX 0x00021402
  2172. #define GPIO_PC5_WT0CCP1 0x00021407
  2173. #define GPIO_PC5_U1CTS 0x00021408
  2174. #define GPIO_PC6_U3RX 0x00021801
  2175. #define GPIO_PC6_WT1CCP0 0x00021807
  2176. #define GPIO_PC7_U3TX 0x00021C01
  2177. #define GPIO_PC7_WT1CCP1 0x00021C07
  2178. #define GPIO_PD0_SSI3CLK 0x00030001
  2179. #define GPIO_PD0_SSI1CLK 0x00030002
  2180. #define GPIO_PD0_I2C3SCL 0x00030003
  2181. #define GPIO_PD0_WT2CCP0 0x00030007
  2182. #define GPIO_PD1_SSI3FSS 0x00030401
  2183. #define GPIO_PD1_SSI1FSS 0x00030402
  2184. #define GPIO_PD1_I2C3SDA 0x00030403
  2185. #define GPIO_PD1_WT2CCP1 0x00030407
  2186. #define GPIO_PD2_SSI3RX 0x00030801
  2187. #define GPIO_PD2_SSI1RX 0x00030802
  2188. #define GPIO_PD2_WT3CCP0 0x00030807
  2189. #define GPIO_PD3_SSI3TX 0x00030C01
  2190. #define GPIO_PD3_SSI1TX 0x00030C02
  2191. #define GPIO_PD3_WT3CCP1 0x00030C07
  2192. #define GPIO_PD4_U6RX 0x00031001
  2193. #define GPIO_PD4_WT4CCP0 0x00031007
  2194. #define GPIO_PD5_U6TX 0x00031401
  2195. #define GPIO_PD5_WT4CCP1 0x00031407
  2196. #define GPIO_PD6_U2RX 0x00031801
  2197. #define GPIO_PD6_WT5CCP0 0x00031807
  2198. #define GPIO_PD7_U2TX 0x00031C01
  2199. #define GPIO_PD7_WT5CCP1 0x00031C07
  2200. #define GPIO_PD7_NMI 0x00031C08
  2201. #define GPIO_PE0_U7RX 0x00040001
  2202. #define GPIO_PE1_U7TX 0x00040401
  2203. #define GPIO_PE4_U5RX 0x00041001
  2204. #define GPIO_PE4_I2C2SCL 0x00041003
  2205. #define GPIO_PE4_CAN0RX 0x00041008
  2206. #define GPIO_PE5_U5TX 0x00041401
  2207. #define GPIO_PE5_I2C2SDA 0x00041403
  2208. #define GPIO_PE5_CAN0TX 0x00041408
  2209. #define GPIO_PE7_U1RI 0x00041C01
  2210. #define GPIO_PF0_U1RTS 0x00050001
  2211. #define GPIO_PF0_SSI1RX 0x00050002
  2212. #define GPIO_PF0_CAN0RX 0x00050003
  2213. #define GPIO_PF0_T0CCP0 0x00050007
  2214. #define GPIO_PF0_NMI 0x00050008
  2215. #define GPIO_PF0_C0O 0x00050009
  2216. #define GPIO_PF0_TRD2 0x0005000E
  2217. #define GPIO_PF1_U1CTS 0x00050401
  2218. #define GPIO_PF1_SSI1TX 0x00050402
  2219. #define GPIO_PF1_T0CCP1 0x00050407
  2220. #define GPIO_PF1_C1O 0x00050409
  2221. #define GPIO_PF1_TRD1 0x0005040E
  2222. #define GPIO_PF2_U1DCD 0x00050801
  2223. #define GPIO_PF2_SSI1CLK 0x00050802
  2224. #define GPIO_PF2_T1CCP0 0x00050807
  2225. #define GPIO_PF2_C2O 0x00050809
  2226. #define GPIO_PF2_TRD0 0x0005080E
  2227. #define GPIO_PF3_U1DSR 0x00050C01
  2228. #define GPIO_PF3_SSI1FSS 0x00050C02
  2229. #define GPIO_PF3_CAN0TX 0x00050C03
  2230. #define GPIO_PF3_T1CCP1 0x00050C07
  2231. #define GPIO_PF3_TRCLK 0x00050C0E
  2232. #define GPIO_PF4_U1DTR 0x00051001
  2233. #define GPIO_PF4_T2CCP0 0x00051007
  2234. #define GPIO_PF4_TRD3 0x0005100E
  2235. #define GPIO_PF5_T2CCP1 0x00051407
  2236. #define GPIO_PF6_I2C2SCL 0x00051803
  2237. #define GPIO_PF6_T3CCP0 0x00051807
  2238. #define GPIO_PF7_I2C2SDA 0x00051C03
  2239. #define GPIO_PF7_T3CCP1 0x00051C07
  2240. #define GPIO_PG0_I2C3SCL 0x00060003
  2241. #define GPIO_PG0_T4CCP0 0x00060007
  2242. #define GPIO_PG1_I2C3SDA 0x00060403
  2243. #define GPIO_PG1_T4CCP1 0x00060407
  2244. #define GPIO_PG2_I2C4SCL 0x00060803
  2245. #define GPIO_PG2_T5CCP0 0x00060807
  2246. #define GPIO_PG3_I2C4SDA 0x00060C03
  2247. #define GPIO_PG3_T5CCP1 0x00060C07
  2248. #define GPIO_PG4_U2RX 0x00061001
  2249. #define GPIO_PG4_I2C1SCL 0x00061003
  2250. #define GPIO_PG4_WT0CCP0 0x00061007
  2251. #define GPIO_PG5_U2TX 0x00061401
  2252. #define GPIO_PG5_I2C1SDA 0x00061403
  2253. #define GPIO_PG5_WT0CCP1 0x00061407
  2254. #define GPIO_PG6_I2C5SCL 0x00061803
  2255. #define GPIO_PG6_WT1CCP0 0x00061807
  2256. #define GPIO_PG7_I2C5SDA 0x00061C03
  2257. #define GPIO_PG7_WT1CCP1 0x00061C07
  2258. #define GPIO_PH0_SSI3CLK 0x00070002
  2259. #define GPIO_PH0_WT2CCP0 0x00070007
  2260. #define GPIO_PH1_SSI3FSS 0x00070402
  2261. #define GPIO_PH1_WT2CCP1 0x00070407
  2262. #define GPIO_PH2_SSI3RX 0x00070802
  2263. #define GPIO_PH2_WT5CCP0 0x00070807
  2264. #define GPIO_PH3_SSI3TX 0x00070C02
  2265. #define GPIO_PH3_WT5CCP1 0x00070C07
  2266. #define GPIO_PH4_SSI2CLK 0x00071002
  2267. #define GPIO_PH4_WT3CCP0 0x00071007
  2268. #define GPIO_PH5_SSI2FSS 0x00071402
  2269. #define GPIO_PH5_WT3CCP1 0x00071407
  2270. #define GPIO_PH6_SSI2RX 0x00071802
  2271. #define GPIO_PH6_WT4CCP0 0x00071807
  2272. #define GPIO_PH7_SSI2TX 0x00071C02
  2273. #define GPIO_PH7_WT4CCP1 0x00071C07
  2274. #define GPIO_PJ0_U4RX 0x00080001
  2275. #define GPIO_PJ0_T1CCP0 0x00080007
  2276. #define GPIO_PJ1_U4TX 0x00080401
  2277. #define GPIO_PJ1_T1CCP1 0x00080407
  2278. #define GPIO_PJ2_U5RX 0x00080801
  2279. #define GPIO_PJ2_T2CCP0 0x00080807
  2280. #define GPIO_PK0_SSI3CLK 0x00090002
  2281. #define GPIO_PK1_SSI3FSS 0x00090402
  2282. #define GPIO_PK2_SSI3RX 0x00090802
  2283. #define GPIO_PK3_SSI3TX 0x00090C02
  2284. #endif // PART_TM4C1233D5PZ
  2285. //*****************************************************************************
  2286. //
  2287. // TM4C1233E6PM Port/Pin Mapping Definitions
  2288. //
  2289. //*****************************************************************************
  2290. #ifdef PART_TM4C1233E6PM
  2291. #define GPIO_PA0_U0RX 0x00000001
  2292. #define GPIO_PA1_U0TX 0x00000401
  2293. #define GPIO_PA2_SSI0CLK 0x00000802
  2294. #define GPIO_PA3_SSI0FSS 0x00000C02
  2295. #define GPIO_PA4_SSI0RX 0x00001002
  2296. #define GPIO_PA5_SSI0TX 0x00001402
  2297. #define GPIO_PA6_I2C1SCL 0x00001803
  2298. #define GPIO_PA7_I2C1SDA 0x00001C03
  2299. #define GPIO_PB0_U1RX 0x00010001
  2300. #define GPIO_PB0_T2CCP0 0x00010007
  2301. #define GPIO_PB1_U1TX 0x00010401
  2302. #define GPIO_PB1_T2CCP1 0x00010407
  2303. #define GPIO_PB2_I2C0SCL 0x00010803
  2304. #define GPIO_PB2_T3CCP0 0x00010807
  2305. #define GPIO_PB3_I2C0SDA 0x00010C03
  2306. #define GPIO_PB3_T3CCP1 0x00010C07
  2307. #define GPIO_PB4_SSI2CLK 0x00011002
  2308. #define GPIO_PB4_T1CCP0 0x00011007
  2309. #define GPIO_PB4_CAN0RX 0x00011008
  2310. #define GPIO_PB5_SSI2FSS 0x00011402
  2311. #define GPIO_PB5_T1CCP1 0x00011407
  2312. #define GPIO_PB5_CAN0TX 0x00011408
  2313. #define GPIO_PB6_SSI2RX 0x00011802
  2314. #define GPIO_PB6_T0CCP0 0x00011807
  2315. #define GPIO_PB7_SSI2TX 0x00011C02
  2316. #define GPIO_PB7_T0CCP1 0x00011C07
  2317. #define GPIO_PC0_TCK 0x00020001
  2318. #define GPIO_PC0_SWCLK 0x00020001
  2319. #define GPIO_PC0_T4CCP0 0x00020007
  2320. #define GPIO_PC1_TMS 0x00020401
  2321. #define GPIO_PC1_SWDIO 0x00020401
  2322. #define GPIO_PC1_T4CCP1 0x00020407
  2323. #define GPIO_PC2_TDI 0x00020801
  2324. #define GPIO_PC2_T5CCP0 0x00020807
  2325. #define GPIO_PC3_SWO 0x00020C01
  2326. #define GPIO_PC3_TDO 0x00020C01
  2327. #define GPIO_PC3_T5CCP1 0x00020C07
  2328. #define GPIO_PC4_U4RX 0x00021001
  2329. #define GPIO_PC4_U1RX 0x00021002
  2330. #define GPIO_PC4_WT0CCP0 0x00021007
  2331. #define GPIO_PC4_U1RTS 0x00021008
  2332. #define GPIO_PC5_U4TX 0x00021401
  2333. #define GPIO_PC5_U1TX 0x00021402
  2334. #define GPIO_PC5_WT0CCP1 0x00021407
  2335. #define GPIO_PC5_U1CTS 0x00021408
  2336. #define GPIO_PC6_U3RX 0x00021801
  2337. #define GPIO_PC6_WT1CCP0 0x00021807
  2338. #define GPIO_PC7_U3TX 0x00021C01
  2339. #define GPIO_PC7_WT1CCP1 0x00021C07
  2340. #define GPIO_PD0_SSI3CLK 0x00030001
  2341. #define GPIO_PD0_SSI1CLK 0x00030002
  2342. #define GPIO_PD0_I2C3SCL 0x00030003
  2343. #define GPIO_PD0_WT2CCP0 0x00030007
  2344. #define GPIO_PD1_SSI3FSS 0x00030401
  2345. #define GPIO_PD1_SSI1FSS 0x00030402
  2346. #define GPIO_PD1_I2C3SDA 0x00030403
  2347. #define GPIO_PD1_WT2CCP1 0x00030407
  2348. #define GPIO_PD2_SSI3RX 0x00030801
  2349. #define GPIO_PD2_SSI1RX 0x00030802
  2350. #define GPIO_PD2_WT3CCP0 0x00030807
  2351. #define GPIO_PD3_SSI3TX 0x00030C01
  2352. #define GPIO_PD3_SSI1TX 0x00030C02
  2353. #define GPIO_PD3_WT3CCP1 0x00030C07
  2354. #define GPIO_PD4_U6RX 0x00031001
  2355. #define GPIO_PD4_WT4CCP0 0x00031007
  2356. #define GPIO_PD5_U6TX 0x00031401
  2357. #define GPIO_PD5_WT4CCP1 0x00031407
  2358. #define GPIO_PD6_U2RX 0x00031801
  2359. #define GPIO_PD6_WT5CCP0 0x00031807
  2360. #define GPIO_PD7_U2TX 0x00031C01
  2361. #define GPIO_PD7_WT5CCP1 0x00031C07
  2362. #define GPIO_PD7_NMI 0x00031C08
  2363. #define GPIO_PE0_U7RX 0x00040001
  2364. #define GPIO_PE1_U7TX 0x00040401
  2365. #define GPIO_PE4_U5RX 0x00041001
  2366. #define GPIO_PE4_I2C2SCL 0x00041003
  2367. #define GPIO_PE4_CAN0RX 0x00041008
  2368. #define GPIO_PE5_U5TX 0x00041401
  2369. #define GPIO_PE5_I2C2SDA 0x00041403
  2370. #define GPIO_PE5_CAN0TX 0x00041408
  2371. #define GPIO_PF0_U1RTS 0x00050001
  2372. #define GPIO_PF0_SSI1RX 0x00050002
  2373. #define GPIO_PF0_CAN0RX 0x00050003
  2374. #define GPIO_PF0_T0CCP0 0x00050007
  2375. #define GPIO_PF0_NMI 0x00050008
  2376. #define GPIO_PF0_C0O 0x00050009
  2377. #define GPIO_PF1_U1CTS 0x00050401
  2378. #define GPIO_PF1_SSI1TX 0x00050402
  2379. #define GPIO_PF1_T0CCP1 0x00050407
  2380. #define GPIO_PF1_C1O 0x00050409
  2381. #define GPIO_PF1_TRD1 0x0005040E
  2382. #define GPIO_PF2_SSI1CLK 0x00050802
  2383. #define GPIO_PF2_T1CCP0 0x00050807
  2384. #define GPIO_PF2_TRD0 0x0005080E
  2385. #define GPIO_PF3_SSI1FSS 0x00050C02
  2386. #define GPIO_PF3_CAN0TX 0x00050C03
  2387. #define GPIO_PF3_T1CCP1 0x00050C07
  2388. #define GPIO_PF3_TRCLK 0x00050C0E
  2389. #define GPIO_PF4_T2CCP0 0x00051007
  2390. #endif // PART_TM4C1233E6PM
  2391. //*****************************************************************************
  2392. //
  2393. // TM4C1233E6PZ Port/Pin Mapping Definitions
  2394. //
  2395. //*****************************************************************************
  2396. #ifdef PART_TM4C1233E6PZ
  2397. #define GPIO_PA0_U0RX 0x00000001
  2398. #define GPIO_PA1_U0TX 0x00000401
  2399. #define GPIO_PA2_SSI0CLK 0x00000802
  2400. #define GPIO_PA3_SSI0FSS 0x00000C02
  2401. #define GPIO_PA4_SSI0RX 0x00001002
  2402. #define GPIO_PA5_SSI0TX 0x00001402
  2403. #define GPIO_PA6_I2C1SCL 0x00001803
  2404. #define GPIO_PA7_I2C1SDA 0x00001C03
  2405. #define GPIO_PB0_U1RX 0x00010001
  2406. #define GPIO_PB0_T2CCP0 0x00010007
  2407. #define GPIO_PB1_U1TX 0x00010401
  2408. #define GPIO_PB1_T2CCP1 0x00010407
  2409. #define GPIO_PB2_I2C0SCL 0x00010803
  2410. #define GPIO_PB2_T3CCP0 0x00010807
  2411. #define GPIO_PB3_I2C0SDA 0x00010C03
  2412. #define GPIO_PB3_T3CCP1 0x00010C07
  2413. #define GPIO_PB4_SSI2CLK 0x00011002
  2414. #define GPIO_PB4_T1CCP0 0x00011007
  2415. #define GPIO_PB4_CAN0RX 0x00011008
  2416. #define GPIO_PB5_SSI2FSS 0x00011402
  2417. #define GPIO_PB5_T1CCP1 0x00011407
  2418. #define GPIO_PB5_CAN0TX 0x00011408
  2419. #define GPIO_PC0_TCK 0x00020001
  2420. #define GPIO_PC0_SWCLK 0x00020001
  2421. #define GPIO_PC0_T4CCP0 0x00020007
  2422. #define GPIO_PC1_TMS 0x00020401
  2423. #define GPIO_PC1_SWDIO 0x00020401
  2424. #define GPIO_PC1_T4CCP1 0x00020407
  2425. #define GPIO_PC2_TDI 0x00020801
  2426. #define GPIO_PC2_T5CCP0 0x00020807
  2427. #define GPIO_PC3_SWO 0x00020C01
  2428. #define GPIO_PC3_TDO 0x00020C01
  2429. #define GPIO_PC3_T5CCP1 0x00020C07
  2430. #define GPIO_PC4_U4RX 0x00021001
  2431. #define GPIO_PC4_U1RX 0x00021002
  2432. #define GPIO_PC4_WT0CCP0 0x00021007
  2433. #define GPIO_PC4_U1RTS 0x00021008
  2434. #define GPIO_PC5_U4TX 0x00021401
  2435. #define GPIO_PC5_U1TX 0x00021402
  2436. #define GPIO_PC5_WT0CCP1 0x00021407
  2437. #define GPIO_PC5_U1CTS 0x00021408
  2438. #define GPIO_PC6_U3RX 0x00021801
  2439. #define GPIO_PC6_WT1CCP0 0x00021807
  2440. #define GPIO_PC7_U3TX 0x00021C01
  2441. #define GPIO_PC7_WT1CCP1 0x00021C07
  2442. #define GPIO_PD0_SSI3CLK 0x00030001
  2443. #define GPIO_PD0_SSI1CLK 0x00030002
  2444. #define GPIO_PD0_I2C3SCL 0x00030003
  2445. #define GPIO_PD0_WT2CCP0 0x00030007
  2446. #define GPIO_PD1_SSI3FSS 0x00030401
  2447. #define GPIO_PD1_SSI1FSS 0x00030402
  2448. #define GPIO_PD1_I2C3SDA 0x00030403
  2449. #define GPIO_PD1_WT2CCP1 0x00030407
  2450. #define GPIO_PD2_SSI3RX 0x00030801
  2451. #define GPIO_PD2_SSI1RX 0x00030802
  2452. #define GPIO_PD2_WT3CCP0 0x00030807
  2453. #define GPIO_PD3_SSI3TX 0x00030C01
  2454. #define GPIO_PD3_SSI1TX 0x00030C02
  2455. #define GPIO_PD3_WT3CCP1 0x00030C07
  2456. #define GPIO_PD4_U6RX 0x00031001
  2457. #define GPIO_PD4_WT4CCP0 0x00031007
  2458. #define GPIO_PD5_U6TX 0x00031401
  2459. #define GPIO_PD5_WT4CCP1 0x00031407
  2460. #define GPIO_PD6_U2RX 0x00031801
  2461. #define GPIO_PD6_WT5CCP0 0x00031807
  2462. #define GPIO_PD7_U2TX 0x00031C01
  2463. #define GPIO_PD7_WT5CCP1 0x00031C07
  2464. #define GPIO_PD7_NMI 0x00031C08
  2465. #define GPIO_PE0_U7RX 0x00040001
  2466. #define GPIO_PE1_U7TX 0x00040401
  2467. #define GPIO_PE4_U5RX 0x00041001
  2468. #define GPIO_PE4_I2C2SCL 0x00041003
  2469. #define GPIO_PE4_CAN0RX 0x00041008
  2470. #define GPIO_PE5_U5TX 0x00041401
  2471. #define GPIO_PE5_I2C2SDA 0x00041403
  2472. #define GPIO_PE5_CAN0TX 0x00041408
  2473. #define GPIO_PE7_U1RI 0x00041C01
  2474. #define GPIO_PF0_U1RTS 0x00050001
  2475. #define GPIO_PF0_SSI1RX 0x00050002
  2476. #define GPIO_PF0_CAN0RX 0x00050003
  2477. #define GPIO_PF0_T0CCP0 0x00050007
  2478. #define GPIO_PF0_NMI 0x00050008
  2479. #define GPIO_PF0_C0O 0x00050009
  2480. #define GPIO_PF0_TRD2 0x0005000E
  2481. #define GPIO_PF1_U1CTS 0x00050401
  2482. #define GPIO_PF1_SSI1TX 0x00050402
  2483. #define GPIO_PF1_T0CCP1 0x00050407
  2484. #define GPIO_PF1_C1O 0x00050409
  2485. #define GPIO_PF1_TRD1 0x0005040E
  2486. #define GPIO_PF2_U1DCD 0x00050801
  2487. #define GPIO_PF2_SSI1CLK 0x00050802
  2488. #define GPIO_PF2_T1CCP0 0x00050807
  2489. #define GPIO_PF2_C2O 0x00050809
  2490. #define GPIO_PF2_TRD0 0x0005080E
  2491. #define GPIO_PF3_U1DSR 0x00050C01
  2492. #define GPIO_PF3_SSI1FSS 0x00050C02
  2493. #define GPIO_PF3_CAN0TX 0x00050C03
  2494. #define GPIO_PF3_T1CCP1 0x00050C07
  2495. #define GPIO_PF3_TRCLK 0x00050C0E
  2496. #define GPIO_PF4_U1DTR 0x00051001
  2497. #define GPIO_PF4_T2CCP0 0x00051007
  2498. #define GPIO_PF4_TRD3 0x0005100E
  2499. #define GPIO_PF5_T2CCP1 0x00051407
  2500. #define GPIO_PF6_I2C2SCL 0x00051803
  2501. #define GPIO_PF6_T3CCP0 0x00051807
  2502. #define GPIO_PF7_I2C2SDA 0x00051C03
  2503. #define GPIO_PF7_T3CCP1 0x00051C07
  2504. #define GPIO_PG0_I2C3SCL 0x00060003
  2505. #define GPIO_PG0_T4CCP0 0x00060007
  2506. #define GPIO_PG1_I2C3SDA 0x00060403
  2507. #define GPIO_PG1_T4CCP1 0x00060407
  2508. #define GPIO_PG2_I2C4SCL 0x00060803
  2509. #define GPIO_PG2_T5CCP0 0x00060807
  2510. #define GPIO_PG3_I2C4SDA 0x00060C03
  2511. #define GPIO_PG3_T5CCP1 0x00060C07
  2512. #define GPIO_PG4_U2RX 0x00061001
  2513. #define GPIO_PG4_I2C1SCL 0x00061003
  2514. #define GPIO_PG4_WT0CCP0 0x00061007
  2515. #define GPIO_PG5_U2TX 0x00061401
  2516. #define GPIO_PG5_I2C1SDA 0x00061403
  2517. #define GPIO_PG5_WT0CCP1 0x00061407
  2518. #define GPIO_PG6_I2C5SCL 0x00061803
  2519. #define GPIO_PG6_WT1CCP0 0x00061807
  2520. #define GPIO_PG7_I2C5SDA 0x00061C03
  2521. #define GPIO_PG7_WT1CCP1 0x00061C07
  2522. #define GPIO_PH0_SSI3CLK 0x00070002
  2523. #define GPIO_PH0_WT2CCP0 0x00070007
  2524. #define GPIO_PH1_SSI3FSS 0x00070402
  2525. #define GPIO_PH1_WT2CCP1 0x00070407
  2526. #define GPIO_PH2_SSI3RX 0x00070802
  2527. #define GPIO_PH2_WT5CCP0 0x00070807
  2528. #define GPIO_PH3_SSI3TX 0x00070C02
  2529. #define GPIO_PH3_WT5CCP1 0x00070C07
  2530. #define GPIO_PH4_SSI2CLK 0x00071002
  2531. #define GPIO_PH4_WT3CCP0 0x00071007
  2532. #define GPIO_PH5_SSI2FSS 0x00071402
  2533. #define GPIO_PH5_WT3CCP1 0x00071407
  2534. #define GPIO_PH6_SSI2RX 0x00071802
  2535. #define GPIO_PH6_WT4CCP0 0x00071807
  2536. #define GPIO_PH7_SSI2TX 0x00071C02
  2537. #define GPIO_PH7_WT4CCP1 0x00071C07
  2538. #define GPIO_PJ0_U4RX 0x00080001
  2539. #define GPIO_PJ0_T1CCP0 0x00080007
  2540. #define GPIO_PJ1_U4TX 0x00080401
  2541. #define GPIO_PJ1_T1CCP1 0x00080407
  2542. #define GPIO_PJ2_U5RX 0x00080801
  2543. #define GPIO_PJ2_T2CCP0 0x00080807
  2544. #define GPIO_PK0_SSI3CLK 0x00090002
  2545. #define GPIO_PK1_SSI3FSS 0x00090402
  2546. #define GPIO_PK2_SSI3RX 0x00090802
  2547. #define GPIO_PK3_SSI3TX 0x00090C02
  2548. #endif // PART_TM4C1233E6PZ
  2549. //*****************************************************************************
  2550. //
  2551. // TM4C1233H6PM Port/Pin Mapping Definitions
  2552. //
  2553. //*****************************************************************************
  2554. #ifdef PART_TM4C1233H6PM
  2555. #define GPIO_PA0_U0RX 0x00000001
  2556. #define GPIO_PA1_U0TX 0x00000401
  2557. #define GPIO_PA2_SSI0CLK 0x00000802
  2558. #define GPIO_PA3_SSI0FSS 0x00000C02
  2559. #define GPIO_PA4_SSI0RX 0x00001002
  2560. #define GPIO_PA5_SSI0TX 0x00001402
  2561. #define GPIO_PA6_I2C1SCL 0x00001803
  2562. #define GPIO_PA7_I2C1SDA 0x00001C03
  2563. #define GPIO_PB0_U1RX 0x00010001
  2564. #define GPIO_PB0_T2CCP0 0x00010007
  2565. #define GPIO_PB1_U1TX 0x00010401
  2566. #define GPIO_PB1_T2CCP1 0x00010407
  2567. #define GPIO_PB2_I2C0SCL 0x00010803
  2568. #define GPIO_PB2_T3CCP0 0x00010807
  2569. #define GPIO_PB3_I2C0SDA 0x00010C03
  2570. #define GPIO_PB3_T3CCP1 0x00010C07
  2571. #define GPIO_PB4_SSI2CLK 0x00011002
  2572. #define GPIO_PB4_T1CCP0 0x00011007
  2573. #define GPIO_PB4_CAN0RX 0x00011008
  2574. #define GPIO_PB5_SSI2FSS 0x00011402
  2575. #define GPIO_PB5_T1CCP1 0x00011407
  2576. #define GPIO_PB5_CAN0TX 0x00011408
  2577. #define GPIO_PB6_SSI2RX 0x00011802
  2578. #define GPIO_PB6_T0CCP0 0x00011807
  2579. #define GPIO_PB7_SSI2TX 0x00011C02
  2580. #define GPIO_PB7_T0CCP1 0x00011C07
  2581. #define GPIO_PC0_TCK 0x00020001
  2582. #define GPIO_PC0_SWCLK 0x00020001
  2583. #define GPIO_PC0_T4CCP0 0x00020007
  2584. #define GPIO_PC1_TMS 0x00020401
  2585. #define GPIO_PC1_SWDIO 0x00020401
  2586. #define GPIO_PC1_T4CCP1 0x00020407
  2587. #define GPIO_PC2_TDI 0x00020801
  2588. #define GPIO_PC2_T5CCP0 0x00020807
  2589. #define GPIO_PC3_SWO 0x00020C01
  2590. #define GPIO_PC3_TDO 0x00020C01
  2591. #define GPIO_PC3_T5CCP1 0x00020C07
  2592. #define GPIO_PC4_U4RX 0x00021001
  2593. #define GPIO_PC4_U1RX 0x00021002
  2594. #define GPIO_PC4_WT0CCP0 0x00021007
  2595. #define GPIO_PC4_U1RTS 0x00021008
  2596. #define GPIO_PC5_U4TX 0x00021401
  2597. #define GPIO_PC5_U1TX 0x00021402
  2598. #define GPIO_PC5_WT0CCP1 0x00021407
  2599. #define GPIO_PC5_U1CTS 0x00021408
  2600. #define GPIO_PC6_U3RX 0x00021801
  2601. #define GPIO_PC6_WT1CCP0 0x00021807
  2602. #define GPIO_PC7_U3TX 0x00021C01
  2603. #define GPIO_PC7_WT1CCP1 0x00021C07
  2604. #define GPIO_PD0_SSI3CLK 0x00030001
  2605. #define GPIO_PD0_SSI1CLK 0x00030002
  2606. #define GPIO_PD0_I2C3SCL 0x00030003
  2607. #define GPIO_PD0_WT2CCP0 0x00030007
  2608. #define GPIO_PD1_SSI3FSS 0x00030401
  2609. #define GPIO_PD1_SSI1FSS 0x00030402
  2610. #define GPIO_PD1_I2C3SDA 0x00030403
  2611. #define GPIO_PD1_WT2CCP1 0x00030407
  2612. #define GPIO_PD2_SSI3RX 0x00030801
  2613. #define GPIO_PD2_SSI1RX 0x00030802
  2614. #define GPIO_PD2_WT3CCP0 0x00030807
  2615. #define GPIO_PD3_SSI3TX 0x00030C01
  2616. #define GPIO_PD3_SSI1TX 0x00030C02
  2617. #define GPIO_PD3_WT3CCP1 0x00030C07
  2618. #define GPIO_PD4_U6RX 0x00031001
  2619. #define GPIO_PD4_WT4CCP0 0x00031007
  2620. #define GPIO_PD5_U6TX 0x00031401
  2621. #define GPIO_PD5_WT4CCP1 0x00031407
  2622. #define GPIO_PD6_U2RX 0x00031801
  2623. #define GPIO_PD6_WT5CCP0 0x00031807
  2624. #define GPIO_PD7_U2TX 0x00031C01
  2625. #define GPIO_PD7_WT5CCP1 0x00031C07
  2626. #define GPIO_PD7_NMI 0x00031C08
  2627. #define GPIO_PE0_U7RX 0x00040001
  2628. #define GPIO_PE1_U7TX 0x00040401
  2629. #define GPIO_PE4_U5RX 0x00041001
  2630. #define GPIO_PE4_I2C2SCL 0x00041003
  2631. #define GPIO_PE4_CAN0RX 0x00041008
  2632. #define GPIO_PE5_U5TX 0x00041401
  2633. #define GPIO_PE5_I2C2SDA 0x00041403
  2634. #define GPIO_PE5_CAN0TX 0x00041408
  2635. #define GPIO_PF0_U1RTS 0x00050001
  2636. #define GPIO_PF0_SSI1RX 0x00050002
  2637. #define GPIO_PF0_CAN0RX 0x00050003
  2638. #define GPIO_PF0_T0CCP0 0x00050007
  2639. #define GPIO_PF0_NMI 0x00050008
  2640. #define GPIO_PF0_C0O 0x00050009
  2641. #define GPIO_PF1_U1CTS 0x00050401
  2642. #define GPIO_PF1_SSI1TX 0x00050402
  2643. #define GPIO_PF1_T0CCP1 0x00050407
  2644. #define GPIO_PF1_C1O 0x00050409
  2645. #define GPIO_PF1_TRD1 0x0005040E
  2646. #define GPIO_PF2_SSI1CLK 0x00050802
  2647. #define GPIO_PF2_T1CCP0 0x00050807
  2648. #define GPIO_PF2_TRD0 0x0005080E
  2649. #define GPIO_PF3_SSI1FSS 0x00050C02
  2650. #define GPIO_PF3_CAN0TX 0x00050C03
  2651. #define GPIO_PF3_T1CCP1 0x00050C07
  2652. #define GPIO_PF3_TRCLK 0x00050C0E
  2653. #define GPIO_PF4_T2CCP0 0x00051007
  2654. #endif // PART_TM4C1233H6PM
  2655. //*****************************************************************************
  2656. //
  2657. // TM4C1233H6PZ Port/Pin Mapping Definitions
  2658. //
  2659. //*****************************************************************************
  2660. #ifdef PART_TM4C1233H6PZ
  2661. #define GPIO_PA0_U0RX 0x00000001
  2662. #define GPIO_PA1_U0TX 0x00000401
  2663. #define GPIO_PA2_SSI0CLK 0x00000802
  2664. #define GPIO_PA3_SSI0FSS 0x00000C02
  2665. #define GPIO_PA4_SSI0RX 0x00001002
  2666. #define GPIO_PA5_SSI0TX 0x00001402
  2667. #define GPIO_PA6_I2C1SCL 0x00001803
  2668. #define GPIO_PA7_I2C1SDA 0x00001C03
  2669. #define GPIO_PB0_U1RX 0x00010001
  2670. #define GPIO_PB0_T2CCP0 0x00010007
  2671. #define GPIO_PB1_U1TX 0x00010401
  2672. #define GPIO_PB1_T2CCP1 0x00010407
  2673. #define GPIO_PB2_I2C0SCL 0x00010803
  2674. #define GPIO_PB2_T3CCP0 0x00010807
  2675. #define GPIO_PB3_I2C0SDA 0x00010C03
  2676. #define GPIO_PB3_T3CCP1 0x00010C07
  2677. #define GPIO_PB4_SSI2CLK 0x00011002
  2678. #define GPIO_PB4_T1CCP0 0x00011007
  2679. #define GPIO_PB4_CAN0RX 0x00011008
  2680. #define GPIO_PB5_SSI2FSS 0x00011402
  2681. #define GPIO_PB5_T1CCP1 0x00011407
  2682. #define GPIO_PB5_CAN0TX 0x00011408
  2683. #define GPIO_PC0_TCK 0x00020001
  2684. #define GPIO_PC0_SWCLK 0x00020001
  2685. #define GPIO_PC0_T4CCP0 0x00020007
  2686. #define GPIO_PC1_TMS 0x00020401
  2687. #define GPIO_PC1_SWDIO 0x00020401
  2688. #define GPIO_PC1_T4CCP1 0x00020407
  2689. #define GPIO_PC2_TDI 0x00020801
  2690. #define GPIO_PC2_T5CCP0 0x00020807
  2691. #define GPIO_PC3_SWO 0x00020C01
  2692. #define GPIO_PC3_TDO 0x00020C01
  2693. #define GPIO_PC3_T5CCP1 0x00020C07
  2694. #define GPIO_PC4_U4RX 0x00021001
  2695. #define GPIO_PC4_U1RX 0x00021002
  2696. #define GPIO_PC4_WT0CCP0 0x00021007
  2697. #define GPIO_PC4_U1RTS 0x00021008
  2698. #define GPIO_PC5_U4TX 0x00021401
  2699. #define GPIO_PC5_U1TX 0x00021402
  2700. #define GPIO_PC5_WT0CCP1 0x00021407
  2701. #define GPIO_PC5_U1CTS 0x00021408
  2702. #define GPIO_PC6_U3RX 0x00021801
  2703. #define GPIO_PC6_WT1CCP0 0x00021807
  2704. #define GPIO_PC7_U3TX 0x00021C01
  2705. #define GPIO_PC7_WT1CCP1 0x00021C07
  2706. #define GPIO_PD0_SSI3CLK 0x00030001
  2707. #define GPIO_PD0_SSI1CLK 0x00030002
  2708. #define GPIO_PD0_I2C3SCL 0x00030003
  2709. #define GPIO_PD0_WT2CCP0 0x00030007
  2710. #define GPIO_PD1_SSI3FSS 0x00030401
  2711. #define GPIO_PD1_SSI1FSS 0x00030402
  2712. #define GPIO_PD1_I2C3SDA 0x00030403
  2713. #define GPIO_PD1_WT2CCP1 0x00030407
  2714. #define GPIO_PD2_SSI3RX 0x00030801
  2715. #define GPIO_PD2_SSI1RX 0x00030802
  2716. #define GPIO_PD2_WT3CCP0 0x00030807
  2717. #define GPIO_PD3_SSI3TX 0x00030C01
  2718. #define GPIO_PD3_SSI1TX 0x00030C02
  2719. #define GPIO_PD3_WT3CCP1 0x00030C07
  2720. #define GPIO_PD4_U6RX 0x00031001
  2721. #define GPIO_PD4_WT4CCP0 0x00031007
  2722. #define GPIO_PD5_U6TX 0x00031401
  2723. #define GPIO_PD5_WT4CCP1 0x00031407
  2724. #define GPIO_PD6_U2RX 0x00031801
  2725. #define GPIO_PD6_WT5CCP0 0x00031807
  2726. #define GPIO_PD7_U2TX 0x00031C01
  2727. #define GPIO_PD7_WT5CCP1 0x00031C07
  2728. #define GPIO_PD7_NMI 0x00031C08
  2729. #define GPIO_PE0_U7RX 0x00040001
  2730. #define GPIO_PE1_U7TX 0x00040401
  2731. #define GPIO_PE4_U5RX 0x00041001
  2732. #define GPIO_PE4_I2C2SCL 0x00041003
  2733. #define GPIO_PE4_CAN0RX 0x00041008
  2734. #define GPIO_PE5_U5TX 0x00041401
  2735. #define GPIO_PE5_I2C2SDA 0x00041403
  2736. #define GPIO_PE5_CAN0TX 0x00041408
  2737. #define GPIO_PE7_U1RI 0x00041C01
  2738. #define GPIO_PF0_U1RTS 0x00050001
  2739. #define GPIO_PF0_SSI1RX 0x00050002
  2740. #define GPIO_PF0_CAN0RX 0x00050003
  2741. #define GPIO_PF0_T0CCP0 0x00050007
  2742. #define GPIO_PF0_NMI 0x00050008
  2743. #define GPIO_PF0_C0O 0x00050009
  2744. #define GPIO_PF0_TRD2 0x0005000E
  2745. #define GPIO_PF1_U1CTS 0x00050401
  2746. #define GPIO_PF1_SSI1TX 0x00050402
  2747. #define GPIO_PF1_T0CCP1 0x00050407
  2748. #define GPIO_PF1_C1O 0x00050409
  2749. #define GPIO_PF1_TRD1 0x0005040E
  2750. #define GPIO_PF2_U1DCD 0x00050801
  2751. #define GPIO_PF2_SSI1CLK 0x00050802
  2752. #define GPIO_PF2_T1CCP0 0x00050807
  2753. #define GPIO_PF2_C2O 0x00050809
  2754. #define GPIO_PF2_TRD0 0x0005080E
  2755. #define GPIO_PF3_U1DSR 0x00050C01
  2756. #define GPIO_PF3_SSI1FSS 0x00050C02
  2757. #define GPIO_PF3_CAN0TX 0x00050C03
  2758. #define GPIO_PF3_T1CCP1 0x00050C07
  2759. #define GPIO_PF3_TRCLK 0x00050C0E
  2760. #define GPIO_PF4_U1DTR 0x00051001
  2761. #define GPIO_PF4_T2CCP0 0x00051007
  2762. #define GPIO_PF4_TRD3 0x0005100E
  2763. #define GPIO_PF5_T2CCP1 0x00051407
  2764. #define GPIO_PF6_I2C2SCL 0x00051803
  2765. #define GPIO_PF6_T3CCP0 0x00051807
  2766. #define GPIO_PF7_I2C2SDA 0x00051C03
  2767. #define GPIO_PF7_T3CCP1 0x00051C07
  2768. #define GPIO_PG0_I2C3SCL 0x00060003
  2769. #define GPIO_PG0_T4CCP0 0x00060007
  2770. #define GPIO_PG1_I2C3SDA 0x00060403
  2771. #define GPIO_PG1_T4CCP1 0x00060407
  2772. #define GPIO_PG2_I2C4SCL 0x00060803
  2773. #define GPIO_PG2_T5CCP0 0x00060807
  2774. #define GPIO_PG3_I2C4SDA 0x00060C03
  2775. #define GPIO_PG3_T5CCP1 0x00060C07
  2776. #define GPIO_PG4_U2RX 0x00061001
  2777. #define GPIO_PG4_I2C1SCL 0x00061003
  2778. #define GPIO_PG4_WT0CCP0 0x00061007
  2779. #define GPIO_PG5_U2TX 0x00061401
  2780. #define GPIO_PG5_I2C1SDA 0x00061403
  2781. #define GPIO_PG5_WT0CCP1 0x00061407
  2782. #define GPIO_PG6_I2C5SCL 0x00061803
  2783. #define GPIO_PG6_WT1CCP0 0x00061807
  2784. #define GPIO_PG7_I2C5SDA 0x00061C03
  2785. #define GPIO_PG7_WT1CCP1 0x00061C07
  2786. #define GPIO_PH0_SSI3CLK 0x00070002
  2787. #define GPIO_PH0_WT2CCP0 0x00070007
  2788. #define GPIO_PH1_SSI3FSS 0x00070402
  2789. #define GPIO_PH1_WT2CCP1 0x00070407
  2790. #define GPIO_PH2_SSI3RX 0x00070802
  2791. #define GPIO_PH2_WT5CCP0 0x00070807
  2792. #define GPIO_PH3_SSI3TX 0x00070C02
  2793. #define GPIO_PH3_WT5CCP1 0x00070C07
  2794. #define GPIO_PH4_SSI2CLK 0x00071002
  2795. #define GPIO_PH4_WT3CCP0 0x00071007
  2796. #define GPIO_PH5_SSI2FSS 0x00071402
  2797. #define GPIO_PH5_WT3CCP1 0x00071407
  2798. #define GPIO_PH6_SSI2RX 0x00071802
  2799. #define GPIO_PH6_WT4CCP0 0x00071807
  2800. #define GPIO_PH7_SSI2TX 0x00071C02
  2801. #define GPIO_PH7_WT4CCP1 0x00071C07
  2802. #define GPIO_PJ0_U4RX 0x00080001
  2803. #define GPIO_PJ0_T1CCP0 0x00080007
  2804. #define GPIO_PJ1_U4TX 0x00080401
  2805. #define GPIO_PJ1_T1CCP1 0x00080407
  2806. #define GPIO_PJ2_U5RX 0x00080801
  2807. #define GPIO_PJ2_T2CCP0 0x00080807
  2808. #define GPIO_PK0_SSI3CLK 0x00090002
  2809. #define GPIO_PK1_SSI3FSS 0x00090402
  2810. #define GPIO_PK2_SSI3RX 0x00090802
  2811. #define GPIO_PK3_SSI3TX 0x00090C02
  2812. #endif // PART_TM4C1233H6PZ
  2813. //*****************************************************************************
  2814. //
  2815. // TM4C1236D5PM Port/Pin Mapping Definitions
  2816. //
  2817. //*****************************************************************************
  2818. #ifdef PART_TM4C1236D5PM
  2819. #define GPIO_PA0_U0RX 0x00000001
  2820. #define GPIO_PA1_U0TX 0x00000401
  2821. #define GPIO_PA2_SSI0CLK 0x00000802
  2822. #define GPIO_PA3_SSI0FSS 0x00000C02
  2823. #define GPIO_PA4_SSI0RX 0x00001002
  2824. #define GPIO_PA5_SSI0TX 0x00001402
  2825. #define GPIO_PA6_I2C1SCL 0x00001803
  2826. #define GPIO_PA7_I2C1SDA 0x00001C03
  2827. #define GPIO_PB0_U1RX 0x00010001
  2828. #define GPIO_PB0_T2CCP0 0x00010007
  2829. #define GPIO_PB1_U1TX 0x00010401
  2830. #define GPIO_PB1_T2CCP1 0x00010407
  2831. #define GPIO_PB2_I2C0SCL 0x00010803
  2832. #define GPIO_PB2_T3CCP0 0x00010807
  2833. #define GPIO_PB3_I2C0SDA 0x00010C03
  2834. #define GPIO_PB3_T3CCP1 0x00010C07
  2835. #define GPIO_PB4_SSI2CLK 0x00011002
  2836. #define GPIO_PB4_T1CCP0 0x00011007
  2837. #define GPIO_PB4_CAN0RX 0x00011008
  2838. #define GPIO_PB5_SSI2FSS 0x00011402
  2839. #define GPIO_PB5_T1CCP1 0x00011407
  2840. #define GPIO_PB5_CAN0TX 0x00011408
  2841. #define GPIO_PB6_SSI2RX 0x00011802
  2842. #define GPIO_PB6_I2C5SCL 0x00011803
  2843. #define GPIO_PB6_T0CCP0 0x00011807
  2844. #define GPIO_PB7_SSI2TX 0x00011C02
  2845. #define GPIO_PB7_I2C5SDA 0x00011C03
  2846. #define GPIO_PB7_T0CCP1 0x00011C07
  2847. #define GPIO_PC0_TCK 0x00020001
  2848. #define GPIO_PC0_SWCLK 0x00020001
  2849. #define GPIO_PC0_T4CCP0 0x00020007
  2850. #define GPIO_PC1_TMS 0x00020401
  2851. #define GPIO_PC1_SWDIO 0x00020401
  2852. #define GPIO_PC1_T4CCP1 0x00020407
  2853. #define GPIO_PC2_TDI 0x00020801
  2854. #define GPIO_PC2_T5CCP0 0x00020807
  2855. #define GPIO_PC3_SWO 0x00020C01
  2856. #define GPIO_PC3_TDO 0x00020C01
  2857. #define GPIO_PC3_T5CCP1 0x00020C07
  2858. #define GPIO_PC4_U4RX 0x00021001
  2859. #define GPIO_PC4_U1RX 0x00021002
  2860. #define GPIO_PC4_WT0CCP0 0x00021007
  2861. #define GPIO_PC4_U1RTS 0x00021008
  2862. #define GPIO_PC5_U4TX 0x00021401
  2863. #define GPIO_PC5_U1TX 0x00021402
  2864. #define GPIO_PC5_WT0CCP1 0x00021407
  2865. #define GPIO_PC5_U1CTS 0x00021408
  2866. #define GPIO_PC6_U3RX 0x00021801
  2867. #define GPIO_PC6_WT1CCP0 0x00021807
  2868. #define GPIO_PC6_USB0EPEN 0x00021808
  2869. #define GPIO_PC7_U3TX 0x00021C01
  2870. #define GPIO_PC7_WT1CCP1 0x00021C07
  2871. #define GPIO_PC7_USB0PFLT 0x00021C08
  2872. #define GPIO_PD0_SSI3CLK 0x00030001
  2873. #define GPIO_PD0_SSI1CLK 0x00030002
  2874. #define GPIO_PD0_I2C3SCL 0x00030003
  2875. #define GPIO_PD0_WT2CCP0 0x00030007
  2876. #define GPIO_PD1_SSI3FSS 0x00030401
  2877. #define GPIO_PD1_SSI1FSS 0x00030402
  2878. #define GPIO_PD1_I2C3SDA 0x00030403
  2879. #define GPIO_PD1_WT2CCP1 0x00030407
  2880. #define GPIO_PD2_SSI3RX 0x00030801
  2881. #define GPIO_PD2_SSI1RX 0x00030802
  2882. #define GPIO_PD2_WT3CCP0 0x00030807
  2883. #define GPIO_PD2_USB0EPEN 0x00030808
  2884. #define GPIO_PD3_SSI3TX 0x00030C01
  2885. #define GPIO_PD3_SSI1TX 0x00030C02
  2886. #define GPIO_PD3_WT3CCP1 0x00030C07
  2887. #define GPIO_PD3_USB0PFLT 0x00030C08
  2888. #define GPIO_PD4_U6RX 0x00031001
  2889. #define GPIO_PD4_WT4CCP0 0x00031007
  2890. #define GPIO_PD5_U6TX 0x00031401
  2891. #define GPIO_PD5_WT4CCP1 0x00031407
  2892. #define GPIO_PD6_U2RX 0x00031801
  2893. #define GPIO_PD6_WT5CCP0 0x00031807
  2894. #define GPIO_PD7_U2TX 0x00031C01
  2895. #define GPIO_PD7_WT5CCP1 0x00031C07
  2896. #define GPIO_PD7_NMI 0x00031C08
  2897. #define GPIO_PE0_U7RX 0x00040001
  2898. #define GPIO_PE1_U7TX 0x00040401
  2899. #define GPIO_PE4_U5RX 0x00041001
  2900. #define GPIO_PE4_I2C2SCL 0x00041003
  2901. #define GPIO_PE4_CAN0RX 0x00041008
  2902. #define GPIO_PE5_U5TX 0x00041401
  2903. #define GPIO_PE5_I2C2SDA 0x00041403
  2904. #define GPIO_PE5_CAN0TX 0x00041408
  2905. #define GPIO_PF0_U1RTS 0x00050001
  2906. #define GPIO_PF0_SSI1RX 0x00050002
  2907. #define GPIO_PF0_CAN0RX 0x00050003
  2908. #define GPIO_PF0_T0CCP0 0x00050007
  2909. #define GPIO_PF0_NMI 0x00050008
  2910. #define GPIO_PF0_C0O 0x00050009
  2911. #define GPIO_PF1_U1CTS 0x00050401
  2912. #define GPIO_PF1_SSI1TX 0x00050402
  2913. #define GPIO_PF1_T0CCP1 0x00050407
  2914. #define GPIO_PF1_C1O 0x00050409
  2915. #define GPIO_PF1_TRD1 0x0005040E
  2916. #define GPIO_PF2_SSI1CLK 0x00050802
  2917. #define GPIO_PF2_T1CCP0 0x00050807
  2918. #define GPIO_PF2_TRD0 0x0005080E
  2919. #define GPIO_PF3_SSI1FSS 0x00050C02
  2920. #define GPIO_PF3_CAN0TX 0x00050C03
  2921. #define GPIO_PF3_T1CCP1 0x00050C07
  2922. #define GPIO_PF3_TRCLK 0x00050C0E
  2923. #define GPIO_PF4_T2CCP0 0x00051007
  2924. #define GPIO_PF4_USB0EPEN 0x00051008
  2925. #define GPIO_PG0_I2C3SCL 0x00060003
  2926. #define GPIO_PG0_T4CCP0 0x00060007
  2927. #define GPIO_PG1_I2C3SDA 0x00060403
  2928. #define GPIO_PG1_T4CCP1 0x00060407
  2929. #define GPIO_PG2_I2C4SCL 0x00060803
  2930. #define GPIO_PG2_T5CCP0 0x00060807
  2931. #define GPIO_PG3_I2C4SDA 0x00060C03
  2932. #define GPIO_PG3_T5CCP1 0x00060C07
  2933. #define GPIO_PG4_U2RX 0x00061001
  2934. #define GPIO_PG4_I2C1SCL 0x00061003
  2935. #define GPIO_PG4_WT0CCP0 0x00061007
  2936. #define GPIO_PG4_USB0EPEN 0x00061008
  2937. #define GPIO_PG5_U2TX 0x00061401
  2938. #define GPIO_PG5_I2C1SDA 0x00061403
  2939. #define GPIO_PG5_WT0CCP1 0x00061407
  2940. #define GPIO_PG5_USB0PFLT 0x00061408
  2941. #endif // PART_TM4C1236D5PM
  2942. //*****************************************************************************
  2943. //
  2944. // TM4C1236E6PM Port/Pin Mapping Definitions
  2945. //
  2946. //*****************************************************************************
  2947. #ifdef PART_TM4C1236E6PM
  2948. #define GPIO_PA0_U0RX 0x00000001
  2949. #define GPIO_PA1_U0TX 0x00000401
  2950. #define GPIO_PA2_SSI0CLK 0x00000802
  2951. #define GPIO_PA3_SSI0FSS 0x00000C02
  2952. #define GPIO_PA4_SSI0RX 0x00001002
  2953. #define GPIO_PA5_SSI0TX 0x00001402
  2954. #define GPIO_PA6_I2C1SCL 0x00001803
  2955. #define GPIO_PA7_I2C1SDA 0x00001C03
  2956. #define GPIO_PB0_U1RX 0x00010001
  2957. #define GPIO_PB0_T2CCP0 0x00010007
  2958. #define GPIO_PB1_U1TX 0x00010401
  2959. #define GPIO_PB1_T2CCP1 0x00010407
  2960. #define GPIO_PB2_I2C0SCL 0x00010803
  2961. #define GPIO_PB2_T3CCP0 0x00010807
  2962. #define GPIO_PB3_I2C0SDA 0x00010C03
  2963. #define GPIO_PB3_T3CCP1 0x00010C07
  2964. #define GPIO_PB4_SSI2CLK 0x00011002
  2965. #define GPIO_PB4_T1CCP0 0x00011007
  2966. #define GPIO_PB4_CAN0RX 0x00011008
  2967. #define GPIO_PB5_SSI2FSS 0x00011402
  2968. #define GPIO_PB5_T1CCP1 0x00011407
  2969. #define GPIO_PB5_CAN0TX 0x00011408
  2970. #define GPIO_PB6_SSI2RX 0x00011802
  2971. #define GPIO_PB6_I2C5SCL 0x00011803
  2972. #define GPIO_PB6_T0CCP0 0x00011807
  2973. #define GPIO_PB7_SSI2TX 0x00011C02
  2974. #define GPIO_PB7_I2C5SDA 0x00011C03
  2975. #define GPIO_PB7_T0CCP1 0x00011C07
  2976. #define GPIO_PC0_TCK 0x00020001
  2977. #define GPIO_PC0_SWCLK 0x00020001
  2978. #define GPIO_PC0_T4CCP0 0x00020007
  2979. #define GPIO_PC1_TMS 0x00020401
  2980. #define GPIO_PC1_SWDIO 0x00020401
  2981. #define GPIO_PC1_T4CCP1 0x00020407
  2982. #define GPIO_PC2_TDI 0x00020801
  2983. #define GPIO_PC2_T5CCP0 0x00020807
  2984. #define GPIO_PC3_SWO 0x00020C01
  2985. #define GPIO_PC3_TDO 0x00020C01
  2986. #define GPIO_PC3_T5CCP1 0x00020C07
  2987. #define GPIO_PC4_U4RX 0x00021001
  2988. #define GPIO_PC4_U1RX 0x00021002
  2989. #define GPIO_PC4_WT0CCP0 0x00021007
  2990. #define GPIO_PC4_U1RTS 0x00021008
  2991. #define GPIO_PC5_U4TX 0x00021401
  2992. #define GPIO_PC5_U1TX 0x00021402
  2993. #define GPIO_PC5_WT0CCP1 0x00021407
  2994. #define GPIO_PC5_U1CTS 0x00021408
  2995. #define GPIO_PC6_U3RX 0x00021801
  2996. #define GPIO_PC6_WT1CCP0 0x00021807
  2997. #define GPIO_PC6_USB0EPEN 0x00021808
  2998. #define GPIO_PC7_U3TX 0x00021C01
  2999. #define GPIO_PC7_WT1CCP1 0x00021C07
  3000. #define GPIO_PC7_USB0PFLT 0x00021C08
  3001. #define GPIO_PD0_SSI3CLK 0x00030001
  3002. #define GPIO_PD0_SSI1CLK 0x00030002
  3003. #define GPIO_PD0_I2C3SCL 0x00030003
  3004. #define GPIO_PD0_WT2CCP0 0x00030007
  3005. #define GPIO_PD1_SSI3FSS 0x00030401
  3006. #define GPIO_PD1_SSI1FSS 0x00030402
  3007. #define GPIO_PD1_I2C3SDA 0x00030403
  3008. #define GPIO_PD1_WT2CCP1 0x00030407
  3009. #define GPIO_PD2_SSI3RX 0x00030801
  3010. #define GPIO_PD2_SSI1RX 0x00030802
  3011. #define GPIO_PD2_WT3CCP0 0x00030807
  3012. #define GPIO_PD2_USB0EPEN 0x00030808
  3013. #define GPIO_PD3_SSI3TX 0x00030C01
  3014. #define GPIO_PD3_SSI1TX 0x00030C02
  3015. #define GPIO_PD3_WT3CCP1 0x00030C07
  3016. #define GPIO_PD3_USB0PFLT 0x00030C08
  3017. #define GPIO_PD4_U6RX 0x00031001
  3018. #define GPIO_PD4_WT4CCP0 0x00031007
  3019. #define GPIO_PD5_U6TX 0x00031401
  3020. #define GPIO_PD5_WT4CCP1 0x00031407
  3021. #define GPIO_PD6_U2RX 0x00031801
  3022. #define GPIO_PD6_WT5CCP0 0x00031807
  3023. #define GPIO_PD7_U2TX 0x00031C01
  3024. #define GPIO_PD7_WT5CCP1 0x00031C07
  3025. #define GPIO_PD7_NMI 0x00031C08
  3026. #define GPIO_PE0_U7RX 0x00040001
  3027. #define GPIO_PE1_U7TX 0x00040401
  3028. #define GPIO_PE4_U5RX 0x00041001
  3029. #define GPIO_PE4_I2C2SCL 0x00041003
  3030. #define GPIO_PE4_CAN0RX 0x00041008
  3031. #define GPIO_PE5_U5TX 0x00041401
  3032. #define GPIO_PE5_I2C2SDA 0x00041403
  3033. #define GPIO_PE5_CAN0TX 0x00041408
  3034. #define GPIO_PF0_U1RTS 0x00050001
  3035. #define GPIO_PF0_SSI1RX 0x00050002
  3036. #define GPIO_PF0_CAN0RX 0x00050003
  3037. #define GPIO_PF0_T0CCP0 0x00050007
  3038. #define GPIO_PF0_NMI 0x00050008
  3039. #define GPIO_PF0_C0O 0x00050009
  3040. #define GPIO_PF1_U1CTS 0x00050401
  3041. #define GPIO_PF1_SSI1TX 0x00050402
  3042. #define GPIO_PF1_T0CCP1 0x00050407
  3043. #define GPIO_PF1_C1O 0x00050409
  3044. #define GPIO_PF1_TRD1 0x0005040E
  3045. #define GPIO_PF2_SSI1CLK 0x00050802
  3046. #define GPIO_PF2_T1CCP0 0x00050807
  3047. #define GPIO_PF2_TRD0 0x0005080E
  3048. #define GPIO_PF3_SSI1FSS 0x00050C02
  3049. #define GPIO_PF3_CAN0TX 0x00050C03
  3050. #define GPIO_PF3_T1CCP1 0x00050C07
  3051. #define GPIO_PF3_TRCLK 0x00050C0E
  3052. #define GPIO_PF4_T2CCP0 0x00051007
  3053. #define GPIO_PF4_USB0EPEN 0x00051008
  3054. #define GPIO_PG0_I2C3SCL 0x00060003
  3055. #define GPIO_PG0_T4CCP0 0x00060007
  3056. #define GPIO_PG1_I2C3SDA 0x00060403
  3057. #define GPIO_PG1_T4CCP1 0x00060407
  3058. #define GPIO_PG2_I2C4SCL 0x00060803
  3059. #define GPIO_PG2_T5CCP0 0x00060807
  3060. #define GPIO_PG3_I2C4SDA 0x00060C03
  3061. #define GPIO_PG3_T5CCP1 0x00060C07
  3062. #define GPIO_PG4_U2RX 0x00061001
  3063. #define GPIO_PG4_I2C1SCL 0x00061003
  3064. #define GPIO_PG4_WT0CCP0 0x00061007
  3065. #define GPIO_PG4_USB0EPEN 0x00061008
  3066. #define GPIO_PG5_U2TX 0x00061401
  3067. #define GPIO_PG5_I2C1SDA 0x00061403
  3068. #define GPIO_PG5_WT0CCP1 0x00061407
  3069. #define GPIO_PG5_USB0PFLT 0x00061408
  3070. #endif // PART_TM4C1236E6PM
  3071. //*****************************************************************************
  3072. //
  3073. // TM4C1236H6PM Port/Pin Mapping Definitions
  3074. //
  3075. //*****************************************************************************
  3076. #ifdef PART_TM4C1236H6PM
  3077. #define GPIO_PA0_U0RX 0x00000001
  3078. #define GPIO_PA1_U0TX 0x00000401
  3079. #define GPIO_PA2_SSI0CLK 0x00000802
  3080. #define GPIO_PA3_SSI0FSS 0x00000C02
  3081. #define GPIO_PA4_SSI0RX 0x00001002
  3082. #define GPIO_PA5_SSI0TX 0x00001402
  3083. #define GPIO_PA6_I2C1SCL 0x00001803
  3084. #define GPIO_PA7_I2C1SDA 0x00001C03
  3085. #define GPIO_PB0_U1RX 0x00010001
  3086. #define GPIO_PB0_T2CCP0 0x00010007
  3087. #define GPIO_PB1_U1TX 0x00010401
  3088. #define GPIO_PB1_T2CCP1 0x00010407
  3089. #define GPIO_PB2_I2C0SCL 0x00010803
  3090. #define GPIO_PB2_T3CCP0 0x00010807
  3091. #define GPIO_PB3_I2C0SDA 0x00010C03
  3092. #define GPIO_PB3_T3CCP1 0x00010C07
  3093. #define GPIO_PB4_SSI2CLK 0x00011002
  3094. #define GPIO_PB4_T1CCP0 0x00011007
  3095. #define GPIO_PB4_CAN0RX 0x00011008
  3096. #define GPIO_PB5_SSI2FSS 0x00011402
  3097. #define GPIO_PB5_T1CCP1 0x00011407
  3098. #define GPIO_PB5_CAN0TX 0x00011408
  3099. #define GPIO_PB6_SSI2RX 0x00011802
  3100. #define GPIO_PB6_I2C5SCL 0x00011803
  3101. #define GPIO_PB6_T0CCP0 0x00011807
  3102. #define GPIO_PB7_SSI2TX 0x00011C02
  3103. #define GPIO_PB7_I2C5SDA 0x00011C03
  3104. #define GPIO_PB7_T0CCP1 0x00011C07
  3105. #define GPIO_PC0_TCK 0x00020001
  3106. #define GPIO_PC0_SWCLK 0x00020001
  3107. #define GPIO_PC0_T4CCP0 0x00020007
  3108. #define GPIO_PC1_TMS 0x00020401
  3109. #define GPIO_PC1_SWDIO 0x00020401
  3110. #define GPIO_PC1_T4CCP1 0x00020407
  3111. #define GPIO_PC2_TDI 0x00020801
  3112. #define GPIO_PC2_T5CCP0 0x00020807
  3113. #define GPIO_PC3_SWO 0x00020C01
  3114. #define GPIO_PC3_TDO 0x00020C01
  3115. #define GPIO_PC3_T5CCP1 0x00020C07
  3116. #define GPIO_PC4_U4RX 0x00021001
  3117. #define GPIO_PC4_U1RX 0x00021002
  3118. #define GPIO_PC4_WT0CCP0 0x00021007
  3119. #define GPIO_PC4_U1RTS 0x00021008
  3120. #define GPIO_PC5_U4TX 0x00021401
  3121. #define GPIO_PC5_U1TX 0x00021402
  3122. #define GPIO_PC5_WT0CCP1 0x00021407
  3123. #define GPIO_PC5_U1CTS 0x00021408
  3124. #define GPIO_PC6_U3RX 0x00021801
  3125. #define GPIO_PC6_WT1CCP0 0x00021807
  3126. #define GPIO_PC6_USB0EPEN 0x00021808
  3127. #define GPIO_PC7_U3TX 0x00021C01
  3128. #define GPIO_PC7_WT1CCP1 0x00021C07
  3129. #define GPIO_PC7_USB0PFLT 0x00021C08
  3130. #define GPIO_PD0_SSI3CLK 0x00030001
  3131. #define GPIO_PD0_SSI1CLK 0x00030002
  3132. #define GPIO_PD0_I2C3SCL 0x00030003
  3133. #define GPIO_PD0_WT2CCP0 0x00030007
  3134. #define GPIO_PD1_SSI3FSS 0x00030401
  3135. #define GPIO_PD1_SSI1FSS 0x00030402
  3136. #define GPIO_PD1_I2C3SDA 0x00030403
  3137. #define GPIO_PD1_WT2CCP1 0x00030407
  3138. #define GPIO_PD2_SSI3RX 0x00030801
  3139. #define GPIO_PD2_SSI1RX 0x00030802
  3140. #define GPIO_PD2_WT3CCP0 0x00030807
  3141. #define GPIO_PD2_USB0EPEN 0x00030808
  3142. #define GPIO_PD3_SSI3TX 0x00030C01
  3143. #define GPIO_PD3_SSI1TX 0x00030C02
  3144. #define GPIO_PD3_WT3CCP1 0x00030C07
  3145. #define GPIO_PD3_USB0PFLT 0x00030C08
  3146. #define GPIO_PD4_U6RX 0x00031001
  3147. #define GPIO_PD4_WT4CCP0 0x00031007
  3148. #define GPIO_PD5_U6TX 0x00031401
  3149. #define GPIO_PD5_WT4CCP1 0x00031407
  3150. #define GPIO_PD6_U2RX 0x00031801
  3151. #define GPIO_PD6_WT5CCP0 0x00031807
  3152. #define GPIO_PD7_U2TX 0x00031C01
  3153. #define GPIO_PD7_WT5CCP1 0x00031C07
  3154. #define GPIO_PD7_NMI 0x00031C08
  3155. #define GPIO_PE0_U7RX 0x00040001
  3156. #define GPIO_PE1_U7TX 0x00040401
  3157. #define GPIO_PE4_U5RX 0x00041001
  3158. #define GPIO_PE4_I2C2SCL 0x00041003
  3159. #define GPIO_PE4_CAN0RX 0x00041008
  3160. #define GPIO_PE5_U5TX 0x00041401
  3161. #define GPIO_PE5_I2C2SDA 0x00041403
  3162. #define GPIO_PE5_CAN0TX 0x00041408
  3163. #define GPIO_PF0_U1RTS 0x00050001
  3164. #define GPIO_PF0_SSI1RX 0x00050002
  3165. #define GPIO_PF0_CAN0RX 0x00050003
  3166. #define GPIO_PF0_T0CCP0 0x00050007
  3167. #define GPIO_PF0_NMI 0x00050008
  3168. #define GPIO_PF0_C0O 0x00050009
  3169. #define GPIO_PF1_U1CTS 0x00050401
  3170. #define GPIO_PF1_SSI1TX 0x00050402
  3171. #define GPIO_PF1_T0CCP1 0x00050407
  3172. #define GPIO_PF1_C1O 0x00050409
  3173. #define GPIO_PF1_TRD1 0x0005040E
  3174. #define GPIO_PF2_SSI1CLK 0x00050802
  3175. #define GPIO_PF2_T1CCP0 0x00050807
  3176. #define GPIO_PF2_TRD0 0x0005080E
  3177. #define GPIO_PF3_SSI1FSS 0x00050C02
  3178. #define GPIO_PF3_CAN0TX 0x00050C03
  3179. #define GPIO_PF3_T1CCP1 0x00050C07
  3180. #define GPIO_PF3_TRCLK 0x00050C0E
  3181. #define GPIO_PF4_T2CCP0 0x00051007
  3182. #define GPIO_PF4_USB0EPEN 0x00051008
  3183. #define GPIO_PG0_I2C3SCL 0x00060003
  3184. #define GPIO_PG0_T4CCP0 0x00060007
  3185. #define GPIO_PG1_I2C3SDA 0x00060403
  3186. #define GPIO_PG1_T4CCP1 0x00060407
  3187. #define GPIO_PG2_I2C4SCL 0x00060803
  3188. #define GPIO_PG2_T5CCP0 0x00060807
  3189. #define GPIO_PG3_I2C4SDA 0x00060C03
  3190. #define GPIO_PG3_T5CCP1 0x00060C07
  3191. #define GPIO_PG4_U2RX 0x00061001
  3192. #define GPIO_PG4_I2C1SCL 0x00061003
  3193. #define GPIO_PG4_WT0CCP0 0x00061007
  3194. #define GPIO_PG4_USB0EPEN 0x00061008
  3195. #define GPIO_PG5_U2TX 0x00061401
  3196. #define GPIO_PG5_I2C1SDA 0x00061403
  3197. #define GPIO_PG5_WT0CCP1 0x00061407
  3198. #define GPIO_PG5_USB0PFLT 0x00061408
  3199. #endif // PART_TM4C1236H6PM
  3200. //*****************************************************************************
  3201. //
  3202. // TM4C1237D5PM Port/Pin Mapping Definitions
  3203. //
  3204. //*****************************************************************************
  3205. #ifdef PART_TM4C1237D5PM
  3206. #define GPIO_PA0_U0RX 0x00000001
  3207. #define GPIO_PA1_U0TX 0x00000401
  3208. #define GPIO_PA2_SSI0CLK 0x00000802
  3209. #define GPIO_PA3_SSI0FSS 0x00000C02
  3210. #define GPIO_PA4_SSI0RX 0x00001002
  3211. #define GPIO_PA5_SSI0TX 0x00001402
  3212. #define GPIO_PA6_I2C1SCL 0x00001803
  3213. #define GPIO_PA7_I2C1SDA 0x00001C03
  3214. #define GPIO_PB0_U1RX 0x00010001
  3215. #define GPIO_PB0_T2CCP0 0x00010007
  3216. #define GPIO_PB1_U1TX 0x00010401
  3217. #define GPIO_PB1_T2CCP1 0x00010407
  3218. #define GPIO_PB2_I2C0SCL 0x00010803
  3219. #define GPIO_PB2_T3CCP0 0x00010807
  3220. #define GPIO_PB3_I2C0SDA 0x00010C03
  3221. #define GPIO_PB3_T3CCP1 0x00010C07
  3222. #define GPIO_PB4_SSI2CLK 0x00011002
  3223. #define GPIO_PB4_T1CCP0 0x00011007
  3224. #define GPIO_PB4_CAN0RX 0x00011008
  3225. #define GPIO_PB5_SSI2FSS 0x00011402
  3226. #define GPIO_PB5_T1CCP1 0x00011407
  3227. #define GPIO_PB5_CAN0TX 0x00011408
  3228. #define GPIO_PB6_SSI2RX 0x00011802
  3229. #define GPIO_PB6_T0CCP0 0x00011807
  3230. #define GPIO_PB7_SSI2TX 0x00011C02
  3231. #define GPIO_PB7_T0CCP1 0x00011C07
  3232. #define GPIO_PC0_TCK 0x00020001
  3233. #define GPIO_PC0_SWCLK 0x00020001
  3234. #define GPIO_PC0_T4CCP0 0x00020007
  3235. #define GPIO_PC1_TMS 0x00020401
  3236. #define GPIO_PC1_SWDIO 0x00020401
  3237. #define GPIO_PC1_T4CCP1 0x00020407
  3238. #define GPIO_PC2_TDI 0x00020801
  3239. #define GPIO_PC2_T5CCP0 0x00020807
  3240. #define GPIO_PC3_SWO 0x00020C01
  3241. #define GPIO_PC3_TDO 0x00020C01
  3242. #define GPIO_PC3_T5CCP1 0x00020C07
  3243. #define GPIO_PC4_U4RX 0x00021001
  3244. #define GPIO_PC4_U1RX 0x00021002
  3245. #define GPIO_PC4_WT0CCP0 0x00021007
  3246. #define GPIO_PC4_U1RTS 0x00021008
  3247. #define GPIO_PC5_U4TX 0x00021401
  3248. #define GPIO_PC5_U1TX 0x00021402
  3249. #define GPIO_PC5_WT0CCP1 0x00021407
  3250. #define GPIO_PC5_U1CTS 0x00021408
  3251. #define GPIO_PC6_U3RX 0x00021801
  3252. #define GPIO_PC6_WT1CCP0 0x00021807
  3253. #define GPIO_PC6_USB0EPEN 0x00021808
  3254. #define GPIO_PC7_U3TX 0x00021C01
  3255. #define GPIO_PC7_WT1CCP1 0x00021C07
  3256. #define GPIO_PC7_USB0PFLT 0x00021C08
  3257. #define GPIO_PD0_SSI3CLK 0x00030001
  3258. #define GPIO_PD0_SSI1CLK 0x00030002
  3259. #define GPIO_PD0_I2C3SCL 0x00030003
  3260. #define GPIO_PD0_WT2CCP0 0x00030007
  3261. #define GPIO_PD1_SSI3FSS 0x00030401
  3262. #define GPIO_PD1_SSI1FSS 0x00030402
  3263. #define GPIO_PD1_I2C3SDA 0x00030403
  3264. #define GPIO_PD1_WT2CCP1 0x00030407
  3265. #define GPIO_PD2_SSI3RX 0x00030801
  3266. #define GPIO_PD2_SSI1RX 0x00030802
  3267. #define GPIO_PD2_WT3CCP0 0x00030807
  3268. #define GPIO_PD2_USB0EPEN 0x00030808
  3269. #define GPIO_PD3_SSI3TX 0x00030C01
  3270. #define GPIO_PD3_SSI1TX 0x00030C02
  3271. #define GPIO_PD3_WT3CCP1 0x00030C07
  3272. #define GPIO_PD3_USB0PFLT 0x00030C08
  3273. #define GPIO_PD4_U6RX 0x00031001
  3274. #define GPIO_PD4_WT4CCP0 0x00031007
  3275. #define GPIO_PD5_U6TX 0x00031401
  3276. #define GPIO_PD5_WT4CCP1 0x00031407
  3277. #define GPIO_PD6_U2RX 0x00031801
  3278. #define GPIO_PD6_WT5CCP0 0x00031807
  3279. #define GPIO_PD7_U2TX 0x00031C01
  3280. #define GPIO_PD7_WT5CCP1 0x00031C07
  3281. #define GPIO_PD7_NMI 0x00031C08
  3282. #define GPIO_PE0_U7RX 0x00040001
  3283. #define GPIO_PE1_U7TX 0x00040401
  3284. #define GPIO_PE4_U5RX 0x00041001
  3285. #define GPIO_PE4_I2C2SCL 0x00041003
  3286. #define GPIO_PE4_CAN0RX 0x00041008
  3287. #define GPIO_PE5_U5TX 0x00041401
  3288. #define GPIO_PE5_I2C2SDA 0x00041403
  3289. #define GPIO_PE5_CAN0TX 0x00041408
  3290. #define GPIO_PF0_U1RTS 0x00050001
  3291. #define GPIO_PF0_SSI1RX 0x00050002
  3292. #define GPIO_PF0_CAN0RX 0x00050003
  3293. #define GPIO_PF0_T0CCP0 0x00050007
  3294. #define GPIO_PF0_NMI 0x00050008
  3295. #define GPIO_PF0_C0O 0x00050009
  3296. #define GPIO_PF1_U1CTS 0x00050401
  3297. #define GPIO_PF1_SSI1TX 0x00050402
  3298. #define GPIO_PF1_T0CCP1 0x00050407
  3299. #define GPIO_PF1_C1O 0x00050409
  3300. #define GPIO_PF1_TRD1 0x0005040E
  3301. #define GPIO_PF2_SSI1CLK 0x00050802
  3302. #define GPIO_PF2_T1CCP0 0x00050807
  3303. #define GPIO_PF2_TRD0 0x0005080E
  3304. #define GPIO_PF3_SSI1FSS 0x00050C02
  3305. #define GPIO_PF3_CAN0TX 0x00050C03
  3306. #define GPIO_PF3_T1CCP1 0x00050C07
  3307. #define GPIO_PF3_TRCLK 0x00050C0E
  3308. #define GPIO_PF4_T2CCP0 0x00051007
  3309. #define GPIO_PF4_USB0EPEN 0x00051008
  3310. #endif // PART_TM4C1237D5PM
  3311. //*****************************************************************************
  3312. //
  3313. // TM4C1237D5PZ Port/Pin Mapping Definitions
  3314. //
  3315. //*****************************************************************************
  3316. #ifdef PART_TM4C1237D5PZ
  3317. #define GPIO_PA0_U0RX 0x00000001
  3318. #define GPIO_PA1_U0TX 0x00000401
  3319. #define GPIO_PA2_SSI0CLK 0x00000802
  3320. #define GPIO_PA3_SSI0FSS 0x00000C02
  3321. #define GPIO_PA4_SSI0RX 0x00001002
  3322. #define GPIO_PA5_SSI0TX 0x00001402
  3323. #define GPIO_PA6_I2C1SCL 0x00001803
  3324. #define GPIO_PA7_I2C1SDA 0x00001C03
  3325. #define GPIO_PB0_U1RX 0x00010001
  3326. #define GPIO_PB0_T2CCP0 0x00010007
  3327. #define GPIO_PB1_U1TX 0x00010401
  3328. #define GPIO_PB1_T2CCP1 0x00010407
  3329. #define GPIO_PB2_I2C0SCL 0x00010803
  3330. #define GPIO_PB2_T3CCP0 0x00010807
  3331. #define GPIO_PB3_I2C0SDA 0x00010C03
  3332. #define GPIO_PB3_T3CCP1 0x00010C07
  3333. #define GPIO_PB4_SSI2CLK 0x00011002
  3334. #define GPIO_PB4_T1CCP0 0x00011007
  3335. #define GPIO_PB4_CAN0RX 0x00011008
  3336. #define GPIO_PB5_SSI2FSS 0x00011402
  3337. #define GPIO_PB5_T1CCP1 0x00011407
  3338. #define GPIO_PB5_CAN0TX 0x00011408
  3339. #define GPIO_PC0_TCK 0x00020001
  3340. #define GPIO_PC0_SWCLK 0x00020001
  3341. #define GPIO_PC0_T4CCP0 0x00020007
  3342. #define GPIO_PC1_TMS 0x00020401
  3343. #define GPIO_PC1_SWDIO 0x00020401
  3344. #define GPIO_PC1_T4CCP1 0x00020407
  3345. #define GPIO_PC2_TDI 0x00020801
  3346. #define GPIO_PC2_T5CCP0 0x00020807
  3347. #define GPIO_PC3_SWO 0x00020C01
  3348. #define GPIO_PC3_TDO 0x00020C01
  3349. #define GPIO_PC3_T5CCP1 0x00020C07
  3350. #define GPIO_PC4_U4RX 0x00021001
  3351. #define GPIO_PC4_U1RX 0x00021002
  3352. #define GPIO_PC4_WT0CCP0 0x00021007
  3353. #define GPIO_PC4_U1RTS 0x00021008
  3354. #define GPIO_PC5_U4TX 0x00021401
  3355. #define GPIO_PC5_U1TX 0x00021402
  3356. #define GPIO_PC5_WT0CCP1 0x00021407
  3357. #define GPIO_PC5_U1CTS 0x00021408
  3358. #define GPIO_PC6_U3RX 0x00021801
  3359. #define GPIO_PC6_WT1CCP0 0x00021807
  3360. #define GPIO_PC6_USB0EPEN 0x00021808
  3361. #define GPIO_PC7_U3TX 0x00021C01
  3362. #define GPIO_PC7_WT1CCP1 0x00021C07
  3363. #define GPIO_PC7_USB0PFLT 0x00021C08
  3364. #define GPIO_PD0_SSI3CLK 0x00030001
  3365. #define GPIO_PD0_SSI1CLK 0x00030002
  3366. #define GPIO_PD0_I2C3SCL 0x00030003
  3367. #define GPIO_PD0_WT2CCP0 0x00030007
  3368. #define GPIO_PD1_SSI3FSS 0x00030401
  3369. #define GPIO_PD1_SSI1FSS 0x00030402
  3370. #define GPIO_PD1_I2C3SDA 0x00030403
  3371. #define GPIO_PD1_WT2CCP1 0x00030407
  3372. #define GPIO_PD2_SSI3RX 0x00030801
  3373. #define GPIO_PD2_SSI1RX 0x00030802
  3374. #define GPIO_PD2_WT3CCP0 0x00030807
  3375. #define GPIO_PD2_USB0EPEN 0x00030808
  3376. #define GPIO_PD3_SSI3TX 0x00030C01
  3377. #define GPIO_PD3_SSI1TX 0x00030C02
  3378. #define GPIO_PD3_WT3CCP1 0x00030C07
  3379. #define GPIO_PD3_USB0PFLT 0x00030C08
  3380. #define GPIO_PD4_U6RX 0x00031001
  3381. #define GPIO_PD4_WT4CCP0 0x00031007
  3382. #define GPIO_PD5_U6TX 0x00031401
  3383. #define GPIO_PD5_WT4CCP1 0x00031407
  3384. #define GPIO_PD6_U2RX 0x00031801
  3385. #define GPIO_PD6_WT5CCP0 0x00031807
  3386. #define GPIO_PD7_U2TX 0x00031C01
  3387. #define GPIO_PD7_WT5CCP1 0x00031C07
  3388. #define GPIO_PD7_NMI 0x00031C08
  3389. #define GPIO_PE0_U7RX 0x00040001
  3390. #define GPIO_PE1_U7TX 0x00040401
  3391. #define GPIO_PE4_U5RX 0x00041001
  3392. #define GPIO_PE4_I2C2SCL 0x00041003
  3393. #define GPIO_PE4_CAN0RX 0x00041008
  3394. #define GPIO_PE5_U5TX 0x00041401
  3395. #define GPIO_PE5_I2C2SDA 0x00041403
  3396. #define GPIO_PE5_CAN0TX 0x00041408
  3397. #define GPIO_PE7_U1RI 0x00041C01
  3398. #define GPIO_PF0_U1RTS 0x00050001
  3399. #define GPIO_PF0_SSI1RX 0x00050002
  3400. #define GPIO_PF0_CAN0RX 0x00050003
  3401. #define GPIO_PF0_T0CCP0 0x00050007
  3402. #define GPIO_PF0_NMI 0x00050008
  3403. #define GPIO_PF0_C0O 0x00050009
  3404. #define GPIO_PF0_TRD2 0x0005000E
  3405. #define GPIO_PF1_U1CTS 0x00050401
  3406. #define GPIO_PF1_SSI1TX 0x00050402
  3407. #define GPIO_PF1_T0CCP1 0x00050407
  3408. #define GPIO_PF1_C1O 0x00050409
  3409. #define GPIO_PF1_TRD1 0x0005040E
  3410. #define GPIO_PF2_U1DCD 0x00050801
  3411. #define GPIO_PF2_SSI1CLK 0x00050802
  3412. #define GPIO_PF2_T1CCP0 0x00050807
  3413. #define GPIO_PF2_C2O 0x00050809
  3414. #define GPIO_PF2_TRD0 0x0005080E
  3415. #define GPIO_PF3_U1DSR 0x00050C01
  3416. #define GPIO_PF3_SSI1FSS 0x00050C02
  3417. #define GPIO_PF3_CAN0TX 0x00050C03
  3418. #define GPIO_PF3_T1CCP1 0x00050C07
  3419. #define GPIO_PF3_TRCLK 0x00050C0E
  3420. #define GPIO_PF4_U1DTR 0x00051001
  3421. #define GPIO_PF4_T2CCP0 0x00051007
  3422. #define GPIO_PF4_USB0EPEN 0x00051008
  3423. #define GPIO_PF4_TRD3 0x0005100E
  3424. #define GPIO_PF5_T2CCP1 0x00051407
  3425. #define GPIO_PF5_USB0PFLT 0x00051408
  3426. #define GPIO_PF6_I2C2SCL 0x00051803
  3427. #define GPIO_PF6_T3CCP0 0x00051807
  3428. #define GPIO_PF7_I2C2SDA 0x00051C03
  3429. #define GPIO_PF7_T3CCP1 0x00051C07
  3430. #define GPIO_PG0_I2C3SCL 0x00060003
  3431. #define GPIO_PG0_T4CCP0 0x00060007
  3432. #define GPIO_PG1_I2C3SDA 0x00060403
  3433. #define GPIO_PG1_T4CCP1 0x00060407
  3434. #define GPIO_PG2_I2C4SCL 0x00060803
  3435. #define GPIO_PG2_T5CCP0 0x00060807
  3436. #define GPIO_PG3_I2C4SDA 0x00060C03
  3437. #define GPIO_PG3_T5CCP1 0x00060C07
  3438. #define GPIO_PG4_U2RX 0x00061001
  3439. #define GPIO_PG4_I2C1SCL 0x00061003
  3440. #define GPIO_PG4_WT0CCP0 0x00061007
  3441. #define GPIO_PG4_USB0EPEN 0x00061008
  3442. #define GPIO_PG5_U2TX 0x00061401
  3443. #define GPIO_PG5_I2C1SDA 0x00061403
  3444. #define GPIO_PG5_WT0CCP1 0x00061407
  3445. #define GPIO_PG5_USB0PFLT 0x00061408
  3446. #define GPIO_PG6_I2C5SCL 0x00061803
  3447. #define GPIO_PG6_WT1CCP0 0x00061807
  3448. #define GPIO_PG7_I2C5SDA 0x00061C03
  3449. #define GPIO_PG7_WT1CCP1 0x00061C07
  3450. #define GPIO_PH0_SSI3CLK 0x00070002
  3451. #define GPIO_PH0_WT2CCP0 0x00070007
  3452. #define GPIO_PH1_SSI3FSS 0x00070402
  3453. #define GPIO_PH1_WT2CCP1 0x00070407
  3454. #define GPIO_PH2_SSI3RX 0x00070802
  3455. #define GPIO_PH2_WT5CCP0 0x00070807
  3456. #define GPIO_PH3_SSI3TX 0x00070C02
  3457. #define GPIO_PH3_WT5CCP1 0x00070C07
  3458. #define GPIO_PH4_SSI2CLK 0x00071002
  3459. #define GPIO_PH4_WT3CCP0 0x00071007
  3460. #define GPIO_PH5_SSI2FSS 0x00071402
  3461. #define GPIO_PH5_WT3CCP1 0x00071407
  3462. #define GPIO_PH6_SSI2RX 0x00071802
  3463. #define GPIO_PH6_WT4CCP0 0x00071807
  3464. #define GPIO_PH7_SSI2TX 0x00071C02
  3465. #define GPIO_PH7_WT4CCP1 0x00071C07
  3466. #define GPIO_PJ0_U4RX 0x00080001
  3467. #define GPIO_PJ0_T1CCP0 0x00080007
  3468. #define GPIO_PJ1_U4TX 0x00080401
  3469. #define GPIO_PJ1_T1CCP1 0x00080407
  3470. #define GPIO_PJ2_U5RX 0x00080801
  3471. #define GPIO_PJ2_T2CCP0 0x00080807
  3472. #define GPIO_PK0_SSI3CLK 0x00090002
  3473. #define GPIO_PK1_SSI3FSS 0x00090402
  3474. #define GPIO_PK2_SSI3RX 0x00090802
  3475. #define GPIO_PK3_SSI3TX 0x00090C02
  3476. #endif // PART_TM4C1237D5PZ
  3477. //*****************************************************************************
  3478. //
  3479. // TM4C1237E6PM Port/Pin Mapping Definitions
  3480. //
  3481. //*****************************************************************************
  3482. #ifdef PART_TM4C1237E6PM
  3483. #define GPIO_PA0_U0RX 0x00000001
  3484. #define GPIO_PA1_U0TX 0x00000401
  3485. #define GPIO_PA2_SSI0CLK 0x00000802
  3486. #define GPIO_PA3_SSI0FSS 0x00000C02
  3487. #define GPIO_PA4_SSI0RX 0x00001002
  3488. #define GPIO_PA5_SSI0TX 0x00001402
  3489. #define GPIO_PA6_I2C1SCL 0x00001803
  3490. #define GPIO_PA7_I2C1SDA 0x00001C03
  3491. #define GPIO_PB0_U1RX 0x00010001
  3492. #define GPIO_PB0_T2CCP0 0x00010007
  3493. #define GPIO_PB1_U1TX 0x00010401
  3494. #define GPIO_PB1_T2CCP1 0x00010407
  3495. #define GPIO_PB2_I2C0SCL 0x00010803
  3496. #define GPIO_PB2_T3CCP0 0x00010807
  3497. #define GPIO_PB3_I2C0SDA 0x00010C03
  3498. #define GPIO_PB3_T3CCP1 0x00010C07
  3499. #define GPIO_PB4_SSI2CLK 0x00011002
  3500. #define GPIO_PB4_T1CCP0 0x00011007
  3501. #define GPIO_PB4_CAN0RX 0x00011008
  3502. #define GPIO_PB5_SSI2FSS 0x00011402
  3503. #define GPIO_PB5_T1CCP1 0x00011407
  3504. #define GPIO_PB5_CAN0TX 0x00011408
  3505. #define GPIO_PB6_SSI2RX 0x00011802
  3506. #define GPIO_PB6_T0CCP0 0x00011807
  3507. #define GPIO_PB7_SSI2TX 0x00011C02
  3508. #define GPIO_PB7_T0CCP1 0x00011C07
  3509. #define GPIO_PC0_TCK 0x00020001
  3510. #define GPIO_PC0_SWCLK 0x00020001
  3511. #define GPIO_PC0_T4CCP0 0x00020007
  3512. #define GPIO_PC1_TMS 0x00020401
  3513. #define GPIO_PC1_SWDIO 0x00020401
  3514. #define GPIO_PC1_T4CCP1 0x00020407
  3515. #define GPIO_PC2_TDI 0x00020801
  3516. #define GPIO_PC2_T5CCP0 0x00020807
  3517. #define GPIO_PC3_SWO 0x00020C01
  3518. #define GPIO_PC3_TDO 0x00020C01
  3519. #define GPIO_PC3_T5CCP1 0x00020C07
  3520. #define GPIO_PC4_U4RX 0x00021001
  3521. #define GPIO_PC4_U1RX 0x00021002
  3522. #define GPIO_PC4_WT0CCP0 0x00021007
  3523. #define GPIO_PC4_U1RTS 0x00021008
  3524. #define GPIO_PC5_U4TX 0x00021401
  3525. #define GPIO_PC5_U1TX 0x00021402
  3526. #define GPIO_PC5_WT0CCP1 0x00021407
  3527. #define GPIO_PC5_U1CTS 0x00021408
  3528. #define GPIO_PC6_U3RX 0x00021801
  3529. #define GPIO_PC6_WT1CCP0 0x00021807
  3530. #define GPIO_PC6_USB0EPEN 0x00021808
  3531. #define GPIO_PC7_U3TX 0x00021C01
  3532. #define GPIO_PC7_WT1CCP1 0x00021C07
  3533. #define GPIO_PC7_USB0PFLT 0x00021C08
  3534. #define GPIO_PD0_SSI3CLK 0x00030001
  3535. #define GPIO_PD0_SSI1CLK 0x00030002
  3536. #define GPIO_PD0_I2C3SCL 0x00030003
  3537. #define GPIO_PD0_WT2CCP0 0x00030007
  3538. #define GPIO_PD1_SSI3FSS 0x00030401
  3539. #define GPIO_PD1_SSI1FSS 0x00030402
  3540. #define GPIO_PD1_I2C3SDA 0x00030403
  3541. #define GPIO_PD1_WT2CCP1 0x00030407
  3542. #define GPIO_PD2_SSI3RX 0x00030801
  3543. #define GPIO_PD2_SSI1RX 0x00030802
  3544. #define GPIO_PD2_WT3CCP0 0x00030807
  3545. #define GPIO_PD2_USB0EPEN 0x00030808
  3546. #define GPIO_PD3_SSI3TX 0x00030C01
  3547. #define GPIO_PD3_SSI1TX 0x00030C02
  3548. #define GPIO_PD3_WT3CCP1 0x00030C07
  3549. #define GPIO_PD3_USB0PFLT 0x00030C08
  3550. #define GPIO_PD4_U6RX 0x00031001
  3551. #define GPIO_PD4_WT4CCP0 0x00031007
  3552. #define GPIO_PD5_U6TX 0x00031401
  3553. #define GPIO_PD5_WT4CCP1 0x00031407
  3554. #define GPIO_PD6_U2RX 0x00031801
  3555. #define GPIO_PD6_WT5CCP0 0x00031807
  3556. #define GPIO_PD7_U2TX 0x00031C01
  3557. #define GPIO_PD7_WT5CCP1 0x00031C07
  3558. #define GPIO_PD7_NMI 0x00031C08
  3559. #define GPIO_PE0_U7RX 0x00040001
  3560. #define GPIO_PE1_U7TX 0x00040401
  3561. #define GPIO_PE4_U5RX 0x00041001
  3562. #define GPIO_PE4_I2C2SCL 0x00041003
  3563. #define GPIO_PE4_CAN0RX 0x00041008
  3564. #define GPIO_PE5_U5TX 0x00041401
  3565. #define GPIO_PE5_I2C2SDA 0x00041403
  3566. #define GPIO_PE5_CAN0TX 0x00041408
  3567. #define GPIO_PF0_U1RTS 0x00050001
  3568. #define GPIO_PF0_SSI1RX 0x00050002
  3569. #define GPIO_PF0_CAN0RX 0x00050003
  3570. #define GPIO_PF0_T0CCP0 0x00050007
  3571. #define GPIO_PF0_NMI 0x00050008
  3572. #define GPIO_PF0_C0O 0x00050009
  3573. #define GPIO_PF1_U1CTS 0x00050401
  3574. #define GPIO_PF1_SSI1TX 0x00050402
  3575. #define GPIO_PF1_T0CCP1 0x00050407
  3576. #define GPIO_PF1_C1O 0x00050409
  3577. #define GPIO_PF1_TRD1 0x0005040E
  3578. #define GPIO_PF2_SSI1CLK 0x00050802
  3579. #define GPIO_PF2_T1CCP0 0x00050807
  3580. #define GPIO_PF2_TRD0 0x0005080E
  3581. #define GPIO_PF3_SSI1FSS 0x00050C02
  3582. #define GPIO_PF3_CAN0TX 0x00050C03
  3583. #define GPIO_PF3_T1CCP1 0x00050C07
  3584. #define GPIO_PF3_TRCLK 0x00050C0E
  3585. #define GPIO_PF4_T2CCP0 0x00051007
  3586. #define GPIO_PF4_USB0EPEN 0x00051008
  3587. #endif // PART_TM4C1237E6PM
  3588. //*****************************************************************************
  3589. //
  3590. // TM4C1237E6PZ Port/Pin Mapping Definitions
  3591. //
  3592. //*****************************************************************************
  3593. #ifdef PART_TM4C1237E6PZ
  3594. #define GPIO_PA0_U0RX 0x00000001
  3595. #define GPIO_PA1_U0TX 0x00000401
  3596. #define GPIO_PA2_SSI0CLK 0x00000802
  3597. #define GPIO_PA3_SSI0FSS 0x00000C02
  3598. #define GPIO_PA4_SSI0RX 0x00001002
  3599. #define GPIO_PA5_SSI0TX 0x00001402
  3600. #define GPIO_PA6_I2C1SCL 0x00001803
  3601. #define GPIO_PA7_I2C1SDA 0x00001C03
  3602. #define GPIO_PB0_U1RX 0x00010001
  3603. #define GPIO_PB0_T2CCP0 0x00010007
  3604. #define GPIO_PB1_U1TX 0x00010401
  3605. #define GPIO_PB1_T2CCP1 0x00010407
  3606. #define GPIO_PB2_I2C0SCL 0x00010803
  3607. #define GPIO_PB2_T3CCP0 0x00010807
  3608. #define GPIO_PB3_I2C0SDA 0x00010C03
  3609. #define GPIO_PB3_T3CCP1 0x00010C07
  3610. #define GPIO_PB4_SSI2CLK 0x00011002
  3611. #define GPIO_PB4_T1CCP0 0x00011007
  3612. #define GPIO_PB4_CAN0RX 0x00011008
  3613. #define GPIO_PB5_SSI2FSS 0x00011402
  3614. #define GPIO_PB5_T1CCP1 0x00011407
  3615. #define GPIO_PB5_CAN0TX 0x00011408
  3616. #define GPIO_PC0_TCK 0x00020001
  3617. #define GPIO_PC0_SWCLK 0x00020001
  3618. #define GPIO_PC0_T4CCP0 0x00020007
  3619. #define GPIO_PC1_TMS 0x00020401
  3620. #define GPIO_PC1_SWDIO 0x00020401
  3621. #define GPIO_PC1_T4CCP1 0x00020407
  3622. #define GPIO_PC2_TDI 0x00020801
  3623. #define GPIO_PC2_T5CCP0 0x00020807
  3624. #define GPIO_PC3_SWO 0x00020C01
  3625. #define GPIO_PC3_TDO 0x00020C01
  3626. #define GPIO_PC3_T5CCP1 0x00020C07
  3627. #define GPIO_PC4_U4RX 0x00021001
  3628. #define GPIO_PC4_U1RX 0x00021002
  3629. #define GPIO_PC4_WT0CCP0 0x00021007
  3630. #define GPIO_PC4_U1RTS 0x00021008
  3631. #define GPIO_PC5_U4TX 0x00021401
  3632. #define GPIO_PC5_U1TX 0x00021402
  3633. #define GPIO_PC5_WT0CCP1 0x00021407
  3634. #define GPIO_PC5_U1CTS 0x00021408
  3635. #define GPIO_PC6_U3RX 0x00021801
  3636. #define GPIO_PC6_WT1CCP0 0x00021807
  3637. #define GPIO_PC6_USB0EPEN 0x00021808
  3638. #define GPIO_PC7_U3TX 0x00021C01
  3639. #define GPIO_PC7_WT1CCP1 0x00021C07
  3640. #define GPIO_PC7_USB0PFLT 0x00021C08
  3641. #define GPIO_PD0_SSI3CLK 0x00030001
  3642. #define GPIO_PD0_SSI1CLK 0x00030002
  3643. #define GPIO_PD0_I2C3SCL 0x00030003
  3644. #define GPIO_PD0_WT2CCP0 0x00030007
  3645. #define GPIO_PD1_SSI3FSS 0x00030401
  3646. #define GPIO_PD1_SSI1FSS 0x00030402
  3647. #define GPIO_PD1_I2C3SDA 0x00030403
  3648. #define GPIO_PD1_WT2CCP1 0x00030407
  3649. #define GPIO_PD2_SSI3RX 0x00030801
  3650. #define GPIO_PD2_SSI1RX 0x00030802
  3651. #define GPIO_PD2_WT3CCP0 0x00030807
  3652. #define GPIO_PD2_USB0EPEN 0x00030808
  3653. #define GPIO_PD3_SSI3TX 0x00030C01
  3654. #define GPIO_PD3_SSI1TX 0x00030C02
  3655. #define GPIO_PD3_WT3CCP1 0x00030C07
  3656. #define GPIO_PD3_USB0PFLT 0x00030C08
  3657. #define GPIO_PD4_U6RX 0x00031001
  3658. #define GPIO_PD4_WT4CCP0 0x00031007
  3659. #define GPIO_PD5_U6TX 0x00031401
  3660. #define GPIO_PD5_WT4CCP1 0x00031407
  3661. #define GPIO_PD6_U2RX 0x00031801
  3662. #define GPIO_PD6_WT5CCP0 0x00031807
  3663. #define GPIO_PD7_U2TX 0x00031C01
  3664. #define GPIO_PD7_WT5CCP1 0x00031C07
  3665. #define GPIO_PD7_NMI 0x00031C08
  3666. #define GPIO_PE0_U7RX 0x00040001
  3667. #define GPIO_PE1_U7TX 0x00040401
  3668. #define GPIO_PE4_U5RX 0x00041001
  3669. #define GPIO_PE4_I2C2SCL 0x00041003
  3670. #define GPIO_PE4_CAN0RX 0x00041008
  3671. #define GPIO_PE5_U5TX 0x00041401
  3672. #define GPIO_PE5_I2C2SDA 0x00041403
  3673. #define GPIO_PE5_CAN0TX 0x00041408
  3674. #define GPIO_PE7_U1RI 0x00041C01
  3675. #define GPIO_PF0_U1RTS 0x00050001
  3676. #define GPIO_PF0_SSI1RX 0x00050002
  3677. #define GPIO_PF0_CAN0RX 0x00050003
  3678. #define GPIO_PF0_T0CCP0 0x00050007
  3679. #define GPIO_PF0_NMI 0x00050008
  3680. #define GPIO_PF0_C0O 0x00050009
  3681. #define GPIO_PF0_TRD2 0x0005000E
  3682. #define GPIO_PF1_U1CTS 0x00050401
  3683. #define GPIO_PF1_SSI1TX 0x00050402
  3684. #define GPIO_PF1_T0CCP1 0x00050407
  3685. #define GPIO_PF1_C1O 0x00050409
  3686. #define GPIO_PF1_TRD1 0x0005040E
  3687. #define GPIO_PF2_U1DCD 0x00050801
  3688. #define GPIO_PF2_SSI1CLK 0x00050802
  3689. #define GPIO_PF2_T1CCP0 0x00050807
  3690. #define GPIO_PF2_C2O 0x00050809
  3691. #define GPIO_PF2_TRD0 0x0005080E
  3692. #define GPIO_PF3_U1DSR 0x00050C01
  3693. #define GPIO_PF3_SSI1FSS 0x00050C02
  3694. #define GPIO_PF3_CAN0TX 0x00050C03
  3695. #define GPIO_PF3_T1CCP1 0x00050C07
  3696. #define GPIO_PF3_TRCLK 0x00050C0E
  3697. #define GPIO_PF4_U1DTR 0x00051001
  3698. #define GPIO_PF4_T2CCP0 0x00051007
  3699. #define GPIO_PF4_USB0EPEN 0x00051008
  3700. #define GPIO_PF4_TRD3 0x0005100E
  3701. #define GPIO_PF5_T2CCP1 0x00051407
  3702. #define GPIO_PF5_USB0PFLT 0x00051408
  3703. #define GPIO_PF6_I2C2SCL 0x00051803
  3704. #define GPIO_PF6_T3CCP0 0x00051807
  3705. #define GPIO_PF7_I2C2SDA 0x00051C03
  3706. #define GPIO_PF7_T3CCP1 0x00051C07
  3707. #define GPIO_PG0_I2C3SCL 0x00060003
  3708. #define GPIO_PG0_T4CCP0 0x00060007
  3709. #define GPIO_PG1_I2C3SDA 0x00060403
  3710. #define GPIO_PG1_T4CCP1 0x00060407
  3711. #define GPIO_PG2_I2C4SCL 0x00060803
  3712. #define GPIO_PG2_T5CCP0 0x00060807
  3713. #define GPIO_PG3_I2C4SDA 0x00060C03
  3714. #define GPIO_PG3_T5CCP1 0x00060C07
  3715. #define GPIO_PG4_U2RX 0x00061001
  3716. #define GPIO_PG4_I2C1SCL 0x00061003
  3717. #define GPIO_PG4_WT0CCP0 0x00061007
  3718. #define GPIO_PG4_USB0EPEN 0x00061008
  3719. #define GPIO_PG5_U2TX 0x00061401
  3720. #define GPIO_PG5_I2C1SDA 0x00061403
  3721. #define GPIO_PG5_WT0CCP1 0x00061407
  3722. #define GPIO_PG5_USB0PFLT 0x00061408
  3723. #define GPIO_PG6_I2C5SCL 0x00061803
  3724. #define GPIO_PG6_WT1CCP0 0x00061807
  3725. #define GPIO_PG7_I2C5SDA 0x00061C03
  3726. #define GPIO_PG7_WT1CCP1 0x00061C07
  3727. #define GPIO_PH0_SSI3CLK 0x00070002
  3728. #define GPIO_PH0_WT2CCP0 0x00070007
  3729. #define GPIO_PH1_SSI3FSS 0x00070402
  3730. #define GPIO_PH1_WT2CCP1 0x00070407
  3731. #define GPIO_PH2_SSI3RX 0x00070802
  3732. #define GPIO_PH2_WT5CCP0 0x00070807
  3733. #define GPIO_PH3_SSI3TX 0x00070C02
  3734. #define GPIO_PH3_WT5CCP1 0x00070C07
  3735. #define GPIO_PH4_SSI2CLK 0x00071002
  3736. #define GPIO_PH4_WT3CCP0 0x00071007
  3737. #define GPIO_PH5_SSI2FSS 0x00071402
  3738. #define GPIO_PH5_WT3CCP1 0x00071407
  3739. #define GPIO_PH6_SSI2RX 0x00071802
  3740. #define GPIO_PH6_WT4CCP0 0x00071807
  3741. #define GPIO_PH7_SSI2TX 0x00071C02
  3742. #define GPIO_PH7_WT4CCP1 0x00071C07
  3743. #define GPIO_PJ0_U4RX 0x00080001
  3744. #define GPIO_PJ0_T1CCP0 0x00080007
  3745. #define GPIO_PJ1_U4TX 0x00080401
  3746. #define GPIO_PJ1_T1CCP1 0x00080407
  3747. #define GPIO_PJ2_U5RX 0x00080801
  3748. #define GPIO_PJ2_T2CCP0 0x00080807
  3749. #define GPIO_PK0_SSI3CLK 0x00090002
  3750. #define GPIO_PK1_SSI3FSS 0x00090402
  3751. #define GPIO_PK2_SSI3RX 0x00090802
  3752. #define GPIO_PK3_SSI3TX 0x00090C02
  3753. #endif // PART_TM4C1237E6PZ
  3754. //*****************************************************************************
  3755. //
  3756. // TM4C1237H6PM Port/Pin Mapping Definitions
  3757. //
  3758. //*****************************************************************************
  3759. #ifdef PART_TM4C1237H6PM
  3760. #define GPIO_PA0_U0RX 0x00000001
  3761. #define GPIO_PA1_U0TX 0x00000401
  3762. #define GPIO_PA2_SSI0CLK 0x00000802
  3763. #define GPIO_PA3_SSI0FSS 0x00000C02
  3764. #define GPIO_PA4_SSI0RX 0x00001002
  3765. #define GPIO_PA5_SSI0TX 0x00001402
  3766. #define GPIO_PA6_I2C1SCL 0x00001803
  3767. #define GPIO_PA7_I2C1SDA 0x00001C03
  3768. #define GPIO_PB0_U1RX 0x00010001
  3769. #define GPIO_PB0_T2CCP0 0x00010007
  3770. #define GPIO_PB1_U1TX 0x00010401
  3771. #define GPIO_PB1_T2CCP1 0x00010407
  3772. #define GPIO_PB2_I2C0SCL 0x00010803
  3773. #define GPIO_PB2_T3CCP0 0x00010807
  3774. #define GPIO_PB3_I2C0SDA 0x00010C03
  3775. #define GPIO_PB3_T3CCP1 0x00010C07
  3776. #define GPIO_PB4_SSI2CLK 0x00011002
  3777. #define GPIO_PB4_T1CCP0 0x00011007
  3778. #define GPIO_PB4_CAN0RX 0x00011008
  3779. #define GPIO_PB5_SSI2FSS 0x00011402
  3780. #define GPIO_PB5_T1CCP1 0x00011407
  3781. #define GPIO_PB5_CAN0TX 0x00011408
  3782. #define GPIO_PB6_SSI2RX 0x00011802
  3783. #define GPIO_PB6_T0CCP0 0x00011807
  3784. #define GPIO_PB7_SSI2TX 0x00011C02
  3785. #define GPIO_PB7_T0CCP1 0x00011C07
  3786. #define GPIO_PC0_TCK 0x00020001
  3787. #define GPIO_PC0_SWCLK 0x00020001
  3788. #define GPIO_PC0_T4CCP0 0x00020007
  3789. #define GPIO_PC1_TMS 0x00020401
  3790. #define GPIO_PC1_SWDIO 0x00020401
  3791. #define GPIO_PC1_T4CCP1 0x00020407
  3792. #define GPIO_PC2_TDI 0x00020801
  3793. #define GPIO_PC2_T5CCP0 0x00020807
  3794. #define GPIO_PC3_SWO 0x00020C01
  3795. #define GPIO_PC3_TDO 0x00020C01
  3796. #define GPIO_PC3_T5CCP1 0x00020C07
  3797. #define GPIO_PC4_U4RX 0x00021001
  3798. #define GPIO_PC4_U1RX 0x00021002
  3799. #define GPIO_PC4_WT0CCP0 0x00021007
  3800. #define GPIO_PC4_U1RTS 0x00021008
  3801. #define GPIO_PC5_U4TX 0x00021401
  3802. #define GPIO_PC5_U1TX 0x00021402
  3803. #define GPIO_PC5_WT0CCP1 0x00021407
  3804. #define GPIO_PC5_U1CTS 0x00021408
  3805. #define GPIO_PC6_U3RX 0x00021801
  3806. #define GPIO_PC6_WT1CCP0 0x00021807
  3807. #define GPIO_PC6_USB0EPEN 0x00021808
  3808. #define GPIO_PC7_U3TX 0x00021C01
  3809. #define GPIO_PC7_WT1CCP1 0x00021C07
  3810. #define GPIO_PC7_USB0PFLT 0x00021C08
  3811. #define GPIO_PD0_SSI3CLK 0x00030001
  3812. #define GPIO_PD0_SSI1CLK 0x00030002
  3813. #define GPIO_PD0_I2C3SCL 0x00030003
  3814. #define GPIO_PD0_WT2CCP0 0x00030007
  3815. #define GPIO_PD1_SSI3FSS 0x00030401
  3816. #define GPIO_PD1_SSI1FSS 0x00030402
  3817. #define GPIO_PD1_I2C3SDA 0x00030403
  3818. #define GPIO_PD1_WT2CCP1 0x00030407
  3819. #define GPIO_PD2_SSI3RX 0x00030801
  3820. #define GPIO_PD2_SSI1RX 0x00030802
  3821. #define GPIO_PD2_WT3CCP0 0x00030807
  3822. #define GPIO_PD2_USB0EPEN 0x00030808
  3823. #define GPIO_PD3_SSI3TX 0x00030C01
  3824. #define GPIO_PD3_SSI1TX 0x00030C02
  3825. #define GPIO_PD3_WT3CCP1 0x00030C07
  3826. #define GPIO_PD3_USB0PFLT 0x00030C08
  3827. #define GPIO_PD4_U6RX 0x00031001
  3828. #define GPIO_PD4_WT4CCP0 0x00031007
  3829. #define GPIO_PD5_U6TX 0x00031401
  3830. #define GPIO_PD5_WT4CCP1 0x00031407
  3831. #define GPIO_PD6_U2RX 0x00031801
  3832. #define GPIO_PD6_WT5CCP0 0x00031807
  3833. #define GPIO_PD7_U2TX 0x00031C01
  3834. #define GPIO_PD7_WT5CCP1 0x00031C07
  3835. #define GPIO_PD7_NMI 0x00031C08
  3836. #define GPIO_PE0_U7RX 0x00040001
  3837. #define GPIO_PE1_U7TX 0x00040401
  3838. #define GPIO_PE4_U5RX 0x00041001
  3839. #define GPIO_PE4_I2C2SCL 0x00041003
  3840. #define GPIO_PE4_CAN0RX 0x00041008
  3841. #define GPIO_PE5_U5TX 0x00041401
  3842. #define GPIO_PE5_I2C2SDA 0x00041403
  3843. #define GPIO_PE5_CAN0TX 0x00041408
  3844. #define GPIO_PF0_U1RTS 0x00050001
  3845. #define GPIO_PF0_SSI1RX 0x00050002
  3846. #define GPIO_PF0_CAN0RX 0x00050003
  3847. #define GPIO_PF0_T0CCP0 0x00050007
  3848. #define GPIO_PF0_NMI 0x00050008
  3849. #define GPIO_PF0_C0O 0x00050009
  3850. #define GPIO_PF1_U1CTS 0x00050401
  3851. #define GPIO_PF1_SSI1TX 0x00050402
  3852. #define GPIO_PF1_T0CCP1 0x00050407
  3853. #define GPIO_PF1_C1O 0x00050409
  3854. #define GPIO_PF1_TRD1 0x0005040E
  3855. #define GPIO_PF2_SSI1CLK 0x00050802
  3856. #define GPIO_PF2_T1CCP0 0x00050807
  3857. #define GPIO_PF2_TRD0 0x0005080E
  3858. #define GPIO_PF3_SSI1FSS 0x00050C02
  3859. #define GPIO_PF3_CAN0TX 0x00050C03
  3860. #define GPIO_PF3_T1CCP1 0x00050C07
  3861. #define GPIO_PF3_TRCLK 0x00050C0E
  3862. #define GPIO_PF4_T2CCP0 0x00051007
  3863. #define GPIO_PF4_USB0EPEN 0x00051008
  3864. #endif // PART_TM4C1237H6PM
  3865. //*****************************************************************************
  3866. //
  3867. // TM4C1237H6PZ Port/Pin Mapping Definitions
  3868. //
  3869. //*****************************************************************************
  3870. #ifdef PART_TM4C1237H6PZ
  3871. #define GPIO_PA0_U0RX 0x00000001
  3872. #define GPIO_PA1_U0TX 0x00000401
  3873. #define GPIO_PA2_SSI0CLK 0x00000802
  3874. #define GPIO_PA3_SSI0FSS 0x00000C02
  3875. #define GPIO_PA4_SSI0RX 0x00001002
  3876. #define GPIO_PA5_SSI0TX 0x00001402
  3877. #define GPIO_PA6_I2C1SCL 0x00001803
  3878. #define GPIO_PA7_I2C1SDA 0x00001C03
  3879. #define GPIO_PB0_U1RX 0x00010001
  3880. #define GPIO_PB0_T2CCP0 0x00010007
  3881. #define GPIO_PB1_U1TX 0x00010401
  3882. #define GPIO_PB1_T2CCP1 0x00010407
  3883. #define GPIO_PB2_I2C0SCL 0x00010803
  3884. #define GPIO_PB2_T3CCP0 0x00010807
  3885. #define GPIO_PB3_I2C0SDA 0x00010C03
  3886. #define GPIO_PB3_T3CCP1 0x00010C07
  3887. #define GPIO_PB4_SSI2CLK 0x00011002
  3888. #define GPIO_PB4_T1CCP0 0x00011007
  3889. #define GPIO_PB4_CAN0RX 0x00011008
  3890. #define GPIO_PB5_SSI2FSS 0x00011402
  3891. #define GPIO_PB5_T1CCP1 0x00011407
  3892. #define GPIO_PB5_CAN0TX 0x00011408
  3893. #define GPIO_PC0_TCK 0x00020001
  3894. #define GPIO_PC0_SWCLK 0x00020001
  3895. #define GPIO_PC0_T4CCP0 0x00020007
  3896. #define GPIO_PC1_TMS 0x00020401
  3897. #define GPIO_PC1_SWDIO 0x00020401
  3898. #define GPIO_PC1_T4CCP1 0x00020407
  3899. #define GPIO_PC2_TDI 0x00020801
  3900. #define GPIO_PC2_T5CCP0 0x00020807
  3901. #define GPIO_PC3_SWO 0x00020C01
  3902. #define GPIO_PC3_TDO 0x00020C01
  3903. #define GPIO_PC3_T5CCP1 0x00020C07
  3904. #define GPIO_PC4_U4RX 0x00021001
  3905. #define GPIO_PC4_U1RX 0x00021002
  3906. #define GPIO_PC4_WT0CCP0 0x00021007
  3907. #define GPIO_PC4_U1RTS 0x00021008
  3908. #define GPIO_PC5_U4TX 0x00021401
  3909. #define GPIO_PC5_U1TX 0x00021402
  3910. #define GPIO_PC5_WT0CCP1 0x00021407
  3911. #define GPIO_PC5_U1CTS 0x00021408
  3912. #define GPIO_PC6_U3RX 0x00021801
  3913. #define GPIO_PC6_WT1CCP0 0x00021807
  3914. #define GPIO_PC6_USB0EPEN 0x00021808
  3915. #define GPIO_PC7_U3TX 0x00021C01
  3916. #define GPIO_PC7_WT1CCP1 0x00021C07
  3917. #define GPIO_PC7_USB0PFLT 0x00021C08
  3918. #define GPIO_PD0_SSI3CLK 0x00030001
  3919. #define GPIO_PD0_SSI1CLK 0x00030002
  3920. #define GPIO_PD0_I2C3SCL 0x00030003
  3921. #define GPIO_PD0_WT2CCP0 0x00030007
  3922. #define GPIO_PD1_SSI3FSS 0x00030401
  3923. #define GPIO_PD1_SSI1FSS 0x00030402
  3924. #define GPIO_PD1_I2C3SDA 0x00030403
  3925. #define GPIO_PD1_WT2CCP1 0x00030407
  3926. #define GPIO_PD2_SSI3RX 0x00030801
  3927. #define GPIO_PD2_SSI1RX 0x00030802
  3928. #define GPIO_PD2_WT3CCP0 0x00030807
  3929. #define GPIO_PD2_USB0EPEN 0x00030808
  3930. #define GPIO_PD3_SSI3TX 0x00030C01
  3931. #define GPIO_PD3_SSI1TX 0x00030C02
  3932. #define GPIO_PD3_WT3CCP1 0x00030C07
  3933. #define GPIO_PD3_USB0PFLT 0x00030C08
  3934. #define GPIO_PD4_U6RX 0x00031001
  3935. #define GPIO_PD4_WT4CCP0 0x00031007
  3936. #define GPIO_PD5_U6TX 0x00031401
  3937. #define GPIO_PD5_WT4CCP1 0x00031407
  3938. #define GPIO_PD6_U2RX 0x00031801
  3939. #define GPIO_PD6_WT5CCP0 0x00031807
  3940. #define GPIO_PD7_U2TX 0x00031C01
  3941. #define GPIO_PD7_WT5CCP1 0x00031C07
  3942. #define GPIO_PD7_NMI 0x00031C08
  3943. #define GPIO_PE0_U7RX 0x00040001
  3944. #define GPIO_PE1_U7TX 0x00040401
  3945. #define GPIO_PE4_U5RX 0x00041001
  3946. #define GPIO_PE4_I2C2SCL 0x00041003
  3947. #define GPIO_PE4_CAN0RX 0x00041008
  3948. #define GPIO_PE5_U5TX 0x00041401
  3949. #define GPIO_PE5_I2C2SDA 0x00041403
  3950. #define GPIO_PE5_CAN0TX 0x00041408
  3951. #define GPIO_PE7_U1RI 0x00041C01
  3952. #define GPIO_PF0_U1RTS 0x00050001
  3953. #define GPIO_PF0_SSI1RX 0x00050002
  3954. #define GPIO_PF0_CAN0RX 0x00050003
  3955. #define GPIO_PF0_T0CCP0 0x00050007
  3956. #define GPIO_PF0_NMI 0x00050008
  3957. #define GPIO_PF0_C0O 0x00050009
  3958. #define GPIO_PF0_TRD2 0x0005000E
  3959. #define GPIO_PF1_U1CTS 0x00050401
  3960. #define GPIO_PF1_SSI1TX 0x00050402
  3961. #define GPIO_PF1_T0CCP1 0x00050407
  3962. #define GPIO_PF1_C1O 0x00050409
  3963. #define GPIO_PF1_TRD1 0x0005040E
  3964. #define GPIO_PF2_U1DCD 0x00050801
  3965. #define GPIO_PF2_SSI1CLK 0x00050802
  3966. #define GPIO_PF2_T1CCP0 0x00050807
  3967. #define GPIO_PF2_C2O 0x00050809
  3968. #define GPIO_PF2_TRD0 0x0005080E
  3969. #define GPIO_PF3_U1DSR 0x00050C01
  3970. #define GPIO_PF3_SSI1FSS 0x00050C02
  3971. #define GPIO_PF3_CAN0TX 0x00050C03
  3972. #define GPIO_PF3_T1CCP1 0x00050C07
  3973. #define GPIO_PF3_TRCLK 0x00050C0E
  3974. #define GPIO_PF4_U1DTR 0x00051001
  3975. #define GPIO_PF4_T2CCP0 0x00051007
  3976. #define GPIO_PF4_USB0EPEN 0x00051008
  3977. #define GPIO_PF4_TRD3 0x0005100E
  3978. #define GPIO_PF5_T2CCP1 0x00051407
  3979. #define GPIO_PF5_USB0PFLT 0x00051408
  3980. #define GPIO_PF6_I2C2SCL 0x00051803
  3981. #define GPIO_PF6_T3CCP0 0x00051807
  3982. #define GPIO_PF7_I2C2SDA 0x00051C03
  3983. #define GPIO_PF7_T3CCP1 0x00051C07
  3984. #define GPIO_PG0_I2C3SCL 0x00060003
  3985. #define GPIO_PG0_T4CCP0 0x00060007
  3986. #define GPIO_PG1_I2C3SDA 0x00060403
  3987. #define GPIO_PG1_T4CCP1 0x00060407
  3988. #define GPIO_PG2_I2C4SCL 0x00060803
  3989. #define GPIO_PG2_T5CCP0 0x00060807
  3990. #define GPIO_PG3_I2C4SDA 0x00060C03
  3991. #define GPIO_PG3_T5CCP1 0x00060C07
  3992. #define GPIO_PG4_U2RX 0x00061001
  3993. #define GPIO_PG4_I2C1SCL 0x00061003
  3994. #define GPIO_PG4_WT0CCP0 0x00061007
  3995. #define GPIO_PG4_USB0EPEN 0x00061008
  3996. #define GPIO_PG5_U2TX 0x00061401
  3997. #define GPIO_PG5_I2C1SDA 0x00061403
  3998. #define GPIO_PG5_WT0CCP1 0x00061407
  3999. #define GPIO_PG5_USB0PFLT 0x00061408
  4000. #define GPIO_PG6_I2C5SCL 0x00061803
  4001. #define GPIO_PG6_WT1CCP0 0x00061807
  4002. #define GPIO_PG7_I2C5SDA 0x00061C03
  4003. #define GPIO_PG7_WT1CCP1 0x00061C07
  4004. #define GPIO_PH0_SSI3CLK 0x00070002
  4005. #define GPIO_PH0_WT2CCP0 0x00070007
  4006. #define GPIO_PH1_SSI3FSS 0x00070402
  4007. #define GPIO_PH1_WT2CCP1 0x00070407
  4008. #define GPIO_PH2_SSI3RX 0x00070802
  4009. #define GPIO_PH2_WT5CCP0 0x00070807
  4010. #define GPIO_PH3_SSI3TX 0x00070C02
  4011. #define GPIO_PH3_WT5CCP1 0x00070C07
  4012. #define GPIO_PH4_SSI2CLK 0x00071002
  4013. #define GPIO_PH4_WT3CCP0 0x00071007
  4014. #define GPIO_PH5_SSI2FSS 0x00071402
  4015. #define GPIO_PH5_WT3CCP1 0x00071407
  4016. #define GPIO_PH6_SSI2RX 0x00071802
  4017. #define GPIO_PH6_WT4CCP0 0x00071807
  4018. #define GPIO_PH7_SSI2TX 0x00071C02
  4019. #define GPIO_PH7_WT4CCP1 0x00071C07
  4020. #define GPIO_PJ0_U4RX 0x00080001
  4021. #define GPIO_PJ0_T1CCP0 0x00080007
  4022. #define GPIO_PJ1_U4TX 0x00080401
  4023. #define GPIO_PJ1_T1CCP1 0x00080407
  4024. #define GPIO_PJ2_U5RX 0x00080801
  4025. #define GPIO_PJ2_T2CCP0 0x00080807
  4026. #define GPIO_PK0_SSI3CLK 0x00090002
  4027. #define GPIO_PK1_SSI3FSS 0x00090402
  4028. #define GPIO_PK2_SSI3RX 0x00090802
  4029. #define GPIO_PK3_SSI3TX 0x00090C02
  4030. #endif // PART_TM4C1237H6PZ
  4031. //*****************************************************************************
  4032. //
  4033. // TM4C123AE6PM Port/Pin Mapping Definitions
  4034. //
  4035. //*****************************************************************************
  4036. #ifdef PART_TM4C123AE6PM
  4037. #define GPIO_PA0_U0RX 0x00000001
  4038. #define GPIO_PA0_CAN1RX 0x00000008
  4039. #define GPIO_PA1_U0TX 0x00000401
  4040. #define GPIO_PA1_CAN1TX 0x00000408
  4041. #define GPIO_PA2_SSI0CLK 0x00000802
  4042. #define GPIO_PA3_SSI0FSS 0x00000C02
  4043. #define GPIO_PA4_SSI0RX 0x00001002
  4044. #define GPIO_PA5_SSI0TX 0x00001402
  4045. #define GPIO_PA6_I2C1SCL 0x00001803
  4046. #define GPIO_PA6_M1PWM2 0x00001805
  4047. #define GPIO_PA7_I2C1SDA 0x00001C03
  4048. #define GPIO_PA7_M1PWM3 0x00001C05
  4049. #define GPIO_PB0_U1RX 0x00010001
  4050. #define GPIO_PB0_T2CCP0 0x00010007
  4051. #define GPIO_PB1_U1TX 0x00010401
  4052. #define GPIO_PB1_T2CCP1 0x00010407
  4053. #define GPIO_PB2_I2C0SCL 0x00010803
  4054. #define GPIO_PB2_T3CCP0 0x00010807
  4055. #define GPIO_PB3_I2C0SDA 0x00010C03
  4056. #define GPIO_PB3_T3CCP1 0x00010C07
  4057. #define GPIO_PB4_SSI2CLK 0x00011002
  4058. #define GPIO_PB4_M0PWM2 0x00011004
  4059. #define GPIO_PB4_T1CCP0 0x00011007
  4060. #define GPIO_PB4_CAN0RX 0x00011008
  4061. #define GPIO_PB5_SSI2FSS 0x00011402
  4062. #define GPIO_PB5_M0PWM3 0x00011404
  4063. #define GPIO_PB5_T1CCP1 0x00011407
  4064. #define GPIO_PB5_CAN0TX 0x00011408
  4065. #define GPIO_PB6_SSI2RX 0x00011802
  4066. #define GPIO_PB6_I2C5SCL 0x00011803
  4067. #define GPIO_PB6_M0PWM0 0x00011804
  4068. #define GPIO_PB6_T0CCP0 0x00011807
  4069. #define GPIO_PB7_SSI2TX 0x00011C02
  4070. #define GPIO_PB7_I2C5SDA 0x00011C03
  4071. #define GPIO_PB7_M0PWM1 0x00011C04
  4072. #define GPIO_PB7_T0CCP1 0x00011C07
  4073. #define GPIO_PC0_TCK 0x00020001
  4074. #define GPIO_PC0_SWCLK 0x00020001
  4075. #define GPIO_PC0_T4CCP0 0x00020007
  4076. #define GPIO_PC1_TMS 0x00020401
  4077. #define GPIO_PC1_SWDIO 0x00020401
  4078. #define GPIO_PC1_T4CCP1 0x00020407
  4079. #define GPIO_PC2_TDI 0x00020801
  4080. #define GPIO_PC2_T5CCP0 0x00020807
  4081. #define GPIO_PC3_SWO 0x00020C01
  4082. #define GPIO_PC3_TDO 0x00020C01
  4083. #define GPIO_PC3_T5CCP1 0x00020C07
  4084. #define GPIO_PC4_U4RX 0x00021001
  4085. #define GPIO_PC4_U1RX 0x00021002
  4086. #define GPIO_PC4_M0PWM6 0x00021004
  4087. #define GPIO_PC4_IDX1 0x00021006
  4088. #define GPIO_PC4_WT0CCP0 0x00021007
  4089. #define GPIO_PC4_U1RTS 0x00021008
  4090. #define GPIO_PC5_U4TX 0x00021401
  4091. #define GPIO_PC5_U1TX 0x00021402
  4092. #define GPIO_PC5_M0PWM7 0x00021404
  4093. #define GPIO_PC5_PHA1 0x00021406
  4094. #define GPIO_PC5_WT0CCP1 0x00021407
  4095. #define GPIO_PC5_U1CTS 0x00021408
  4096. #define GPIO_PC6_U3RX 0x00021801
  4097. #define GPIO_PC6_PHB1 0x00021806
  4098. #define GPIO_PC6_WT1CCP0 0x00021807
  4099. #define GPIO_PC7_U3TX 0x00021C01
  4100. #define GPIO_PC7_WT1CCP1 0x00021C07
  4101. #define GPIO_PD0_SSI3CLK 0x00030001
  4102. #define GPIO_PD0_SSI1CLK 0x00030002
  4103. #define GPIO_PD0_I2C3SCL 0x00030003
  4104. #define GPIO_PD0_M0PWM6 0x00030004
  4105. #define GPIO_PD0_M1PWM0 0x00030005
  4106. #define GPIO_PD0_WT2CCP0 0x00030007
  4107. #define GPIO_PD1_SSI3FSS 0x00030401
  4108. #define GPIO_PD1_SSI1FSS 0x00030402
  4109. #define GPIO_PD1_I2C3SDA 0x00030403
  4110. #define GPIO_PD1_M0PWM7 0x00030404
  4111. #define GPIO_PD1_M1PWM1 0x00030405
  4112. #define GPIO_PD1_WT2CCP1 0x00030407
  4113. #define GPIO_PD2_SSI3RX 0x00030801
  4114. #define GPIO_PD2_SSI1RX 0x00030802
  4115. #define GPIO_PD2_M0FAULT0 0x00030804
  4116. #define GPIO_PD2_WT3CCP0 0x00030807
  4117. #define GPIO_PD3_SSI3TX 0x00030C01
  4118. #define GPIO_PD3_SSI1TX 0x00030C02
  4119. #define GPIO_PD3_IDX0 0x00030C06
  4120. #define GPIO_PD3_WT3CCP1 0x00030C07
  4121. #define GPIO_PD4_U6RX 0x00031001
  4122. #define GPIO_PD4_WT4CCP0 0x00031007
  4123. #define GPIO_PD5_U6TX 0x00031401
  4124. #define GPIO_PD5_WT4CCP1 0x00031407
  4125. #define GPIO_PD6_U2RX 0x00031801
  4126. #define GPIO_PD6_M0FAULT0 0x00031804
  4127. #define GPIO_PD6_PHA0 0x00031806
  4128. #define GPIO_PD6_WT5CCP0 0x00031807
  4129. #define GPIO_PD7_U2TX 0x00031C01
  4130. #define GPIO_PD7_M0FAULT1 0x00031C04
  4131. #define GPIO_PD7_PHB0 0x00031C06
  4132. #define GPIO_PD7_WT5CCP1 0x00031C07
  4133. #define GPIO_PD7_NMI 0x00031C08
  4134. #define GPIO_PE0_U7RX 0x00040001
  4135. #define GPIO_PE1_U7TX 0x00040401
  4136. #define GPIO_PE4_U5RX 0x00041001
  4137. #define GPIO_PE4_I2C2SCL 0x00041003
  4138. #define GPIO_PE4_M0PWM4 0x00041004
  4139. #define GPIO_PE4_M1PWM2 0x00041005
  4140. #define GPIO_PE4_CAN0RX 0x00041008
  4141. #define GPIO_PE5_U5TX 0x00041401
  4142. #define GPIO_PE5_I2C2SDA 0x00041403
  4143. #define GPIO_PE5_M0PWM5 0x00041404
  4144. #define GPIO_PE5_M1PWM3 0x00041405
  4145. #define GPIO_PE5_CAN0TX 0x00041408
  4146. #define GPIO_PF0_U1RTS 0x00050001
  4147. #define GPIO_PF0_SSI1RX 0x00050002
  4148. #define GPIO_PF0_CAN0RX 0x00050003
  4149. #define GPIO_PF0_M1PWM4 0x00050005
  4150. #define GPIO_PF0_PHA0 0x00050006
  4151. #define GPIO_PF0_T0CCP0 0x00050007
  4152. #define GPIO_PF0_NMI 0x00050008
  4153. #define GPIO_PF0_C0O 0x00050009
  4154. #define GPIO_PF1_U1CTS 0x00050401
  4155. #define GPIO_PF1_SSI1TX 0x00050402
  4156. #define GPIO_PF1_M1PWM5 0x00050405
  4157. #define GPIO_PF1_PHB0 0x00050406
  4158. #define GPIO_PF1_T0CCP1 0x00050407
  4159. #define GPIO_PF1_C1O 0x00050409
  4160. #define GPIO_PF1_TRD1 0x0005040E
  4161. #define GPIO_PF2_SSI1CLK 0x00050802
  4162. #define GPIO_PF2_M0FAULT0 0x00050804
  4163. #define GPIO_PF2_M1PWM6 0x00050805
  4164. #define GPIO_PF2_T1CCP0 0x00050807
  4165. #define GPIO_PF2_TRD0 0x0005080E
  4166. #define GPIO_PF3_SSI1FSS 0x00050C02
  4167. #define GPIO_PF3_CAN0TX 0x00050C03
  4168. #define GPIO_PF3_M0FAULT1 0x00050C04
  4169. #define GPIO_PF3_M1PWM7 0x00050C05
  4170. #define GPIO_PF3_T1CCP1 0x00050C07
  4171. #define GPIO_PF3_TRCLK 0x00050C0E
  4172. #define GPIO_PF4_M0FAULT2 0x00051004
  4173. #define GPIO_PF4_M1FAULT0 0x00051005
  4174. #define GPIO_PF4_IDX0 0x00051006
  4175. #define GPIO_PF4_T2CCP0 0x00051007
  4176. #define GPIO_PG0_I2C3SCL 0x00060003
  4177. #define GPIO_PG0_M1FAULT1 0x00060005
  4178. #define GPIO_PG0_PHA1 0x00060006
  4179. #define GPIO_PG0_T4CCP0 0x00060007
  4180. #define GPIO_PG1_I2C3SDA 0x00060403
  4181. #define GPIO_PG1_M1FAULT2 0x00060405
  4182. #define GPIO_PG1_PHB1 0x00060406
  4183. #define GPIO_PG1_T4CCP1 0x00060407
  4184. #define GPIO_PG2_I2C4SCL 0x00060803
  4185. #define GPIO_PG2_M0FAULT1 0x00060804
  4186. #define GPIO_PG2_M1PWM0 0x00060805
  4187. #define GPIO_PG2_T5CCP0 0x00060807
  4188. #define GPIO_PG3_I2C4SDA 0x00060C03
  4189. #define GPIO_PG3_M0FAULT2 0x00060C04
  4190. #define GPIO_PG3_M1PWM1 0x00060C05
  4191. #define GPIO_PG3_PHA1 0x00060C06
  4192. #define GPIO_PG3_T5CCP1 0x00060C07
  4193. #define GPIO_PG4_U2RX 0x00061001
  4194. #define GPIO_PG4_I2C1SCL 0x00061003
  4195. #define GPIO_PG4_M0PWM4 0x00061004
  4196. #define GPIO_PG4_M1PWM2 0x00061005
  4197. #define GPIO_PG4_PHB1 0x00061006
  4198. #define GPIO_PG4_WT0CCP0 0x00061007
  4199. #define GPIO_PG5_U2TX 0x00061401
  4200. #define GPIO_PG5_I2C1SDA 0x00061403
  4201. #define GPIO_PG5_M0PWM5 0x00061404
  4202. #define GPIO_PG5_M1PWM3 0x00061405
  4203. #define GPIO_PG5_IDX1 0x00061406
  4204. #define GPIO_PG5_WT0CCP1 0x00061407
  4205. #endif // PART_TM4C123AE6PM
  4206. //*****************************************************************************
  4207. //
  4208. // TM4C123AH6PM Port/Pin Mapping Definitions
  4209. //
  4210. //*****************************************************************************
  4211. #ifdef PART_TM4C123AH6PM
  4212. #define GPIO_PA0_U0RX 0x00000001
  4213. #define GPIO_PA0_CAN1RX 0x00000008
  4214. #define GPIO_PA1_U0TX 0x00000401
  4215. #define GPIO_PA1_CAN1TX 0x00000408
  4216. #define GPIO_PA2_SSI0CLK 0x00000802
  4217. #define GPIO_PA3_SSI0FSS 0x00000C02
  4218. #define GPIO_PA4_SSI0RX 0x00001002
  4219. #define GPIO_PA5_SSI0TX 0x00001402
  4220. #define GPIO_PA6_I2C1SCL 0x00001803
  4221. #define GPIO_PA6_M1PWM2 0x00001805
  4222. #define GPIO_PA7_I2C1SDA 0x00001C03
  4223. #define GPIO_PA7_M1PWM3 0x00001C05
  4224. #define GPIO_PB0_U1RX 0x00010001
  4225. #define GPIO_PB0_T2CCP0 0x00010007
  4226. #define GPIO_PB1_U1TX 0x00010401
  4227. #define GPIO_PB1_T2CCP1 0x00010407
  4228. #define GPIO_PB2_I2C0SCL 0x00010803
  4229. #define GPIO_PB2_T3CCP0 0x00010807
  4230. #define GPIO_PB3_I2C0SDA 0x00010C03
  4231. #define GPIO_PB3_T3CCP1 0x00010C07
  4232. #define GPIO_PB4_SSI2CLK 0x00011002
  4233. #define GPIO_PB4_M0PWM2 0x00011004
  4234. #define GPIO_PB4_T1CCP0 0x00011007
  4235. #define GPIO_PB4_CAN0RX 0x00011008
  4236. #define GPIO_PB5_SSI2FSS 0x00011402
  4237. #define GPIO_PB5_M0PWM3 0x00011404
  4238. #define GPIO_PB5_T1CCP1 0x00011407
  4239. #define GPIO_PB5_CAN0TX 0x00011408
  4240. #define GPIO_PB6_SSI2RX 0x00011802
  4241. #define GPIO_PB6_I2C5SCL 0x00011803
  4242. #define GPIO_PB6_M0PWM0 0x00011804
  4243. #define GPIO_PB6_T0CCP0 0x00011807
  4244. #define GPIO_PB7_SSI2TX 0x00011C02
  4245. #define GPIO_PB7_I2C5SDA 0x00011C03
  4246. #define GPIO_PB7_M0PWM1 0x00011C04
  4247. #define GPIO_PB7_T0CCP1 0x00011C07
  4248. #define GPIO_PC0_TCK 0x00020001
  4249. #define GPIO_PC0_SWCLK 0x00020001
  4250. #define GPIO_PC0_T4CCP0 0x00020007
  4251. #define GPIO_PC1_TMS 0x00020401
  4252. #define GPIO_PC1_SWDIO 0x00020401
  4253. #define GPIO_PC1_T4CCP1 0x00020407
  4254. #define GPIO_PC2_TDI 0x00020801
  4255. #define GPIO_PC2_T5CCP0 0x00020807
  4256. #define GPIO_PC3_SWO 0x00020C01
  4257. #define GPIO_PC3_TDO 0x00020C01
  4258. #define GPIO_PC3_T5CCP1 0x00020C07
  4259. #define GPIO_PC4_U4RX 0x00021001
  4260. #define GPIO_PC4_U1RX 0x00021002
  4261. #define GPIO_PC4_M0PWM6 0x00021004
  4262. #define GPIO_PC4_IDX1 0x00021006
  4263. #define GPIO_PC4_WT0CCP0 0x00021007
  4264. #define GPIO_PC4_U1RTS 0x00021008
  4265. #define GPIO_PC5_U4TX 0x00021401
  4266. #define GPIO_PC5_U1TX 0x00021402
  4267. #define GPIO_PC5_M0PWM7 0x00021404
  4268. #define GPIO_PC5_PHA1 0x00021406
  4269. #define GPIO_PC5_WT0CCP1 0x00021407
  4270. #define GPIO_PC5_U1CTS 0x00021408
  4271. #define GPIO_PC6_U3RX 0x00021801
  4272. #define GPIO_PC6_PHB1 0x00021806
  4273. #define GPIO_PC6_WT1CCP0 0x00021807
  4274. #define GPIO_PC7_U3TX 0x00021C01
  4275. #define GPIO_PC7_WT1CCP1 0x00021C07
  4276. #define GPIO_PD0_SSI3CLK 0x00030001
  4277. #define GPIO_PD0_SSI1CLK 0x00030002
  4278. #define GPIO_PD0_I2C3SCL 0x00030003
  4279. #define GPIO_PD0_M0PWM6 0x00030004
  4280. #define GPIO_PD0_M1PWM0 0x00030005
  4281. #define GPIO_PD0_WT2CCP0 0x00030007
  4282. #define GPIO_PD1_SSI3FSS 0x00030401
  4283. #define GPIO_PD1_SSI1FSS 0x00030402
  4284. #define GPIO_PD1_I2C3SDA 0x00030403
  4285. #define GPIO_PD1_M0PWM7 0x00030404
  4286. #define GPIO_PD1_M1PWM1 0x00030405
  4287. #define GPIO_PD1_WT2CCP1 0x00030407
  4288. #define GPIO_PD2_SSI3RX 0x00030801
  4289. #define GPIO_PD2_SSI1RX 0x00030802
  4290. #define GPIO_PD2_M0FAULT0 0x00030804
  4291. #define GPIO_PD2_WT3CCP0 0x00030807
  4292. #define GPIO_PD3_SSI3TX 0x00030C01
  4293. #define GPIO_PD3_SSI1TX 0x00030C02
  4294. #define GPIO_PD3_IDX0 0x00030C06
  4295. #define GPIO_PD3_WT3CCP1 0x00030C07
  4296. #define GPIO_PD4_U6RX 0x00031001
  4297. #define GPIO_PD4_WT4CCP0 0x00031007
  4298. #define GPIO_PD5_U6TX 0x00031401
  4299. #define GPIO_PD5_WT4CCP1 0x00031407
  4300. #define GPIO_PD6_U2RX 0x00031801
  4301. #define GPIO_PD6_M0FAULT0 0x00031804
  4302. #define GPIO_PD6_PHA0 0x00031806
  4303. #define GPIO_PD6_WT5CCP0 0x00031807
  4304. #define GPIO_PD7_U2TX 0x00031C01
  4305. #define GPIO_PD7_M0FAULT1 0x00031C04
  4306. #define GPIO_PD7_PHB0 0x00031C06
  4307. #define GPIO_PD7_WT5CCP1 0x00031C07
  4308. #define GPIO_PD7_NMI 0x00031C08
  4309. #define GPIO_PE0_U7RX 0x00040001
  4310. #define GPIO_PE1_U7TX 0x00040401
  4311. #define GPIO_PE4_U5RX 0x00041001
  4312. #define GPIO_PE4_I2C2SCL 0x00041003
  4313. #define GPIO_PE4_M0PWM4 0x00041004
  4314. #define GPIO_PE4_M1PWM2 0x00041005
  4315. #define GPIO_PE4_CAN0RX 0x00041008
  4316. #define GPIO_PE5_U5TX 0x00041401
  4317. #define GPIO_PE5_I2C2SDA 0x00041403
  4318. #define GPIO_PE5_M0PWM5 0x00041404
  4319. #define GPIO_PE5_M1PWM3 0x00041405
  4320. #define GPIO_PE5_CAN0TX 0x00041408
  4321. #define GPIO_PF0_U1RTS 0x00050001
  4322. #define GPIO_PF0_SSI1RX 0x00050002
  4323. #define GPIO_PF0_CAN0RX 0x00050003
  4324. #define GPIO_PF0_M1PWM4 0x00050005
  4325. #define GPIO_PF0_PHA0 0x00050006
  4326. #define GPIO_PF0_T0CCP0 0x00050007
  4327. #define GPIO_PF0_NMI 0x00050008
  4328. #define GPIO_PF0_C0O 0x00050009
  4329. #define GPIO_PF1_U1CTS 0x00050401
  4330. #define GPIO_PF1_SSI1TX 0x00050402
  4331. #define GPIO_PF1_M1PWM5 0x00050405
  4332. #define GPIO_PF1_PHB0 0x00050406
  4333. #define GPIO_PF1_T0CCP1 0x00050407
  4334. #define GPIO_PF1_C1O 0x00050409
  4335. #define GPIO_PF1_TRD1 0x0005040E
  4336. #define GPIO_PF2_SSI1CLK 0x00050802
  4337. #define GPIO_PF2_M0FAULT0 0x00050804
  4338. #define GPIO_PF2_M1PWM6 0x00050805
  4339. #define GPIO_PF2_T1CCP0 0x00050807
  4340. #define GPIO_PF2_TRD0 0x0005080E
  4341. #define GPIO_PF3_SSI1FSS 0x00050C02
  4342. #define GPIO_PF3_CAN0TX 0x00050C03
  4343. #define GPIO_PF3_M0FAULT1 0x00050C04
  4344. #define GPIO_PF3_M1PWM7 0x00050C05
  4345. #define GPIO_PF3_T1CCP1 0x00050C07
  4346. #define GPIO_PF3_TRCLK 0x00050C0E
  4347. #define GPIO_PF4_M0FAULT2 0x00051004
  4348. #define GPIO_PF4_M1FAULT0 0x00051005
  4349. #define GPIO_PF4_IDX0 0x00051006
  4350. #define GPIO_PF4_T2CCP0 0x00051007
  4351. #define GPIO_PG0_I2C3SCL 0x00060003
  4352. #define GPIO_PG0_M1FAULT1 0x00060005
  4353. #define GPIO_PG0_PHA1 0x00060006
  4354. #define GPIO_PG0_T4CCP0 0x00060007
  4355. #define GPIO_PG1_I2C3SDA 0x00060403
  4356. #define GPIO_PG1_M1FAULT2 0x00060405
  4357. #define GPIO_PG1_PHB1 0x00060406
  4358. #define GPIO_PG1_T4CCP1 0x00060407
  4359. #define GPIO_PG2_I2C4SCL 0x00060803
  4360. #define GPIO_PG2_M0FAULT1 0x00060804
  4361. #define GPIO_PG2_M1PWM0 0x00060805
  4362. #define GPIO_PG2_T5CCP0 0x00060807
  4363. #define GPIO_PG3_I2C4SDA 0x00060C03
  4364. #define GPIO_PG3_M0FAULT2 0x00060C04
  4365. #define GPIO_PG3_M1PWM1 0x00060C05
  4366. #define GPIO_PG3_PHA1 0x00060C06
  4367. #define GPIO_PG3_T5CCP1 0x00060C07
  4368. #define GPIO_PG4_U2RX 0x00061001
  4369. #define GPIO_PG4_I2C1SCL 0x00061003
  4370. #define GPIO_PG4_M0PWM4 0x00061004
  4371. #define GPIO_PG4_M1PWM2 0x00061005
  4372. #define GPIO_PG4_PHB1 0x00061006
  4373. #define GPIO_PG4_WT0CCP0 0x00061007
  4374. #define GPIO_PG5_U2TX 0x00061401
  4375. #define GPIO_PG5_I2C1SDA 0x00061403
  4376. #define GPIO_PG5_M0PWM5 0x00061404
  4377. #define GPIO_PG5_M1PWM3 0x00061405
  4378. #define GPIO_PG5_IDX1 0x00061406
  4379. #define GPIO_PG5_WT0CCP1 0x00061407
  4380. #endif // PART_TM4C123AH6PM
  4381. //*****************************************************************************
  4382. //
  4383. // TM4C123BE6PM Port/Pin Mapping Definitions
  4384. //
  4385. //*****************************************************************************
  4386. #ifdef PART_TM4C123BE6PM
  4387. #define GPIO_PA0_U0RX 0x00000001
  4388. #define GPIO_PA0_CAN1RX 0x00000008
  4389. #define GPIO_PA1_U0TX 0x00000401
  4390. #define GPIO_PA1_CAN1TX 0x00000408
  4391. #define GPIO_PA2_SSI0CLK 0x00000802
  4392. #define GPIO_PA3_SSI0FSS 0x00000C02
  4393. #define GPIO_PA4_SSI0RX 0x00001002
  4394. #define GPIO_PA5_SSI0TX 0x00001402
  4395. #define GPIO_PA6_I2C1SCL 0x00001803
  4396. #define GPIO_PA6_M1PWM2 0x00001805
  4397. #define GPIO_PA7_I2C1SDA 0x00001C03
  4398. #define GPIO_PA7_M1PWM3 0x00001C05
  4399. #define GPIO_PB0_U1RX 0x00010001
  4400. #define GPIO_PB0_T2CCP0 0x00010007
  4401. #define GPIO_PB1_U1TX 0x00010401
  4402. #define GPIO_PB1_T2CCP1 0x00010407
  4403. #define GPIO_PB2_I2C0SCL 0x00010803
  4404. #define GPIO_PB2_T3CCP0 0x00010807
  4405. #define GPIO_PB3_I2C0SDA 0x00010C03
  4406. #define GPIO_PB3_T3CCP1 0x00010C07
  4407. #define GPIO_PB4_SSI2CLK 0x00011002
  4408. #define GPIO_PB4_M0PWM2 0x00011004
  4409. #define GPIO_PB4_T1CCP0 0x00011007
  4410. #define GPIO_PB4_CAN0RX 0x00011008
  4411. #define GPIO_PB5_SSI2FSS 0x00011402
  4412. #define GPIO_PB5_M0PWM3 0x00011404
  4413. #define GPIO_PB5_T1CCP1 0x00011407
  4414. #define GPIO_PB5_CAN0TX 0x00011408
  4415. #define GPIO_PB6_SSI2RX 0x00011802
  4416. #define GPIO_PB6_M0PWM0 0x00011804
  4417. #define GPIO_PB6_T0CCP0 0x00011807
  4418. #define GPIO_PB7_SSI2TX 0x00011C02
  4419. #define GPIO_PB7_M0PWM1 0x00011C04
  4420. #define GPIO_PB7_T0CCP1 0x00011C07
  4421. #define GPIO_PC0_TCK 0x00020001
  4422. #define GPIO_PC0_SWCLK 0x00020001
  4423. #define GPIO_PC0_T4CCP0 0x00020007
  4424. #define GPIO_PC1_TMS 0x00020401
  4425. #define GPIO_PC1_SWDIO 0x00020401
  4426. #define GPIO_PC1_T4CCP1 0x00020407
  4427. #define GPIO_PC2_TDI 0x00020801
  4428. #define GPIO_PC2_T5CCP0 0x00020807
  4429. #define GPIO_PC3_SWO 0x00020C01
  4430. #define GPIO_PC3_TDO 0x00020C01
  4431. #define GPIO_PC3_T5CCP1 0x00020C07
  4432. #define GPIO_PC4_U4RX 0x00021001
  4433. #define GPIO_PC4_U1RX 0x00021002
  4434. #define GPIO_PC4_M0PWM6 0x00021004
  4435. #define GPIO_PC4_IDX1 0x00021006
  4436. #define GPIO_PC4_WT0CCP0 0x00021007
  4437. #define GPIO_PC4_U1RTS 0x00021008
  4438. #define GPIO_PC5_U4TX 0x00021401
  4439. #define GPIO_PC5_U1TX 0x00021402
  4440. #define GPIO_PC5_M0PWM7 0x00021404
  4441. #define GPIO_PC5_PHA1 0x00021406
  4442. #define GPIO_PC5_WT0CCP1 0x00021407
  4443. #define GPIO_PC5_U1CTS 0x00021408
  4444. #define GPIO_PC6_U3RX 0x00021801
  4445. #define GPIO_PC6_PHB1 0x00021806
  4446. #define GPIO_PC6_WT1CCP0 0x00021807
  4447. #define GPIO_PC7_U3TX 0x00021C01
  4448. #define GPIO_PC7_WT1CCP1 0x00021C07
  4449. #define GPIO_PD0_SSI3CLK 0x00030001
  4450. #define GPIO_PD0_SSI1CLK 0x00030002
  4451. #define GPIO_PD0_I2C3SCL 0x00030003
  4452. #define GPIO_PD0_M0PWM6 0x00030004
  4453. #define GPIO_PD0_M1PWM0 0x00030005
  4454. #define GPIO_PD0_WT2CCP0 0x00030007
  4455. #define GPIO_PD1_SSI3FSS 0x00030401
  4456. #define GPIO_PD1_SSI1FSS 0x00030402
  4457. #define GPIO_PD1_I2C3SDA 0x00030403
  4458. #define GPIO_PD1_M0PWM7 0x00030404
  4459. #define GPIO_PD1_M1PWM1 0x00030405
  4460. #define GPIO_PD1_WT2CCP1 0x00030407
  4461. #define GPIO_PD2_SSI3RX 0x00030801
  4462. #define GPIO_PD2_SSI1RX 0x00030802
  4463. #define GPIO_PD2_M0FAULT0 0x00030804
  4464. #define GPIO_PD2_WT3CCP0 0x00030807
  4465. #define GPIO_PD3_SSI3TX 0x00030C01
  4466. #define GPIO_PD3_SSI1TX 0x00030C02
  4467. #define GPIO_PD3_IDX0 0x00030C06
  4468. #define GPIO_PD3_WT3CCP1 0x00030C07
  4469. #define GPIO_PD4_U6RX 0x00031001
  4470. #define GPIO_PD4_WT4CCP0 0x00031007
  4471. #define GPIO_PD5_U6TX 0x00031401
  4472. #define GPIO_PD5_WT4CCP1 0x00031407
  4473. #define GPIO_PD6_U2RX 0x00031801
  4474. #define GPIO_PD6_M0FAULT0 0x00031804
  4475. #define GPIO_PD6_PHA0 0x00031806
  4476. #define GPIO_PD6_WT5CCP0 0x00031807
  4477. #define GPIO_PD7_U2TX 0x00031C01
  4478. #define GPIO_PD7_PHB0 0x00031C06
  4479. #define GPIO_PD7_WT5CCP1 0x00031C07
  4480. #define GPIO_PD7_NMI 0x00031C08
  4481. #define GPIO_PE0_U7RX 0x00040001
  4482. #define GPIO_PE1_U7TX 0x00040401
  4483. #define GPIO_PE4_U5RX 0x00041001
  4484. #define GPIO_PE4_I2C2SCL 0x00041003
  4485. #define GPIO_PE4_M0PWM4 0x00041004
  4486. #define GPIO_PE4_M1PWM2 0x00041005
  4487. #define GPIO_PE4_CAN0RX 0x00041008
  4488. #define GPIO_PE5_U5TX 0x00041401
  4489. #define GPIO_PE5_I2C2SDA 0x00041403
  4490. #define GPIO_PE5_M0PWM5 0x00041404
  4491. #define GPIO_PE5_M1PWM3 0x00041405
  4492. #define GPIO_PE5_CAN0TX 0x00041408
  4493. #define GPIO_PF0_U1RTS 0x00050001
  4494. #define GPIO_PF0_SSI1RX 0x00050002
  4495. #define GPIO_PF0_CAN0RX 0x00050003
  4496. #define GPIO_PF0_M1PWM4 0x00050005
  4497. #define GPIO_PF0_PHA0 0x00050006
  4498. #define GPIO_PF0_T0CCP0 0x00050007
  4499. #define GPIO_PF0_NMI 0x00050008
  4500. #define GPIO_PF0_C0O 0x00050009
  4501. #define GPIO_PF1_U1CTS 0x00050401
  4502. #define GPIO_PF1_SSI1TX 0x00050402
  4503. #define GPIO_PF1_M1PWM5 0x00050405
  4504. #define GPIO_PF1_PHB0 0x00050406
  4505. #define GPIO_PF1_T0CCP1 0x00050407
  4506. #define GPIO_PF1_C1O 0x00050409
  4507. #define GPIO_PF1_TRD1 0x0005040E
  4508. #define GPIO_PF2_SSI1CLK 0x00050802
  4509. #define GPIO_PF2_M0FAULT0 0x00050804
  4510. #define GPIO_PF2_M1PWM6 0x00050805
  4511. #define GPIO_PF2_T1CCP0 0x00050807
  4512. #define GPIO_PF2_TRD0 0x0005080E
  4513. #define GPIO_PF3_SSI1FSS 0x00050C02
  4514. #define GPIO_PF3_CAN0TX 0x00050C03
  4515. #define GPIO_PF3_M1PWM7 0x00050C05
  4516. #define GPIO_PF3_T1CCP1 0x00050C07
  4517. #define GPIO_PF3_TRCLK 0x00050C0E
  4518. #define GPIO_PF4_M1FAULT0 0x00051005
  4519. #define GPIO_PF4_IDX0 0x00051006
  4520. #define GPIO_PF4_T2CCP0 0x00051007
  4521. #endif // PART_TM4C123BE6PM
  4522. //*****************************************************************************
  4523. //
  4524. // TM4C123BE6PZ Port/Pin Mapping Definitions
  4525. //
  4526. //*****************************************************************************
  4527. #ifdef PART_TM4C123BE6PZ
  4528. #define GPIO_PA0_U0RX 0x00000001
  4529. #define GPIO_PA0_CAN1RX 0x00000008
  4530. #define GPIO_PA1_U0TX 0x00000401
  4531. #define GPIO_PA1_CAN1TX 0x00000408
  4532. #define GPIO_PA2_SSI0CLK 0x00000802
  4533. #define GPIO_PA3_SSI0FSS 0x00000C02
  4534. #define GPIO_PA4_SSI0RX 0x00001002
  4535. #define GPIO_PA5_SSI0TX 0x00001402
  4536. #define GPIO_PA6_I2C1SCL 0x00001803
  4537. #define GPIO_PA6_M1PWM2 0x00001805
  4538. #define GPIO_PA7_I2C1SDA 0x00001C03
  4539. #define GPIO_PA7_M1PWM3 0x00001C05
  4540. #define GPIO_PB0_U1RX 0x00010001
  4541. #define GPIO_PB0_T2CCP0 0x00010007
  4542. #define GPIO_PB1_U1TX 0x00010401
  4543. #define GPIO_PB1_T2CCP1 0x00010407
  4544. #define GPIO_PB2_I2C0SCL 0x00010803
  4545. #define GPIO_PB2_T3CCP0 0x00010807
  4546. #define GPIO_PB3_I2C0SDA 0x00010C03
  4547. #define GPIO_PB3_T3CCP1 0x00010C07
  4548. #define GPIO_PB4_SSI2CLK 0x00011002
  4549. #define GPIO_PB4_M0PWM2 0x00011004
  4550. #define GPIO_PB4_T1CCP0 0x00011007
  4551. #define GPIO_PB4_CAN0RX 0x00011008
  4552. #define GPIO_PB5_SSI2FSS 0x00011402
  4553. #define GPIO_PB5_M0PWM3 0x00011404
  4554. #define GPIO_PB5_T1CCP1 0x00011407
  4555. #define GPIO_PB5_CAN0TX 0x00011408
  4556. #define GPIO_PC0_TCK 0x00020001
  4557. #define GPIO_PC0_SWCLK 0x00020001
  4558. #define GPIO_PC0_T4CCP0 0x00020007
  4559. #define GPIO_PC1_TMS 0x00020401
  4560. #define GPIO_PC1_SWDIO 0x00020401
  4561. #define GPIO_PC1_T4CCP1 0x00020407
  4562. #define GPIO_PC2_TDI 0x00020801
  4563. #define GPIO_PC2_T5CCP0 0x00020807
  4564. #define GPIO_PC3_SWO 0x00020C01
  4565. #define GPIO_PC3_TDO 0x00020C01
  4566. #define GPIO_PC3_T5CCP1 0x00020C07
  4567. #define GPIO_PC4_U4RX 0x00021001
  4568. #define GPIO_PC4_U1RX 0x00021002
  4569. #define GPIO_PC4_M0PWM6 0x00021004
  4570. #define GPIO_PC4_IDX1 0x00021006
  4571. #define GPIO_PC4_WT0CCP0 0x00021007
  4572. #define GPIO_PC4_U1RTS 0x00021008
  4573. #define GPIO_PC5_U4TX 0x00021401
  4574. #define GPIO_PC5_U1TX 0x00021402
  4575. #define GPIO_PC5_M0PWM7 0x00021404
  4576. #define GPIO_PC5_PHA1 0x00021406
  4577. #define GPIO_PC5_WT0CCP1 0x00021407
  4578. #define GPIO_PC5_U1CTS 0x00021408
  4579. #define GPIO_PC6_U3RX 0x00021801
  4580. #define GPIO_PC6_PHB1 0x00021806
  4581. #define GPIO_PC6_WT1CCP0 0x00021807
  4582. #define GPIO_PC7_U3TX 0x00021C01
  4583. #define GPIO_PC7_WT1CCP1 0x00021C07
  4584. #define GPIO_PD0_SSI3CLK 0x00030001
  4585. #define GPIO_PD0_SSI1CLK 0x00030002
  4586. #define GPIO_PD0_I2C3SCL 0x00030003
  4587. #define GPIO_PD0_M0PWM6 0x00030004
  4588. #define GPIO_PD0_M1PWM0 0x00030005
  4589. #define GPIO_PD0_WT2CCP0 0x00030007
  4590. #define GPIO_PD1_SSI3FSS 0x00030401
  4591. #define GPIO_PD1_SSI1FSS 0x00030402
  4592. #define GPIO_PD1_I2C3SDA 0x00030403
  4593. #define GPIO_PD1_M0PWM7 0x00030404
  4594. #define GPIO_PD1_M1PWM1 0x00030405
  4595. #define GPIO_PD1_WT2CCP1 0x00030407
  4596. #define GPIO_PD2_SSI3RX 0x00030801
  4597. #define GPIO_PD2_SSI1RX 0x00030802
  4598. #define GPIO_PD2_M0FAULT0 0x00030804
  4599. #define GPIO_PD2_WT3CCP0 0x00030807
  4600. #define GPIO_PD3_SSI3TX 0x00030C01
  4601. #define GPIO_PD3_SSI1TX 0x00030C02
  4602. #define GPIO_PD3_IDX0 0x00030C06
  4603. #define GPIO_PD3_WT3CCP1 0x00030C07
  4604. #define GPIO_PD4_U6RX 0x00031001
  4605. #define GPIO_PD4_WT4CCP0 0x00031007
  4606. #define GPIO_PD5_U6TX 0x00031401
  4607. #define GPIO_PD5_WT4CCP1 0x00031407
  4608. #define GPIO_PD6_U2RX 0x00031801
  4609. #define GPIO_PD6_M0FAULT0 0x00031804
  4610. #define GPIO_PD6_PHA0 0x00031806
  4611. #define GPIO_PD6_WT5CCP0 0x00031807
  4612. #define GPIO_PD7_U2TX 0x00031C01
  4613. #define GPIO_PD7_M0FAULT1 0x00031C04
  4614. #define GPIO_PD7_PHB0 0x00031C06
  4615. #define GPIO_PD7_WT5CCP1 0x00031C07
  4616. #define GPIO_PD7_NMI 0x00031C08
  4617. #define GPIO_PE0_U7RX 0x00040001
  4618. #define GPIO_PE1_U7TX 0x00040401
  4619. #define GPIO_PE4_U5RX 0x00041001
  4620. #define GPIO_PE4_I2C2SCL 0x00041003
  4621. #define GPIO_PE4_M0PWM4 0x00041004
  4622. #define GPIO_PE4_M1PWM2 0x00041005
  4623. #define GPIO_PE4_CAN0RX 0x00041008
  4624. #define GPIO_PE5_U5TX 0x00041401
  4625. #define GPIO_PE5_I2C2SDA 0x00041403
  4626. #define GPIO_PE5_M0PWM5 0x00041404
  4627. #define GPIO_PE5_M1PWM3 0x00041405
  4628. #define GPIO_PE5_CAN0TX 0x00041408
  4629. #define GPIO_PE6_CAN1RX 0x00041808
  4630. #define GPIO_PE7_U1RI 0x00041C01
  4631. #define GPIO_PE7_CAN1TX 0x00041C08
  4632. #define GPIO_PF0_U1RTS 0x00050001
  4633. #define GPIO_PF0_SSI1RX 0x00050002
  4634. #define GPIO_PF0_CAN0RX 0x00050003
  4635. #define GPIO_PF0_M1PWM4 0x00050005
  4636. #define GPIO_PF0_PHA0 0x00050006
  4637. #define GPIO_PF0_T0CCP0 0x00050007
  4638. #define GPIO_PF0_NMI 0x00050008
  4639. #define GPIO_PF0_C0O 0x00050009
  4640. #define GPIO_PF0_TRD2 0x0005000E
  4641. #define GPIO_PF1_U1CTS 0x00050401
  4642. #define GPIO_PF1_SSI1TX 0x00050402
  4643. #define GPIO_PF1_M1PWM5 0x00050405
  4644. #define GPIO_PF1_PHB0 0x00050406
  4645. #define GPIO_PF1_T0CCP1 0x00050407
  4646. #define GPIO_PF1_C1O 0x00050409
  4647. #define GPIO_PF1_TRD1 0x0005040E
  4648. #define GPIO_PF2_U1DCD 0x00050801
  4649. #define GPIO_PF2_SSI1CLK 0x00050802
  4650. #define GPIO_PF2_M0FAULT0 0x00050804
  4651. #define GPIO_PF2_M1PWM6 0x00050805
  4652. #define GPIO_PF2_T1CCP0 0x00050807
  4653. #define GPIO_PF2_C2O 0x00050809
  4654. #define GPIO_PF2_TRD0 0x0005080E
  4655. #define GPIO_PF3_U1DSR 0x00050C01
  4656. #define GPIO_PF3_SSI1FSS 0x00050C02
  4657. #define GPIO_PF3_CAN0TX 0x00050C03
  4658. #define GPIO_PF3_M0FAULT1 0x00050C04
  4659. #define GPIO_PF3_M1PWM7 0x00050C05
  4660. #define GPIO_PF3_T1CCP1 0x00050C07
  4661. #define GPIO_PF3_TRCLK 0x00050C0E
  4662. #define GPIO_PF4_U1DTR 0x00051001
  4663. #define GPIO_PF4_M0FAULT2 0x00051004
  4664. #define GPIO_PF4_M1FAULT0 0x00051005
  4665. #define GPIO_PF4_IDX0 0x00051006
  4666. #define GPIO_PF4_T2CCP0 0x00051007
  4667. #define GPIO_PF4_TRD3 0x0005100E
  4668. #define GPIO_PF5_M0FAULT3 0x00051404
  4669. #define GPIO_PF5_T2CCP1 0x00051407
  4670. #define GPIO_PF6_I2C2SCL 0x00051803
  4671. #define GPIO_PF6_T3CCP0 0x00051807
  4672. #define GPIO_PF7_I2C2SDA 0x00051C03
  4673. #define GPIO_PF7_M1FAULT0 0x00051C05
  4674. #define GPIO_PF7_T3CCP1 0x00051C07
  4675. #define GPIO_PG0_I2C3SCL 0x00060003
  4676. #define GPIO_PG0_M1FAULT1 0x00060005
  4677. #define GPIO_PG0_PHA1 0x00060006
  4678. #define GPIO_PG0_T4CCP0 0x00060007
  4679. #define GPIO_PG1_I2C3SDA 0x00060403
  4680. #define GPIO_PG1_M1FAULT2 0x00060405
  4681. #define GPIO_PG1_PHB1 0x00060406
  4682. #define GPIO_PG1_T4CCP1 0x00060407
  4683. #define GPIO_PG2_I2C4SCL 0x00060803
  4684. #define GPIO_PG2_M0FAULT1 0x00060804
  4685. #define GPIO_PG2_M1PWM0 0x00060805
  4686. #define GPIO_PG2_T5CCP0 0x00060807
  4687. #define GPIO_PG3_I2C4SDA 0x00060C03
  4688. #define GPIO_PG3_M0FAULT2 0x00060C04
  4689. #define GPIO_PG3_M1PWM1 0x00060C05
  4690. #define GPIO_PG3_PHA1 0x00060C06
  4691. #define GPIO_PG3_T5CCP1 0x00060C07
  4692. #define GPIO_PG4_U2RX 0x00061001
  4693. #define GPIO_PG4_I2C1SCL 0x00061003
  4694. #define GPIO_PG4_M0PWM4 0x00061004
  4695. #define GPIO_PG4_M1PWM2 0x00061005
  4696. #define GPIO_PG4_PHB1 0x00061006
  4697. #define GPIO_PG4_WT0CCP0 0x00061007
  4698. #define GPIO_PG5_U2TX 0x00061401
  4699. #define GPIO_PG5_I2C1SDA 0x00061403
  4700. #define GPIO_PG5_M0PWM5 0x00061404
  4701. #define GPIO_PG5_M1PWM3 0x00061405
  4702. #define GPIO_PG5_IDX1 0x00061406
  4703. #define GPIO_PG5_WT0CCP1 0x00061407
  4704. #define GPIO_PG6_I2C5SCL 0x00061803
  4705. #define GPIO_PG6_M0PWM6 0x00061804
  4706. #define GPIO_PG6_WT1CCP0 0x00061807
  4707. #define GPIO_PG7_I2C5SDA 0x00061C03
  4708. #define GPIO_PG7_M0PWM7 0x00061C04
  4709. #define GPIO_PG7_IDX1 0x00061C05
  4710. #define GPIO_PG7_WT1CCP1 0x00061C07
  4711. #define GPIO_PH0_SSI3CLK 0x00070002
  4712. #define GPIO_PH0_M0PWM0 0x00070004
  4713. #define GPIO_PH0_M0FAULT0 0x00070006
  4714. #define GPIO_PH0_WT2CCP0 0x00070007
  4715. #define GPIO_PH1_SSI3FSS 0x00070402
  4716. #define GPIO_PH1_M0PWM1 0x00070404
  4717. #define GPIO_PH1_IDX0 0x00070405
  4718. #define GPIO_PH1_M0FAULT1 0x00070406
  4719. #define GPIO_PH1_WT2CCP1 0x00070407
  4720. #define GPIO_PH2_SSI3RX 0x00070802
  4721. #define GPIO_PH2_M0PWM2 0x00070804
  4722. #define GPIO_PH2_M0FAULT2 0x00070806
  4723. #define GPIO_PH2_WT5CCP0 0x00070807
  4724. #define GPIO_PH3_SSI3TX 0x00070C02
  4725. #define GPIO_PH3_M0PWM3 0x00070C04
  4726. #define GPIO_PH3_M0FAULT3 0x00070C06
  4727. #define GPIO_PH3_WT5CCP1 0x00070C07
  4728. #define GPIO_PH4_SSI2CLK 0x00071002
  4729. #define GPIO_PH4_M0PWM4 0x00071004
  4730. #define GPIO_PH4_PHA0 0x00071005
  4731. #define GPIO_PH4_WT3CCP0 0x00071007
  4732. #define GPIO_PH5_SSI2FSS 0x00071402
  4733. #define GPIO_PH5_M0PWM5 0x00071404
  4734. #define GPIO_PH5_PHB0 0x00071405
  4735. #define GPIO_PH5_WT3CCP1 0x00071407
  4736. #define GPIO_PH6_SSI2RX 0x00071802
  4737. #define GPIO_PH6_M0PWM6 0x00071804
  4738. #define GPIO_PH6_WT4CCP0 0x00071807
  4739. #define GPIO_PH7_SSI2TX 0x00071C02
  4740. #define GPIO_PH7_M0PWM7 0x00071C04
  4741. #define GPIO_PH7_WT4CCP1 0x00071C07
  4742. #define GPIO_PJ0_U4RX 0x00080001
  4743. #define GPIO_PJ0_T1CCP0 0x00080007
  4744. #define GPIO_PJ1_U4TX 0x00080401
  4745. #define GPIO_PJ1_T1CCP1 0x00080407
  4746. #define GPIO_PJ2_U5RX 0x00080801
  4747. #define GPIO_PJ2_IDX0 0x00080805
  4748. #define GPIO_PJ2_T2CCP0 0x00080807
  4749. #define GPIO_PK0_SSI3CLK 0x00090002
  4750. #define GPIO_PK0_M1FAULT0 0x00090006
  4751. #define GPIO_PK1_SSI3FSS 0x00090402
  4752. #define GPIO_PK1_M1FAULT1 0x00090406
  4753. #define GPIO_PK2_SSI3RX 0x00090802
  4754. #define GPIO_PK2_M1FAULT2 0x00090806
  4755. #define GPIO_PK3_SSI3TX 0x00090C02
  4756. #define GPIO_PK3_M1FAULT3 0x00090C06
  4757. #endif // PART_TM4C123BE6PZ
  4758. //*****************************************************************************
  4759. //
  4760. // TM4C123BH6PM Port/Pin Mapping Definitions
  4761. //
  4762. //*****************************************************************************
  4763. #ifdef PART_TM4C123BH6PM
  4764. #define GPIO_PA0_U0RX 0x00000001
  4765. #define GPIO_PA0_CAN1RX 0x00000008
  4766. #define GPIO_PA1_U0TX 0x00000401
  4767. #define GPIO_PA1_CAN1TX 0x00000408
  4768. #define GPIO_PA2_SSI0CLK 0x00000802
  4769. #define GPIO_PA3_SSI0FSS 0x00000C02
  4770. #define GPIO_PA4_SSI0RX 0x00001002
  4771. #define GPIO_PA5_SSI0TX 0x00001402
  4772. #define GPIO_PA6_I2C1SCL 0x00001803
  4773. #define GPIO_PA6_M1PWM2 0x00001805
  4774. #define GPIO_PA7_I2C1SDA 0x00001C03
  4775. #define GPIO_PA7_M1PWM3 0x00001C05
  4776. #define GPIO_PB0_U1RX 0x00010001
  4777. #define GPIO_PB0_T2CCP0 0x00010007
  4778. #define GPIO_PB1_U1TX 0x00010401
  4779. #define GPIO_PB1_T2CCP1 0x00010407
  4780. #define GPIO_PB2_I2C0SCL 0x00010803
  4781. #define GPIO_PB2_T3CCP0 0x00010807
  4782. #define GPIO_PB3_I2C0SDA 0x00010C03
  4783. #define GPIO_PB3_T3CCP1 0x00010C07
  4784. #define GPIO_PB4_SSI2CLK 0x00011002
  4785. #define GPIO_PB4_M0PWM2 0x00011004
  4786. #define GPIO_PB4_T1CCP0 0x00011007
  4787. #define GPIO_PB4_CAN0RX 0x00011008
  4788. #define GPIO_PB5_SSI2FSS 0x00011402
  4789. #define GPIO_PB5_M0PWM3 0x00011404
  4790. #define GPIO_PB5_T1CCP1 0x00011407
  4791. #define GPIO_PB5_CAN0TX 0x00011408
  4792. #define GPIO_PB6_SSI2RX 0x00011802
  4793. #define GPIO_PB6_M0PWM0 0x00011804
  4794. #define GPIO_PB6_T0CCP0 0x00011807
  4795. #define GPIO_PB7_SSI2TX 0x00011C02
  4796. #define GPIO_PB7_M0PWM1 0x00011C04
  4797. #define GPIO_PB7_T0CCP1 0x00011C07
  4798. #define GPIO_PC0_TCK 0x00020001
  4799. #define GPIO_PC0_SWCLK 0x00020001
  4800. #define GPIO_PC0_T4CCP0 0x00020007
  4801. #define GPIO_PC1_TMS 0x00020401
  4802. #define GPIO_PC1_SWDIO 0x00020401
  4803. #define GPIO_PC1_T4CCP1 0x00020407
  4804. #define GPIO_PC2_TDI 0x00020801
  4805. #define GPIO_PC2_T5CCP0 0x00020807
  4806. #define GPIO_PC3_SWO 0x00020C01
  4807. #define GPIO_PC3_TDO 0x00020C01
  4808. #define GPIO_PC3_T5CCP1 0x00020C07
  4809. #define GPIO_PC4_U4RX 0x00021001
  4810. #define GPIO_PC4_U1RX 0x00021002
  4811. #define GPIO_PC4_M0PWM6 0x00021004
  4812. #define GPIO_PC4_IDX1 0x00021006
  4813. #define GPIO_PC4_WT0CCP0 0x00021007
  4814. #define GPIO_PC4_U1RTS 0x00021008
  4815. #define GPIO_PC5_U4TX 0x00021401
  4816. #define GPIO_PC5_U1TX 0x00021402
  4817. #define GPIO_PC5_M0PWM7 0x00021404
  4818. #define GPIO_PC5_PHA1 0x00021406
  4819. #define GPIO_PC5_WT0CCP1 0x00021407
  4820. #define GPIO_PC5_U1CTS 0x00021408
  4821. #define GPIO_PC6_U3RX 0x00021801
  4822. #define GPIO_PC6_PHB1 0x00021806
  4823. #define GPIO_PC6_WT1CCP0 0x00021807
  4824. #define GPIO_PC7_U3TX 0x00021C01
  4825. #define GPIO_PC7_WT1CCP1 0x00021C07
  4826. #define GPIO_PD0_SSI3CLK 0x00030001
  4827. #define GPIO_PD0_SSI1CLK 0x00030002
  4828. #define GPIO_PD0_I2C3SCL 0x00030003
  4829. #define GPIO_PD0_M0PWM6 0x00030004
  4830. #define GPIO_PD0_M1PWM0 0x00030005
  4831. #define GPIO_PD0_WT2CCP0 0x00030007
  4832. #define GPIO_PD1_SSI3FSS 0x00030401
  4833. #define GPIO_PD1_SSI1FSS 0x00030402
  4834. #define GPIO_PD1_I2C3SDA 0x00030403
  4835. #define GPIO_PD1_M0PWM7 0x00030404
  4836. #define GPIO_PD1_M1PWM1 0x00030405
  4837. #define GPIO_PD1_WT2CCP1 0x00030407
  4838. #define GPIO_PD2_SSI3RX 0x00030801
  4839. #define GPIO_PD2_SSI1RX 0x00030802
  4840. #define GPIO_PD2_M0FAULT0 0x00030804
  4841. #define GPIO_PD2_WT3CCP0 0x00030807
  4842. #define GPIO_PD3_SSI3TX 0x00030C01
  4843. #define GPIO_PD3_SSI1TX 0x00030C02
  4844. #define GPIO_PD3_IDX0 0x00030C06
  4845. #define GPIO_PD3_WT3CCP1 0x00030C07
  4846. #define GPIO_PD4_U6RX 0x00031001
  4847. #define GPIO_PD4_WT4CCP0 0x00031007
  4848. #define GPIO_PD5_U6TX 0x00031401
  4849. #define GPIO_PD5_WT4CCP1 0x00031407
  4850. #define GPIO_PD6_U2RX 0x00031801
  4851. #define GPIO_PD6_M0FAULT0 0x00031804
  4852. #define GPIO_PD6_PHA0 0x00031806
  4853. #define GPIO_PD6_WT5CCP0 0x00031807
  4854. #define GPIO_PD7_U2TX 0x00031C01
  4855. #define GPIO_PD7_PHB0 0x00031C06
  4856. #define GPIO_PD7_WT5CCP1 0x00031C07
  4857. #define GPIO_PD7_NMI 0x00031C08
  4858. #define GPIO_PE0_U7RX 0x00040001
  4859. #define GPIO_PE1_U7TX 0x00040401
  4860. #define GPIO_PE4_U5RX 0x00041001
  4861. #define GPIO_PE4_I2C2SCL 0x00041003
  4862. #define GPIO_PE4_M0PWM4 0x00041004
  4863. #define GPIO_PE4_M1PWM2 0x00041005
  4864. #define GPIO_PE4_CAN0RX 0x00041008
  4865. #define GPIO_PE5_U5TX 0x00041401
  4866. #define GPIO_PE5_I2C2SDA 0x00041403
  4867. #define GPIO_PE5_M0PWM5 0x00041404
  4868. #define GPIO_PE5_M1PWM3 0x00041405
  4869. #define GPIO_PE5_CAN0TX 0x00041408
  4870. #define GPIO_PF0_U1RTS 0x00050001
  4871. #define GPIO_PF0_SSI1RX 0x00050002
  4872. #define GPIO_PF0_CAN0RX 0x00050003
  4873. #define GPIO_PF0_M1PWM4 0x00050005
  4874. #define GPIO_PF0_PHA0 0x00050006
  4875. #define GPIO_PF0_T0CCP0 0x00050007
  4876. #define GPIO_PF0_NMI 0x00050008
  4877. #define GPIO_PF0_C0O 0x00050009
  4878. #define GPIO_PF1_U1CTS 0x00050401
  4879. #define GPIO_PF1_SSI1TX 0x00050402
  4880. #define GPIO_PF1_M1PWM5 0x00050405
  4881. #define GPIO_PF1_PHB0 0x00050406
  4882. #define GPIO_PF1_T0CCP1 0x00050407
  4883. #define GPIO_PF1_C1O 0x00050409
  4884. #define GPIO_PF1_TRD1 0x0005040E
  4885. #define GPIO_PF2_SSI1CLK 0x00050802
  4886. #define GPIO_PF2_M0FAULT0 0x00050804
  4887. #define GPIO_PF2_M1PWM6 0x00050805
  4888. #define GPIO_PF2_T1CCP0 0x00050807
  4889. #define GPIO_PF2_TRD0 0x0005080E
  4890. #define GPIO_PF3_SSI1FSS 0x00050C02
  4891. #define GPIO_PF3_CAN0TX 0x00050C03
  4892. #define GPIO_PF3_M1PWM7 0x00050C05
  4893. #define GPIO_PF3_T1CCP1 0x00050C07
  4894. #define GPIO_PF3_TRCLK 0x00050C0E
  4895. #define GPIO_PF4_M1FAULT0 0x00051005
  4896. #define GPIO_PF4_IDX0 0x00051006
  4897. #define GPIO_PF4_T2CCP0 0x00051007
  4898. #endif // PART_TM4C123BH6PM
  4899. //*****************************************************************************
  4900. //
  4901. // TM4C123BH6PZ Port/Pin Mapping Definitions
  4902. //
  4903. //*****************************************************************************
  4904. #ifdef PART_TM4C123BH6PZ
  4905. #define GPIO_PA0_U0RX 0x00000001
  4906. #define GPIO_PA0_CAN1RX 0x00000008
  4907. #define GPIO_PA1_U0TX 0x00000401
  4908. #define GPIO_PA1_CAN1TX 0x00000408
  4909. #define GPIO_PA2_SSI0CLK 0x00000802
  4910. #define GPIO_PA3_SSI0FSS 0x00000C02
  4911. #define GPIO_PA4_SSI0RX 0x00001002
  4912. #define GPIO_PA5_SSI0TX 0x00001402
  4913. #define GPIO_PA6_I2C1SCL 0x00001803
  4914. #define GPIO_PA6_M1PWM2 0x00001805
  4915. #define GPIO_PA7_I2C1SDA 0x00001C03
  4916. #define GPIO_PA7_M1PWM3 0x00001C05
  4917. #define GPIO_PB0_U1RX 0x00010001
  4918. #define GPIO_PB0_T2CCP0 0x00010007
  4919. #define GPIO_PB1_U1TX 0x00010401
  4920. #define GPIO_PB1_T2CCP1 0x00010407
  4921. #define GPIO_PB2_I2C0SCL 0x00010803
  4922. #define GPIO_PB2_T3CCP0 0x00010807
  4923. #define GPIO_PB3_I2C0SDA 0x00010C03
  4924. #define GPIO_PB3_T3CCP1 0x00010C07
  4925. #define GPIO_PB4_SSI2CLK 0x00011002
  4926. #define GPIO_PB4_M0PWM2 0x00011004
  4927. #define GPIO_PB4_T1CCP0 0x00011007
  4928. #define GPIO_PB4_CAN0RX 0x00011008
  4929. #define GPIO_PB5_SSI2FSS 0x00011402
  4930. #define GPIO_PB5_M0PWM3 0x00011404
  4931. #define GPIO_PB5_T1CCP1 0x00011407
  4932. #define GPIO_PB5_CAN0TX 0x00011408
  4933. #define GPIO_PC0_TCK 0x00020001
  4934. #define GPIO_PC0_SWCLK 0x00020001
  4935. #define GPIO_PC0_T4CCP0 0x00020007
  4936. #define GPIO_PC1_TMS 0x00020401
  4937. #define GPIO_PC1_SWDIO 0x00020401
  4938. #define GPIO_PC1_T4CCP1 0x00020407
  4939. #define GPIO_PC2_TDI 0x00020801
  4940. #define GPIO_PC2_T5CCP0 0x00020807
  4941. #define GPIO_PC3_SWO 0x00020C01
  4942. #define GPIO_PC3_TDO 0x00020C01
  4943. #define GPIO_PC3_T5CCP1 0x00020C07
  4944. #define GPIO_PC4_U4RX 0x00021001
  4945. #define GPIO_PC4_U1RX 0x00021002
  4946. #define GPIO_PC4_M0PWM6 0x00021004
  4947. #define GPIO_PC4_IDX1 0x00021006
  4948. #define GPIO_PC4_WT0CCP0 0x00021007
  4949. #define GPIO_PC4_U1RTS 0x00021008
  4950. #define GPIO_PC5_U4TX 0x00021401
  4951. #define GPIO_PC5_U1TX 0x00021402
  4952. #define GPIO_PC5_M0PWM7 0x00021404
  4953. #define GPIO_PC5_PHA1 0x00021406
  4954. #define GPIO_PC5_WT0CCP1 0x00021407
  4955. #define GPIO_PC5_U1CTS 0x00021408
  4956. #define GPIO_PC6_U3RX 0x00021801
  4957. #define GPIO_PC6_PHB1 0x00021806
  4958. #define GPIO_PC6_WT1CCP0 0x00021807
  4959. #define GPIO_PC7_U3TX 0x00021C01
  4960. #define GPIO_PC7_WT1CCP1 0x00021C07
  4961. #define GPIO_PD0_SSI3CLK 0x00030001
  4962. #define GPIO_PD0_SSI1CLK 0x00030002
  4963. #define GPIO_PD0_I2C3SCL 0x00030003
  4964. #define GPIO_PD0_M0PWM6 0x00030004
  4965. #define GPIO_PD0_M1PWM0 0x00030005
  4966. #define GPIO_PD0_WT2CCP0 0x00030007
  4967. #define GPIO_PD1_SSI3FSS 0x00030401
  4968. #define GPIO_PD1_SSI1FSS 0x00030402
  4969. #define GPIO_PD1_I2C3SDA 0x00030403
  4970. #define GPIO_PD1_M0PWM7 0x00030404
  4971. #define GPIO_PD1_M1PWM1 0x00030405
  4972. #define GPIO_PD1_WT2CCP1 0x00030407
  4973. #define GPIO_PD2_SSI3RX 0x00030801
  4974. #define GPIO_PD2_SSI1RX 0x00030802
  4975. #define GPIO_PD2_M0FAULT0 0x00030804
  4976. #define GPIO_PD2_WT3CCP0 0x00030807
  4977. #define GPIO_PD3_SSI3TX 0x00030C01
  4978. #define GPIO_PD3_SSI1TX 0x00030C02
  4979. #define GPIO_PD3_IDX0 0x00030C06
  4980. #define GPIO_PD3_WT3CCP1 0x00030C07
  4981. #define GPIO_PD4_U6RX 0x00031001
  4982. #define GPIO_PD4_WT4CCP0 0x00031007
  4983. #define GPIO_PD5_U6TX 0x00031401
  4984. #define GPIO_PD5_WT4CCP1 0x00031407
  4985. #define GPIO_PD6_U2RX 0x00031801
  4986. #define GPIO_PD6_M0FAULT0 0x00031804
  4987. #define GPIO_PD6_PHA0 0x00031806
  4988. #define GPIO_PD6_WT5CCP0 0x00031807
  4989. #define GPIO_PD7_U2TX 0x00031C01
  4990. #define GPIO_PD7_M0FAULT1 0x00031C04
  4991. #define GPIO_PD7_PHB0 0x00031C06
  4992. #define GPIO_PD7_WT5CCP1 0x00031C07
  4993. #define GPIO_PD7_NMI 0x00031C08
  4994. #define GPIO_PE0_U7RX 0x00040001
  4995. #define GPIO_PE1_U7TX 0x00040401
  4996. #define GPIO_PE4_U5RX 0x00041001
  4997. #define GPIO_PE4_I2C2SCL 0x00041003
  4998. #define GPIO_PE4_M0PWM4 0x00041004
  4999. #define GPIO_PE4_M1PWM2 0x00041005
  5000. #define GPIO_PE4_CAN0RX 0x00041008
  5001. #define GPIO_PE5_U5TX 0x00041401
  5002. #define GPIO_PE5_I2C2SDA 0x00041403
  5003. #define GPIO_PE5_M0PWM5 0x00041404
  5004. #define GPIO_PE5_M1PWM3 0x00041405
  5005. #define GPIO_PE5_CAN0TX 0x00041408
  5006. #define GPIO_PE6_CAN1RX 0x00041808
  5007. #define GPIO_PE7_U1RI 0x00041C01
  5008. #define GPIO_PE7_CAN1TX 0x00041C08
  5009. #define GPIO_PF0_U1RTS 0x00050001
  5010. #define GPIO_PF0_SSI1RX 0x00050002
  5011. #define GPIO_PF0_CAN0RX 0x00050003
  5012. #define GPIO_PF0_M1PWM4 0x00050005
  5013. #define GPIO_PF0_PHA0 0x00050006
  5014. #define GPIO_PF0_T0CCP0 0x00050007
  5015. #define GPIO_PF0_NMI 0x00050008
  5016. #define GPIO_PF0_C0O 0x00050009
  5017. #define GPIO_PF0_TRD2 0x0005000E
  5018. #define GPIO_PF1_U1CTS 0x00050401
  5019. #define GPIO_PF1_SSI1TX 0x00050402
  5020. #define GPIO_PF1_M1PWM5 0x00050405
  5021. #define GPIO_PF1_PHB0 0x00050406
  5022. #define GPIO_PF1_T0CCP1 0x00050407
  5023. #define GPIO_PF1_C1O 0x00050409
  5024. #define GPIO_PF1_TRD1 0x0005040E
  5025. #define GPIO_PF2_U1DCD 0x00050801
  5026. #define GPIO_PF2_SSI1CLK 0x00050802
  5027. #define GPIO_PF2_M0FAULT0 0x00050804
  5028. #define GPIO_PF2_M1PWM6 0x00050805
  5029. #define GPIO_PF2_T1CCP0 0x00050807
  5030. #define GPIO_PF2_C2O 0x00050809
  5031. #define GPIO_PF2_TRD0 0x0005080E
  5032. #define GPIO_PF3_U1DSR 0x00050C01
  5033. #define GPIO_PF3_SSI1FSS 0x00050C02
  5034. #define GPIO_PF3_CAN0TX 0x00050C03
  5035. #define GPIO_PF3_M0FAULT1 0x00050C04
  5036. #define GPIO_PF3_M1PWM7 0x00050C05
  5037. #define GPIO_PF3_T1CCP1 0x00050C07
  5038. #define GPIO_PF3_TRCLK 0x00050C0E
  5039. #define GPIO_PF4_U1DTR 0x00051001
  5040. #define GPIO_PF4_M0FAULT2 0x00051004
  5041. #define GPIO_PF4_M1FAULT0 0x00051005
  5042. #define GPIO_PF4_IDX0 0x00051006
  5043. #define GPIO_PF4_T2CCP0 0x00051007
  5044. #define GPIO_PF4_TRD3 0x0005100E
  5045. #define GPIO_PF5_M0FAULT3 0x00051404
  5046. #define GPIO_PF5_T2CCP1 0x00051407
  5047. #define GPIO_PF6_I2C2SCL 0x00051803
  5048. #define GPIO_PF6_T3CCP0 0x00051807
  5049. #define GPIO_PF7_I2C2SDA 0x00051C03
  5050. #define GPIO_PF7_M1FAULT0 0x00051C05
  5051. #define GPIO_PF7_T3CCP1 0x00051C07
  5052. #define GPIO_PG0_I2C3SCL 0x00060003
  5053. #define GPIO_PG0_M1FAULT1 0x00060005
  5054. #define GPIO_PG0_PHA1 0x00060006
  5055. #define GPIO_PG0_T4CCP0 0x00060007
  5056. #define GPIO_PG1_I2C3SDA 0x00060403
  5057. #define GPIO_PG1_M1FAULT2 0x00060405
  5058. #define GPIO_PG1_PHB1 0x00060406
  5059. #define GPIO_PG1_T4CCP1 0x00060407
  5060. #define GPIO_PG2_I2C4SCL 0x00060803
  5061. #define GPIO_PG2_M0FAULT1 0x00060804
  5062. #define GPIO_PG2_M1PWM0 0x00060805
  5063. #define GPIO_PG2_T5CCP0 0x00060807
  5064. #define GPIO_PG3_I2C4SDA 0x00060C03
  5065. #define GPIO_PG3_M0FAULT2 0x00060C04
  5066. #define GPIO_PG3_M1PWM1 0x00060C05
  5067. #define GPIO_PG3_PHA1 0x00060C06
  5068. #define GPIO_PG3_T5CCP1 0x00060C07
  5069. #define GPIO_PG4_U2RX 0x00061001
  5070. #define GPIO_PG4_I2C1SCL 0x00061003
  5071. #define GPIO_PG4_M0PWM4 0x00061004
  5072. #define GPIO_PG4_M1PWM2 0x00061005
  5073. #define GPIO_PG4_PHB1 0x00061006
  5074. #define GPIO_PG4_WT0CCP0 0x00061007
  5075. #define GPIO_PG5_U2TX 0x00061401
  5076. #define GPIO_PG5_I2C1SDA 0x00061403
  5077. #define GPIO_PG5_M0PWM5 0x00061404
  5078. #define GPIO_PG5_M1PWM3 0x00061405
  5079. #define GPIO_PG5_IDX1 0x00061406
  5080. #define GPIO_PG5_WT0CCP1 0x00061407
  5081. #define GPIO_PG6_I2C5SCL 0x00061803
  5082. #define GPIO_PG6_M0PWM6 0x00061804
  5083. #define GPIO_PG6_WT1CCP0 0x00061807
  5084. #define GPIO_PG7_I2C5SDA 0x00061C03
  5085. #define GPIO_PG7_M0PWM7 0x00061C04
  5086. #define GPIO_PG7_IDX1 0x00061C05
  5087. #define GPIO_PG7_WT1CCP1 0x00061C07
  5088. #define GPIO_PH0_SSI3CLK 0x00070002
  5089. #define GPIO_PH0_M0PWM0 0x00070004
  5090. #define GPIO_PH0_M0FAULT0 0x00070006
  5091. #define GPIO_PH0_WT2CCP0 0x00070007
  5092. #define GPIO_PH1_SSI3FSS 0x00070402
  5093. #define GPIO_PH1_M0PWM1 0x00070404
  5094. #define GPIO_PH1_IDX0 0x00070405
  5095. #define GPIO_PH1_M0FAULT1 0x00070406
  5096. #define GPIO_PH1_WT2CCP1 0x00070407
  5097. #define GPIO_PH2_SSI3RX 0x00070802
  5098. #define GPIO_PH2_M0PWM2 0x00070804
  5099. #define GPIO_PH2_M0FAULT2 0x00070806
  5100. #define GPIO_PH2_WT5CCP0 0x00070807
  5101. #define GPIO_PH3_SSI3TX 0x00070C02
  5102. #define GPIO_PH3_M0PWM3 0x00070C04
  5103. #define GPIO_PH3_M0FAULT3 0x00070C06
  5104. #define GPIO_PH3_WT5CCP1 0x00070C07
  5105. #define GPIO_PH4_SSI2CLK 0x00071002
  5106. #define GPIO_PH4_M0PWM4 0x00071004
  5107. #define GPIO_PH4_PHA0 0x00071005
  5108. #define GPIO_PH4_WT3CCP0 0x00071007
  5109. #define GPIO_PH5_SSI2FSS 0x00071402
  5110. #define GPIO_PH5_M0PWM5 0x00071404
  5111. #define GPIO_PH5_PHB0 0x00071405
  5112. #define GPIO_PH5_WT3CCP1 0x00071407
  5113. #define GPIO_PH6_SSI2RX 0x00071802
  5114. #define GPIO_PH6_M0PWM6 0x00071804
  5115. #define GPIO_PH6_WT4CCP0 0x00071807
  5116. #define GPIO_PH7_SSI2TX 0x00071C02
  5117. #define GPIO_PH7_M0PWM7 0x00071C04
  5118. #define GPIO_PH7_WT4CCP1 0x00071C07
  5119. #define GPIO_PJ0_U4RX 0x00080001
  5120. #define GPIO_PJ0_T1CCP0 0x00080007
  5121. #define GPIO_PJ1_U4TX 0x00080401
  5122. #define GPIO_PJ1_T1CCP1 0x00080407
  5123. #define GPIO_PJ2_U5RX 0x00080801
  5124. #define GPIO_PJ2_IDX0 0x00080805
  5125. #define GPIO_PJ2_T2CCP0 0x00080807
  5126. #define GPIO_PK0_SSI3CLK 0x00090002
  5127. #define GPIO_PK0_M1FAULT0 0x00090006
  5128. #define GPIO_PK1_SSI3FSS 0x00090402
  5129. #define GPIO_PK1_M1FAULT1 0x00090406
  5130. #define GPIO_PK2_SSI3RX 0x00090802
  5131. #define GPIO_PK2_M1FAULT2 0x00090806
  5132. #define GPIO_PK3_SSI3TX 0x00090C02
  5133. #define GPIO_PK3_M1FAULT3 0x00090C06
  5134. #endif // PART_TM4C123BH6PZ
  5135. //*****************************************************************************
  5136. //
  5137. // TM4C123FE6PM Port/Pin Mapping Definitions
  5138. //
  5139. //*****************************************************************************
  5140. #ifdef PART_TM4C123FE6PM
  5141. #define GPIO_PA0_U0RX 0x00000001
  5142. #define GPIO_PA0_CAN1RX 0x00000008
  5143. #define GPIO_PA1_U0TX 0x00000401
  5144. #define GPIO_PA1_CAN1TX 0x00000408
  5145. #define GPIO_PA2_SSI0CLK 0x00000802
  5146. #define GPIO_PA3_SSI0FSS 0x00000C02
  5147. #define GPIO_PA4_SSI0RX 0x00001002
  5148. #define GPIO_PA5_SSI0TX 0x00001402
  5149. #define GPIO_PA6_I2C1SCL 0x00001803
  5150. #define GPIO_PA6_M1PWM2 0x00001805
  5151. #define GPIO_PA7_I2C1SDA 0x00001C03
  5152. #define GPIO_PA7_M1PWM3 0x00001C05
  5153. #define GPIO_PB0_U1RX 0x00010001
  5154. #define GPIO_PB0_T2CCP0 0x00010007
  5155. #define GPIO_PB1_U1TX 0x00010401
  5156. #define GPIO_PB1_T2CCP1 0x00010407
  5157. #define GPIO_PB2_I2C0SCL 0x00010803
  5158. #define GPIO_PB2_T3CCP0 0x00010807
  5159. #define GPIO_PB3_I2C0SDA 0x00010C03
  5160. #define GPIO_PB3_T3CCP1 0x00010C07
  5161. #define GPIO_PB4_SSI2CLK 0x00011002
  5162. #define GPIO_PB4_M0PWM2 0x00011004
  5163. #define GPIO_PB4_T1CCP0 0x00011007
  5164. #define GPIO_PB4_CAN0RX 0x00011008
  5165. #define GPIO_PB5_SSI2FSS 0x00011402
  5166. #define GPIO_PB5_M0PWM3 0x00011404
  5167. #define GPIO_PB5_T1CCP1 0x00011407
  5168. #define GPIO_PB5_CAN0TX 0x00011408
  5169. #define GPIO_PB6_SSI2RX 0x00011802
  5170. #define GPIO_PB6_I2C5SCL 0x00011803
  5171. #define GPIO_PB6_M0PWM0 0x00011804
  5172. #define GPIO_PB6_T0CCP0 0x00011807
  5173. #define GPIO_PB7_SSI2TX 0x00011C02
  5174. #define GPIO_PB7_I2C5SDA 0x00011C03
  5175. #define GPIO_PB7_M0PWM1 0x00011C04
  5176. #define GPIO_PB7_T0CCP1 0x00011C07
  5177. #define GPIO_PC0_TCK 0x00020001
  5178. #define GPIO_PC0_SWCLK 0x00020001
  5179. #define GPIO_PC0_T4CCP0 0x00020007
  5180. #define GPIO_PC1_TMS 0x00020401
  5181. #define GPIO_PC1_SWDIO 0x00020401
  5182. #define GPIO_PC1_T4CCP1 0x00020407
  5183. #define GPIO_PC2_TDI 0x00020801
  5184. #define GPIO_PC2_T5CCP0 0x00020807
  5185. #define GPIO_PC3_SWO 0x00020C01
  5186. #define GPIO_PC3_TDO 0x00020C01
  5187. #define GPIO_PC3_T5CCP1 0x00020C07
  5188. #define GPIO_PC4_U4RX 0x00021001
  5189. #define GPIO_PC4_U1RX 0x00021002
  5190. #define GPIO_PC4_M0PWM6 0x00021004
  5191. #define GPIO_PC4_IDX1 0x00021006
  5192. #define GPIO_PC4_WT0CCP0 0x00021007
  5193. #define GPIO_PC4_U1RTS 0x00021008
  5194. #define GPIO_PC5_U4TX 0x00021401
  5195. #define GPIO_PC5_U1TX 0x00021402
  5196. #define GPIO_PC5_M0PWM7 0x00021404
  5197. #define GPIO_PC5_PHA1 0x00021406
  5198. #define GPIO_PC5_WT0CCP1 0x00021407
  5199. #define GPIO_PC5_U1CTS 0x00021408
  5200. #define GPIO_PC6_U3RX 0x00021801
  5201. #define GPIO_PC6_PHB1 0x00021806
  5202. #define GPIO_PC6_WT1CCP0 0x00021807
  5203. #define GPIO_PC6_USB0EPEN 0x00021808
  5204. #define GPIO_PC7_U3TX 0x00021C01
  5205. #define GPIO_PC7_WT1CCP1 0x00021C07
  5206. #define GPIO_PC7_USB0PFLT 0x00021C08
  5207. #define GPIO_PD0_SSI3CLK 0x00030001
  5208. #define GPIO_PD0_SSI1CLK 0x00030002
  5209. #define GPIO_PD0_I2C3SCL 0x00030003
  5210. #define GPIO_PD0_M0PWM6 0x00030004
  5211. #define GPIO_PD0_M1PWM0 0x00030005
  5212. #define GPIO_PD0_WT2CCP0 0x00030007
  5213. #define GPIO_PD1_SSI3FSS 0x00030401
  5214. #define GPIO_PD1_SSI1FSS 0x00030402
  5215. #define GPIO_PD1_I2C3SDA 0x00030403
  5216. #define GPIO_PD1_M0PWM7 0x00030404
  5217. #define GPIO_PD1_M1PWM1 0x00030405
  5218. #define GPIO_PD1_WT2CCP1 0x00030407
  5219. #define GPIO_PD2_SSI3RX 0x00030801
  5220. #define GPIO_PD2_SSI1RX 0x00030802
  5221. #define GPIO_PD2_M0FAULT0 0x00030804
  5222. #define GPIO_PD2_WT3CCP0 0x00030807
  5223. #define GPIO_PD2_USB0EPEN 0x00030808
  5224. #define GPIO_PD3_SSI3TX 0x00030C01
  5225. #define GPIO_PD3_SSI1TX 0x00030C02
  5226. #define GPIO_PD3_IDX0 0x00030C06
  5227. #define GPIO_PD3_WT3CCP1 0x00030C07
  5228. #define GPIO_PD3_USB0PFLT 0x00030C08
  5229. #define GPIO_PD4_U6RX 0x00031001
  5230. #define GPIO_PD4_WT4CCP0 0x00031007
  5231. #define GPIO_PD5_U6TX 0x00031401
  5232. #define GPIO_PD5_WT4CCP1 0x00031407
  5233. #define GPIO_PD6_U2RX 0x00031801
  5234. #define GPIO_PD6_M0FAULT0 0x00031804
  5235. #define GPIO_PD6_PHA0 0x00031806
  5236. #define GPIO_PD6_WT5CCP0 0x00031807
  5237. #define GPIO_PD7_U2TX 0x00031C01
  5238. #define GPIO_PD7_M0FAULT1 0x00031C04
  5239. #define GPIO_PD7_PHB0 0x00031C06
  5240. #define GPIO_PD7_WT5CCP1 0x00031C07
  5241. #define GPIO_PD7_NMI 0x00031C08
  5242. #define GPIO_PE0_U7RX 0x00040001
  5243. #define GPIO_PE1_U7TX 0x00040401
  5244. #define GPIO_PE4_U5RX 0x00041001
  5245. #define GPIO_PE4_I2C2SCL 0x00041003
  5246. #define GPIO_PE4_M0PWM4 0x00041004
  5247. #define GPIO_PE4_M1PWM2 0x00041005
  5248. #define GPIO_PE4_CAN0RX 0x00041008
  5249. #define GPIO_PE5_U5TX 0x00041401
  5250. #define GPIO_PE5_I2C2SDA 0x00041403
  5251. #define GPIO_PE5_M0PWM5 0x00041404
  5252. #define GPIO_PE5_M1PWM3 0x00041405
  5253. #define GPIO_PE5_CAN0TX 0x00041408
  5254. #define GPIO_PF0_U1RTS 0x00050001
  5255. #define GPIO_PF0_SSI1RX 0x00050002
  5256. #define GPIO_PF0_CAN0RX 0x00050003
  5257. #define GPIO_PF0_M1PWM4 0x00050005
  5258. #define GPIO_PF0_PHA0 0x00050006
  5259. #define GPIO_PF0_T0CCP0 0x00050007
  5260. #define GPIO_PF0_NMI 0x00050008
  5261. #define GPIO_PF0_C0O 0x00050009
  5262. #define GPIO_PF1_U1CTS 0x00050401
  5263. #define GPIO_PF1_SSI1TX 0x00050402
  5264. #define GPIO_PF1_M1PWM5 0x00050405
  5265. #define GPIO_PF1_PHB0 0x00050406
  5266. #define GPIO_PF1_T0CCP1 0x00050407
  5267. #define GPIO_PF1_C1O 0x00050409
  5268. #define GPIO_PF1_TRD1 0x0005040E
  5269. #define GPIO_PF2_SSI1CLK 0x00050802
  5270. #define GPIO_PF2_M0FAULT0 0x00050804
  5271. #define GPIO_PF2_M1PWM6 0x00050805
  5272. #define GPIO_PF2_T1CCP0 0x00050807
  5273. #define GPIO_PF2_TRD0 0x0005080E
  5274. #define GPIO_PF3_SSI1FSS 0x00050C02
  5275. #define GPIO_PF3_CAN0TX 0x00050C03
  5276. #define GPIO_PF3_M0FAULT1 0x00050C04
  5277. #define GPIO_PF3_M1PWM7 0x00050C05
  5278. #define GPIO_PF3_T1CCP1 0x00050C07
  5279. #define GPIO_PF3_TRCLK 0x00050C0E
  5280. #define GPIO_PF4_M0FAULT2 0x00051004
  5281. #define GPIO_PF4_M1FAULT0 0x00051005
  5282. #define GPIO_PF4_IDX0 0x00051006
  5283. #define GPIO_PF4_T2CCP0 0x00051007
  5284. #define GPIO_PF4_USB0EPEN 0x00051008
  5285. #define GPIO_PG0_I2C3SCL 0x00060003
  5286. #define GPIO_PG0_M1FAULT1 0x00060005
  5287. #define GPIO_PG0_PHA1 0x00060006
  5288. #define GPIO_PG0_T4CCP0 0x00060007
  5289. #define GPIO_PG1_I2C3SDA 0x00060403
  5290. #define GPIO_PG1_M1FAULT2 0x00060405
  5291. #define GPIO_PG1_PHB1 0x00060406
  5292. #define GPIO_PG1_T4CCP1 0x00060407
  5293. #define GPIO_PG2_I2C4SCL 0x00060803
  5294. #define GPIO_PG2_M0FAULT1 0x00060804
  5295. #define GPIO_PG2_M1PWM0 0x00060805
  5296. #define GPIO_PG2_T5CCP0 0x00060807
  5297. #define GPIO_PG3_I2C4SDA 0x00060C03
  5298. #define GPIO_PG3_M0FAULT2 0x00060C04
  5299. #define GPIO_PG3_M1PWM1 0x00060C05
  5300. #define GPIO_PG3_PHA1 0x00060C06
  5301. #define GPIO_PG3_T5CCP1 0x00060C07
  5302. #define GPIO_PG4_U2RX 0x00061001
  5303. #define GPIO_PG4_I2C1SCL 0x00061003
  5304. #define GPIO_PG4_M0PWM4 0x00061004
  5305. #define GPIO_PG4_M1PWM2 0x00061005
  5306. #define GPIO_PG4_PHB1 0x00061006
  5307. #define GPIO_PG4_WT0CCP0 0x00061007
  5308. #define GPIO_PG4_USB0EPEN 0x00061008
  5309. #define GPIO_PG5_U2TX 0x00061401
  5310. #define GPIO_PG5_I2C1SDA 0x00061403
  5311. #define GPIO_PG5_M0PWM5 0x00061404
  5312. #define GPIO_PG5_M1PWM3 0x00061405
  5313. #define GPIO_PG5_IDX1 0x00061406
  5314. #define GPIO_PG5_WT0CCP1 0x00061407
  5315. #define GPIO_PG5_USB0PFLT 0x00061408
  5316. #endif // PART_TM4C123FE6PM
  5317. //*****************************************************************************
  5318. //
  5319. // TM4C123FH6PM Port/Pin Mapping Definitions
  5320. //
  5321. //*****************************************************************************
  5322. #ifdef PART_TM4C123FH6PM
  5323. #define GPIO_PA0_U0RX 0x00000001
  5324. #define GPIO_PA0_CAN1RX 0x00000008
  5325. #define GPIO_PA1_U0TX 0x00000401
  5326. #define GPIO_PA1_CAN1TX 0x00000408
  5327. #define GPIO_PA2_SSI0CLK 0x00000802
  5328. #define GPIO_PA3_SSI0FSS 0x00000C02
  5329. #define GPIO_PA4_SSI0RX 0x00001002
  5330. #define GPIO_PA5_SSI0TX 0x00001402
  5331. #define GPIO_PA6_I2C1SCL 0x00001803
  5332. #define GPIO_PA6_M1PWM2 0x00001805
  5333. #define GPIO_PA7_I2C1SDA 0x00001C03
  5334. #define GPIO_PA7_M1PWM3 0x00001C05
  5335. #define GPIO_PB0_U1RX 0x00010001
  5336. #define GPIO_PB0_T2CCP0 0x00010007
  5337. #define GPIO_PB1_U1TX 0x00010401
  5338. #define GPIO_PB1_T2CCP1 0x00010407
  5339. #define GPIO_PB2_I2C0SCL 0x00010803
  5340. #define GPIO_PB2_T3CCP0 0x00010807
  5341. #define GPIO_PB3_I2C0SDA 0x00010C03
  5342. #define GPIO_PB3_T3CCP1 0x00010C07
  5343. #define GPIO_PB4_SSI2CLK 0x00011002
  5344. #define GPIO_PB4_M0PWM2 0x00011004
  5345. #define GPIO_PB4_T1CCP0 0x00011007
  5346. #define GPIO_PB4_CAN0RX 0x00011008
  5347. #define GPIO_PB5_SSI2FSS 0x00011402
  5348. #define GPIO_PB5_M0PWM3 0x00011404
  5349. #define GPIO_PB5_T1CCP1 0x00011407
  5350. #define GPIO_PB5_CAN0TX 0x00011408
  5351. #define GPIO_PB6_SSI2RX 0x00011802
  5352. #define GPIO_PB6_I2C5SCL 0x00011803
  5353. #define GPIO_PB6_M0PWM0 0x00011804
  5354. #define GPIO_PB6_T0CCP0 0x00011807
  5355. #define GPIO_PB7_SSI2TX 0x00011C02
  5356. #define GPIO_PB7_I2C5SDA 0x00011C03
  5357. #define GPIO_PB7_M0PWM1 0x00011C04
  5358. #define GPIO_PB7_T0CCP1 0x00011C07
  5359. #define GPIO_PC0_TCK 0x00020001
  5360. #define GPIO_PC0_SWCLK 0x00020001
  5361. #define GPIO_PC0_T4CCP0 0x00020007
  5362. #define GPIO_PC1_TMS 0x00020401
  5363. #define GPIO_PC1_SWDIO 0x00020401
  5364. #define GPIO_PC1_T4CCP1 0x00020407
  5365. #define GPIO_PC2_TDI 0x00020801
  5366. #define GPIO_PC2_T5CCP0 0x00020807
  5367. #define GPIO_PC3_SWO 0x00020C01
  5368. #define GPIO_PC3_TDO 0x00020C01
  5369. #define GPIO_PC3_T5CCP1 0x00020C07
  5370. #define GPIO_PC4_U4RX 0x00021001
  5371. #define GPIO_PC4_U1RX 0x00021002
  5372. #define GPIO_PC4_M0PWM6 0x00021004
  5373. #define GPIO_PC4_IDX1 0x00021006
  5374. #define GPIO_PC4_WT0CCP0 0x00021007
  5375. #define GPIO_PC4_U1RTS 0x00021008
  5376. #define GPIO_PC5_U4TX 0x00021401
  5377. #define GPIO_PC5_U1TX 0x00021402
  5378. #define GPIO_PC5_M0PWM7 0x00021404
  5379. #define GPIO_PC5_PHA1 0x00021406
  5380. #define GPIO_PC5_WT0CCP1 0x00021407
  5381. #define GPIO_PC5_U1CTS 0x00021408
  5382. #define GPIO_PC6_U3RX 0x00021801
  5383. #define GPIO_PC6_PHB1 0x00021806
  5384. #define GPIO_PC6_WT1CCP0 0x00021807
  5385. #define GPIO_PC6_USB0EPEN 0x00021808
  5386. #define GPIO_PC7_U3TX 0x00021C01
  5387. #define GPIO_PC7_WT1CCP1 0x00021C07
  5388. #define GPIO_PC7_USB0PFLT 0x00021C08
  5389. #define GPIO_PD0_SSI3CLK 0x00030001
  5390. #define GPIO_PD0_SSI1CLK 0x00030002
  5391. #define GPIO_PD0_I2C3SCL 0x00030003
  5392. #define GPIO_PD0_M0PWM6 0x00030004
  5393. #define GPIO_PD0_M1PWM0 0x00030005
  5394. #define GPIO_PD0_WT2CCP0 0x00030007
  5395. #define GPIO_PD1_SSI3FSS 0x00030401
  5396. #define GPIO_PD1_SSI1FSS 0x00030402
  5397. #define GPIO_PD1_I2C3SDA 0x00030403
  5398. #define GPIO_PD1_M0PWM7 0x00030404
  5399. #define GPIO_PD1_M1PWM1 0x00030405
  5400. #define GPIO_PD1_WT2CCP1 0x00030407
  5401. #define GPIO_PD2_SSI3RX 0x00030801
  5402. #define GPIO_PD2_SSI1RX 0x00030802
  5403. #define GPIO_PD2_M0FAULT0 0x00030804
  5404. #define GPIO_PD2_WT3CCP0 0x00030807
  5405. #define GPIO_PD2_USB0EPEN 0x00030808
  5406. #define GPIO_PD3_SSI3TX 0x00030C01
  5407. #define GPIO_PD3_SSI1TX 0x00030C02
  5408. #define GPIO_PD3_IDX0 0x00030C06
  5409. #define GPIO_PD3_WT3CCP1 0x00030C07
  5410. #define GPIO_PD3_USB0PFLT 0x00030C08
  5411. #define GPIO_PD4_U6RX 0x00031001
  5412. #define GPIO_PD4_WT4CCP0 0x00031007
  5413. #define GPIO_PD5_U6TX 0x00031401
  5414. #define GPIO_PD5_WT4CCP1 0x00031407
  5415. #define GPIO_PD6_U2RX 0x00031801
  5416. #define GPIO_PD6_M0FAULT0 0x00031804
  5417. #define GPIO_PD6_PHA0 0x00031806
  5418. #define GPIO_PD6_WT5CCP0 0x00031807
  5419. #define GPIO_PD7_U2TX 0x00031C01
  5420. #define GPIO_PD7_M0FAULT1 0x00031C04
  5421. #define GPIO_PD7_PHB0 0x00031C06
  5422. #define GPIO_PD7_WT5CCP1 0x00031C07
  5423. #define GPIO_PD7_NMI 0x00031C08
  5424. #define GPIO_PE0_U7RX 0x00040001
  5425. #define GPIO_PE1_U7TX 0x00040401
  5426. #define GPIO_PE4_U5RX 0x00041001
  5427. #define GPIO_PE4_I2C2SCL 0x00041003
  5428. #define GPIO_PE4_M0PWM4 0x00041004
  5429. #define GPIO_PE4_M1PWM2 0x00041005
  5430. #define GPIO_PE4_CAN0RX 0x00041008
  5431. #define GPIO_PE5_U5TX 0x00041401
  5432. #define GPIO_PE5_I2C2SDA 0x00041403
  5433. #define GPIO_PE5_M0PWM5 0x00041404
  5434. #define GPIO_PE5_M1PWM3 0x00041405
  5435. #define GPIO_PE5_CAN0TX 0x00041408
  5436. #define GPIO_PF0_U1RTS 0x00050001
  5437. #define GPIO_PF0_SSI1RX 0x00050002
  5438. #define GPIO_PF0_CAN0RX 0x00050003
  5439. #define GPIO_PF0_M1PWM4 0x00050005
  5440. #define GPIO_PF0_PHA0 0x00050006
  5441. #define GPIO_PF0_T0CCP0 0x00050007
  5442. #define GPIO_PF0_NMI 0x00050008
  5443. #define GPIO_PF0_C0O 0x00050009
  5444. #define GPIO_PF1_U1CTS 0x00050401
  5445. #define GPIO_PF1_SSI1TX 0x00050402
  5446. #define GPIO_PF1_M1PWM5 0x00050405
  5447. #define GPIO_PF1_PHB0 0x00050406
  5448. #define GPIO_PF1_T0CCP1 0x00050407
  5449. #define GPIO_PF1_C1O 0x00050409
  5450. #define GPIO_PF1_TRD1 0x0005040E
  5451. #define GPIO_PF2_SSI1CLK 0x00050802
  5452. #define GPIO_PF2_M0FAULT0 0x00050804
  5453. #define GPIO_PF2_M1PWM6 0x00050805
  5454. #define GPIO_PF2_T1CCP0 0x00050807
  5455. #define GPIO_PF2_TRD0 0x0005080E
  5456. #define GPIO_PF3_SSI1FSS 0x00050C02
  5457. #define GPIO_PF3_CAN0TX 0x00050C03
  5458. #define GPIO_PF3_M0FAULT1 0x00050C04
  5459. #define GPIO_PF3_M1PWM7 0x00050C05
  5460. #define GPIO_PF3_T1CCP1 0x00050C07
  5461. #define GPIO_PF3_TRCLK 0x00050C0E
  5462. #define GPIO_PF4_M0FAULT2 0x00051004
  5463. #define GPIO_PF4_M1FAULT0 0x00051005
  5464. #define GPIO_PF4_IDX0 0x00051006
  5465. #define GPIO_PF4_T2CCP0 0x00051007
  5466. #define GPIO_PF4_USB0EPEN 0x00051008
  5467. #define GPIO_PG0_I2C3SCL 0x00060003
  5468. #define GPIO_PG0_M1FAULT1 0x00060005
  5469. #define GPIO_PG0_PHA1 0x00060006
  5470. #define GPIO_PG0_T4CCP0 0x00060007
  5471. #define GPIO_PG1_I2C3SDA 0x00060403
  5472. #define GPIO_PG1_M1FAULT2 0x00060405
  5473. #define GPIO_PG1_PHB1 0x00060406
  5474. #define GPIO_PG1_T4CCP1 0x00060407
  5475. #define GPIO_PG2_I2C4SCL 0x00060803
  5476. #define GPIO_PG2_M0FAULT1 0x00060804
  5477. #define GPIO_PG2_M1PWM0 0x00060805
  5478. #define GPIO_PG2_T5CCP0 0x00060807
  5479. #define GPIO_PG3_I2C4SDA 0x00060C03
  5480. #define GPIO_PG3_M0FAULT2 0x00060C04
  5481. #define GPIO_PG3_M1PWM1 0x00060C05
  5482. #define GPIO_PG3_PHA1 0x00060C06
  5483. #define GPIO_PG3_T5CCP1 0x00060C07
  5484. #define GPIO_PG4_U2RX 0x00061001
  5485. #define GPIO_PG4_I2C1SCL 0x00061003
  5486. #define GPIO_PG4_M0PWM4 0x00061004
  5487. #define GPIO_PG4_M1PWM2 0x00061005
  5488. #define GPIO_PG4_PHB1 0x00061006
  5489. #define GPIO_PG4_WT0CCP0 0x00061007
  5490. #define GPIO_PG4_USB0EPEN 0x00061008
  5491. #define GPIO_PG5_U2TX 0x00061401
  5492. #define GPIO_PG5_I2C1SDA 0x00061403
  5493. #define GPIO_PG5_M0PWM5 0x00061404
  5494. #define GPIO_PG5_M1PWM3 0x00061405
  5495. #define GPIO_PG5_IDX1 0x00061406
  5496. #define GPIO_PG5_WT0CCP1 0x00061407
  5497. #define GPIO_PG5_USB0PFLT 0x00061408
  5498. #endif // PART_TM4C123FH6PM
  5499. //*****************************************************************************
  5500. //
  5501. // TM4C123GE6PM Port/Pin Mapping Definitions
  5502. //
  5503. //*****************************************************************************
  5504. #ifdef PART_TM4C123GE6PM
  5505. #define GPIO_PA0_U0RX 0x00000001
  5506. #define GPIO_PA0_CAN1RX 0x00000008
  5507. #define GPIO_PA1_U0TX 0x00000401
  5508. #define GPIO_PA1_CAN1TX 0x00000408
  5509. #define GPIO_PA2_SSI0CLK 0x00000802
  5510. #define GPIO_PA3_SSI0FSS 0x00000C02
  5511. #define GPIO_PA4_SSI0RX 0x00001002
  5512. #define GPIO_PA5_SSI0TX 0x00001402
  5513. #define GPIO_PA6_I2C1SCL 0x00001803
  5514. #define GPIO_PA6_M1PWM2 0x00001805
  5515. #define GPIO_PA7_I2C1SDA 0x00001C03
  5516. #define GPIO_PA7_M1PWM3 0x00001C05
  5517. #define GPIO_PB0_U1RX 0x00010001
  5518. #define GPIO_PB0_T2CCP0 0x00010007
  5519. #define GPIO_PB1_U1TX 0x00010401
  5520. #define GPIO_PB1_T2CCP1 0x00010407
  5521. #define GPIO_PB2_I2C0SCL 0x00010803
  5522. #define GPIO_PB2_T3CCP0 0x00010807
  5523. #define GPIO_PB3_I2C0SDA 0x00010C03
  5524. #define GPIO_PB3_T3CCP1 0x00010C07
  5525. #define GPIO_PB4_SSI2CLK 0x00011002
  5526. #define GPIO_PB4_M0PWM2 0x00011004
  5527. #define GPIO_PB4_T1CCP0 0x00011007
  5528. #define GPIO_PB4_CAN0RX 0x00011008
  5529. #define GPIO_PB5_SSI2FSS 0x00011402
  5530. #define GPIO_PB5_M0PWM3 0x00011404
  5531. #define GPIO_PB5_T1CCP1 0x00011407
  5532. #define GPIO_PB5_CAN0TX 0x00011408
  5533. #define GPIO_PB6_SSI2RX 0x00011802
  5534. #define GPIO_PB6_M0PWM0 0x00011804
  5535. #define GPIO_PB6_T0CCP0 0x00011807
  5536. #define GPIO_PB7_SSI2TX 0x00011C02
  5537. #define GPIO_PB7_M0PWM1 0x00011C04
  5538. #define GPIO_PB7_T0CCP1 0x00011C07
  5539. #define GPIO_PC0_TCK 0x00020001
  5540. #define GPIO_PC0_SWCLK 0x00020001
  5541. #define GPIO_PC0_T4CCP0 0x00020007
  5542. #define GPIO_PC1_TMS 0x00020401
  5543. #define GPIO_PC1_SWDIO 0x00020401
  5544. #define GPIO_PC1_T4CCP1 0x00020407
  5545. #define GPIO_PC2_TDI 0x00020801
  5546. #define GPIO_PC2_T5CCP0 0x00020807
  5547. #define GPIO_PC3_SWO 0x00020C01
  5548. #define GPIO_PC3_TDO 0x00020C01
  5549. #define GPIO_PC3_T5CCP1 0x00020C07
  5550. #define GPIO_PC4_U4RX 0x00021001
  5551. #define GPIO_PC4_U1RX 0x00021002
  5552. #define GPIO_PC4_M0PWM6 0x00021004
  5553. #define GPIO_PC4_IDX1 0x00021006
  5554. #define GPIO_PC4_WT0CCP0 0x00021007
  5555. #define GPIO_PC4_U1RTS 0x00021008
  5556. #define GPIO_PC5_U4TX 0x00021401
  5557. #define GPIO_PC5_U1TX 0x00021402
  5558. #define GPIO_PC5_M0PWM7 0x00021404
  5559. #define GPIO_PC5_PHA1 0x00021406
  5560. #define GPIO_PC5_WT0CCP1 0x00021407
  5561. #define GPIO_PC5_U1CTS 0x00021408
  5562. #define GPIO_PC6_U3RX 0x00021801
  5563. #define GPIO_PC6_PHB1 0x00021806
  5564. #define GPIO_PC6_WT1CCP0 0x00021807
  5565. #define GPIO_PC6_USB0EPEN 0x00021808
  5566. #define GPIO_PC7_U3TX 0x00021C01
  5567. #define GPIO_PC7_WT1CCP1 0x00021C07
  5568. #define GPIO_PC7_USB0PFLT 0x00021C08
  5569. #define GPIO_PD0_SSI3CLK 0x00030001
  5570. #define GPIO_PD0_SSI1CLK 0x00030002
  5571. #define GPIO_PD0_I2C3SCL 0x00030003
  5572. #define GPIO_PD0_M0PWM6 0x00030004
  5573. #define GPIO_PD0_M1PWM0 0x00030005
  5574. #define GPIO_PD0_WT2CCP0 0x00030007
  5575. #define GPIO_PD1_SSI3FSS 0x00030401
  5576. #define GPIO_PD1_SSI1FSS 0x00030402
  5577. #define GPIO_PD1_I2C3SDA 0x00030403
  5578. #define GPIO_PD1_M0PWM7 0x00030404
  5579. #define GPIO_PD1_M1PWM1 0x00030405
  5580. #define GPIO_PD1_WT2CCP1 0x00030407
  5581. #define GPIO_PD2_SSI3RX 0x00030801
  5582. #define GPIO_PD2_SSI1RX 0x00030802
  5583. #define GPIO_PD2_M0FAULT0 0x00030804
  5584. #define GPIO_PD2_WT3CCP0 0x00030807
  5585. #define GPIO_PD2_USB0EPEN 0x00030808
  5586. #define GPIO_PD3_SSI3TX 0x00030C01
  5587. #define GPIO_PD3_SSI1TX 0x00030C02
  5588. #define GPIO_PD3_IDX0 0x00030C06
  5589. #define GPIO_PD3_WT3CCP1 0x00030C07
  5590. #define GPIO_PD3_USB0PFLT 0x00030C08
  5591. #define GPIO_PD4_U6RX 0x00031001
  5592. #define GPIO_PD4_WT4CCP0 0x00031007
  5593. #define GPIO_PD5_U6TX 0x00031401
  5594. #define GPIO_PD5_WT4CCP1 0x00031407
  5595. #define GPIO_PD6_U2RX 0x00031801
  5596. #define GPIO_PD6_M0FAULT0 0x00031804
  5597. #define GPIO_PD6_PHA0 0x00031806
  5598. #define GPIO_PD6_WT5CCP0 0x00031807
  5599. #define GPIO_PD7_U2TX 0x00031C01
  5600. #define GPIO_PD7_PHB0 0x00031C06
  5601. #define GPIO_PD7_WT5CCP1 0x00031C07
  5602. #define GPIO_PD7_NMI 0x00031C08
  5603. #define GPIO_PE0_U7RX 0x00040001
  5604. #define GPIO_PE1_U7TX 0x00040401
  5605. #define GPIO_PE4_U5RX 0x00041001
  5606. #define GPIO_PE4_I2C2SCL 0x00041003
  5607. #define GPIO_PE4_M0PWM4 0x00041004
  5608. #define GPIO_PE4_M1PWM2 0x00041005
  5609. #define GPIO_PE4_CAN0RX 0x00041008
  5610. #define GPIO_PE5_U5TX 0x00041401
  5611. #define GPIO_PE5_I2C2SDA 0x00041403
  5612. #define GPIO_PE5_M0PWM5 0x00041404
  5613. #define GPIO_PE5_M1PWM3 0x00041405
  5614. #define GPIO_PE5_CAN0TX 0x00041408
  5615. #define GPIO_PF0_U1RTS 0x00050001
  5616. #define GPIO_PF0_SSI1RX 0x00050002
  5617. #define GPIO_PF0_CAN0RX 0x00050003
  5618. #define GPIO_PF0_M1PWM4 0x00050005
  5619. #define GPIO_PF0_PHA0 0x00050006
  5620. #define GPIO_PF0_T0CCP0 0x00050007
  5621. #define GPIO_PF0_NMI 0x00050008
  5622. #define GPIO_PF0_C0O 0x00050009
  5623. #define GPIO_PF1_U1CTS 0x00050401
  5624. #define GPIO_PF1_SSI1TX 0x00050402
  5625. #define GPIO_PF1_M1PWM5 0x00050405
  5626. #define GPIO_PF1_PHB0 0x00050406
  5627. #define GPIO_PF1_T0CCP1 0x00050407
  5628. #define GPIO_PF1_C1O 0x00050409
  5629. #define GPIO_PF1_TRD1 0x0005040E
  5630. #define GPIO_PF2_SSI1CLK 0x00050802
  5631. #define GPIO_PF2_M0FAULT0 0x00050804
  5632. #define GPIO_PF2_M1PWM6 0x00050805
  5633. #define GPIO_PF2_T1CCP0 0x00050807
  5634. #define GPIO_PF2_TRD0 0x0005080E
  5635. #define GPIO_PF3_SSI1FSS 0x00050C02
  5636. #define GPIO_PF3_CAN0TX 0x00050C03
  5637. #define GPIO_PF3_M1PWM7 0x00050C05
  5638. #define GPIO_PF3_T1CCP1 0x00050C07
  5639. #define GPIO_PF3_TRCLK 0x00050C0E
  5640. #define GPIO_PF4_M1FAULT0 0x00051005
  5641. #define GPIO_PF4_IDX0 0x00051006
  5642. #define GPIO_PF4_T2CCP0 0x00051007
  5643. #define GPIO_PF4_USB0EPEN 0x00051008
  5644. #endif // PART_TM4C123GE6PM
  5645. //*****************************************************************************
  5646. //
  5647. // TM4C123GE6PZ Port/Pin Mapping Definitions
  5648. //
  5649. //*****************************************************************************
  5650. #ifdef PART_TM4C123GE6PZ
  5651. #define GPIO_PA0_U0RX 0x00000001
  5652. #define GPIO_PA0_CAN1RX 0x00000008
  5653. #define GPIO_PA1_U0TX 0x00000401
  5654. #define GPIO_PA1_CAN1TX 0x00000408
  5655. #define GPIO_PA2_SSI0CLK 0x00000802
  5656. #define GPIO_PA3_SSI0FSS 0x00000C02
  5657. #define GPIO_PA4_SSI0RX 0x00001002
  5658. #define GPIO_PA5_SSI0TX 0x00001402
  5659. #define GPIO_PA6_I2C1SCL 0x00001803
  5660. #define GPIO_PA6_M1PWM2 0x00001805
  5661. #define GPIO_PA7_I2C1SDA 0x00001C03
  5662. #define GPIO_PA7_M1PWM3 0x00001C05
  5663. #define GPIO_PB0_U1RX 0x00010001
  5664. #define GPIO_PB0_T2CCP0 0x00010007
  5665. #define GPIO_PB1_U1TX 0x00010401
  5666. #define GPIO_PB1_T2CCP1 0x00010407
  5667. #define GPIO_PB2_I2C0SCL 0x00010803
  5668. #define GPIO_PB2_T3CCP0 0x00010807
  5669. #define GPIO_PB3_I2C0SDA 0x00010C03
  5670. #define GPIO_PB3_T3CCP1 0x00010C07
  5671. #define GPIO_PB4_SSI2CLK 0x00011002
  5672. #define GPIO_PB4_M0PWM2 0x00011004
  5673. #define GPIO_PB4_T1CCP0 0x00011007
  5674. #define GPIO_PB4_CAN0RX 0x00011008
  5675. #define GPIO_PB5_SSI2FSS 0x00011402
  5676. #define GPIO_PB5_M0PWM3 0x00011404
  5677. #define GPIO_PB5_T1CCP1 0x00011407
  5678. #define GPIO_PB5_CAN0TX 0x00011408
  5679. #define GPIO_PC0_TCK 0x00020001
  5680. #define GPIO_PC0_SWCLK 0x00020001
  5681. #define GPIO_PC0_T4CCP0 0x00020007
  5682. #define GPIO_PC1_TMS 0x00020401
  5683. #define GPIO_PC1_SWDIO 0x00020401
  5684. #define GPIO_PC1_T4CCP1 0x00020407
  5685. #define GPIO_PC2_TDI 0x00020801
  5686. #define GPIO_PC2_T5CCP0 0x00020807
  5687. #define GPIO_PC3_SWO 0x00020C01
  5688. #define GPIO_PC3_TDO 0x00020C01
  5689. #define GPIO_PC3_T5CCP1 0x00020C07
  5690. #define GPIO_PC4_U4RX 0x00021001
  5691. #define GPIO_PC4_U1RX 0x00021002
  5692. #define GPIO_PC4_M0PWM6 0x00021004
  5693. #define GPIO_PC4_IDX1 0x00021006
  5694. #define GPIO_PC4_WT0CCP0 0x00021007
  5695. #define GPIO_PC4_U1RTS 0x00021008
  5696. #define GPIO_PC5_U4TX 0x00021401
  5697. #define GPIO_PC5_U1TX 0x00021402
  5698. #define GPIO_PC5_M0PWM7 0x00021404
  5699. #define GPIO_PC5_PHA1 0x00021406
  5700. #define GPIO_PC5_WT0CCP1 0x00021407
  5701. #define GPIO_PC5_U1CTS 0x00021408
  5702. #define GPIO_PC6_U3RX 0x00021801
  5703. #define GPIO_PC6_PHB1 0x00021806
  5704. #define GPIO_PC6_WT1CCP0 0x00021807
  5705. #define GPIO_PC6_USB0EPEN 0x00021808
  5706. #define GPIO_PC7_U3TX 0x00021C01
  5707. #define GPIO_PC7_WT1CCP1 0x00021C07
  5708. #define GPIO_PC7_USB0PFLT 0x00021C08
  5709. #define GPIO_PD0_SSI3CLK 0x00030001
  5710. #define GPIO_PD0_SSI1CLK 0x00030002
  5711. #define GPIO_PD0_I2C3SCL 0x00030003
  5712. #define GPIO_PD0_M0PWM6 0x00030004
  5713. #define GPIO_PD0_M1PWM0 0x00030005
  5714. #define GPIO_PD0_WT2CCP0 0x00030007
  5715. #define GPIO_PD1_SSI3FSS 0x00030401
  5716. #define GPIO_PD1_SSI1FSS 0x00030402
  5717. #define GPIO_PD1_I2C3SDA 0x00030403
  5718. #define GPIO_PD1_M0PWM7 0x00030404
  5719. #define GPIO_PD1_M1PWM1 0x00030405
  5720. #define GPIO_PD1_WT2CCP1 0x00030407
  5721. #define GPIO_PD2_SSI3RX 0x00030801
  5722. #define GPIO_PD2_SSI1RX 0x00030802
  5723. #define GPIO_PD2_M0FAULT0 0x00030804
  5724. #define GPIO_PD2_WT3CCP0 0x00030807
  5725. #define GPIO_PD2_USB0EPEN 0x00030808
  5726. #define GPIO_PD3_SSI3TX 0x00030C01
  5727. #define GPIO_PD3_SSI1TX 0x00030C02
  5728. #define GPIO_PD3_IDX0 0x00030C06
  5729. #define GPIO_PD3_WT3CCP1 0x00030C07
  5730. #define GPIO_PD3_USB0PFLT 0x00030C08
  5731. #define GPIO_PD4_U6RX 0x00031001
  5732. #define GPIO_PD4_WT4CCP0 0x00031007
  5733. #define GPIO_PD5_U6TX 0x00031401
  5734. #define GPIO_PD5_WT4CCP1 0x00031407
  5735. #define GPIO_PD6_U2RX 0x00031801
  5736. #define GPIO_PD6_M0FAULT0 0x00031804
  5737. #define GPIO_PD6_PHA0 0x00031806
  5738. #define GPIO_PD6_WT5CCP0 0x00031807
  5739. #define GPIO_PD7_U2TX 0x00031C01
  5740. #define GPIO_PD7_M0FAULT1 0x00031C04
  5741. #define GPIO_PD7_PHB0 0x00031C06
  5742. #define GPIO_PD7_WT5CCP1 0x00031C07
  5743. #define GPIO_PD7_NMI 0x00031C08
  5744. #define GPIO_PE0_U7RX 0x00040001
  5745. #define GPIO_PE1_U7TX 0x00040401
  5746. #define GPIO_PE4_U5RX 0x00041001
  5747. #define GPIO_PE4_I2C2SCL 0x00041003
  5748. #define GPIO_PE4_M0PWM4 0x00041004
  5749. #define GPIO_PE4_M1PWM2 0x00041005
  5750. #define GPIO_PE4_CAN0RX 0x00041008
  5751. #define GPIO_PE5_U5TX 0x00041401
  5752. #define GPIO_PE5_I2C2SDA 0x00041403
  5753. #define GPIO_PE5_M0PWM5 0x00041404
  5754. #define GPIO_PE5_M1PWM3 0x00041405
  5755. #define GPIO_PE5_CAN0TX 0x00041408
  5756. #define GPIO_PE6_CAN1RX 0x00041808
  5757. #define GPIO_PE7_U1RI 0x00041C01
  5758. #define GPIO_PE7_CAN1TX 0x00041C08
  5759. #define GPIO_PF0_U1RTS 0x00050001
  5760. #define GPIO_PF0_SSI1RX 0x00050002
  5761. #define GPIO_PF0_CAN0RX 0x00050003
  5762. #define GPIO_PF0_M1PWM4 0x00050005
  5763. #define GPIO_PF0_PHA0 0x00050006
  5764. #define GPIO_PF0_T0CCP0 0x00050007
  5765. #define GPIO_PF0_NMI 0x00050008
  5766. #define GPIO_PF0_C0O 0x00050009
  5767. #define GPIO_PF0_TRD2 0x0005000E
  5768. #define GPIO_PF1_U1CTS 0x00050401
  5769. #define GPIO_PF1_SSI1TX 0x00050402
  5770. #define GPIO_PF1_M1PWM5 0x00050405
  5771. #define GPIO_PF1_PHB0 0x00050406
  5772. #define GPIO_PF1_T0CCP1 0x00050407
  5773. #define GPIO_PF1_C1O 0x00050409
  5774. #define GPIO_PF1_TRD1 0x0005040E
  5775. #define GPIO_PF2_U1DCD 0x00050801
  5776. #define GPIO_PF2_SSI1CLK 0x00050802
  5777. #define GPIO_PF2_M0FAULT0 0x00050804
  5778. #define GPIO_PF2_M1PWM6 0x00050805
  5779. #define GPIO_PF2_T1CCP0 0x00050807
  5780. #define GPIO_PF2_C2O 0x00050809
  5781. #define GPIO_PF2_TRD0 0x0005080E
  5782. #define GPIO_PF3_U1DSR 0x00050C01
  5783. #define GPIO_PF3_SSI1FSS 0x00050C02
  5784. #define GPIO_PF3_CAN0TX 0x00050C03
  5785. #define GPIO_PF3_M0FAULT1 0x00050C04
  5786. #define GPIO_PF3_M1PWM7 0x00050C05
  5787. #define GPIO_PF3_T1CCP1 0x00050C07
  5788. #define GPIO_PF3_TRCLK 0x00050C0E
  5789. #define GPIO_PF4_U1DTR 0x00051001
  5790. #define GPIO_PF4_M0FAULT2 0x00051004
  5791. #define GPIO_PF4_M1FAULT0 0x00051005
  5792. #define GPIO_PF4_IDX0 0x00051006
  5793. #define GPIO_PF4_T2CCP0 0x00051007
  5794. #define GPIO_PF4_USB0EPEN 0x00051008
  5795. #define GPIO_PF4_TRD3 0x0005100E
  5796. #define GPIO_PF5_M0FAULT3 0x00051404
  5797. #define GPIO_PF5_T2CCP1 0x00051407
  5798. #define GPIO_PF5_USB0PFLT 0x00051408
  5799. #define GPIO_PF6_I2C2SCL 0x00051803
  5800. #define GPIO_PF6_T3CCP0 0x00051807
  5801. #define GPIO_PF7_I2C2SDA 0x00051C03
  5802. #define GPIO_PF7_M1FAULT0 0x00051C05
  5803. #define GPIO_PF7_T3CCP1 0x00051C07
  5804. #define GPIO_PG0_I2C3SCL 0x00060003
  5805. #define GPIO_PG0_M1FAULT1 0x00060005
  5806. #define GPIO_PG0_PHA1 0x00060006
  5807. #define GPIO_PG0_T4CCP0 0x00060007
  5808. #define GPIO_PG1_I2C3SDA 0x00060403
  5809. #define GPIO_PG1_M1FAULT2 0x00060405
  5810. #define GPIO_PG1_PHB1 0x00060406
  5811. #define GPIO_PG1_T4CCP1 0x00060407
  5812. #define GPIO_PG2_I2C4SCL 0x00060803
  5813. #define GPIO_PG2_M0FAULT1 0x00060804
  5814. #define GPIO_PG2_M1PWM0 0x00060805
  5815. #define GPIO_PG2_T5CCP0 0x00060807
  5816. #define GPIO_PG3_I2C4SDA 0x00060C03
  5817. #define GPIO_PG3_M0FAULT2 0x00060C04
  5818. #define GPIO_PG3_M1PWM1 0x00060C05
  5819. #define GPIO_PG3_PHA1 0x00060C06
  5820. #define GPIO_PG3_T5CCP1 0x00060C07
  5821. #define GPIO_PG4_U2RX 0x00061001
  5822. #define GPIO_PG4_I2C1SCL 0x00061003
  5823. #define GPIO_PG4_M0PWM4 0x00061004
  5824. #define GPIO_PG4_M1PWM2 0x00061005
  5825. #define GPIO_PG4_PHB1 0x00061006
  5826. #define GPIO_PG4_WT0CCP0 0x00061007
  5827. #define GPIO_PG4_USB0EPEN 0x00061008
  5828. #define GPIO_PG5_U2TX 0x00061401
  5829. #define GPIO_PG5_I2C1SDA 0x00061403
  5830. #define GPIO_PG5_M0PWM5 0x00061404
  5831. #define GPIO_PG5_M1PWM3 0x00061405
  5832. #define GPIO_PG5_IDX1 0x00061406
  5833. #define GPIO_PG5_WT0CCP1 0x00061407
  5834. #define GPIO_PG5_USB0PFLT 0x00061408
  5835. #define GPIO_PG6_I2C5SCL 0x00061803
  5836. #define GPIO_PG6_M0PWM6 0x00061804
  5837. #define GPIO_PG6_WT1CCP0 0x00061807
  5838. #define GPIO_PG7_I2C5SDA 0x00061C03
  5839. #define GPIO_PG7_M0PWM7 0x00061C04
  5840. #define GPIO_PG7_IDX1 0x00061C05
  5841. #define GPIO_PG7_WT1CCP1 0x00061C07
  5842. #define GPIO_PH0_SSI3CLK 0x00070002
  5843. #define GPIO_PH0_M0PWM0 0x00070004
  5844. #define GPIO_PH0_M0FAULT0 0x00070006
  5845. #define GPIO_PH0_WT2CCP0 0x00070007
  5846. #define GPIO_PH1_SSI3FSS 0x00070402
  5847. #define GPIO_PH1_M0PWM1 0x00070404
  5848. #define GPIO_PH1_IDX0 0x00070405
  5849. #define GPIO_PH1_M0FAULT1 0x00070406
  5850. #define GPIO_PH1_WT2CCP1 0x00070407
  5851. #define GPIO_PH2_SSI3RX 0x00070802
  5852. #define GPIO_PH2_M0PWM2 0x00070804
  5853. #define GPIO_PH2_M0FAULT2 0x00070806
  5854. #define GPIO_PH2_WT5CCP0 0x00070807
  5855. #define GPIO_PH3_SSI3TX 0x00070C02
  5856. #define GPIO_PH3_M0PWM3 0x00070C04
  5857. #define GPIO_PH3_M0FAULT3 0x00070C06
  5858. #define GPIO_PH3_WT5CCP1 0x00070C07
  5859. #define GPIO_PH4_SSI2CLK 0x00071002
  5860. #define GPIO_PH4_M0PWM4 0x00071004
  5861. #define GPIO_PH4_PHA0 0x00071005
  5862. #define GPIO_PH4_WT3CCP0 0x00071007
  5863. #define GPIO_PH5_SSI2FSS 0x00071402
  5864. #define GPIO_PH5_M0PWM5 0x00071404
  5865. #define GPIO_PH5_PHB0 0x00071405
  5866. #define GPIO_PH5_WT3CCP1 0x00071407
  5867. #define GPIO_PH6_SSI2RX 0x00071802
  5868. #define GPIO_PH6_M0PWM6 0x00071804
  5869. #define GPIO_PH6_WT4CCP0 0x00071807
  5870. #define GPIO_PH7_SSI2TX 0x00071C02
  5871. #define GPIO_PH7_M0PWM7 0x00071C04
  5872. #define GPIO_PH7_WT4CCP1 0x00071C07
  5873. #define GPIO_PJ0_U4RX 0x00080001
  5874. #define GPIO_PJ0_T1CCP0 0x00080007
  5875. #define GPIO_PJ1_U4TX 0x00080401
  5876. #define GPIO_PJ1_T1CCP1 0x00080407
  5877. #define GPIO_PJ2_U5RX 0x00080801
  5878. #define GPIO_PJ2_IDX0 0x00080805
  5879. #define GPIO_PJ2_T2CCP0 0x00080807
  5880. #define GPIO_PK0_SSI3CLK 0x00090002
  5881. #define GPIO_PK0_M1FAULT0 0x00090006
  5882. #define GPIO_PK1_SSI3FSS 0x00090402
  5883. #define GPIO_PK1_M1FAULT1 0x00090406
  5884. #define GPIO_PK2_SSI3RX 0x00090802
  5885. #define GPIO_PK2_M1FAULT2 0x00090806
  5886. #define GPIO_PK3_SSI3TX 0x00090C02
  5887. #define GPIO_PK3_M1FAULT3 0x00090C06
  5888. #endif // PART_TM4C123GE6PZ
  5889. //*****************************************************************************
  5890. //
  5891. // TM4C123GH6PM Port/Pin Mapping Definitions
  5892. //
  5893. //*****************************************************************************
  5894. #ifdef PART_TM4C123GH6PM
  5895. #define GPIO_PA0_U0RX 0x00000001
  5896. #define GPIO_PA0_CAN1RX 0x00000008
  5897. #define GPIO_PA1_U0TX 0x00000401
  5898. #define GPIO_PA1_CAN1TX 0x00000408
  5899. #define GPIO_PA2_SSI0CLK 0x00000802
  5900. #define GPIO_PA3_SSI0FSS 0x00000C02
  5901. #define GPIO_PA4_SSI0RX 0x00001002
  5902. #define GPIO_PA5_SSI0TX 0x00001402
  5903. #define GPIO_PA6_I2C1SCL 0x00001803
  5904. #define GPIO_PA6_M1PWM2 0x00001805
  5905. #define GPIO_PA7_I2C1SDA 0x00001C03
  5906. #define GPIO_PA7_M1PWM3 0x00001C05
  5907. #define GPIO_PB0_U1RX 0x00010001
  5908. #define GPIO_PB0_T2CCP0 0x00010007
  5909. #define GPIO_PB1_U1TX 0x00010401
  5910. #define GPIO_PB1_T2CCP1 0x00010407
  5911. #define GPIO_PB2_I2C0SCL 0x00010803
  5912. #define GPIO_PB2_T3CCP0 0x00010807
  5913. #define GPIO_PB3_I2C0SDA 0x00010C03
  5914. #define GPIO_PB3_T3CCP1 0x00010C07
  5915. #define GPIO_PB4_SSI2CLK 0x00011002
  5916. #define GPIO_PB4_M0PWM2 0x00011004
  5917. #define GPIO_PB4_T1CCP0 0x00011007
  5918. #define GPIO_PB4_CAN0RX 0x00011008
  5919. #define GPIO_PB5_SSI2FSS 0x00011402
  5920. #define GPIO_PB5_M0PWM3 0x00011404
  5921. #define GPIO_PB5_T1CCP1 0x00011407
  5922. #define GPIO_PB5_CAN0TX 0x00011408
  5923. #define GPIO_PB6_SSI2RX 0x00011802
  5924. #define GPIO_PB6_M0PWM0 0x00011804
  5925. #define GPIO_PB6_T0CCP0 0x00011807
  5926. #define GPIO_PB7_SSI2TX 0x00011C02
  5927. #define GPIO_PB7_M0PWM1 0x00011C04
  5928. #define GPIO_PB7_T0CCP1 0x00011C07
  5929. #define GPIO_PC0_TCK 0x00020001
  5930. #define GPIO_PC0_SWCLK 0x00020001
  5931. #define GPIO_PC0_T4CCP0 0x00020007
  5932. #define GPIO_PC1_TMS 0x00020401
  5933. #define GPIO_PC1_SWDIO 0x00020401
  5934. #define GPIO_PC1_T4CCP1 0x00020407
  5935. #define GPIO_PC2_TDI 0x00020801
  5936. #define GPIO_PC2_T5CCP0 0x00020807
  5937. #define GPIO_PC3_SWO 0x00020C01
  5938. #define GPIO_PC3_TDO 0x00020C01
  5939. #define GPIO_PC3_T5CCP1 0x00020C07
  5940. #define GPIO_PC4_U4RX 0x00021001
  5941. #define GPIO_PC4_U1RX 0x00021002
  5942. #define GPIO_PC4_M0PWM6 0x00021004
  5943. #define GPIO_PC4_IDX1 0x00021006
  5944. #define GPIO_PC4_WT0CCP0 0x00021007
  5945. #define GPIO_PC4_U1RTS 0x00021008
  5946. #define GPIO_PC5_U4TX 0x00021401
  5947. #define GPIO_PC5_U1TX 0x00021402
  5948. #define GPIO_PC5_M0PWM7 0x00021404
  5949. #define GPIO_PC5_PHA1 0x00021406
  5950. #define GPIO_PC5_WT0CCP1 0x00021407
  5951. #define GPIO_PC5_U1CTS 0x00021408
  5952. #define GPIO_PC6_U3RX 0x00021801
  5953. #define GPIO_PC6_PHB1 0x00021806
  5954. #define GPIO_PC6_WT1CCP0 0x00021807
  5955. #define GPIO_PC6_USB0EPEN 0x00021808
  5956. #define GPIO_PC7_U3TX 0x00021C01
  5957. #define GPIO_PC7_WT1CCP1 0x00021C07
  5958. #define GPIO_PC7_USB0PFLT 0x00021C08
  5959. #define GPIO_PD0_SSI3CLK 0x00030001
  5960. #define GPIO_PD0_SSI1CLK 0x00030002
  5961. #define GPIO_PD0_I2C3SCL 0x00030003
  5962. #define GPIO_PD0_M0PWM6 0x00030004
  5963. #define GPIO_PD0_M1PWM0 0x00030005
  5964. #define GPIO_PD0_WT2CCP0 0x00030007
  5965. #define GPIO_PD1_SSI3FSS 0x00030401
  5966. #define GPIO_PD1_SSI1FSS 0x00030402
  5967. #define GPIO_PD1_I2C3SDA 0x00030403
  5968. #define GPIO_PD1_M0PWM7 0x00030404
  5969. #define GPIO_PD1_M1PWM1 0x00030405
  5970. #define GPIO_PD1_WT2CCP1 0x00030407
  5971. #define GPIO_PD2_SSI3RX 0x00030801
  5972. #define GPIO_PD2_SSI1RX 0x00030802
  5973. #define GPIO_PD2_M0FAULT0 0x00030804
  5974. #define GPIO_PD2_WT3CCP0 0x00030807
  5975. #define GPIO_PD2_USB0EPEN 0x00030808
  5976. #define GPIO_PD3_SSI3TX 0x00030C01
  5977. #define GPIO_PD3_SSI1TX 0x00030C02
  5978. #define GPIO_PD3_IDX0 0x00030C06
  5979. #define GPIO_PD3_WT3CCP1 0x00030C07
  5980. #define GPIO_PD3_USB0PFLT 0x00030C08
  5981. #define GPIO_PD4_U6RX 0x00031001
  5982. #define GPIO_PD4_WT4CCP0 0x00031007
  5983. #define GPIO_PD5_U6TX 0x00031401
  5984. #define GPIO_PD5_WT4CCP1 0x00031407
  5985. #define GPIO_PD6_U2RX 0x00031801
  5986. #define GPIO_PD6_M0FAULT0 0x00031804
  5987. #define GPIO_PD6_PHA0 0x00031806
  5988. #define GPIO_PD6_WT5CCP0 0x00031807
  5989. #define GPIO_PD7_U2TX 0x00031C01
  5990. #define GPIO_PD7_PHB0 0x00031C06
  5991. #define GPIO_PD7_WT5CCP1 0x00031C07
  5992. #define GPIO_PD7_NMI 0x00031C08
  5993. #define GPIO_PE0_U7RX 0x00040001
  5994. #define GPIO_PE1_U7TX 0x00040401
  5995. #define GPIO_PE4_U5RX 0x00041001
  5996. #define GPIO_PE4_I2C2SCL 0x00041003
  5997. #define GPIO_PE4_M0PWM4 0x00041004
  5998. #define GPIO_PE4_M1PWM2 0x00041005
  5999. #define GPIO_PE4_CAN0RX 0x00041008
  6000. #define GPIO_PE5_U5TX 0x00041401
  6001. #define GPIO_PE5_I2C2SDA 0x00041403
  6002. #define GPIO_PE5_M0PWM5 0x00041404
  6003. #define GPIO_PE5_M1PWM3 0x00041405
  6004. #define GPIO_PE5_CAN0TX 0x00041408
  6005. #define GPIO_PF0_U1RTS 0x00050001
  6006. #define GPIO_PF0_SSI1RX 0x00050002
  6007. #define GPIO_PF0_CAN0RX 0x00050003
  6008. #define GPIO_PF0_M1PWM4 0x00050005
  6009. #define GPIO_PF0_PHA0 0x00050006
  6010. #define GPIO_PF0_T0CCP0 0x00050007
  6011. #define GPIO_PF0_NMI 0x00050008
  6012. #define GPIO_PF0_C0O 0x00050009
  6013. #define GPIO_PF1_U1CTS 0x00050401
  6014. #define GPIO_PF1_SSI1TX 0x00050402
  6015. #define GPIO_PF1_M1PWM5 0x00050405
  6016. #define GPIO_PF1_PHB0 0x00050406
  6017. #define GPIO_PF1_T0CCP1 0x00050407
  6018. #define GPIO_PF1_C1O 0x00050409
  6019. #define GPIO_PF1_TRD1 0x0005040E
  6020. #define GPIO_PF2_SSI1CLK 0x00050802
  6021. #define GPIO_PF2_M0FAULT0 0x00050804
  6022. #define GPIO_PF2_M1PWM6 0x00050805
  6023. #define GPIO_PF2_T1CCP0 0x00050807
  6024. #define GPIO_PF2_TRD0 0x0005080E
  6025. #define GPIO_PF3_SSI1FSS 0x00050C02
  6026. #define GPIO_PF3_CAN0TX 0x00050C03
  6027. #define GPIO_PF3_M1PWM7 0x00050C05
  6028. #define GPIO_PF3_T1CCP1 0x00050C07
  6029. #define GPIO_PF3_TRCLK 0x00050C0E
  6030. #define GPIO_PF4_M1FAULT0 0x00051005
  6031. #define GPIO_PF4_IDX0 0x00051006
  6032. #define GPIO_PF4_T2CCP0 0x00051007
  6033. #define GPIO_PF4_USB0EPEN 0x00051008
  6034. #endif // PART_TM4C123GH6PM
  6035. //*****************************************************************************
  6036. //
  6037. // TM4C123GH6PZ Port/Pin Mapping Definitions
  6038. //
  6039. //*****************************************************************************
  6040. #ifdef PART_TM4C123GH6PZ
  6041. #define GPIO_PA0_U0RX 0x00000001
  6042. #define GPIO_PA0_CAN1RX 0x00000008
  6043. #define GPIO_PA1_U0TX 0x00000401
  6044. #define GPIO_PA1_CAN1TX 0x00000408
  6045. #define GPIO_PA2_SSI0CLK 0x00000802
  6046. #define GPIO_PA3_SSI0FSS 0x00000C02
  6047. #define GPIO_PA4_SSI0RX 0x00001002
  6048. #define GPIO_PA5_SSI0TX 0x00001402
  6049. #define GPIO_PA6_I2C1SCL 0x00001803
  6050. #define GPIO_PA6_M1PWM2 0x00001805
  6051. #define GPIO_PA7_I2C1SDA 0x00001C03
  6052. #define GPIO_PA7_M1PWM3 0x00001C05
  6053. #define GPIO_PB0_U1RX 0x00010001
  6054. #define GPIO_PB0_T2CCP0 0x00010007
  6055. #define GPIO_PB1_U1TX 0x00010401
  6056. #define GPIO_PB1_T2CCP1 0x00010407
  6057. #define GPIO_PB2_I2C0SCL 0x00010803
  6058. #define GPIO_PB2_T3CCP0 0x00010807
  6059. #define GPIO_PB3_I2C0SDA 0x00010C03
  6060. #define GPIO_PB3_T3CCP1 0x00010C07
  6061. #define GPIO_PB4_SSI2CLK 0x00011002
  6062. #define GPIO_PB4_M0PWM2 0x00011004
  6063. #define GPIO_PB4_T1CCP0 0x00011007
  6064. #define GPIO_PB4_CAN0RX 0x00011008
  6065. #define GPIO_PB5_SSI2FSS 0x00011402
  6066. #define GPIO_PB5_M0PWM3 0x00011404
  6067. #define GPIO_PB5_T1CCP1 0x00011407
  6068. #define GPIO_PB5_CAN0TX 0x00011408
  6069. #define GPIO_PC0_TCK 0x00020001
  6070. #define GPIO_PC0_SWCLK 0x00020001
  6071. #define GPIO_PC0_T4CCP0 0x00020007
  6072. #define GPIO_PC1_TMS 0x00020401
  6073. #define GPIO_PC1_SWDIO 0x00020401
  6074. #define GPIO_PC1_T4CCP1 0x00020407
  6075. #define GPIO_PC2_TDI 0x00020801
  6076. #define GPIO_PC2_T5CCP0 0x00020807
  6077. #define GPIO_PC3_SWO 0x00020C01
  6078. #define GPIO_PC3_TDO 0x00020C01
  6079. #define GPIO_PC3_T5CCP1 0x00020C07
  6080. #define GPIO_PC4_U4RX 0x00021001
  6081. #define GPIO_PC4_U1RX 0x00021002
  6082. #define GPIO_PC4_M0PWM6 0x00021004
  6083. #define GPIO_PC4_IDX1 0x00021006
  6084. #define GPIO_PC4_WT0CCP0 0x00021007
  6085. #define GPIO_PC4_U1RTS 0x00021008
  6086. #define GPIO_PC5_U4TX 0x00021401
  6087. #define GPIO_PC5_U1TX 0x00021402
  6088. #define GPIO_PC5_M0PWM7 0x00021404
  6089. #define GPIO_PC5_PHA1 0x00021406
  6090. #define GPIO_PC5_WT0CCP1 0x00021407
  6091. #define GPIO_PC5_U1CTS 0x00021408
  6092. #define GPIO_PC6_U3RX 0x00021801
  6093. #define GPIO_PC6_PHB1 0x00021806
  6094. #define GPIO_PC6_WT1CCP0 0x00021807
  6095. #define GPIO_PC6_USB0EPEN 0x00021808
  6096. #define GPIO_PC7_U3TX 0x00021C01
  6097. #define GPIO_PC7_WT1CCP1 0x00021C07
  6098. #define GPIO_PC7_USB0PFLT 0x00021C08
  6099. #define GPIO_PD0_SSI3CLK 0x00030001
  6100. #define GPIO_PD0_SSI1CLK 0x00030002
  6101. #define GPIO_PD0_I2C3SCL 0x00030003
  6102. #define GPIO_PD0_M0PWM6 0x00030004
  6103. #define GPIO_PD0_M1PWM0 0x00030005
  6104. #define GPIO_PD0_WT2CCP0 0x00030007
  6105. #define GPIO_PD1_SSI3FSS 0x00030401
  6106. #define GPIO_PD1_SSI1FSS 0x00030402
  6107. #define GPIO_PD1_I2C3SDA 0x00030403
  6108. #define GPIO_PD1_M0PWM7 0x00030404
  6109. #define GPIO_PD1_M1PWM1 0x00030405
  6110. #define GPIO_PD1_WT2CCP1 0x00030407
  6111. #define GPIO_PD2_SSI3RX 0x00030801
  6112. #define GPIO_PD2_SSI1RX 0x00030802
  6113. #define GPIO_PD2_M0FAULT0 0x00030804
  6114. #define GPIO_PD2_WT3CCP0 0x00030807
  6115. #define GPIO_PD2_USB0EPEN 0x00030808
  6116. #define GPIO_PD3_SSI3TX 0x00030C01
  6117. #define GPIO_PD3_SSI1TX 0x00030C02
  6118. #define GPIO_PD3_IDX0 0x00030C06
  6119. #define GPIO_PD3_WT3CCP1 0x00030C07
  6120. #define GPIO_PD3_USB0PFLT 0x00030C08
  6121. #define GPIO_PD4_U6RX 0x00031001
  6122. #define GPIO_PD4_WT4CCP0 0x00031007
  6123. #define GPIO_PD5_U6TX 0x00031401
  6124. #define GPIO_PD5_WT4CCP1 0x00031407
  6125. #define GPIO_PD6_U2RX 0x00031801
  6126. #define GPIO_PD6_M0FAULT0 0x00031804
  6127. #define GPIO_PD6_PHA0 0x00031806
  6128. #define GPIO_PD6_WT5CCP0 0x00031807
  6129. #define GPIO_PD7_U2TX 0x00031C01
  6130. #define GPIO_PD7_M0FAULT1 0x00031C04
  6131. #define GPIO_PD7_PHB0 0x00031C06
  6132. #define GPIO_PD7_WT5CCP1 0x00031C07
  6133. #define GPIO_PD7_NMI 0x00031C08
  6134. #define GPIO_PE0_U7RX 0x00040001
  6135. #define GPIO_PE1_U7TX 0x00040401
  6136. #define GPIO_PE4_U5RX 0x00041001
  6137. #define GPIO_PE4_I2C2SCL 0x00041003
  6138. #define GPIO_PE4_M0PWM4 0x00041004
  6139. #define GPIO_PE4_M1PWM2 0x00041005
  6140. #define GPIO_PE4_CAN0RX 0x00041008
  6141. #define GPIO_PE5_U5TX 0x00041401
  6142. #define GPIO_PE5_I2C2SDA 0x00041403
  6143. #define GPIO_PE5_M0PWM5 0x00041404
  6144. #define GPIO_PE5_M1PWM3 0x00041405
  6145. #define GPIO_PE5_CAN0TX 0x00041408
  6146. #define GPIO_PE6_CAN1RX 0x00041808
  6147. #define GPIO_PE7_U1RI 0x00041C01
  6148. #define GPIO_PE7_CAN1TX 0x00041C08
  6149. #define GPIO_PF0_U1RTS 0x00050001
  6150. #define GPIO_PF0_SSI1RX 0x00050002
  6151. #define GPIO_PF0_CAN0RX 0x00050003
  6152. #define GPIO_PF0_M1PWM4 0x00050005
  6153. #define GPIO_PF0_PHA0 0x00050006
  6154. #define GPIO_PF0_T0CCP0 0x00050007
  6155. #define GPIO_PF0_NMI 0x00050008
  6156. #define GPIO_PF0_C0O 0x00050009
  6157. #define GPIO_PF0_TRD2 0x0005000E
  6158. #define GPIO_PF1_U1CTS 0x00050401
  6159. #define GPIO_PF1_SSI1TX 0x00050402
  6160. #define GPIO_PF1_M1PWM5 0x00050405
  6161. #define GPIO_PF1_PHB0 0x00050406
  6162. #define GPIO_PF1_T0CCP1 0x00050407
  6163. #define GPIO_PF1_C1O 0x00050409
  6164. #define GPIO_PF1_TRD1 0x0005040E
  6165. #define GPIO_PF2_U1DCD 0x00050801
  6166. #define GPIO_PF2_SSI1CLK 0x00050802
  6167. #define GPIO_PF2_M0FAULT0 0x00050804
  6168. #define GPIO_PF2_M1PWM6 0x00050805
  6169. #define GPIO_PF2_T1CCP0 0x00050807
  6170. #define GPIO_PF2_C2O 0x00050809
  6171. #define GPIO_PF2_TRD0 0x0005080E
  6172. #define GPIO_PF3_U1DSR 0x00050C01
  6173. #define GPIO_PF3_SSI1FSS 0x00050C02
  6174. #define GPIO_PF3_CAN0TX 0x00050C03
  6175. #define GPIO_PF3_M0FAULT1 0x00050C04
  6176. #define GPIO_PF3_M1PWM7 0x00050C05
  6177. #define GPIO_PF3_T1CCP1 0x00050C07
  6178. #define GPIO_PF3_TRCLK 0x00050C0E
  6179. #define GPIO_PF4_U1DTR 0x00051001
  6180. #define GPIO_PF4_M0FAULT2 0x00051004
  6181. #define GPIO_PF4_M1FAULT0 0x00051005
  6182. #define GPIO_PF4_IDX0 0x00051006
  6183. #define GPIO_PF4_T2CCP0 0x00051007
  6184. #define GPIO_PF4_USB0EPEN 0x00051008
  6185. #define GPIO_PF4_TRD3 0x0005100E
  6186. #define GPIO_PF5_M0FAULT3 0x00051404
  6187. #define GPIO_PF5_T2CCP1 0x00051407
  6188. #define GPIO_PF5_USB0PFLT 0x00051408
  6189. #define GPIO_PF6_I2C2SCL 0x00051803
  6190. #define GPIO_PF6_T3CCP0 0x00051807
  6191. #define GPIO_PF7_I2C2SDA 0x00051C03
  6192. #define GPIO_PF7_M1FAULT0 0x00051C05
  6193. #define GPIO_PF7_T3CCP1 0x00051C07
  6194. #define GPIO_PG0_I2C3SCL 0x00060003
  6195. #define GPIO_PG0_M1FAULT1 0x00060005
  6196. #define GPIO_PG0_PHA1 0x00060006
  6197. #define GPIO_PG0_T4CCP0 0x00060007
  6198. #define GPIO_PG1_I2C3SDA 0x00060403
  6199. #define GPIO_PG1_M1FAULT2 0x00060405
  6200. #define GPIO_PG1_PHB1 0x00060406
  6201. #define GPIO_PG1_T4CCP1 0x00060407
  6202. #define GPIO_PG2_I2C4SCL 0x00060803
  6203. #define GPIO_PG2_M0FAULT1 0x00060804
  6204. #define GPIO_PG2_M1PWM0 0x00060805
  6205. #define GPIO_PG2_T5CCP0 0x00060807
  6206. #define GPIO_PG3_I2C4SDA 0x00060C03
  6207. #define GPIO_PG3_M0FAULT2 0x00060C04
  6208. #define GPIO_PG3_M1PWM1 0x00060C05
  6209. #define GPIO_PG3_PHA1 0x00060C06
  6210. #define GPIO_PG3_T5CCP1 0x00060C07
  6211. #define GPIO_PG4_U2RX 0x00061001
  6212. #define GPIO_PG4_I2C1SCL 0x00061003
  6213. #define GPIO_PG4_M0PWM4 0x00061004
  6214. #define GPIO_PG4_M1PWM2 0x00061005
  6215. #define GPIO_PG4_PHB1 0x00061006
  6216. #define GPIO_PG4_WT0CCP0 0x00061007
  6217. #define GPIO_PG4_USB0EPEN 0x00061008
  6218. #define GPIO_PG5_U2TX 0x00061401
  6219. #define GPIO_PG5_I2C1SDA 0x00061403
  6220. #define GPIO_PG5_M0PWM5 0x00061404
  6221. #define GPIO_PG5_M1PWM3 0x00061405
  6222. #define GPIO_PG5_IDX1 0x00061406
  6223. #define GPIO_PG5_WT0CCP1 0x00061407
  6224. #define GPIO_PG5_USB0PFLT 0x00061408
  6225. #define GPIO_PG6_I2C5SCL 0x00061803
  6226. #define GPIO_PG6_M0PWM6 0x00061804
  6227. #define GPIO_PG6_WT1CCP0 0x00061807
  6228. #define GPIO_PG7_I2C5SDA 0x00061C03
  6229. #define GPIO_PG7_M0PWM7 0x00061C04
  6230. #define GPIO_PG7_IDX1 0x00061C05
  6231. #define GPIO_PG7_WT1CCP1 0x00061C07
  6232. #define GPIO_PH0_SSI3CLK 0x00070002
  6233. #define GPIO_PH0_M0PWM0 0x00070004
  6234. #define GPIO_PH0_M0FAULT0 0x00070006
  6235. #define GPIO_PH0_WT2CCP0 0x00070007
  6236. #define GPIO_PH1_SSI3FSS 0x00070402
  6237. #define GPIO_PH1_M0PWM1 0x00070404
  6238. #define GPIO_PH1_IDX0 0x00070405
  6239. #define GPIO_PH1_M0FAULT1 0x00070406
  6240. #define GPIO_PH1_WT2CCP1 0x00070407
  6241. #define GPIO_PH2_SSI3RX 0x00070802
  6242. #define GPIO_PH2_M0PWM2 0x00070804
  6243. #define GPIO_PH2_M0FAULT2 0x00070806
  6244. #define GPIO_PH2_WT5CCP0 0x00070807
  6245. #define GPIO_PH3_SSI3TX 0x00070C02
  6246. #define GPIO_PH3_M0PWM3 0x00070C04
  6247. #define GPIO_PH3_M0FAULT3 0x00070C06
  6248. #define GPIO_PH3_WT5CCP1 0x00070C07
  6249. #define GPIO_PH4_SSI2CLK 0x00071002
  6250. #define GPIO_PH4_M0PWM4 0x00071004
  6251. #define GPIO_PH4_PHA0 0x00071005
  6252. #define GPIO_PH4_WT3CCP0 0x00071007
  6253. #define GPIO_PH5_SSI2FSS 0x00071402
  6254. #define GPIO_PH5_M0PWM5 0x00071404
  6255. #define GPIO_PH5_PHB0 0x00071405
  6256. #define GPIO_PH5_WT3CCP1 0x00071407
  6257. #define GPIO_PH6_SSI2RX 0x00071802
  6258. #define GPIO_PH6_M0PWM6 0x00071804
  6259. #define GPIO_PH6_WT4CCP0 0x00071807
  6260. #define GPIO_PH7_SSI2TX 0x00071C02
  6261. #define GPIO_PH7_M0PWM7 0x00071C04
  6262. #define GPIO_PH7_WT4CCP1 0x00071C07
  6263. #define GPIO_PJ0_U4RX 0x00080001
  6264. #define GPIO_PJ0_T1CCP0 0x00080007
  6265. #define GPIO_PJ1_U4TX 0x00080401
  6266. #define GPIO_PJ1_T1CCP1 0x00080407
  6267. #define GPIO_PJ2_U5RX 0x00080801
  6268. #define GPIO_PJ2_IDX0 0x00080805
  6269. #define GPIO_PJ2_T2CCP0 0x00080807
  6270. #define GPIO_PK0_SSI3CLK 0x00090002
  6271. #define GPIO_PK0_M1FAULT0 0x00090006
  6272. #define GPIO_PK1_SSI3FSS 0x00090402
  6273. #define GPIO_PK1_M1FAULT1 0x00090406
  6274. #define GPIO_PK2_SSI3RX 0x00090802
  6275. #define GPIO_PK2_M1FAULT2 0x00090806
  6276. #define GPIO_PK3_SSI3TX 0x00090C02
  6277. #define GPIO_PK3_M1FAULT3 0x00090C06
  6278. #endif // PART_TM4C123GH6PZ
  6279. //*****************************************************************************
  6280. //
  6281. // TM4C1231H6PGE Port/Pin Mapping Definitions
  6282. //
  6283. //*****************************************************************************
  6284. #ifdef PART_TM4C1231H6PGE
  6285. #define GPIO_PA0_U0RX 0x00000001
  6286. #define GPIO_PA1_U0TX 0x00000401
  6287. #define GPIO_PA2_SSI0CLK 0x00000802
  6288. #define GPIO_PA3_SSI0FSS 0x00000C02
  6289. #define GPIO_PA4_SSI0RX 0x00001002
  6290. #define GPIO_PA5_SSI0TX 0x00001402
  6291. #define GPIO_PA6_I2C1SCL 0x00001803
  6292. #define GPIO_PA7_I2C1SDA 0x00001C03
  6293. #define GPIO_PB0_U1RX 0x00010001
  6294. #define GPIO_PB0_T2CCP0 0x00010007
  6295. #define GPIO_PB1_U1TX 0x00010401
  6296. #define GPIO_PB1_T2CCP1 0x00010407
  6297. #define GPIO_PB2_I2C0SCL 0x00010803
  6298. #define GPIO_PB2_T3CCP0 0x00010807
  6299. #define GPIO_PB3_I2C0SDA 0x00010C03
  6300. #define GPIO_PB3_T3CCP1 0x00010C07
  6301. #define GPIO_PB4_SSI2CLK 0x00011002
  6302. #define GPIO_PB4_T1CCP0 0x00011007
  6303. #define GPIO_PB4_CAN0RX 0x00011008
  6304. #define GPIO_PB5_SSI2FSS 0x00011402
  6305. #define GPIO_PB5_T1CCP1 0x00011407
  6306. #define GPIO_PB5_CAN0TX 0x00011408
  6307. #define GPIO_PC0_TCK 0x00020001
  6308. #define GPIO_PC0_SWCLK 0x00020001
  6309. #define GPIO_PC0_T4CCP0 0x00020007
  6310. #define GPIO_PC1_TMS 0x00020401
  6311. #define GPIO_PC1_SWDIO 0x00020401
  6312. #define GPIO_PC1_T4CCP1 0x00020407
  6313. #define GPIO_PC2_TDI 0x00020801
  6314. #define GPIO_PC2_T5CCP0 0x00020807
  6315. #define GPIO_PC3_SWO 0x00020C01
  6316. #define GPIO_PC3_TDO 0x00020C01
  6317. #define GPIO_PC3_T5CCP1 0x00020C07
  6318. #define GPIO_PC4_U4RX 0x00021001
  6319. #define GPIO_PC4_U1RX 0x00021002
  6320. #define GPIO_PC4_WT0CCP0 0x00021007
  6321. #define GPIO_PC4_U1RTS 0x00021008
  6322. #define GPIO_PC5_U4TX 0x00021401
  6323. #define GPIO_PC5_U1TX 0x00021402
  6324. #define GPIO_PC5_WT0CCP1 0x00021407
  6325. #define GPIO_PC5_U1CTS 0x00021408
  6326. #define GPIO_PC6_U3RX 0x00021801
  6327. #define GPIO_PC6_WT1CCP0 0x00021807
  6328. #define GPIO_PC7_U3TX 0x00021C01
  6329. #define GPIO_PC7_WT1CCP1 0x00021C07
  6330. #define GPIO_PD0_SSI3CLK 0x00030001
  6331. #define GPIO_PD0_SSI1CLK 0x00030002
  6332. #define GPIO_PD0_I2C3SCL 0x00030003
  6333. #define GPIO_PD0_WT2CCP0 0x00030007
  6334. #define GPIO_PD1_SSI3FSS 0x00030401
  6335. #define GPIO_PD1_SSI1FSS 0x00030402
  6336. #define GPIO_PD1_I2C3SDA 0x00030403
  6337. #define GPIO_PD1_WT2CCP1 0x00030407
  6338. #define GPIO_PD2_SSI3RX 0x00030801
  6339. #define GPIO_PD2_SSI1RX 0x00030802
  6340. #define GPIO_PD2_WT3CCP0 0x00030807
  6341. #define GPIO_PD3_SSI3TX 0x00030C01
  6342. #define GPIO_PD3_SSI1TX 0x00030C02
  6343. #define GPIO_PD3_WT3CCP1 0x00030C07
  6344. #define GPIO_PD4_U6RX 0x00031001
  6345. #define GPIO_PD4_WT4CCP0 0x00031007
  6346. #define GPIO_PD5_U6TX 0x00031401
  6347. #define GPIO_PD5_WT4CCP1 0x00031407
  6348. #define GPIO_PD6_U2RX 0x00031801
  6349. #define GPIO_PD6_WT5CCP0 0x00031807
  6350. #define GPIO_PD7_U2TX 0x00031C01
  6351. #define GPIO_PD7_WT5CCP1 0x00031C07
  6352. #define GPIO_PD7_NMI 0x00031C08
  6353. #define GPIO_PE0_U7RX 0x00040001
  6354. #define GPIO_PE1_U7TX 0x00040401
  6355. #define GPIO_PE4_U5RX 0x00041001
  6356. #define GPIO_PE4_I2C2SCL 0x00041003
  6357. #define GPIO_PE4_CAN0RX 0x00041008
  6358. #define GPIO_PE5_U5TX 0x00041401
  6359. #define GPIO_PE5_I2C2SDA 0x00041403
  6360. #define GPIO_PE5_CAN0TX 0x00041408
  6361. #define GPIO_PE7_U1RI 0x00041C01
  6362. #define GPIO_PF0_U1RTS 0x00050001
  6363. #define GPIO_PF0_SSI1RX 0x00050002
  6364. #define GPIO_PF0_CAN0RX 0x00050003
  6365. #define GPIO_PF0_T0CCP0 0x00050007
  6366. #define GPIO_PF0_NMI 0x00050008
  6367. #define GPIO_PF0_C0O 0x00050009
  6368. #define GPIO_PF0_TRD2 0x0005000E
  6369. #define GPIO_PF1_U1CTS 0x00050401
  6370. #define GPIO_PF1_SSI1TX 0x00050402
  6371. #define GPIO_PF1_T0CCP1 0x00050407
  6372. #define GPIO_PF1_C1O 0x00050409
  6373. #define GPIO_PF1_TRD1 0x0005040E
  6374. #define GPIO_PF2_U1DCD 0x00050801
  6375. #define GPIO_PF2_SSI1CLK 0x00050802
  6376. #define GPIO_PF2_T1CCP0 0x00050807
  6377. #define GPIO_PF2_C2O 0x00050809
  6378. #define GPIO_PF2_TRD0 0x0005080E
  6379. #define GPIO_PF3_U1DSR 0x00050C01
  6380. #define GPIO_PF3_SSI1FSS 0x00050C02
  6381. #define GPIO_PF3_CAN0TX 0x00050C03
  6382. #define GPIO_PF3_T1CCP1 0x00050C07
  6383. #define GPIO_PF3_TRCLK 0x00050C0E
  6384. #define GPIO_PF4_U1DTR 0x00051001
  6385. #define GPIO_PF4_T2CCP0 0x00051007
  6386. #define GPIO_PF4_TRD3 0x0005100E
  6387. #define GPIO_PF5_T2CCP1 0x00051407
  6388. #define GPIO_PF6_I2C2SCL 0x00051803
  6389. #define GPIO_PF6_T3CCP0 0x00051807
  6390. #define GPIO_PF7_I2C2SDA 0x00051C03
  6391. #define GPIO_PF7_T3CCP1 0x00051C07
  6392. #define GPIO_PG0_I2C3SCL 0x00060003
  6393. #define GPIO_PG0_T4CCP0 0x00060007
  6394. #define GPIO_PG1_I2C3SDA 0x00060403
  6395. #define GPIO_PG1_T4CCP1 0x00060407
  6396. #define GPIO_PG2_I2C4SCL 0x00060803
  6397. #define GPIO_PG2_T5CCP0 0x00060807
  6398. #define GPIO_PG3_I2C4SDA 0x00060C03
  6399. #define GPIO_PG3_T5CCP1 0x00060C07
  6400. #define GPIO_PG4_U2RX 0x00061001
  6401. #define GPIO_PG4_I2C1SCL 0x00061003
  6402. #define GPIO_PG4_WT0CCP0 0x00061007
  6403. #define GPIO_PG5_U2TX 0x00061401
  6404. #define GPIO_PG5_I2C1SDA 0x00061403
  6405. #define GPIO_PG5_WT0CCP1 0x00061407
  6406. #define GPIO_PG6_I2C5SCL 0x00061803
  6407. #define GPIO_PG6_WT1CCP0 0x00061807
  6408. #define GPIO_PG7_I2C5SDA 0x00061C03
  6409. #define GPIO_PG7_WT1CCP1 0x00061C07
  6410. #define GPIO_PH0_SSI3CLK 0x00070002
  6411. #define GPIO_PH0_WT2CCP0 0x00070007
  6412. #define GPIO_PH1_SSI3FSS 0x00070402
  6413. #define GPIO_PH1_WT2CCP1 0x00070407
  6414. #define GPIO_PH2_SSI3RX 0x00070802
  6415. #define GPIO_PH2_WT5CCP0 0x00070807
  6416. #define GPIO_PH3_SSI3TX 0x00070C02
  6417. #define GPIO_PH3_WT5CCP1 0x00070C07
  6418. #define GPIO_PH4_SSI2CLK 0x00071002
  6419. #define GPIO_PH4_WT3CCP0 0x00071007
  6420. #define GPIO_PH5_SSI2FSS 0x00071402
  6421. #define GPIO_PH5_WT3CCP1 0x00071407
  6422. #define GPIO_PH6_SSI2RX 0x00071802
  6423. #define GPIO_PH6_WT4CCP0 0x00071807
  6424. #define GPIO_PH7_SSI2TX 0x00071C02
  6425. #define GPIO_PH7_WT4CCP1 0x00071C07
  6426. #define GPIO_PJ0_U4RX 0x00080001
  6427. #define GPIO_PJ0_T1CCP0 0x00080007
  6428. #define GPIO_PJ1_U4TX 0x00080401
  6429. #define GPIO_PJ1_T1CCP1 0x00080407
  6430. #define GPIO_PJ2_U5RX 0x00080801
  6431. #define GPIO_PJ2_T2CCP0 0x00080807
  6432. #define GPIO_PJ3_U5TX 0x00080C01
  6433. #define GPIO_PJ3_T2CCP1 0x00080C07
  6434. #define GPIO_PJ4_U6RX 0x00081001
  6435. #define GPIO_PJ4_T3CCP0 0x00081007
  6436. #define GPIO_PJ5_U6TX 0x00081401
  6437. #define GPIO_PJ5_T3CCP1 0x00081407
  6438. #define GPIO_PK0_SSI3CLK 0x00090002
  6439. #define GPIO_PK1_SSI3FSS 0x00090402
  6440. #define GPIO_PK2_SSI3RX 0x00090802
  6441. #define GPIO_PK3_SSI3TX 0x00090C02
  6442. #define GPIO_PK4_U7RX 0x00091001
  6443. #define GPIO_PK4_RTCCLK 0x00091007
  6444. #define GPIO_PK4_C0O 0x00091008
  6445. #define GPIO_PK5_U7TX 0x00091401
  6446. #define GPIO_PK5_C1O 0x00091408
  6447. #define GPIO_PK6_WT1CCP0 0x00091807
  6448. #define GPIO_PK6_C2O 0x00091808
  6449. #define GPIO_PK7_WT1CCP1 0x00091C07
  6450. #define GPIO_PL0_T0CCP0 0x000A0007
  6451. #define GPIO_PL0_WT0CCP0 0x000A0008
  6452. #define GPIO_PL1_T0CCP1 0x000A0407
  6453. #define GPIO_PL1_WT0CCP1 0x000A0408
  6454. #define GPIO_PL2_T1CCP0 0x000A0807
  6455. #define GPIO_PL2_WT1CCP0 0x000A0808
  6456. #define GPIO_PL3_T1CCP1 0x000A0C07
  6457. #define GPIO_PL3_WT1CCP1 0x000A0C08
  6458. #define GPIO_PL4_T2CCP0 0x000A1007
  6459. #define GPIO_PL4_WT2CCP0 0x000A1008
  6460. #define GPIO_PL5_T2CCP1 0x000A1407
  6461. #define GPIO_PL5_WT2CCP1 0x000A1408
  6462. #define GPIO_PL6_T3CCP0 0x000A1807
  6463. #define GPIO_PL6_WT3CCP0 0x000A1808
  6464. #define GPIO_PL7_T3CCP1 0x000A1C07
  6465. #define GPIO_PL7_WT3CCP1 0x000A1C08
  6466. #define GPIO_PM0_T4CCP0 0x000B0007
  6467. #define GPIO_PM0_WT4CCP0 0x000B0008
  6468. #define GPIO_PM1_T4CCP1 0x000B0407
  6469. #define GPIO_PM1_WT4CCP1 0x000B0408
  6470. #define GPIO_PM2_T5CCP0 0x000B0807
  6471. #define GPIO_PM2_WT5CCP0 0x000B0808
  6472. #define GPIO_PM3_T5CCP1 0x000B0C07
  6473. #define GPIO_PM3_WT5CCP1 0x000B0C08
  6474. #define GPIO_PM6_WT0CCP0 0x000B1807
  6475. #define GPIO_PM7_WT0CCP1 0x000B1C07
  6476. #define GPIO_PN0_CAN0RX 0x000C0001
  6477. #define GPIO_PN1_CAN0TX 0x000C0401
  6478. #define GPIO_PN2_WT2CCP0 0x000C0807
  6479. #define GPIO_PN3_WT2CCP1 0x000C0C07
  6480. #define GPIO_PN4_WT3CCP0 0x000C1007
  6481. #define GPIO_PN5_WT3CCP1 0x000C1407
  6482. #define GPIO_PN6_WT4CCP0 0x000C1807
  6483. #define GPIO_PN7_WT4CCP1 0x000C1C07
  6484. #define GPIO_PP0_T4CCP0 0x000D0007
  6485. #define GPIO_PP1_T4CCP1 0x000D0407
  6486. #define GPIO_PP2_T5CCP0 0x000D0807
  6487. #endif // PART_TM4C1231H6PGE
  6488. //*****************************************************************************
  6489. //
  6490. // TM4C1233H6PGE Port/Pin Mapping Definitions
  6491. //
  6492. //*****************************************************************************
  6493. #ifdef PART_TM4C1233H6PGE
  6494. #define GPIO_PA0_U0RX 0x00000001
  6495. #define GPIO_PA1_U0TX 0x00000401
  6496. #define GPIO_PA2_SSI0CLK 0x00000802
  6497. #define GPIO_PA3_SSI0FSS 0x00000C02
  6498. #define GPIO_PA4_SSI0RX 0x00001002
  6499. #define GPIO_PA5_SSI0TX 0x00001402
  6500. #define GPIO_PA6_I2C1SCL 0x00001803
  6501. #define GPIO_PA7_I2C1SDA 0x00001C03
  6502. #define GPIO_PB0_U1RX 0x00010001
  6503. #define GPIO_PB0_T2CCP0 0x00010007
  6504. #define GPIO_PB1_U1TX 0x00010401
  6505. #define GPIO_PB1_T2CCP1 0x00010407
  6506. #define GPIO_PB2_I2C0SCL 0x00010803
  6507. #define GPIO_PB2_T3CCP0 0x00010807
  6508. #define GPIO_PB3_I2C0SDA 0x00010C03
  6509. #define GPIO_PB3_T3CCP1 0x00010C07
  6510. #define GPIO_PB4_SSI2CLK 0x00011002
  6511. #define GPIO_PB4_T1CCP0 0x00011007
  6512. #define GPIO_PB4_CAN0RX 0x00011008
  6513. #define GPIO_PB5_SSI2FSS 0x00011402
  6514. #define GPIO_PB5_T1CCP1 0x00011407
  6515. #define GPIO_PB5_CAN0TX 0x00011408
  6516. #define GPIO_PC0_TCK 0x00020001
  6517. #define GPIO_PC0_SWCLK 0x00020001
  6518. #define GPIO_PC0_T4CCP0 0x00020007
  6519. #define GPIO_PC1_TMS 0x00020401
  6520. #define GPIO_PC1_SWDIO 0x00020401
  6521. #define GPIO_PC1_T4CCP1 0x00020407
  6522. #define GPIO_PC2_TDI 0x00020801
  6523. #define GPIO_PC2_T5CCP0 0x00020807
  6524. #define GPIO_PC3_SWO 0x00020C01
  6525. #define GPIO_PC3_TDO 0x00020C01
  6526. #define GPIO_PC3_T5CCP1 0x00020C07
  6527. #define GPIO_PC4_U4RX 0x00021001
  6528. #define GPIO_PC4_U1RX 0x00021002
  6529. #define GPIO_PC4_WT0CCP0 0x00021007
  6530. #define GPIO_PC4_U1RTS 0x00021008
  6531. #define GPIO_PC5_U4TX 0x00021401
  6532. #define GPIO_PC5_U1TX 0x00021402
  6533. #define GPIO_PC5_WT0CCP1 0x00021407
  6534. #define GPIO_PC5_U1CTS 0x00021408
  6535. #define GPIO_PC6_U3RX 0x00021801
  6536. #define GPIO_PC6_WT1CCP0 0x00021807
  6537. #define GPIO_PC7_U3TX 0x00021C01
  6538. #define GPIO_PC7_WT1CCP1 0x00021C07
  6539. #define GPIO_PD0_SSI3CLK 0x00030001
  6540. #define GPIO_PD0_SSI1CLK 0x00030002
  6541. #define GPIO_PD0_I2C3SCL 0x00030003
  6542. #define GPIO_PD0_WT2CCP0 0x00030007
  6543. #define GPIO_PD1_SSI3FSS 0x00030401
  6544. #define GPIO_PD1_SSI1FSS 0x00030402
  6545. #define GPIO_PD1_I2C3SDA 0x00030403
  6546. #define GPIO_PD1_WT2CCP1 0x00030407
  6547. #define GPIO_PD2_SSI3RX 0x00030801
  6548. #define GPIO_PD2_SSI1RX 0x00030802
  6549. #define GPIO_PD2_WT3CCP0 0x00030807
  6550. #define GPIO_PD3_SSI3TX 0x00030C01
  6551. #define GPIO_PD3_SSI1TX 0x00030C02
  6552. #define GPIO_PD3_WT3CCP1 0x00030C07
  6553. #define GPIO_PD4_U6RX 0x00031001
  6554. #define GPIO_PD4_WT4CCP0 0x00031007
  6555. #define GPIO_PD5_U6TX 0x00031401
  6556. #define GPIO_PD5_WT4CCP1 0x00031407
  6557. #define GPIO_PD6_U2RX 0x00031801
  6558. #define GPIO_PD6_WT5CCP0 0x00031807
  6559. #define GPIO_PD7_U2TX 0x00031C01
  6560. #define GPIO_PD7_WT5CCP1 0x00031C07
  6561. #define GPIO_PD7_NMI 0x00031C08
  6562. #define GPIO_PE0_U7RX 0x00040001
  6563. #define GPIO_PE1_U7TX 0x00040401
  6564. #define GPIO_PE4_U5RX 0x00041001
  6565. #define GPIO_PE4_I2C2SCL 0x00041003
  6566. #define GPIO_PE4_CAN0RX 0x00041008
  6567. #define GPIO_PE5_U5TX 0x00041401
  6568. #define GPIO_PE5_I2C2SDA 0x00041403
  6569. #define GPIO_PE5_CAN0TX 0x00041408
  6570. #define GPIO_PE7_U1RI 0x00041C01
  6571. #define GPIO_PF0_U1RTS 0x00050001
  6572. #define GPIO_PF0_SSI1RX 0x00050002
  6573. #define GPIO_PF0_CAN0RX 0x00050003
  6574. #define GPIO_PF0_T0CCP0 0x00050007
  6575. #define GPIO_PF0_NMI 0x00050008
  6576. #define GPIO_PF0_C0O 0x00050009
  6577. #define GPIO_PF0_TRD2 0x0005000E
  6578. #define GPIO_PF1_U1CTS 0x00050401
  6579. #define GPIO_PF1_SSI1TX 0x00050402
  6580. #define GPIO_PF1_T0CCP1 0x00050407
  6581. #define GPIO_PF1_C1O 0x00050409
  6582. #define GPIO_PF1_TRD1 0x0005040E
  6583. #define GPIO_PF2_U1DCD 0x00050801
  6584. #define GPIO_PF2_SSI1CLK 0x00050802
  6585. #define GPIO_PF2_T1CCP0 0x00050807
  6586. #define GPIO_PF2_C2O 0x00050809
  6587. #define GPIO_PF2_TRD0 0x0005080E
  6588. #define GPIO_PF3_U1DSR 0x00050C01
  6589. #define GPIO_PF3_SSI1FSS 0x00050C02
  6590. #define GPIO_PF3_CAN0TX 0x00050C03
  6591. #define GPIO_PF3_T1CCP1 0x00050C07
  6592. #define GPIO_PF3_TRCLK 0x00050C0E
  6593. #define GPIO_PF4_U1DTR 0x00051001
  6594. #define GPIO_PF4_T2CCP0 0x00051007
  6595. #define GPIO_PF4_TRD3 0x0005100E
  6596. #define GPIO_PF5_T2CCP1 0x00051407
  6597. #define GPIO_PF6_I2C2SCL 0x00051803
  6598. #define GPIO_PF6_T3CCP0 0x00051807
  6599. #define GPIO_PF7_I2C2SDA 0x00051C03
  6600. #define GPIO_PF7_T3CCP1 0x00051C07
  6601. #define GPIO_PG0_I2C3SCL 0x00060003
  6602. #define GPIO_PG0_T4CCP0 0x00060007
  6603. #define GPIO_PG1_I2C3SDA 0x00060403
  6604. #define GPIO_PG1_T4CCP1 0x00060407
  6605. #define GPIO_PG2_I2C4SCL 0x00060803
  6606. #define GPIO_PG2_T5CCP0 0x00060807
  6607. #define GPIO_PG3_I2C4SDA 0x00060C03
  6608. #define GPIO_PG3_T5CCP1 0x00060C07
  6609. #define GPIO_PG4_U2RX 0x00061001
  6610. #define GPIO_PG4_I2C1SCL 0x00061003
  6611. #define GPIO_PG4_WT0CCP0 0x00061007
  6612. #define GPIO_PG5_U2TX 0x00061401
  6613. #define GPIO_PG5_I2C1SDA 0x00061403
  6614. #define GPIO_PG5_WT0CCP1 0x00061407
  6615. #define GPIO_PG6_I2C5SCL 0x00061803
  6616. #define GPIO_PG6_WT1CCP0 0x00061807
  6617. #define GPIO_PG7_I2C5SDA 0x00061C03
  6618. #define GPIO_PG7_WT1CCP1 0x00061C07
  6619. #define GPIO_PH0_SSI3CLK 0x00070002
  6620. #define GPIO_PH0_WT2CCP0 0x00070007
  6621. #define GPIO_PH1_SSI3FSS 0x00070402
  6622. #define GPIO_PH1_WT2CCP1 0x00070407
  6623. #define GPIO_PH2_SSI3RX 0x00070802
  6624. #define GPIO_PH2_WT5CCP0 0x00070807
  6625. #define GPIO_PH3_SSI3TX 0x00070C02
  6626. #define GPIO_PH3_WT5CCP1 0x00070C07
  6627. #define GPIO_PH4_SSI2CLK 0x00071002
  6628. #define GPIO_PH4_WT3CCP0 0x00071007
  6629. #define GPIO_PH5_SSI2FSS 0x00071402
  6630. #define GPIO_PH5_WT3CCP1 0x00071407
  6631. #define GPIO_PH6_SSI2RX 0x00071802
  6632. #define GPIO_PH6_WT4CCP0 0x00071807
  6633. #define GPIO_PH7_SSI2TX 0x00071C02
  6634. #define GPIO_PH7_WT4CCP1 0x00071C07
  6635. #define GPIO_PJ0_U4RX 0x00080001
  6636. #define GPIO_PJ0_T1CCP0 0x00080007
  6637. #define GPIO_PJ1_U4TX 0x00080401
  6638. #define GPIO_PJ1_T1CCP1 0x00080407
  6639. #define GPIO_PJ2_U5RX 0x00080801
  6640. #define GPIO_PJ2_T2CCP0 0x00080807
  6641. #define GPIO_PJ3_U5TX 0x00080C01
  6642. #define GPIO_PJ3_T2CCP1 0x00080C07
  6643. #define GPIO_PJ4_U6RX 0x00081001
  6644. #define GPIO_PJ4_T3CCP0 0x00081007
  6645. #define GPIO_PJ5_U6TX 0x00081401
  6646. #define GPIO_PJ5_T3CCP1 0x00081407
  6647. #define GPIO_PK0_SSI3CLK 0x00090002
  6648. #define GPIO_PK1_SSI3FSS 0x00090402
  6649. #define GPIO_PK2_SSI3RX 0x00090802
  6650. #define GPIO_PK3_SSI3TX 0x00090C02
  6651. #define GPIO_PK4_U7RX 0x00091001
  6652. #define GPIO_PK4_RTCCLK 0x00091007
  6653. #define GPIO_PK4_C0O 0x00091008
  6654. #define GPIO_PK5_U7TX 0x00091401
  6655. #define GPIO_PK5_C1O 0x00091408
  6656. #define GPIO_PK6_WT1CCP0 0x00091807
  6657. #define GPIO_PK6_C2O 0x00091808
  6658. #define GPIO_PK7_WT1CCP1 0x00091C07
  6659. #define GPIO_PL0_T0CCP0 0x000A0007
  6660. #define GPIO_PL0_WT0CCP0 0x000A0008
  6661. #define GPIO_PL1_T0CCP1 0x000A0407
  6662. #define GPIO_PL1_WT0CCP1 0x000A0408
  6663. #define GPIO_PL2_T1CCP0 0x000A0807
  6664. #define GPIO_PL2_WT1CCP0 0x000A0808
  6665. #define GPIO_PL3_T1CCP1 0x000A0C07
  6666. #define GPIO_PL3_WT1CCP1 0x000A0C08
  6667. #define GPIO_PL4_T2CCP0 0x000A1007
  6668. #define GPIO_PL4_WT2CCP0 0x000A1008
  6669. #define GPIO_PL5_T2CCP1 0x000A1407
  6670. #define GPIO_PL5_WT2CCP1 0x000A1408
  6671. #define GPIO_PL6_T3CCP0 0x000A1807
  6672. #define GPIO_PL6_WT3CCP0 0x000A1808
  6673. #define GPIO_PL7_T3CCP1 0x000A1C07
  6674. #define GPIO_PL7_WT3CCP1 0x000A1C08
  6675. #define GPIO_PM0_T4CCP0 0x000B0007
  6676. #define GPIO_PM0_WT4CCP0 0x000B0008
  6677. #define GPIO_PM1_T4CCP1 0x000B0407
  6678. #define GPIO_PM1_WT4CCP1 0x000B0408
  6679. #define GPIO_PM2_T5CCP0 0x000B0807
  6680. #define GPIO_PM2_WT5CCP0 0x000B0808
  6681. #define GPIO_PM3_T5CCP1 0x000B0C07
  6682. #define GPIO_PM3_WT5CCP1 0x000B0C08
  6683. #define GPIO_PM6_WT0CCP0 0x000B1807
  6684. #define GPIO_PM7_WT0CCP1 0x000B1C07
  6685. #define GPIO_PN0_CAN0RX 0x000C0001
  6686. #define GPIO_PN1_CAN0TX 0x000C0401
  6687. #define GPIO_PN2_WT2CCP0 0x000C0807
  6688. #define GPIO_PN3_WT2CCP1 0x000C0C07
  6689. #define GPIO_PN4_WT3CCP0 0x000C1007
  6690. #define GPIO_PN5_WT3CCP1 0x000C1407
  6691. #define GPIO_PN6_WT4CCP0 0x000C1807
  6692. #define GPIO_PN7_WT4CCP1 0x000C1C07
  6693. #define GPIO_PP0_T4CCP0 0x000D0007
  6694. #define GPIO_PP1_T4CCP1 0x000D0407
  6695. #define GPIO_PP2_T5CCP0 0x000D0807
  6696. #endif // PART_TM4C1233H6PGE
  6697. //*****************************************************************************
  6698. //
  6699. // TM4C1237H6PGE Port/Pin Mapping Definitions
  6700. //
  6701. //*****************************************************************************
  6702. #ifdef PART_TM4C1237H6PGE
  6703. #define GPIO_PA0_U0RX 0x00000001
  6704. #define GPIO_PA1_U0TX 0x00000401
  6705. #define GPIO_PA2_SSI0CLK 0x00000802
  6706. #define GPIO_PA3_SSI0FSS 0x00000C02
  6707. #define GPIO_PA4_SSI0RX 0x00001002
  6708. #define GPIO_PA5_SSI0TX 0x00001402
  6709. #define GPIO_PA6_I2C1SCL 0x00001803
  6710. #define GPIO_PA7_I2C1SDA 0x00001C03
  6711. #define GPIO_PB0_U1RX 0x00010001
  6712. #define GPIO_PB0_T2CCP0 0x00010007
  6713. #define GPIO_PB1_U1TX 0x00010401
  6714. #define GPIO_PB1_T2CCP1 0x00010407
  6715. #define GPIO_PB2_I2C0SCL 0x00010803
  6716. #define GPIO_PB2_T3CCP0 0x00010807
  6717. #define GPIO_PB3_I2C0SDA 0x00010C03
  6718. #define GPIO_PB3_T3CCP1 0x00010C07
  6719. #define GPIO_PB4_SSI2CLK 0x00011002
  6720. #define GPIO_PB4_T1CCP0 0x00011007
  6721. #define GPIO_PB4_CAN0RX 0x00011008
  6722. #define GPIO_PB5_SSI2FSS 0x00011402
  6723. #define GPIO_PB5_T1CCP1 0x00011407
  6724. #define GPIO_PB5_CAN0TX 0x00011408
  6725. #define GPIO_PC0_TCK 0x00020001
  6726. #define GPIO_PC0_SWCLK 0x00020001
  6727. #define GPIO_PC0_T4CCP0 0x00020007
  6728. #define GPIO_PC1_TMS 0x00020401
  6729. #define GPIO_PC1_SWDIO 0x00020401
  6730. #define GPIO_PC1_T4CCP1 0x00020407
  6731. #define GPIO_PC2_TDI 0x00020801
  6732. #define GPIO_PC2_T5CCP0 0x00020807
  6733. #define GPIO_PC3_SWO 0x00020C01
  6734. #define GPIO_PC3_TDO 0x00020C01
  6735. #define GPIO_PC3_T5CCP1 0x00020C07
  6736. #define GPIO_PC4_U4RX 0x00021001
  6737. #define GPIO_PC4_U1RX 0x00021002
  6738. #define GPIO_PC4_WT0CCP0 0x00021007
  6739. #define GPIO_PC4_U1RTS 0x00021008
  6740. #define GPIO_PC5_U4TX 0x00021401
  6741. #define GPIO_PC5_U1TX 0x00021402
  6742. #define GPIO_PC5_WT0CCP1 0x00021407
  6743. #define GPIO_PC5_U1CTS 0x00021408
  6744. #define GPIO_PC6_U3RX 0x00021801
  6745. #define GPIO_PC6_WT1CCP0 0x00021807
  6746. #define GPIO_PC6_USB0EPEN 0x00021808
  6747. #define GPIO_PC7_U3TX 0x00021C01
  6748. #define GPIO_PC7_WT1CCP1 0x00021C07
  6749. #define GPIO_PC7_USB0PFLT 0x00021C08
  6750. #define GPIO_PD0_SSI3CLK 0x00030001
  6751. #define GPIO_PD0_SSI1CLK 0x00030002
  6752. #define GPIO_PD0_I2C3SCL 0x00030003
  6753. #define GPIO_PD0_WT2CCP0 0x00030007
  6754. #define GPIO_PD1_SSI3FSS 0x00030401
  6755. #define GPIO_PD1_SSI1FSS 0x00030402
  6756. #define GPIO_PD1_I2C3SDA 0x00030403
  6757. #define GPIO_PD1_WT2CCP1 0x00030407
  6758. #define GPIO_PD2_SSI3RX 0x00030801
  6759. #define GPIO_PD2_SSI1RX 0x00030802
  6760. #define GPIO_PD2_WT3CCP0 0x00030807
  6761. #define GPIO_PD2_USB0EPEN 0x00030808
  6762. #define GPIO_PD3_SSI3TX 0x00030C01
  6763. #define GPIO_PD3_SSI1TX 0x00030C02
  6764. #define GPIO_PD3_WT3CCP1 0x00030C07
  6765. #define GPIO_PD3_USB0PFLT 0x00030C08
  6766. #define GPIO_PD4_U6RX 0x00031001
  6767. #define GPIO_PD4_WT4CCP0 0x00031007
  6768. #define GPIO_PD5_U6TX 0x00031401
  6769. #define GPIO_PD5_WT4CCP1 0x00031407
  6770. #define GPIO_PD6_U2RX 0x00031801
  6771. #define GPIO_PD6_WT5CCP0 0x00031807
  6772. #define GPIO_PD7_U2TX 0x00031C01
  6773. #define GPIO_PD7_WT5CCP1 0x00031C07
  6774. #define GPIO_PD7_NMI 0x00031C08
  6775. #define GPIO_PE0_U7RX 0x00040001
  6776. #define GPIO_PE1_U7TX 0x00040401
  6777. #define GPIO_PE4_U5RX 0x00041001
  6778. #define GPIO_PE4_I2C2SCL 0x00041003
  6779. #define GPIO_PE4_CAN0RX 0x00041008
  6780. #define GPIO_PE5_U5TX 0x00041401
  6781. #define GPIO_PE5_I2C2SDA 0x00041403
  6782. #define GPIO_PE5_CAN0TX 0x00041408
  6783. #define GPIO_PE7_U1RI 0x00041C01
  6784. #define GPIO_PF0_U1RTS 0x00050001
  6785. #define GPIO_PF0_SSI1RX 0x00050002
  6786. #define GPIO_PF0_CAN0RX 0x00050003
  6787. #define GPIO_PF0_T0CCP0 0x00050007
  6788. #define GPIO_PF0_NMI 0x00050008
  6789. #define GPIO_PF0_C0O 0x00050009
  6790. #define GPIO_PF0_TRD2 0x0005000E
  6791. #define GPIO_PF1_U1CTS 0x00050401
  6792. #define GPIO_PF1_SSI1TX 0x00050402
  6793. #define GPIO_PF1_T0CCP1 0x00050407
  6794. #define GPIO_PF1_C1O 0x00050409
  6795. #define GPIO_PF1_TRD1 0x0005040E
  6796. #define GPIO_PF2_U1DCD 0x00050801
  6797. #define GPIO_PF2_SSI1CLK 0x00050802
  6798. #define GPIO_PF2_T1CCP0 0x00050807
  6799. #define GPIO_PF2_C2O 0x00050809
  6800. #define GPIO_PF2_TRD0 0x0005080E
  6801. #define GPIO_PF3_U1DSR 0x00050C01
  6802. #define GPIO_PF3_SSI1FSS 0x00050C02
  6803. #define GPIO_PF3_CAN0TX 0x00050C03
  6804. #define GPIO_PF3_T1CCP1 0x00050C07
  6805. #define GPIO_PF3_TRCLK 0x00050C0E
  6806. #define GPIO_PF4_U1DTR 0x00051001
  6807. #define GPIO_PF4_T2CCP0 0x00051007
  6808. #define GPIO_PF4_USB0EPEN 0x00051008
  6809. #define GPIO_PF4_TRD3 0x0005100E
  6810. #define GPIO_PF5_T2CCP1 0x00051407
  6811. #define GPIO_PF5_USB0PFLT 0x00051408
  6812. #define GPIO_PF6_I2C2SCL 0x00051803
  6813. #define GPIO_PF6_T3CCP0 0x00051807
  6814. #define GPIO_PF7_I2C2SDA 0x00051C03
  6815. #define GPIO_PF7_T3CCP1 0x00051C07
  6816. #define GPIO_PG0_I2C3SCL 0x00060003
  6817. #define GPIO_PG0_T4CCP0 0x00060007
  6818. #define GPIO_PG1_I2C3SDA 0x00060403
  6819. #define GPIO_PG1_T4CCP1 0x00060407
  6820. #define GPIO_PG2_I2C4SCL 0x00060803
  6821. #define GPIO_PG2_T5CCP0 0x00060807
  6822. #define GPIO_PG3_I2C4SDA 0x00060C03
  6823. #define GPIO_PG3_T5CCP1 0x00060C07
  6824. #define GPIO_PG4_U2RX 0x00061001
  6825. #define GPIO_PG4_I2C1SCL 0x00061003
  6826. #define GPIO_PG4_WT0CCP0 0x00061007
  6827. #define GPIO_PG4_USB0EPEN 0x00061008
  6828. #define GPIO_PG5_U2TX 0x00061401
  6829. #define GPIO_PG5_I2C1SDA 0x00061403
  6830. #define GPIO_PG5_WT0CCP1 0x00061407
  6831. #define GPIO_PG5_USB0PFLT 0x00061408
  6832. #define GPIO_PG6_I2C5SCL 0x00061803
  6833. #define GPIO_PG6_WT1CCP0 0x00061807
  6834. #define GPIO_PG7_I2C5SDA 0x00061C03
  6835. #define GPIO_PG7_WT1CCP1 0x00061C07
  6836. #define GPIO_PH0_SSI3CLK 0x00070002
  6837. #define GPIO_PH0_WT2CCP0 0x00070007
  6838. #define GPIO_PH1_SSI3FSS 0x00070402
  6839. #define GPIO_PH1_WT2CCP1 0x00070407
  6840. #define GPIO_PH2_SSI3RX 0x00070802
  6841. #define GPIO_PH2_WT5CCP0 0x00070807
  6842. #define GPIO_PH3_SSI3TX 0x00070C02
  6843. #define GPIO_PH3_WT5CCP1 0x00070C07
  6844. #define GPIO_PH4_SSI2CLK 0x00071002
  6845. #define GPIO_PH4_WT3CCP0 0x00071007
  6846. #define GPIO_PH5_SSI2FSS 0x00071402
  6847. #define GPIO_PH5_WT3CCP1 0x00071407
  6848. #define GPIO_PH6_SSI2RX 0x00071802
  6849. #define GPIO_PH6_WT4CCP0 0x00071807
  6850. #define GPIO_PH7_SSI2TX 0x00071C02
  6851. #define GPIO_PH7_WT4CCP1 0x00071C07
  6852. #define GPIO_PJ0_U4RX 0x00080001
  6853. #define GPIO_PJ0_T1CCP0 0x00080007
  6854. #define GPIO_PJ1_U4TX 0x00080401
  6855. #define GPIO_PJ1_T1CCP1 0x00080407
  6856. #define GPIO_PJ2_U5RX 0x00080801
  6857. #define GPIO_PJ2_T2CCP0 0x00080807
  6858. #define GPIO_PJ3_U5TX 0x00080C01
  6859. #define GPIO_PJ3_T2CCP1 0x00080C07
  6860. #define GPIO_PJ4_U6RX 0x00081001
  6861. #define GPIO_PJ4_T3CCP0 0x00081007
  6862. #define GPIO_PJ5_U6TX 0x00081401
  6863. #define GPIO_PJ5_T3CCP1 0x00081407
  6864. #define GPIO_PK0_SSI3CLK 0x00090002
  6865. #define GPIO_PK1_SSI3FSS 0x00090402
  6866. #define GPIO_PK2_SSI3RX 0x00090802
  6867. #define GPIO_PK3_SSI3TX 0x00090C02
  6868. #define GPIO_PK4_U7RX 0x00091001
  6869. #define GPIO_PK4_RTCCLK 0x00091007
  6870. #define GPIO_PK4_C0O 0x00091008
  6871. #define GPIO_PK5_U7TX 0x00091401
  6872. #define GPIO_PK5_C1O 0x00091408
  6873. #define GPIO_PK6_WT1CCP0 0x00091807
  6874. #define GPIO_PK6_C2O 0x00091808
  6875. #define GPIO_PK7_WT1CCP1 0x00091C07
  6876. #define GPIO_PL0_T0CCP0 0x000A0007
  6877. #define GPIO_PL0_WT0CCP0 0x000A0008
  6878. #define GPIO_PL1_T0CCP1 0x000A0407
  6879. #define GPIO_PL1_WT0CCP1 0x000A0408
  6880. #define GPIO_PL2_T1CCP0 0x000A0807
  6881. #define GPIO_PL2_WT1CCP0 0x000A0808
  6882. #define GPIO_PL3_T1CCP1 0x000A0C07
  6883. #define GPIO_PL3_WT1CCP1 0x000A0C08
  6884. #define GPIO_PL4_T2CCP0 0x000A1007
  6885. #define GPIO_PL4_WT2CCP0 0x000A1008
  6886. #define GPIO_PL5_T2CCP1 0x000A1407
  6887. #define GPIO_PL5_WT2CCP1 0x000A1408
  6888. #define GPIO_PL6_T3CCP0 0x000A1807
  6889. #define GPIO_PL6_WT3CCP0 0x000A1808
  6890. #define GPIO_PL7_T3CCP1 0x000A1C07
  6891. #define GPIO_PL7_WT3CCP1 0x000A1C08
  6892. #define GPIO_PM0_T4CCP0 0x000B0007
  6893. #define GPIO_PM0_WT4CCP0 0x000B0008
  6894. #define GPIO_PM1_T4CCP1 0x000B0407
  6895. #define GPIO_PM1_WT4CCP1 0x000B0408
  6896. #define GPIO_PM2_T5CCP0 0x000B0807
  6897. #define GPIO_PM2_WT5CCP0 0x000B0808
  6898. #define GPIO_PM3_T5CCP1 0x000B0C07
  6899. #define GPIO_PM3_WT5CCP1 0x000B0C08
  6900. #define GPIO_PM6_WT0CCP0 0x000B1807
  6901. #define GPIO_PM7_WT0CCP1 0x000B1C07
  6902. #define GPIO_PN0_CAN0RX 0x000C0001
  6903. #define GPIO_PN1_CAN0TX 0x000C0401
  6904. #define GPIO_PN2_WT2CCP0 0x000C0807
  6905. #define GPIO_PN3_WT2CCP1 0x000C0C07
  6906. #define GPIO_PN4_WT3CCP0 0x000C1007
  6907. #define GPIO_PN5_WT3CCP1 0x000C1407
  6908. #define GPIO_PN6_WT4CCP0 0x000C1807
  6909. #define GPIO_PN7_WT4CCP1 0x000C1C07
  6910. #define GPIO_PP0_T4CCP0 0x000D0007
  6911. #define GPIO_PP1_T4CCP1 0x000D0407
  6912. #define GPIO_PP2_T5CCP0 0x000D0807
  6913. #endif // PART_TM4C1237H6PGE
  6914. //*****************************************************************************
  6915. //
  6916. // TM4C123BH6PGE Port/Pin Mapping Definitions
  6917. //
  6918. //*****************************************************************************
  6919. #ifdef PART_TM4C123BH6PGE
  6920. #define GPIO_PA0_U0RX 0x00000001
  6921. #define GPIO_PA0_CAN1RX 0x00000008
  6922. #define GPIO_PA1_U0TX 0x00000401
  6923. #define GPIO_PA1_CAN1TX 0x00000408
  6924. #define GPIO_PA2_SSI0CLK 0x00000802
  6925. #define GPIO_PA3_SSI0FSS 0x00000C02
  6926. #define GPIO_PA4_SSI0RX 0x00001002
  6927. #define GPIO_PA5_SSI0TX 0x00001402
  6928. #define GPIO_PA6_I2C1SCL 0x00001803
  6929. #define GPIO_PA6_M1PWM2 0x00001805
  6930. #define GPIO_PA7_I2C1SDA 0x00001C03
  6931. #define GPIO_PA7_M1PWM3 0x00001C05
  6932. #define GPIO_PB0_U1RX 0x00010001
  6933. #define GPIO_PB0_T2CCP0 0x00010007
  6934. #define GPIO_PB1_U1TX 0x00010401
  6935. #define GPIO_PB1_T2CCP1 0x00010407
  6936. #define GPIO_PB2_I2C0SCL 0x00010803
  6937. #define GPIO_PB2_T3CCP0 0x00010807
  6938. #define GPIO_PB3_I2C0SDA 0x00010C03
  6939. #define GPIO_PB3_T3CCP1 0x00010C07
  6940. #define GPIO_PB4_SSI2CLK 0x00011002
  6941. #define GPIO_PB4_M0PWM2 0x00011004
  6942. #define GPIO_PB4_T1CCP0 0x00011007
  6943. #define GPIO_PB4_CAN0RX 0x00011008
  6944. #define GPIO_PB5_SSI2FSS 0x00011402
  6945. #define GPIO_PB5_M0PWM3 0x00011404
  6946. #define GPIO_PB5_T1CCP1 0x00011407
  6947. #define GPIO_PB5_CAN0TX 0x00011408
  6948. #define GPIO_PC0_TCK 0x00020001
  6949. #define GPIO_PC0_SWCLK 0x00020001
  6950. #define GPIO_PC0_T4CCP0 0x00020007
  6951. #define GPIO_PC1_TMS 0x00020401
  6952. #define GPIO_PC1_SWDIO 0x00020401
  6953. #define GPIO_PC1_T4CCP1 0x00020407
  6954. #define GPIO_PC2_TDI 0x00020801
  6955. #define GPIO_PC2_T5CCP0 0x00020807
  6956. #define GPIO_PC3_SWO 0x00020C01
  6957. #define GPIO_PC3_TDO 0x00020C01
  6958. #define GPIO_PC3_T5CCP1 0x00020C07
  6959. #define GPIO_PC4_U4RX 0x00021001
  6960. #define GPIO_PC4_U1RX 0x00021002
  6961. #define GPIO_PC4_M0PWM6 0x00021004
  6962. #define GPIO_PC4_IDX1 0x00021006
  6963. #define GPIO_PC4_WT0CCP0 0x00021007
  6964. #define GPIO_PC4_U1RTS 0x00021008
  6965. #define GPIO_PC5_U4TX 0x00021401
  6966. #define GPIO_PC5_U1TX 0x00021402
  6967. #define GPIO_PC5_M0PWM7 0x00021404
  6968. #define GPIO_PC5_PHA1 0x00021406
  6969. #define GPIO_PC5_WT0CCP1 0x00021407
  6970. #define GPIO_PC5_U1CTS 0x00021408
  6971. #define GPIO_PC6_U3RX 0x00021801
  6972. #define GPIO_PC6_PHB1 0x00021806
  6973. #define GPIO_PC6_WT1CCP0 0x00021807
  6974. #define GPIO_PC7_U3TX 0x00021C01
  6975. #define GPIO_PC7_WT1CCP1 0x00021C07
  6976. #define GPIO_PD0_SSI3CLK 0x00030001
  6977. #define GPIO_PD0_SSI1CLK 0x00030002
  6978. #define GPIO_PD0_I2C3SCL 0x00030003
  6979. #define GPIO_PD0_M0PWM6 0x00030004
  6980. #define GPIO_PD0_M1PWM0 0x00030005
  6981. #define GPIO_PD0_WT2CCP0 0x00030007
  6982. #define GPIO_PD1_SSI3FSS 0x00030401
  6983. #define GPIO_PD1_SSI1FSS 0x00030402
  6984. #define GPIO_PD1_I2C3SDA 0x00030403
  6985. #define GPIO_PD1_M0PWM7 0x00030404
  6986. #define GPIO_PD1_M1PWM1 0x00030405
  6987. #define GPIO_PD1_WT2CCP1 0x00030407
  6988. #define GPIO_PD2_SSI3RX 0x00030801
  6989. #define GPIO_PD2_SSI1RX 0x00030802
  6990. #define GPIO_PD2_M0FAULT0 0x00030804
  6991. #define GPIO_PD2_WT3CCP0 0x00030807
  6992. #define GPIO_PD3_SSI3TX 0x00030C01
  6993. #define GPIO_PD3_SSI1TX 0x00030C02
  6994. #define GPIO_PD3_IDX0 0x00030C06
  6995. #define GPIO_PD3_WT3CCP1 0x00030C07
  6996. #define GPIO_PD4_U6RX 0x00031001
  6997. #define GPIO_PD4_WT4CCP0 0x00031007
  6998. #define GPIO_PD5_U6TX 0x00031401
  6999. #define GPIO_PD5_WT4CCP1 0x00031407
  7000. #define GPIO_PD6_U2RX 0x00031801
  7001. #define GPIO_PD6_M0FAULT0 0x00031804
  7002. #define GPIO_PD6_PHA0 0x00031806
  7003. #define GPIO_PD6_WT5CCP0 0x00031807
  7004. #define GPIO_PD7_U2TX 0x00031C01
  7005. #define GPIO_PD7_M0FAULT1 0x00031C04
  7006. #define GPIO_PD7_PHB0 0x00031C06
  7007. #define GPIO_PD7_WT5CCP1 0x00031C07
  7008. #define GPIO_PD7_NMI 0x00031C08
  7009. #define GPIO_PE0_U7RX 0x00040001
  7010. #define GPIO_PE1_U7TX 0x00040401
  7011. #define GPIO_PE4_U5RX 0x00041001
  7012. #define GPIO_PE4_I2C2SCL 0x00041003
  7013. #define GPIO_PE4_M0PWM4 0x00041004
  7014. #define GPIO_PE4_M1PWM2 0x00041005
  7015. #define GPIO_PE4_CAN0RX 0x00041008
  7016. #define GPIO_PE5_U5TX 0x00041401
  7017. #define GPIO_PE5_I2C2SDA 0x00041403
  7018. #define GPIO_PE5_M0PWM5 0x00041404
  7019. #define GPIO_PE5_M1PWM3 0x00041405
  7020. #define GPIO_PE5_CAN0TX 0x00041408
  7021. #define GPIO_PE6_CAN1RX 0x00041808
  7022. #define GPIO_PE7_U1RI 0x00041C01
  7023. #define GPIO_PE7_CAN1TX 0x00041C08
  7024. #define GPIO_PF0_U1RTS 0x00050001
  7025. #define GPIO_PF0_SSI1RX 0x00050002
  7026. #define GPIO_PF0_CAN0RX 0x00050003
  7027. #define GPIO_PF0_M1PWM4 0x00050005
  7028. #define GPIO_PF0_PHA0 0x00050006
  7029. #define GPIO_PF0_T0CCP0 0x00050007
  7030. #define GPIO_PF0_NMI 0x00050008
  7031. #define GPIO_PF0_C0O 0x00050009
  7032. #define GPIO_PF0_TRD2 0x0005000E
  7033. #define GPIO_PF1_U1CTS 0x00050401
  7034. #define GPIO_PF1_SSI1TX 0x00050402
  7035. #define GPIO_PF1_M1PWM5 0x00050405
  7036. #define GPIO_PF1_PHB0 0x00050406
  7037. #define GPIO_PF1_T0CCP1 0x00050407
  7038. #define GPIO_PF1_C1O 0x00050409
  7039. #define GPIO_PF1_TRD1 0x0005040E
  7040. #define GPIO_PF2_U1DCD 0x00050801
  7041. #define GPIO_PF2_SSI1CLK 0x00050802
  7042. #define GPIO_PF2_M0FAULT0 0x00050804
  7043. #define GPIO_PF2_M1PWM6 0x00050805
  7044. #define GPIO_PF2_T1CCP0 0x00050807
  7045. #define GPIO_PF2_C2O 0x00050809
  7046. #define GPIO_PF2_TRD0 0x0005080E
  7047. #define GPIO_PF3_U1DSR 0x00050C01
  7048. #define GPIO_PF3_SSI1FSS 0x00050C02
  7049. #define GPIO_PF3_CAN0TX 0x00050C03
  7050. #define GPIO_PF3_M0FAULT1 0x00050C04
  7051. #define GPIO_PF3_M1PWM7 0x00050C05
  7052. #define GPIO_PF3_T1CCP1 0x00050C07
  7053. #define GPIO_PF3_TRCLK 0x00050C0E
  7054. #define GPIO_PF4_U1DTR 0x00051001
  7055. #define GPIO_PF4_M0FAULT2 0x00051004
  7056. #define GPIO_PF4_M1FAULT0 0x00051005
  7057. #define GPIO_PF4_IDX0 0x00051006
  7058. #define GPIO_PF4_T2CCP0 0x00051007
  7059. #define GPIO_PF4_TRD3 0x0005100E
  7060. #define GPIO_PF5_M0FAULT3 0x00051404
  7061. #define GPIO_PF5_T2CCP1 0x00051407
  7062. #define GPIO_PF6_I2C2SCL 0x00051803
  7063. #define GPIO_PF6_T3CCP0 0x00051807
  7064. #define GPIO_PF7_I2C2SDA 0x00051C03
  7065. #define GPIO_PF7_M1FAULT0 0x00051C05
  7066. #define GPIO_PF7_T3CCP1 0x00051C07
  7067. #define GPIO_PG0_I2C3SCL 0x00060003
  7068. #define GPIO_PG0_M1FAULT1 0x00060005
  7069. #define GPIO_PG0_PHA1 0x00060006
  7070. #define GPIO_PG0_T4CCP0 0x00060007
  7071. #define GPIO_PG1_I2C3SDA 0x00060403
  7072. #define GPIO_PG1_M1FAULT2 0x00060405
  7073. #define GPIO_PG1_PHB1 0x00060406
  7074. #define GPIO_PG1_T4CCP1 0x00060407
  7075. #define GPIO_PG2_I2C4SCL 0x00060803
  7076. #define GPIO_PG2_M0FAULT1 0x00060804
  7077. #define GPIO_PG2_M1PWM0 0x00060805
  7078. #define GPIO_PG2_T5CCP0 0x00060807
  7079. #define GPIO_PG3_I2C4SDA 0x00060C03
  7080. #define GPIO_PG3_M0FAULT2 0x00060C04
  7081. #define GPIO_PG3_M1PWM1 0x00060C05
  7082. #define GPIO_PG3_PHA1 0x00060C06
  7083. #define GPIO_PG3_T5CCP1 0x00060C07
  7084. #define GPIO_PG4_U2RX 0x00061001
  7085. #define GPIO_PG4_I2C1SCL 0x00061003
  7086. #define GPIO_PG4_M0PWM4 0x00061004
  7087. #define GPIO_PG4_M1PWM2 0x00061005
  7088. #define GPIO_PG4_PHB1 0x00061006
  7089. #define GPIO_PG4_WT0CCP0 0x00061007
  7090. #define GPIO_PG5_U2TX 0x00061401
  7091. #define GPIO_PG5_I2C1SDA 0x00061403
  7092. #define GPIO_PG5_M0PWM5 0x00061404
  7093. #define GPIO_PG5_M1PWM3 0x00061405
  7094. #define GPIO_PG5_IDX1 0x00061406
  7095. #define GPIO_PG5_WT0CCP1 0x00061407
  7096. #define GPIO_PG6_I2C5SCL 0x00061803
  7097. #define GPIO_PG6_M0PWM6 0x00061804
  7098. #define GPIO_PG6_WT1CCP0 0x00061807
  7099. #define GPIO_PG7_I2C5SDA 0x00061C03
  7100. #define GPIO_PG7_M0PWM7 0x00061C04
  7101. #define GPIO_PG7_IDX1 0x00061C05
  7102. #define GPIO_PG7_WT1CCP1 0x00061C07
  7103. #define GPIO_PH0_SSI3CLK 0x00070002
  7104. #define GPIO_PH0_M0PWM0 0x00070004
  7105. #define GPIO_PH0_M0FAULT0 0x00070006
  7106. #define GPIO_PH0_WT2CCP0 0x00070007
  7107. #define GPIO_PH1_SSI3FSS 0x00070402
  7108. #define GPIO_PH1_M0PWM1 0x00070404
  7109. #define GPIO_PH1_IDX0 0x00070405
  7110. #define GPIO_PH1_M0FAULT1 0x00070406
  7111. #define GPIO_PH1_WT2CCP1 0x00070407
  7112. #define GPIO_PH2_SSI3RX 0x00070802
  7113. #define GPIO_PH2_M0PWM2 0x00070804
  7114. #define GPIO_PH2_M0FAULT2 0x00070806
  7115. #define GPIO_PH2_WT5CCP0 0x00070807
  7116. #define GPIO_PH3_SSI3TX 0x00070C02
  7117. #define GPIO_PH3_M0PWM3 0x00070C04
  7118. #define GPIO_PH3_M0FAULT3 0x00070C06
  7119. #define GPIO_PH3_WT5CCP1 0x00070C07
  7120. #define GPIO_PH4_SSI2CLK 0x00071002
  7121. #define GPIO_PH4_M0PWM4 0x00071004
  7122. #define GPIO_PH4_PHA0 0x00071005
  7123. #define GPIO_PH4_WT3CCP0 0x00071007
  7124. #define GPIO_PH5_SSI2FSS 0x00071402
  7125. #define GPIO_PH5_M0PWM5 0x00071404
  7126. #define GPIO_PH5_PHB0 0x00071405
  7127. #define GPIO_PH5_WT3CCP1 0x00071407
  7128. #define GPIO_PH6_SSI2RX 0x00071802
  7129. #define GPIO_PH6_M0PWM6 0x00071804
  7130. #define GPIO_PH6_WT4CCP0 0x00071807
  7131. #define GPIO_PH7_SSI2TX 0x00071C02
  7132. #define GPIO_PH7_M0PWM7 0x00071C04
  7133. #define GPIO_PH7_WT4CCP1 0x00071C07
  7134. #define GPIO_PJ0_U4RX 0x00080001
  7135. #define GPIO_PJ0_T1CCP0 0x00080007
  7136. #define GPIO_PJ1_U4TX 0x00080401
  7137. #define GPIO_PJ1_T1CCP1 0x00080407
  7138. #define GPIO_PJ2_U5RX 0x00080801
  7139. #define GPIO_PJ2_IDX0 0x00080805
  7140. #define GPIO_PJ2_T2CCP0 0x00080807
  7141. #define GPIO_PJ3_U5TX 0x00080C01
  7142. #define GPIO_PJ3_T2CCP1 0x00080C07
  7143. #define GPIO_PJ4_U6RX 0x00081001
  7144. #define GPIO_PJ4_T3CCP0 0x00081007
  7145. #define GPIO_PJ5_U6TX 0x00081401
  7146. #define GPIO_PJ5_T3CCP1 0x00081407
  7147. #define GPIO_PK0_SSI3CLK 0x00090002
  7148. #define GPIO_PK0_M1FAULT0 0x00090006
  7149. #define GPIO_PK1_SSI3FSS 0x00090402
  7150. #define GPIO_PK1_M1FAULT1 0x00090406
  7151. #define GPIO_PK2_SSI3RX 0x00090802
  7152. #define GPIO_PK2_M1FAULT2 0x00090806
  7153. #define GPIO_PK3_SSI3TX 0x00090C02
  7154. #define GPIO_PK3_M1FAULT3 0x00090C06
  7155. #define GPIO_PK4_U7RX 0x00091001
  7156. #define GPIO_PK4_M0FAULT0 0x00091006
  7157. #define GPIO_PK4_RTCCLK 0x00091007
  7158. #define GPIO_PK4_C0O 0x00091008
  7159. #define GPIO_PK5_U7TX 0x00091401
  7160. #define GPIO_PK5_M0FAULT1 0x00091406
  7161. #define GPIO_PK5_C1O 0x00091408
  7162. #define GPIO_PK6_M0FAULT2 0x00091806
  7163. #define GPIO_PK6_WT1CCP0 0x00091807
  7164. #define GPIO_PK6_C2O 0x00091808
  7165. #define GPIO_PK7_M0FAULT3 0x00091C06
  7166. #define GPIO_PK7_WT1CCP1 0x00091C07
  7167. #define GPIO_PL0_T0CCP0 0x000A0007
  7168. #define GPIO_PL0_WT0CCP0 0x000A0008
  7169. #define GPIO_PL1_T0CCP1 0x000A0407
  7170. #define GPIO_PL1_WT0CCP1 0x000A0408
  7171. #define GPIO_PL2_T1CCP0 0x000A0807
  7172. #define GPIO_PL2_WT1CCP0 0x000A0808
  7173. #define GPIO_PL3_T1CCP1 0x000A0C07
  7174. #define GPIO_PL3_WT1CCP1 0x000A0C08
  7175. #define GPIO_PL4_T2CCP0 0x000A1007
  7176. #define GPIO_PL4_WT2CCP0 0x000A1008
  7177. #define GPIO_PL5_T2CCP1 0x000A1407
  7178. #define GPIO_PL5_WT2CCP1 0x000A1408
  7179. #define GPIO_PL6_T3CCP0 0x000A1807
  7180. #define GPIO_PL6_WT3CCP0 0x000A1808
  7181. #define GPIO_PL7_T3CCP1 0x000A1C07
  7182. #define GPIO_PL7_WT3CCP1 0x000A1C08
  7183. #define GPIO_PM0_T4CCP0 0x000B0007
  7184. #define GPIO_PM0_WT4CCP0 0x000B0008
  7185. #define GPIO_PM1_T4CCP1 0x000B0407
  7186. #define GPIO_PM1_WT4CCP1 0x000B0408
  7187. #define GPIO_PM2_T5CCP0 0x000B0807
  7188. #define GPIO_PM2_WT5CCP0 0x000B0808
  7189. #define GPIO_PM3_T5CCP1 0x000B0C07
  7190. #define GPIO_PM3_WT5CCP1 0x000B0C08
  7191. #define GPIO_PM6_M0PWM4 0x000B1802
  7192. #define GPIO_PM6_WT0CCP0 0x000B1807
  7193. #define GPIO_PM7_M0PWM5 0x000B1C02
  7194. #define GPIO_PM7_WT0CCP1 0x000B1C07
  7195. #define GPIO_PN0_CAN0RX 0x000C0001
  7196. #define GPIO_PN1_CAN0TX 0x000C0401
  7197. #define GPIO_PN2_M0PWM6 0x000C0802
  7198. #define GPIO_PN2_WT2CCP0 0x000C0807
  7199. #define GPIO_PN3_M0PWM7 0x000C0C02
  7200. #define GPIO_PN3_WT2CCP1 0x000C0C07
  7201. #define GPIO_PN4_M1PWM4 0x000C1002
  7202. #define GPIO_PN4_WT3CCP0 0x000C1007
  7203. #define GPIO_PN5_M1PWM5 0x000C1402
  7204. #define GPIO_PN5_WT3CCP1 0x000C1407
  7205. #define GPIO_PN6_M1PWM6 0x000C1802
  7206. #define GPIO_PN6_WT4CCP0 0x000C1807
  7207. #define GPIO_PN7_M1PWM7 0x000C1C02
  7208. #define GPIO_PN7_WT4CCP1 0x000C1C07
  7209. #define GPIO_PP0_M0PWM0 0x000D0001
  7210. #define GPIO_PP0_T4CCP0 0x000D0007
  7211. #define GPIO_PP1_M0PWM1 0x000D0401
  7212. #define GPIO_PP1_T4CCP1 0x000D0407
  7213. #define GPIO_PP2_M0PWM2 0x000D0801
  7214. #define GPIO_PP2_T5CCP0 0x000D0807
  7215. #endif // PART_TM4C123BH6PGE
  7216. //*****************************************************************************
  7217. //
  7218. // TM4C123BH6ZRB Port/Pin Mapping Definitions
  7219. //
  7220. //*****************************************************************************
  7221. #ifdef PART_TM4C123BH6ZRB
  7222. #define GPIO_PA0_U0RX 0x00000001
  7223. #define GPIO_PA0_CAN1RX 0x00000008
  7224. #define GPIO_PA1_U0TX 0x00000401
  7225. #define GPIO_PA1_CAN1TX 0x00000408
  7226. #define GPIO_PA2_SSI0CLK 0x00000802
  7227. #define GPIO_PA3_SSI0FSS 0x00000C02
  7228. #define GPIO_PA4_SSI0RX 0x00001002
  7229. #define GPIO_PA5_SSI0TX 0x00001402
  7230. #define GPIO_PA6_I2C1SCL 0x00001803
  7231. #define GPIO_PA6_M1PWM2 0x00001805
  7232. #define GPIO_PA7_I2C1SDA 0x00001C03
  7233. #define GPIO_PA7_M1PWM3 0x00001C05
  7234. #define GPIO_PB0_U1RX 0x00010001
  7235. #define GPIO_PB0_T2CCP0 0x00010007
  7236. #define GPIO_PB1_U1TX 0x00010401
  7237. #define GPIO_PB1_T2CCP1 0x00010407
  7238. #define GPIO_PB2_I2C0SCL 0x00010803
  7239. #define GPIO_PB2_T3CCP0 0x00010807
  7240. #define GPIO_PB3_I2C0SDA 0x00010C03
  7241. #define GPIO_PB3_T3CCP1 0x00010C07
  7242. #define GPIO_PB4_SSI2CLK 0x00011002
  7243. #define GPIO_PB4_M0PWM2 0x00011004
  7244. #define GPIO_PB4_T1CCP0 0x00011007
  7245. #define GPIO_PB4_CAN0RX 0x00011008
  7246. #define GPIO_PB5_SSI2FSS 0x00011402
  7247. #define GPIO_PB5_M0PWM3 0x00011404
  7248. #define GPIO_PB5_T1CCP1 0x00011407
  7249. #define GPIO_PB5_CAN0TX 0x00011408
  7250. #define GPIO_PB6_SSI2RX 0x00011802
  7251. #define GPIO_PB6_I2C5SCL 0x00011803
  7252. #define GPIO_PB6_M0PWM0 0x00011804
  7253. #define GPIO_PB6_T0CCP0 0x00011807
  7254. #define GPIO_PB7_SSI2TX 0x00011C02
  7255. #define GPIO_PB7_I2C5SDA 0x00011C03
  7256. #define GPIO_PB7_M0PWM1 0x00011C04
  7257. #define GPIO_PB7_T0CCP1 0x00011C07
  7258. #define GPIO_PC0_TCK 0x00020001
  7259. #define GPIO_PC0_SWCLK 0x00020001
  7260. #define GPIO_PC0_T4CCP0 0x00020007
  7261. #define GPIO_PC1_TMS 0x00020401
  7262. #define GPIO_PC1_SWDIO 0x00020401
  7263. #define GPIO_PC1_T4CCP1 0x00020407
  7264. #define GPIO_PC2_TDI 0x00020801
  7265. #define GPIO_PC2_T5CCP0 0x00020807
  7266. #define GPIO_PC3_SWO 0x00020C01
  7267. #define GPIO_PC3_TDO 0x00020C01
  7268. #define GPIO_PC3_T5CCP1 0x00020C07
  7269. #define GPIO_PC4_U4RX 0x00021001
  7270. #define GPIO_PC4_U1RX 0x00021002
  7271. #define GPIO_PC4_M0PWM6 0x00021004
  7272. #define GPIO_PC4_IDX1 0x00021006
  7273. #define GPIO_PC4_WT0CCP0 0x00021007
  7274. #define GPIO_PC4_U1RTS 0x00021008
  7275. #define GPIO_PC5_U4TX 0x00021401
  7276. #define GPIO_PC5_U1TX 0x00021402
  7277. #define GPIO_PC5_M0PWM7 0x00021404
  7278. #define GPIO_PC5_PHA1 0x00021406
  7279. #define GPIO_PC5_WT0CCP1 0x00021407
  7280. #define GPIO_PC5_U1CTS 0x00021408
  7281. #define GPIO_PC6_U3RX 0x00021801
  7282. #define GPIO_PC6_PHB1 0x00021806
  7283. #define GPIO_PC6_WT1CCP0 0x00021807
  7284. #define GPIO_PC7_U3TX 0x00021C01
  7285. #define GPIO_PC7_WT1CCP1 0x00021C07
  7286. #define GPIO_PD0_SSI3CLK 0x00030001
  7287. #define GPIO_PD0_SSI1CLK 0x00030002
  7288. #define GPIO_PD0_I2C3SCL 0x00030003
  7289. #define GPIO_PD0_M0PWM6 0x00030004
  7290. #define GPIO_PD0_M1PWM0 0x00030005
  7291. #define GPIO_PD0_WT2CCP0 0x00030007
  7292. #define GPIO_PD1_SSI3FSS 0x00030401
  7293. #define GPIO_PD1_SSI1FSS 0x00030402
  7294. #define GPIO_PD1_I2C3SDA 0x00030403
  7295. #define GPIO_PD1_M0PWM7 0x00030404
  7296. #define GPIO_PD1_M1PWM1 0x00030405
  7297. #define GPIO_PD1_WT2CCP1 0x00030407
  7298. #define GPIO_PD2_SSI3RX 0x00030801
  7299. #define GPIO_PD2_SSI1RX 0x00030802
  7300. #define GPIO_PD2_M0FAULT0 0x00030804
  7301. #define GPIO_PD2_WT3CCP0 0x00030807
  7302. #define GPIO_PD3_SSI3TX 0x00030C01
  7303. #define GPIO_PD3_SSI1TX 0x00030C02
  7304. #define GPIO_PD3_IDX0 0x00030C06
  7305. #define GPIO_PD3_WT3CCP1 0x00030C07
  7306. #define GPIO_PD4_U6RX 0x00031001
  7307. #define GPIO_PD4_WT4CCP0 0x00031007
  7308. #define GPIO_PD5_U6TX 0x00031401
  7309. #define GPIO_PD5_WT4CCP1 0x00031407
  7310. #define GPIO_PD6_U2RX 0x00031801
  7311. #define GPIO_PD6_M0FAULT0 0x00031804
  7312. #define GPIO_PD6_PHA0 0x00031806
  7313. #define GPIO_PD6_WT5CCP0 0x00031807
  7314. #define GPIO_PD7_U2TX 0x00031C01
  7315. #define GPIO_PD7_M0FAULT1 0x00031C04
  7316. #define GPIO_PD7_PHB0 0x00031C06
  7317. #define GPIO_PD7_WT5CCP1 0x00031C07
  7318. #define GPIO_PD7_NMI 0x00031C08
  7319. #define GPIO_PE0_U7RX 0x00040001
  7320. #define GPIO_PE1_U7TX 0x00040401
  7321. #define GPIO_PE4_U5RX 0x00041001
  7322. #define GPIO_PE4_I2C2SCL 0x00041003
  7323. #define GPIO_PE4_M0PWM4 0x00041004
  7324. #define GPIO_PE4_M1PWM2 0x00041005
  7325. #define GPIO_PE4_CAN0RX 0x00041008
  7326. #define GPIO_PE5_U5TX 0x00041401
  7327. #define GPIO_PE5_I2C2SDA 0x00041403
  7328. #define GPIO_PE5_M0PWM5 0x00041404
  7329. #define GPIO_PE5_M1PWM3 0x00041405
  7330. #define GPIO_PE5_CAN0TX 0x00041408
  7331. #define GPIO_PE6_CAN1RX 0x00041808
  7332. #define GPIO_PE7_U1RI 0x00041C01
  7333. #define GPIO_PE7_CAN1TX 0x00041C08
  7334. #define GPIO_PF0_U1RTS 0x00050001
  7335. #define GPIO_PF0_SSI1RX 0x00050002
  7336. #define GPIO_PF0_CAN0RX 0x00050003
  7337. #define GPIO_PF0_M1PWM4 0x00050005
  7338. #define GPIO_PF0_PHA0 0x00050006
  7339. #define GPIO_PF0_T0CCP0 0x00050007
  7340. #define GPIO_PF0_NMI 0x00050008
  7341. #define GPIO_PF0_C0O 0x00050009
  7342. #define GPIO_PF0_TRD2 0x0005000E
  7343. #define GPIO_PF1_U1CTS 0x00050401
  7344. #define GPIO_PF1_SSI1TX 0x00050402
  7345. #define GPIO_PF1_M1PWM5 0x00050405
  7346. #define GPIO_PF1_PHB0 0x00050406
  7347. #define GPIO_PF1_T0CCP1 0x00050407
  7348. #define GPIO_PF1_C1O 0x00050409
  7349. #define GPIO_PF1_TRD1 0x0005040E
  7350. #define GPIO_PF2_U1DCD 0x00050801
  7351. #define GPIO_PF2_SSI1CLK 0x00050802
  7352. #define GPIO_PF2_M0FAULT0 0x00050804
  7353. #define GPIO_PF2_M1PWM6 0x00050805
  7354. #define GPIO_PF2_T1CCP0 0x00050807
  7355. #define GPIO_PF2_C2O 0x00050809
  7356. #define GPIO_PF2_TRD0 0x0005080E
  7357. #define GPIO_PF3_U1DSR 0x00050C01
  7358. #define GPIO_PF3_SSI1FSS 0x00050C02
  7359. #define GPIO_PF3_CAN0TX 0x00050C03
  7360. #define GPIO_PF3_M0FAULT1 0x00050C04
  7361. #define GPIO_PF3_M1PWM7 0x00050C05
  7362. #define GPIO_PF3_T1CCP1 0x00050C07
  7363. #define GPIO_PF3_TRCLK 0x00050C0E
  7364. #define GPIO_PF4_U1DTR 0x00051001
  7365. #define GPIO_PF4_M0FAULT2 0x00051004
  7366. #define GPIO_PF4_M1FAULT0 0x00051005
  7367. #define GPIO_PF4_IDX0 0x00051006
  7368. #define GPIO_PF4_T2CCP0 0x00051007
  7369. #define GPIO_PF4_TRD3 0x0005100E
  7370. #define GPIO_PF5_M0FAULT3 0x00051404
  7371. #define GPIO_PF5_T2CCP1 0x00051407
  7372. #define GPIO_PF6_I2C2SCL 0x00051803
  7373. #define GPIO_PF6_T3CCP0 0x00051807
  7374. #define GPIO_PF7_I2C2SDA 0x00051C03
  7375. #define GPIO_PF7_M1FAULT0 0x00051C05
  7376. #define GPIO_PF7_T3CCP1 0x00051C07
  7377. #define GPIO_PG0_I2C3SCL 0x00060003
  7378. #define GPIO_PG0_M1FAULT1 0x00060005
  7379. #define GPIO_PG0_PHA1 0x00060006
  7380. #define GPIO_PG0_T4CCP0 0x00060007
  7381. #define GPIO_PG1_I2C3SDA 0x00060403
  7382. #define GPIO_PG1_M1FAULT2 0x00060405
  7383. #define GPIO_PG1_PHB1 0x00060406
  7384. #define GPIO_PG1_T4CCP1 0x00060407
  7385. #define GPIO_PG2_I2C4SCL 0x00060803
  7386. #define GPIO_PG2_M0FAULT1 0x00060804
  7387. #define GPIO_PG2_M1PWM0 0x00060805
  7388. #define GPIO_PG2_T5CCP0 0x00060807
  7389. #define GPIO_PG3_I2C4SDA 0x00060C03
  7390. #define GPIO_PG3_M0FAULT2 0x00060C04
  7391. #define GPIO_PG3_M1PWM1 0x00060C05
  7392. #define GPIO_PG3_PHA1 0x00060C06
  7393. #define GPIO_PG3_T5CCP1 0x00060C07
  7394. #define GPIO_PG4_U2RX 0x00061001
  7395. #define GPIO_PG4_I2C1SCL 0x00061003
  7396. #define GPIO_PG4_M0PWM4 0x00061004
  7397. #define GPIO_PG4_M1PWM2 0x00061005
  7398. #define GPIO_PG4_PHB1 0x00061006
  7399. #define GPIO_PG4_WT0CCP0 0x00061007
  7400. #define GPIO_PG5_U2TX 0x00061401
  7401. #define GPIO_PG5_I2C1SDA 0x00061403
  7402. #define GPIO_PG5_M0PWM5 0x00061404
  7403. #define GPIO_PG5_M1PWM3 0x00061405
  7404. #define GPIO_PG5_IDX1 0x00061406
  7405. #define GPIO_PG5_WT0CCP1 0x00061407
  7406. #define GPIO_PG6_I2C5SCL 0x00061803
  7407. #define GPIO_PG6_M0PWM6 0x00061804
  7408. #define GPIO_PG6_WT1CCP0 0x00061807
  7409. #define GPIO_PG7_I2C5SDA 0x00061C03
  7410. #define GPIO_PG7_M0PWM7 0x00061C04
  7411. #define GPIO_PG7_IDX1 0x00061C05
  7412. #define GPIO_PG7_WT1CCP1 0x00061C07
  7413. #define GPIO_PH0_SSI3CLK 0x00070002
  7414. #define GPIO_PH0_M0PWM0 0x00070004
  7415. #define GPIO_PH0_M0FAULT0 0x00070006
  7416. #define GPIO_PH0_WT2CCP0 0x00070007
  7417. #define GPIO_PH1_SSI3FSS 0x00070402
  7418. #define GPIO_PH1_M0PWM1 0x00070404
  7419. #define GPIO_PH1_IDX0 0x00070405
  7420. #define GPIO_PH1_M0FAULT1 0x00070406
  7421. #define GPIO_PH1_WT2CCP1 0x00070407
  7422. #define GPIO_PH2_SSI3RX 0x00070802
  7423. #define GPIO_PH2_M0PWM2 0x00070804
  7424. #define GPIO_PH2_M0FAULT2 0x00070806
  7425. #define GPIO_PH2_WT5CCP0 0x00070807
  7426. #define GPIO_PH3_SSI3TX 0x00070C02
  7427. #define GPIO_PH3_M0PWM3 0x00070C04
  7428. #define GPIO_PH3_M0FAULT3 0x00070C06
  7429. #define GPIO_PH3_WT5CCP1 0x00070C07
  7430. #define GPIO_PH4_SSI2CLK 0x00071002
  7431. #define GPIO_PH4_M0PWM4 0x00071004
  7432. #define GPIO_PH4_PHA0 0x00071005
  7433. #define GPIO_PH4_WT3CCP0 0x00071007
  7434. #define GPIO_PH5_SSI2FSS 0x00071402
  7435. #define GPIO_PH5_M0PWM5 0x00071404
  7436. #define GPIO_PH5_PHB0 0x00071405
  7437. #define GPIO_PH5_WT3CCP1 0x00071407
  7438. #define GPIO_PH6_SSI2RX 0x00071802
  7439. #define GPIO_PH6_M0PWM6 0x00071804
  7440. #define GPIO_PH6_WT4CCP0 0x00071807
  7441. #define GPIO_PH7_SSI2TX 0x00071C02
  7442. #define GPIO_PH7_M0PWM7 0x00071C04
  7443. #define GPIO_PH7_WT4CCP1 0x00071C07
  7444. #define GPIO_PJ0_U4RX 0x00080001
  7445. #define GPIO_PJ0_T1CCP0 0x00080007
  7446. #define GPIO_PJ1_U4TX 0x00080401
  7447. #define GPIO_PJ1_T1CCP1 0x00080407
  7448. #define GPIO_PJ2_U5RX 0x00080801
  7449. #define GPIO_PJ2_IDX0 0x00080805
  7450. #define GPIO_PJ2_T2CCP0 0x00080807
  7451. #define GPIO_PJ3_U5TX 0x00080C01
  7452. #define GPIO_PJ3_T2CCP1 0x00080C07
  7453. #define GPIO_PJ4_U6RX 0x00081001
  7454. #define GPIO_PJ4_T3CCP0 0x00081007
  7455. #define GPIO_PJ5_U6TX 0x00081401
  7456. #define GPIO_PJ5_T3CCP1 0x00081407
  7457. #define GPIO_PK0_SSI3CLK 0x00090002
  7458. #define GPIO_PK0_M1FAULT0 0x00090006
  7459. #define GPIO_PK1_SSI3FSS 0x00090402
  7460. #define GPIO_PK1_M1FAULT1 0x00090406
  7461. #define GPIO_PK2_SSI3RX 0x00090802
  7462. #define GPIO_PK2_M1FAULT2 0x00090806
  7463. #define GPIO_PK3_SSI3TX 0x00090C02
  7464. #define GPIO_PK3_M1FAULT3 0x00090C06
  7465. #define GPIO_PK4_U7RX 0x00091001
  7466. #define GPIO_PK4_M0FAULT0 0x00091006
  7467. #define GPIO_PK4_RTCCLK 0x00091007
  7468. #define GPIO_PK4_C0O 0x00091008
  7469. #define GPIO_PK5_U7TX 0x00091401
  7470. #define GPIO_PK5_M0FAULT1 0x00091406
  7471. #define GPIO_PK5_C1O 0x00091408
  7472. #define GPIO_PK6_M0FAULT2 0x00091806
  7473. #define GPIO_PK6_WT1CCP0 0x00091807
  7474. #define GPIO_PK6_C2O 0x00091808
  7475. #define GPIO_PK7_M0FAULT3 0x00091C06
  7476. #define GPIO_PK7_WT1CCP1 0x00091C07
  7477. #define GPIO_PL0_T0CCP0 0x000A0007
  7478. #define GPIO_PL0_WT0CCP0 0x000A0008
  7479. #define GPIO_PL1_T0CCP1 0x000A0407
  7480. #define GPIO_PL1_WT0CCP1 0x000A0408
  7481. #define GPIO_PL2_T1CCP0 0x000A0807
  7482. #define GPIO_PL2_WT1CCP0 0x000A0808
  7483. #define GPIO_PL3_T1CCP1 0x000A0C07
  7484. #define GPIO_PL3_WT1CCP1 0x000A0C08
  7485. #define GPIO_PL4_T2CCP0 0x000A1007
  7486. #define GPIO_PL4_WT2CCP0 0x000A1008
  7487. #define GPIO_PL5_T2CCP1 0x000A1407
  7488. #define GPIO_PL5_WT2CCP1 0x000A1408
  7489. #define GPIO_PL6_T3CCP0 0x000A1807
  7490. #define GPIO_PL6_WT3CCP0 0x000A1808
  7491. #define GPIO_PL7_T3CCP1 0x000A1C07
  7492. #define GPIO_PL7_WT3CCP1 0x000A1C08
  7493. #define GPIO_PM0_T4CCP0 0x000B0007
  7494. #define GPIO_PM0_WT4CCP0 0x000B0008
  7495. #define GPIO_PM1_T4CCP1 0x000B0407
  7496. #define GPIO_PM1_WT4CCP1 0x000B0408
  7497. #define GPIO_PM2_T5CCP0 0x000B0807
  7498. #define GPIO_PM2_WT5CCP0 0x000B0808
  7499. #define GPIO_PM3_T5CCP1 0x000B0C07
  7500. #define GPIO_PM3_WT5CCP1 0x000B0C08
  7501. #define GPIO_PM6_M0PWM4 0x000B1802
  7502. #define GPIO_PM6_WT0CCP0 0x000B1807
  7503. #define GPIO_PM7_M0PWM5 0x000B1C02
  7504. #define GPIO_PM7_WT0CCP1 0x000B1C07
  7505. #define GPIO_PN0_CAN0RX 0x000C0001
  7506. #define GPIO_PN1_CAN0TX 0x000C0401
  7507. #define GPIO_PN2_M0PWM6 0x000C0802
  7508. #define GPIO_PN2_WT2CCP0 0x000C0807
  7509. #define GPIO_PN3_M0PWM7 0x000C0C02
  7510. #define GPIO_PN3_WT2CCP1 0x000C0C07
  7511. #define GPIO_PN4_M1PWM4 0x000C1002
  7512. #define GPIO_PN4_WT3CCP0 0x000C1007
  7513. #define GPIO_PN5_M1PWM5 0x000C1402
  7514. #define GPIO_PN5_WT3CCP1 0x000C1407
  7515. #define GPIO_PN6_M1PWM6 0x000C1802
  7516. #define GPIO_PN6_WT4CCP0 0x000C1807
  7517. #define GPIO_PN7_M1PWM7 0x000C1C02
  7518. #define GPIO_PN7_WT4CCP1 0x000C1C07
  7519. #define GPIO_PP0_M0PWM0 0x000D0001
  7520. #define GPIO_PP0_T4CCP0 0x000D0007
  7521. #define GPIO_PP1_M0PWM1 0x000D0401
  7522. #define GPIO_PP1_T4CCP1 0x000D0407
  7523. #define GPIO_PP2_M0PWM2 0x000D0801
  7524. #define GPIO_PP2_T5CCP0 0x000D0807
  7525. #define GPIO_PP3_M0PWM3 0x000D0C01
  7526. #define GPIO_PP3_T5CCP1 0x000D0C07
  7527. #define GPIO_PP4_M0PWM4 0x000D1001
  7528. #define GPIO_PP4_WT0CCP0 0x000D1007
  7529. #define GPIO_PP5_M0PWM5 0x000D1401
  7530. #define GPIO_PP5_WT0CCP1 0x000D1407
  7531. #define GPIO_PP6_M0PWM6 0x000D1801
  7532. #define GPIO_PP6_WT1CCP0 0x000D1807
  7533. #define GPIO_PP7_M0PWM7 0x000D1C01
  7534. #define GPIO_PP7_WT1CCP1 0x000D1C07
  7535. #define GPIO_PQ0_M1PWM0 0x000E0001
  7536. #define GPIO_PQ0_WT2CCP0 0x000E0007
  7537. #define GPIO_PQ1_M1PWM1 0x000E0401
  7538. #define GPIO_PQ1_WT2CCP1 0x000E0407
  7539. #define GPIO_PQ2_M1PWM2 0x000E0801
  7540. #define GPIO_PQ2_WT3CCP0 0x000E0807
  7541. #define GPIO_PQ3_M1PWM3 0x000E0C01
  7542. #define GPIO_PQ3_WT3CCP1 0x000E0C07
  7543. #define GPIO_PQ4_M1PWM4 0x000E1001
  7544. #define GPIO_PQ4_WT4CCP0 0x000E1007
  7545. #define GPIO_PQ5_M1PWM5 0x000E1401
  7546. #define GPIO_PQ5_WT4CCP1 0x000E1407
  7547. #define GPIO_PQ6_M1PWM6 0x000E1801
  7548. #define GPIO_PQ6_WT5CCP0 0x000E1807
  7549. #define GPIO_PQ7_M1PWM7 0x000E1C01
  7550. #define GPIO_PQ7_WT5CCP1 0x000E1C07
  7551. #endif // PART_TM4C123BH6ZRB
  7552. //*****************************************************************************
  7553. //
  7554. // TM4C123GH6PGE Port/Pin Mapping Definitions
  7555. //
  7556. //*****************************************************************************
  7557. #ifdef PART_TM4C123GH6PGE
  7558. #define GPIO_PA0_U0RX 0x00000001
  7559. #define GPIO_PA0_CAN1RX 0x00000008
  7560. #define GPIO_PA1_U0TX 0x00000401
  7561. #define GPIO_PA1_CAN1TX 0x00000408
  7562. #define GPIO_PA2_SSI0CLK 0x00000802
  7563. #define GPIO_PA3_SSI0FSS 0x00000C02
  7564. #define GPIO_PA4_SSI0RX 0x00001002
  7565. #define GPIO_PA5_SSI0TX 0x00001402
  7566. #define GPIO_PA6_I2C1SCL 0x00001803
  7567. #define GPIO_PA6_M1PWM2 0x00001805
  7568. #define GPIO_PA7_I2C1SDA 0x00001C03
  7569. #define GPIO_PA7_M1PWM3 0x00001C05
  7570. #define GPIO_PB0_U1RX 0x00010001
  7571. #define GPIO_PB0_T2CCP0 0x00010007
  7572. #define GPIO_PB1_U1TX 0x00010401
  7573. #define GPIO_PB1_T2CCP1 0x00010407
  7574. #define GPIO_PB2_I2C0SCL 0x00010803
  7575. #define GPIO_PB2_T3CCP0 0x00010807
  7576. #define GPIO_PB3_I2C0SDA 0x00010C03
  7577. #define GPIO_PB3_T3CCP1 0x00010C07
  7578. #define GPIO_PB4_SSI2CLK 0x00011002
  7579. #define GPIO_PB4_M0PWM2 0x00011004
  7580. #define GPIO_PB4_T1CCP0 0x00011007
  7581. #define GPIO_PB4_CAN0RX 0x00011008
  7582. #define GPIO_PB5_SSI2FSS 0x00011402
  7583. #define GPIO_PB5_M0PWM3 0x00011404
  7584. #define GPIO_PB5_T1CCP1 0x00011407
  7585. #define GPIO_PB5_CAN0TX 0x00011408
  7586. #define GPIO_PC0_TCK 0x00020001
  7587. #define GPIO_PC0_SWCLK 0x00020001
  7588. #define GPIO_PC0_T4CCP0 0x00020007
  7589. #define GPIO_PC1_TMS 0x00020401
  7590. #define GPIO_PC1_SWDIO 0x00020401
  7591. #define GPIO_PC1_T4CCP1 0x00020407
  7592. #define GPIO_PC2_TDI 0x00020801
  7593. #define GPIO_PC2_T5CCP0 0x00020807
  7594. #define GPIO_PC3_SWO 0x00020C01
  7595. #define GPIO_PC3_TDO 0x00020C01
  7596. #define GPIO_PC3_T5CCP1 0x00020C07
  7597. #define GPIO_PC4_U4RX 0x00021001
  7598. #define GPIO_PC4_U1RX 0x00021002
  7599. #define GPIO_PC4_M0PWM6 0x00021004
  7600. #define GPIO_PC4_IDX1 0x00021006
  7601. #define GPIO_PC4_WT0CCP0 0x00021007
  7602. #define GPIO_PC4_U1RTS 0x00021008
  7603. #define GPIO_PC5_U4TX 0x00021401
  7604. #define GPIO_PC5_U1TX 0x00021402
  7605. #define GPIO_PC5_M0PWM7 0x00021404
  7606. #define GPIO_PC5_PHA1 0x00021406
  7607. #define GPIO_PC5_WT0CCP1 0x00021407
  7608. #define GPIO_PC5_U1CTS 0x00021408
  7609. #define GPIO_PC6_U3RX 0x00021801
  7610. #define GPIO_PC6_PHB1 0x00021806
  7611. #define GPIO_PC6_WT1CCP0 0x00021807
  7612. #define GPIO_PC6_USB0EPEN 0x00021808
  7613. #define GPIO_PC7_U3TX 0x00021C01
  7614. #define GPIO_PC7_WT1CCP1 0x00021C07
  7615. #define GPIO_PC7_USB0PFLT 0x00021C08
  7616. #define GPIO_PD0_SSI3CLK 0x00030001
  7617. #define GPIO_PD0_SSI1CLK 0x00030002
  7618. #define GPIO_PD0_I2C3SCL 0x00030003
  7619. #define GPIO_PD0_M0PWM6 0x00030004
  7620. #define GPIO_PD0_M1PWM0 0x00030005
  7621. #define GPIO_PD0_WT2CCP0 0x00030007
  7622. #define GPIO_PD1_SSI3FSS 0x00030401
  7623. #define GPIO_PD1_SSI1FSS 0x00030402
  7624. #define GPIO_PD1_I2C3SDA 0x00030403
  7625. #define GPIO_PD1_M0PWM7 0x00030404
  7626. #define GPIO_PD1_M1PWM1 0x00030405
  7627. #define GPIO_PD1_WT2CCP1 0x00030407
  7628. #define GPIO_PD2_SSI3RX 0x00030801
  7629. #define GPIO_PD2_SSI1RX 0x00030802
  7630. #define GPIO_PD2_M0FAULT0 0x00030804
  7631. #define GPIO_PD2_WT3CCP0 0x00030807
  7632. #define GPIO_PD2_USB0EPEN 0x00030808
  7633. #define GPIO_PD3_SSI3TX 0x00030C01
  7634. #define GPIO_PD3_SSI1TX 0x00030C02
  7635. #define GPIO_PD3_IDX0 0x00030C06
  7636. #define GPIO_PD3_WT3CCP1 0x00030C07
  7637. #define GPIO_PD3_USB0PFLT 0x00030C08
  7638. #define GPIO_PD4_U6RX 0x00031001
  7639. #define GPIO_PD4_WT4CCP0 0x00031007
  7640. #define GPIO_PD5_U6TX 0x00031401
  7641. #define GPIO_PD5_WT4CCP1 0x00031407
  7642. #define GPIO_PD6_U2RX 0x00031801
  7643. #define GPIO_PD6_M0FAULT0 0x00031804
  7644. #define GPIO_PD6_PHA0 0x00031806
  7645. #define GPIO_PD6_WT5CCP0 0x00031807
  7646. #define GPIO_PD7_U2TX 0x00031C01
  7647. #define GPIO_PD7_M0FAULT1 0x00031C04
  7648. #define GPIO_PD7_PHB0 0x00031C06
  7649. #define GPIO_PD7_WT5CCP1 0x00031C07
  7650. #define GPIO_PD7_NMI 0x00031C08
  7651. #define GPIO_PE0_U7RX 0x00040001
  7652. #define GPIO_PE1_U7TX 0x00040401
  7653. #define GPIO_PE4_U5RX 0x00041001
  7654. #define GPIO_PE4_I2C2SCL 0x00041003
  7655. #define GPIO_PE4_M0PWM4 0x00041004
  7656. #define GPIO_PE4_M1PWM2 0x00041005
  7657. #define GPIO_PE4_CAN0RX 0x00041008
  7658. #define GPIO_PE5_U5TX 0x00041401
  7659. #define GPIO_PE5_I2C2SDA 0x00041403
  7660. #define GPIO_PE5_M0PWM5 0x00041404
  7661. #define GPIO_PE5_M1PWM3 0x00041405
  7662. #define GPIO_PE5_CAN0TX 0x00041408
  7663. #define GPIO_PE6_CAN1RX 0x00041808
  7664. #define GPIO_PE7_U1RI 0x00041C01
  7665. #define GPIO_PE7_CAN1TX 0x00041C08
  7666. #define GPIO_PF0_U1RTS 0x00050001
  7667. #define GPIO_PF0_SSI1RX 0x00050002
  7668. #define GPIO_PF0_CAN0RX 0x00050003
  7669. #define GPIO_PF0_M1PWM4 0x00050005
  7670. #define GPIO_PF0_PHA0 0x00050006
  7671. #define GPIO_PF0_T0CCP0 0x00050007
  7672. #define GPIO_PF0_NMI 0x00050008
  7673. #define GPIO_PF0_C0O 0x00050009
  7674. #define GPIO_PF0_TRD2 0x0005000E
  7675. #define GPIO_PF1_U1CTS 0x00050401
  7676. #define GPIO_PF1_SSI1TX 0x00050402
  7677. #define GPIO_PF1_M1PWM5 0x00050405
  7678. #define GPIO_PF1_PHB0 0x00050406
  7679. #define GPIO_PF1_T0CCP1 0x00050407
  7680. #define GPIO_PF1_C1O 0x00050409
  7681. #define GPIO_PF1_TRD1 0x0005040E
  7682. #define GPIO_PF2_U1DCD 0x00050801
  7683. #define GPIO_PF2_SSI1CLK 0x00050802
  7684. #define GPIO_PF2_M0FAULT0 0x00050804
  7685. #define GPIO_PF2_M1PWM6 0x00050805
  7686. #define GPIO_PF2_T1CCP0 0x00050807
  7687. #define GPIO_PF2_C2O 0x00050809
  7688. #define GPIO_PF2_TRD0 0x0005080E
  7689. #define GPIO_PF3_U1DSR 0x00050C01
  7690. #define GPIO_PF3_SSI1FSS 0x00050C02
  7691. #define GPIO_PF3_CAN0TX 0x00050C03
  7692. #define GPIO_PF3_M0FAULT1 0x00050C04
  7693. #define GPIO_PF3_M1PWM7 0x00050C05
  7694. #define GPIO_PF3_T1CCP1 0x00050C07
  7695. #define GPIO_PF3_TRCLK 0x00050C0E
  7696. #define GPIO_PF4_U1DTR 0x00051001
  7697. #define GPIO_PF4_M0FAULT2 0x00051004
  7698. #define GPIO_PF4_M1FAULT0 0x00051005
  7699. #define GPIO_PF4_IDX0 0x00051006
  7700. #define GPIO_PF4_T2CCP0 0x00051007
  7701. #define GPIO_PF4_USB0EPEN 0x00051008
  7702. #define GPIO_PF4_TRD3 0x0005100E
  7703. #define GPIO_PF5_M0FAULT3 0x00051404
  7704. #define GPIO_PF5_T2CCP1 0x00051407
  7705. #define GPIO_PF5_USB0PFLT 0x00051408
  7706. #define GPIO_PF6_I2C2SCL 0x00051803
  7707. #define GPIO_PF6_T3CCP0 0x00051807
  7708. #define GPIO_PF7_I2C2SDA 0x00051C03
  7709. #define GPIO_PF7_M1FAULT0 0x00051C05
  7710. #define GPIO_PF7_T3CCP1 0x00051C07
  7711. #define GPIO_PG0_I2C3SCL 0x00060003
  7712. #define GPIO_PG0_M1FAULT1 0x00060005
  7713. #define GPIO_PG0_PHA1 0x00060006
  7714. #define GPIO_PG0_T4CCP0 0x00060007
  7715. #define GPIO_PG1_I2C3SDA 0x00060403
  7716. #define GPIO_PG1_M1FAULT2 0x00060405
  7717. #define GPIO_PG1_PHB1 0x00060406
  7718. #define GPIO_PG1_T4CCP1 0x00060407
  7719. #define GPIO_PG2_I2C4SCL 0x00060803
  7720. #define GPIO_PG2_M0FAULT1 0x00060804
  7721. #define GPIO_PG2_M1PWM0 0x00060805
  7722. #define GPIO_PG2_T5CCP0 0x00060807
  7723. #define GPIO_PG3_I2C4SDA 0x00060C03
  7724. #define GPIO_PG3_M0FAULT2 0x00060C04
  7725. #define GPIO_PG3_M1PWM1 0x00060C05
  7726. #define GPIO_PG3_PHA1 0x00060C06
  7727. #define GPIO_PG3_T5CCP1 0x00060C07
  7728. #define GPIO_PG4_U2RX 0x00061001
  7729. #define GPIO_PG4_I2C1SCL 0x00061003
  7730. #define GPIO_PG4_M0PWM4 0x00061004
  7731. #define GPIO_PG4_M1PWM2 0x00061005
  7732. #define GPIO_PG4_PHB1 0x00061006
  7733. #define GPIO_PG4_WT0CCP0 0x00061007
  7734. #define GPIO_PG4_USB0EPEN 0x00061008
  7735. #define GPIO_PG5_U2TX 0x00061401
  7736. #define GPIO_PG5_I2C1SDA 0x00061403
  7737. #define GPIO_PG5_M0PWM5 0x00061404
  7738. #define GPIO_PG5_M1PWM3 0x00061405
  7739. #define GPIO_PG5_IDX1 0x00061406
  7740. #define GPIO_PG5_WT0CCP1 0x00061407
  7741. #define GPIO_PG5_USB0PFLT 0x00061408
  7742. #define GPIO_PG6_I2C5SCL 0x00061803
  7743. #define GPIO_PG6_M0PWM6 0x00061804
  7744. #define GPIO_PG6_WT1CCP0 0x00061807
  7745. #define GPIO_PG7_I2C5SDA 0x00061C03
  7746. #define GPIO_PG7_M0PWM7 0x00061C04
  7747. #define GPIO_PG7_IDX1 0x00061C05
  7748. #define GPIO_PG7_WT1CCP1 0x00061C07
  7749. #define GPIO_PH0_SSI3CLK 0x00070002
  7750. #define GPIO_PH0_M0PWM0 0x00070004
  7751. #define GPIO_PH0_M0FAULT0 0x00070006
  7752. #define GPIO_PH0_WT2CCP0 0x00070007
  7753. #define GPIO_PH1_SSI3FSS 0x00070402
  7754. #define GPIO_PH1_M0PWM1 0x00070404
  7755. #define GPIO_PH1_IDX0 0x00070405
  7756. #define GPIO_PH1_M0FAULT1 0x00070406
  7757. #define GPIO_PH1_WT2CCP1 0x00070407
  7758. #define GPIO_PH2_SSI3RX 0x00070802
  7759. #define GPIO_PH2_M0PWM2 0x00070804
  7760. #define GPIO_PH2_M0FAULT2 0x00070806
  7761. #define GPIO_PH2_WT5CCP0 0x00070807
  7762. #define GPIO_PH3_SSI3TX 0x00070C02
  7763. #define GPIO_PH3_M0PWM3 0x00070C04
  7764. #define GPIO_PH3_M0FAULT3 0x00070C06
  7765. #define GPIO_PH3_WT5CCP1 0x00070C07
  7766. #define GPIO_PH4_SSI2CLK 0x00071002
  7767. #define GPIO_PH4_M0PWM4 0x00071004
  7768. #define GPIO_PH4_PHA0 0x00071005
  7769. #define GPIO_PH4_WT3CCP0 0x00071007
  7770. #define GPIO_PH5_SSI2FSS 0x00071402
  7771. #define GPIO_PH5_M0PWM5 0x00071404
  7772. #define GPIO_PH5_PHB0 0x00071405
  7773. #define GPIO_PH5_WT3CCP1 0x00071407
  7774. #define GPIO_PH6_SSI2RX 0x00071802
  7775. #define GPIO_PH6_M0PWM6 0x00071804
  7776. #define GPIO_PH6_WT4CCP0 0x00071807
  7777. #define GPIO_PH7_SSI2TX 0x00071C02
  7778. #define GPIO_PH7_M0PWM7 0x00071C04
  7779. #define GPIO_PH7_WT4CCP1 0x00071C07
  7780. #define GPIO_PJ0_U4RX 0x00080001
  7781. #define GPIO_PJ0_T1CCP0 0x00080007
  7782. #define GPIO_PJ1_U4TX 0x00080401
  7783. #define GPIO_PJ1_T1CCP1 0x00080407
  7784. #define GPIO_PJ2_U5RX 0x00080801
  7785. #define GPIO_PJ2_IDX0 0x00080805
  7786. #define GPIO_PJ2_T2CCP0 0x00080807
  7787. #define GPIO_PJ3_U5TX 0x00080C01
  7788. #define GPIO_PJ3_T2CCP1 0x00080C07
  7789. #define GPIO_PJ4_U6RX 0x00081001
  7790. #define GPIO_PJ4_T3CCP0 0x00081007
  7791. #define GPIO_PJ5_U6TX 0x00081401
  7792. #define GPIO_PJ5_T3CCP1 0x00081407
  7793. #define GPIO_PK0_SSI3CLK 0x00090002
  7794. #define GPIO_PK0_M1FAULT0 0x00090006
  7795. #define GPIO_PK1_SSI3FSS 0x00090402
  7796. #define GPIO_PK1_M1FAULT1 0x00090406
  7797. #define GPIO_PK2_SSI3RX 0x00090802
  7798. #define GPIO_PK2_M1FAULT2 0x00090806
  7799. #define GPIO_PK3_SSI3TX 0x00090C02
  7800. #define GPIO_PK3_M1FAULT3 0x00090C06
  7801. #define GPIO_PK4_U7RX 0x00091001
  7802. #define GPIO_PK4_M0FAULT0 0x00091006
  7803. #define GPIO_PK4_RTCCLK 0x00091007
  7804. #define GPIO_PK4_C0O 0x00091008
  7805. #define GPIO_PK5_U7TX 0x00091401
  7806. #define GPIO_PK5_M0FAULT1 0x00091406
  7807. #define GPIO_PK5_C1O 0x00091408
  7808. #define GPIO_PK6_M0FAULT2 0x00091806
  7809. #define GPIO_PK6_WT1CCP0 0x00091807
  7810. #define GPIO_PK6_C2O 0x00091808
  7811. #define GPIO_PK7_M0FAULT3 0x00091C06
  7812. #define GPIO_PK7_WT1CCP1 0x00091C07
  7813. #define GPIO_PL0_T0CCP0 0x000A0007
  7814. #define GPIO_PL0_WT0CCP0 0x000A0008
  7815. #define GPIO_PL1_T0CCP1 0x000A0407
  7816. #define GPIO_PL1_WT0CCP1 0x000A0408
  7817. #define GPIO_PL2_T1CCP0 0x000A0807
  7818. #define GPIO_PL2_WT1CCP0 0x000A0808
  7819. #define GPIO_PL3_T1CCP1 0x000A0C07
  7820. #define GPIO_PL3_WT1CCP1 0x000A0C08
  7821. #define GPIO_PL4_T2CCP0 0x000A1007
  7822. #define GPIO_PL4_WT2CCP0 0x000A1008
  7823. #define GPIO_PL5_T2CCP1 0x000A1407
  7824. #define GPIO_PL5_WT2CCP1 0x000A1408
  7825. #define GPIO_PL6_T3CCP0 0x000A1807
  7826. #define GPIO_PL6_WT3CCP0 0x000A1808
  7827. #define GPIO_PL7_T3CCP1 0x000A1C07
  7828. #define GPIO_PL7_WT3CCP1 0x000A1C08
  7829. #define GPIO_PM0_T4CCP0 0x000B0007
  7830. #define GPIO_PM0_WT4CCP0 0x000B0008
  7831. #define GPIO_PM1_T4CCP1 0x000B0407
  7832. #define GPIO_PM1_WT4CCP1 0x000B0408
  7833. #define GPIO_PM2_T5CCP0 0x000B0807
  7834. #define GPIO_PM2_WT5CCP0 0x000B0808
  7835. #define GPIO_PM3_T5CCP1 0x000B0C07
  7836. #define GPIO_PM3_WT5CCP1 0x000B0C08
  7837. #define GPIO_PM6_M0PWM4 0x000B1802
  7838. #define GPIO_PM6_WT0CCP0 0x000B1807
  7839. #define GPIO_PM7_M0PWM5 0x000B1C02
  7840. #define GPIO_PM7_WT0CCP1 0x000B1C07
  7841. #define GPIO_PN0_CAN0RX 0x000C0001
  7842. #define GPIO_PN1_CAN0TX 0x000C0401
  7843. #define GPIO_PN2_M0PWM6 0x000C0802
  7844. #define GPIO_PN2_WT2CCP0 0x000C0807
  7845. #define GPIO_PN3_M0PWM7 0x000C0C02
  7846. #define GPIO_PN3_WT2CCP1 0x000C0C07
  7847. #define GPIO_PN4_M1PWM4 0x000C1002
  7848. #define GPIO_PN4_WT3CCP0 0x000C1007
  7849. #define GPIO_PN5_M1PWM5 0x000C1402
  7850. #define GPIO_PN5_WT3CCP1 0x000C1407
  7851. #define GPIO_PN6_M1PWM6 0x000C1802
  7852. #define GPIO_PN6_WT4CCP0 0x000C1807
  7853. #define GPIO_PN7_M1PWM7 0x000C1C02
  7854. #define GPIO_PN7_WT4CCP1 0x000C1C07
  7855. #define GPIO_PP0_M0PWM0 0x000D0001
  7856. #define GPIO_PP0_T4CCP0 0x000D0007
  7857. #define GPIO_PP1_M0PWM1 0x000D0401
  7858. #define GPIO_PP1_T4CCP1 0x000D0407
  7859. #define GPIO_PP2_M0PWM2 0x000D0801
  7860. #define GPIO_PP2_T5CCP0 0x000D0807
  7861. #endif // PART_TM4C123GH6PGE
  7862. //*****************************************************************************
  7863. //
  7864. // TM4C123GH6ZRB Port/Pin Mapping Definitions
  7865. //
  7866. //*****************************************************************************
  7867. #ifdef PART_TM4C123GH6ZRB
  7868. #define GPIO_PA0_U0RX 0x00000001
  7869. #define GPIO_PA0_CAN1RX 0x00000008
  7870. #define GPIO_PA1_U0TX 0x00000401
  7871. #define GPIO_PA1_CAN1TX 0x00000408
  7872. #define GPIO_PA2_SSI0CLK 0x00000802
  7873. #define GPIO_PA3_SSI0FSS 0x00000C02
  7874. #define GPIO_PA4_SSI0RX 0x00001002
  7875. #define GPIO_PA5_SSI0TX 0x00001402
  7876. #define GPIO_PA6_I2C1SCL 0x00001803
  7877. #define GPIO_PA6_M1PWM2 0x00001805
  7878. #define GPIO_PA7_I2C1SDA 0x00001C03
  7879. #define GPIO_PA7_M1PWM3 0x00001C05
  7880. #define GPIO_PB0_U1RX 0x00010001
  7881. #define GPIO_PB0_T2CCP0 0x00010007
  7882. #define GPIO_PB1_U1TX 0x00010401
  7883. #define GPIO_PB1_T2CCP1 0x00010407
  7884. #define GPIO_PB2_I2C0SCL 0x00010803
  7885. #define GPIO_PB2_T3CCP0 0x00010807
  7886. #define GPIO_PB3_I2C0SDA 0x00010C03
  7887. #define GPIO_PB3_T3CCP1 0x00010C07
  7888. #define GPIO_PB4_SSI2CLK 0x00011002
  7889. #define GPIO_PB4_M0PWM2 0x00011004
  7890. #define GPIO_PB4_T1CCP0 0x00011007
  7891. #define GPIO_PB4_CAN0RX 0x00011008
  7892. #define GPIO_PB5_SSI2FSS 0x00011402
  7893. #define GPIO_PB5_M0PWM3 0x00011404
  7894. #define GPIO_PB5_T1CCP1 0x00011407
  7895. #define GPIO_PB5_CAN0TX 0x00011408
  7896. #define GPIO_PB6_SSI2RX 0x00011802
  7897. #define GPIO_PB6_I2C5SCL 0x00011803
  7898. #define GPIO_PB6_M0PWM0 0x00011804
  7899. #define GPIO_PB6_T0CCP0 0x00011807
  7900. #define GPIO_PB7_SSI2TX 0x00011C02
  7901. #define GPIO_PB7_I2C5SDA 0x00011C03
  7902. #define GPIO_PB7_M0PWM1 0x00011C04
  7903. #define GPIO_PB7_T0CCP1 0x00011C07
  7904. #define GPIO_PC0_TCK 0x00020001
  7905. #define GPIO_PC0_SWCLK 0x00020001
  7906. #define GPIO_PC0_T4CCP0 0x00020007
  7907. #define GPIO_PC1_TMS 0x00020401
  7908. #define GPIO_PC1_SWDIO 0x00020401
  7909. #define GPIO_PC1_T4CCP1 0x00020407
  7910. #define GPIO_PC2_TDI 0x00020801
  7911. #define GPIO_PC2_T5CCP0 0x00020807
  7912. #define GPIO_PC3_SWO 0x00020C01
  7913. #define GPIO_PC3_TDO 0x00020C01
  7914. #define GPIO_PC3_T5CCP1 0x00020C07
  7915. #define GPIO_PC4_U4RX 0x00021001
  7916. #define GPIO_PC4_U1RX 0x00021002
  7917. #define GPIO_PC4_M0PWM6 0x00021004
  7918. #define GPIO_PC4_IDX1 0x00021006
  7919. #define GPIO_PC4_WT0CCP0 0x00021007
  7920. #define GPIO_PC4_U1RTS 0x00021008
  7921. #define GPIO_PC5_U4TX 0x00021401
  7922. #define GPIO_PC5_U1TX 0x00021402
  7923. #define GPIO_PC5_M0PWM7 0x00021404
  7924. #define GPIO_PC5_PHA1 0x00021406
  7925. #define GPIO_PC5_WT0CCP1 0x00021407
  7926. #define GPIO_PC5_U1CTS 0x00021408
  7927. #define GPIO_PC6_U3RX 0x00021801
  7928. #define GPIO_PC6_PHB1 0x00021806
  7929. #define GPIO_PC6_WT1CCP0 0x00021807
  7930. #define GPIO_PC6_USB0EPEN 0x00021808
  7931. #define GPIO_PC7_U3TX 0x00021C01
  7932. #define GPIO_PC7_WT1CCP1 0x00021C07
  7933. #define GPIO_PC7_USB0PFLT 0x00021C08
  7934. #define GPIO_PD0_SSI3CLK 0x00030001
  7935. #define GPIO_PD0_SSI1CLK 0x00030002
  7936. #define GPIO_PD0_I2C3SCL 0x00030003
  7937. #define GPIO_PD0_M0PWM6 0x00030004
  7938. #define GPIO_PD0_M1PWM0 0x00030005
  7939. #define GPIO_PD0_WT2CCP0 0x00030007
  7940. #define GPIO_PD1_SSI3FSS 0x00030401
  7941. #define GPIO_PD1_SSI1FSS 0x00030402
  7942. #define GPIO_PD1_I2C3SDA 0x00030403
  7943. #define GPIO_PD1_M0PWM7 0x00030404
  7944. #define GPIO_PD1_M1PWM1 0x00030405
  7945. #define GPIO_PD1_WT2CCP1 0x00030407
  7946. #define GPIO_PD2_SSI3RX 0x00030801
  7947. #define GPIO_PD2_SSI1RX 0x00030802
  7948. #define GPIO_PD2_M0FAULT0 0x00030804
  7949. #define GPIO_PD2_WT3CCP0 0x00030807
  7950. #define GPIO_PD2_USB0EPEN 0x00030808
  7951. #define GPIO_PD3_SSI3TX 0x00030C01
  7952. #define GPIO_PD3_SSI1TX 0x00030C02
  7953. #define GPIO_PD3_IDX0 0x00030C06
  7954. #define GPIO_PD3_WT3CCP1 0x00030C07
  7955. #define GPIO_PD3_USB0PFLT 0x00030C08
  7956. #define GPIO_PD4_U6RX 0x00031001
  7957. #define GPIO_PD4_WT4CCP0 0x00031007
  7958. #define GPIO_PD5_U6TX 0x00031401
  7959. #define GPIO_PD5_WT4CCP1 0x00031407
  7960. #define GPIO_PD6_U2RX 0x00031801
  7961. #define GPIO_PD6_M0FAULT0 0x00031804
  7962. #define GPIO_PD6_PHA0 0x00031806
  7963. #define GPIO_PD6_WT5CCP0 0x00031807
  7964. #define GPIO_PD7_U2TX 0x00031C01
  7965. #define GPIO_PD7_M0FAULT1 0x00031C04
  7966. #define GPIO_PD7_PHB0 0x00031C06
  7967. #define GPIO_PD7_WT5CCP1 0x00031C07
  7968. #define GPIO_PD7_NMI 0x00031C08
  7969. #define GPIO_PE0_U7RX 0x00040001
  7970. #define GPIO_PE1_U7TX 0x00040401
  7971. #define GPIO_PE4_U5RX 0x00041001
  7972. #define GPIO_PE4_I2C2SCL 0x00041003
  7973. #define GPIO_PE4_M0PWM4 0x00041004
  7974. #define GPIO_PE4_M1PWM2 0x00041005
  7975. #define GPIO_PE4_CAN0RX 0x00041008
  7976. #define GPIO_PE5_U5TX 0x00041401
  7977. #define GPIO_PE5_I2C2SDA 0x00041403
  7978. #define GPIO_PE5_M0PWM5 0x00041404
  7979. #define GPIO_PE5_M1PWM3 0x00041405
  7980. #define GPIO_PE5_CAN0TX 0x00041408
  7981. #define GPIO_PE6_CAN1RX 0x00041808
  7982. #define GPIO_PE7_U1RI 0x00041C01
  7983. #define GPIO_PE7_CAN1TX 0x00041C08
  7984. #define GPIO_PF0_U1RTS 0x00050001
  7985. #define GPIO_PF0_SSI1RX 0x00050002
  7986. #define GPIO_PF0_CAN0RX 0x00050003
  7987. #define GPIO_PF0_M1PWM4 0x00050005
  7988. #define GPIO_PF0_PHA0 0x00050006
  7989. #define GPIO_PF0_T0CCP0 0x00050007
  7990. #define GPIO_PF0_NMI 0x00050008
  7991. #define GPIO_PF0_C0O 0x00050009
  7992. #define GPIO_PF0_TRD2 0x0005000E
  7993. #define GPIO_PF1_U1CTS 0x00050401
  7994. #define GPIO_PF1_SSI1TX 0x00050402
  7995. #define GPIO_PF1_M1PWM5 0x00050405
  7996. #define GPIO_PF1_PHB0 0x00050406
  7997. #define GPIO_PF1_T0CCP1 0x00050407
  7998. #define GPIO_PF1_C1O 0x00050409
  7999. #define GPIO_PF1_TRD1 0x0005040E
  8000. #define GPIO_PF2_U1DCD 0x00050801
  8001. #define GPIO_PF2_SSI1CLK 0x00050802
  8002. #define GPIO_PF2_M0FAULT0 0x00050804
  8003. #define GPIO_PF2_M1PWM6 0x00050805
  8004. #define GPIO_PF2_T1CCP0 0x00050807
  8005. #define GPIO_PF2_C2O 0x00050809
  8006. #define GPIO_PF2_TRD0 0x0005080E
  8007. #define GPIO_PF3_U1DSR 0x00050C01
  8008. #define GPIO_PF3_SSI1FSS 0x00050C02
  8009. #define GPIO_PF3_CAN0TX 0x00050C03
  8010. #define GPIO_PF3_M0FAULT1 0x00050C04
  8011. #define GPIO_PF3_M1PWM7 0x00050C05
  8012. #define GPIO_PF3_T1CCP1 0x00050C07
  8013. #define GPIO_PF3_TRCLK 0x00050C0E
  8014. #define GPIO_PF4_U1DTR 0x00051001
  8015. #define GPIO_PF4_M0FAULT2 0x00051004
  8016. #define GPIO_PF4_M1FAULT0 0x00051005
  8017. #define GPIO_PF4_IDX0 0x00051006
  8018. #define GPIO_PF4_T2CCP0 0x00051007
  8019. #define GPIO_PF4_USB0EPEN 0x00051008
  8020. #define GPIO_PF4_TRD3 0x0005100E
  8021. #define GPIO_PF5_M0FAULT3 0x00051404
  8022. #define GPIO_PF5_T2CCP1 0x00051407
  8023. #define GPIO_PF5_USB0PFLT 0x00051408
  8024. #define GPIO_PF6_I2C2SCL 0x00051803
  8025. #define GPIO_PF6_T3CCP0 0x00051807
  8026. #define GPIO_PF7_I2C2SDA 0x00051C03
  8027. #define GPIO_PF7_M1FAULT0 0x00051C05
  8028. #define GPIO_PF7_T3CCP1 0x00051C07
  8029. #define GPIO_PG0_I2C3SCL 0x00060003
  8030. #define GPIO_PG0_M1FAULT1 0x00060005
  8031. #define GPIO_PG0_PHA1 0x00060006
  8032. #define GPIO_PG0_T4CCP0 0x00060007
  8033. #define GPIO_PG1_I2C3SDA 0x00060403
  8034. #define GPIO_PG1_M1FAULT2 0x00060405
  8035. #define GPIO_PG1_PHB1 0x00060406
  8036. #define GPIO_PG1_T4CCP1 0x00060407
  8037. #define GPIO_PG2_I2C4SCL 0x00060803
  8038. #define GPIO_PG2_M0FAULT1 0x00060804
  8039. #define GPIO_PG2_M1PWM0 0x00060805
  8040. #define GPIO_PG2_T5CCP0 0x00060807
  8041. #define GPIO_PG3_I2C4SDA 0x00060C03
  8042. #define GPIO_PG3_M0FAULT2 0x00060C04
  8043. #define GPIO_PG3_M1PWM1 0x00060C05
  8044. #define GPIO_PG3_PHA1 0x00060C06
  8045. #define GPIO_PG3_T5CCP1 0x00060C07
  8046. #define GPIO_PG4_U2RX 0x00061001
  8047. #define GPIO_PG4_I2C1SCL 0x00061003
  8048. #define GPIO_PG4_M0PWM4 0x00061004
  8049. #define GPIO_PG4_M1PWM2 0x00061005
  8050. #define GPIO_PG4_PHB1 0x00061006
  8051. #define GPIO_PG4_WT0CCP0 0x00061007
  8052. #define GPIO_PG4_USB0EPEN 0x00061008
  8053. #define GPIO_PG5_U2TX 0x00061401
  8054. #define GPIO_PG5_I2C1SDA 0x00061403
  8055. #define GPIO_PG5_M0PWM5 0x00061404
  8056. #define GPIO_PG5_M1PWM3 0x00061405
  8057. #define GPIO_PG5_IDX1 0x00061406
  8058. #define GPIO_PG5_WT0CCP1 0x00061407
  8059. #define GPIO_PG5_USB0PFLT 0x00061408
  8060. #define GPIO_PG6_I2C5SCL 0x00061803
  8061. #define GPIO_PG6_M0PWM6 0x00061804
  8062. #define GPIO_PG6_WT1CCP0 0x00061807
  8063. #define GPIO_PG7_I2C5SDA 0x00061C03
  8064. #define GPIO_PG7_M0PWM7 0x00061C04
  8065. #define GPIO_PG7_IDX1 0x00061C05
  8066. #define GPIO_PG7_WT1CCP1 0x00061C07
  8067. #define GPIO_PH0_SSI3CLK 0x00070002
  8068. #define GPIO_PH0_M0PWM0 0x00070004
  8069. #define GPIO_PH0_M0FAULT0 0x00070006
  8070. #define GPIO_PH0_WT2CCP0 0x00070007
  8071. #define GPIO_PH1_SSI3FSS 0x00070402
  8072. #define GPIO_PH1_M0PWM1 0x00070404
  8073. #define GPIO_PH1_IDX0 0x00070405
  8074. #define GPIO_PH1_M0FAULT1 0x00070406
  8075. #define GPIO_PH1_WT2CCP1 0x00070407
  8076. #define GPIO_PH2_SSI3RX 0x00070802
  8077. #define GPIO_PH2_M0PWM2 0x00070804
  8078. #define GPIO_PH2_M0FAULT2 0x00070806
  8079. #define GPIO_PH2_WT5CCP0 0x00070807
  8080. #define GPIO_PH3_SSI3TX 0x00070C02
  8081. #define GPIO_PH3_M0PWM3 0x00070C04
  8082. #define GPIO_PH3_M0FAULT3 0x00070C06
  8083. #define GPIO_PH3_WT5CCP1 0x00070C07
  8084. #define GPIO_PH4_SSI2CLK 0x00071002
  8085. #define GPIO_PH4_M0PWM4 0x00071004
  8086. #define GPIO_PH4_PHA0 0x00071005
  8087. #define GPIO_PH4_WT3CCP0 0x00071007
  8088. #define GPIO_PH5_SSI2FSS 0x00071402
  8089. #define GPIO_PH5_M0PWM5 0x00071404
  8090. #define GPIO_PH5_PHB0 0x00071405
  8091. #define GPIO_PH5_WT3CCP1 0x00071407
  8092. #define GPIO_PH6_SSI2RX 0x00071802
  8093. #define GPIO_PH6_M0PWM6 0x00071804
  8094. #define GPIO_PH6_WT4CCP0 0x00071807
  8095. #define GPIO_PH7_SSI2TX 0x00071C02
  8096. #define GPIO_PH7_M0PWM7 0x00071C04
  8097. #define GPIO_PH7_WT4CCP1 0x00071C07
  8098. #define GPIO_PJ0_U4RX 0x00080001
  8099. #define GPIO_PJ0_T1CCP0 0x00080007
  8100. #define GPIO_PJ1_U4TX 0x00080401
  8101. #define GPIO_PJ1_T1CCP1 0x00080407
  8102. #define GPIO_PJ2_U5RX 0x00080801
  8103. #define GPIO_PJ2_IDX0 0x00080805
  8104. #define GPIO_PJ2_T2CCP0 0x00080807
  8105. #define GPIO_PJ3_U5TX 0x00080C01
  8106. #define GPIO_PJ3_T2CCP1 0x00080C07
  8107. #define GPIO_PJ4_U6RX 0x00081001
  8108. #define GPIO_PJ4_T3CCP0 0x00081007
  8109. #define GPIO_PJ5_U6TX 0x00081401
  8110. #define GPIO_PJ5_T3CCP1 0x00081407
  8111. #define GPIO_PK0_SSI3CLK 0x00090002
  8112. #define GPIO_PK0_M1FAULT0 0x00090006
  8113. #define GPIO_PK1_SSI3FSS 0x00090402
  8114. #define GPIO_PK1_M1FAULT1 0x00090406
  8115. #define GPIO_PK2_SSI3RX 0x00090802
  8116. #define GPIO_PK2_M1FAULT2 0x00090806
  8117. #define GPIO_PK3_SSI3TX 0x00090C02
  8118. #define GPIO_PK3_M1FAULT3 0x00090C06
  8119. #define GPIO_PK4_U7RX 0x00091001
  8120. #define GPIO_PK4_M0FAULT0 0x00091006
  8121. #define GPIO_PK4_RTCCLK 0x00091007
  8122. #define GPIO_PK4_C0O 0x00091008
  8123. #define GPIO_PK5_U7TX 0x00091401
  8124. #define GPIO_PK5_M0FAULT1 0x00091406
  8125. #define GPIO_PK5_C1O 0x00091408
  8126. #define GPIO_PK6_M0FAULT2 0x00091806
  8127. #define GPIO_PK6_WT1CCP0 0x00091807
  8128. #define GPIO_PK6_C2O 0x00091808
  8129. #define GPIO_PK7_M0FAULT3 0x00091C06
  8130. #define GPIO_PK7_WT1CCP1 0x00091C07
  8131. #define GPIO_PL0_T0CCP0 0x000A0007
  8132. #define GPIO_PL0_WT0CCP0 0x000A0008
  8133. #define GPIO_PL1_T0CCP1 0x000A0407
  8134. #define GPIO_PL1_WT0CCP1 0x000A0408
  8135. #define GPIO_PL2_T1CCP0 0x000A0807
  8136. #define GPIO_PL2_WT1CCP0 0x000A0808
  8137. #define GPIO_PL3_T1CCP1 0x000A0C07
  8138. #define GPIO_PL3_WT1CCP1 0x000A0C08
  8139. #define GPIO_PL4_T2CCP0 0x000A1007
  8140. #define GPIO_PL4_WT2CCP0 0x000A1008
  8141. #define GPIO_PL5_T2CCP1 0x000A1407
  8142. #define GPIO_PL5_WT2CCP1 0x000A1408
  8143. #define GPIO_PL6_T3CCP0 0x000A1807
  8144. #define GPIO_PL6_WT3CCP0 0x000A1808
  8145. #define GPIO_PL7_T3CCP1 0x000A1C07
  8146. #define GPIO_PL7_WT3CCP1 0x000A1C08
  8147. #define GPIO_PM0_T4CCP0 0x000B0007
  8148. #define GPIO_PM0_WT4CCP0 0x000B0008
  8149. #define GPIO_PM1_T4CCP1 0x000B0407
  8150. #define GPIO_PM1_WT4CCP1 0x000B0408
  8151. #define GPIO_PM2_T5CCP0 0x000B0807
  8152. #define GPIO_PM2_WT5CCP0 0x000B0808
  8153. #define GPIO_PM3_T5CCP1 0x000B0C07
  8154. #define GPIO_PM3_WT5CCP1 0x000B0C08
  8155. #define GPIO_PM6_M0PWM4 0x000B1802
  8156. #define GPIO_PM6_WT0CCP0 0x000B1807
  8157. #define GPIO_PM7_M0PWM5 0x000B1C02
  8158. #define GPIO_PM7_WT0CCP1 0x000B1C07
  8159. #define GPIO_PN0_CAN0RX 0x000C0001
  8160. #define GPIO_PN1_CAN0TX 0x000C0401
  8161. #define GPIO_PN2_M0PWM6 0x000C0802
  8162. #define GPIO_PN2_WT2CCP0 0x000C0807
  8163. #define GPIO_PN3_M0PWM7 0x000C0C02
  8164. #define GPIO_PN3_WT2CCP1 0x000C0C07
  8165. #define GPIO_PN4_M1PWM4 0x000C1002
  8166. #define GPIO_PN4_WT3CCP0 0x000C1007
  8167. #define GPIO_PN5_M1PWM5 0x000C1402
  8168. #define GPIO_PN5_WT3CCP1 0x000C1407
  8169. #define GPIO_PN6_M1PWM6 0x000C1802
  8170. #define GPIO_PN6_WT4CCP0 0x000C1807
  8171. #define GPIO_PN7_M1PWM7 0x000C1C02
  8172. #define GPIO_PN7_WT4CCP1 0x000C1C07
  8173. #define GPIO_PP0_M0PWM0 0x000D0001
  8174. #define GPIO_PP0_T4CCP0 0x000D0007
  8175. #define GPIO_PP1_M0PWM1 0x000D0401
  8176. #define GPIO_PP1_T4CCP1 0x000D0407
  8177. #define GPIO_PP2_M0PWM2 0x000D0801
  8178. #define GPIO_PP2_T5CCP0 0x000D0807
  8179. #define GPIO_PP3_M0PWM3 0x000D0C01
  8180. #define GPIO_PP3_T5CCP1 0x000D0C07
  8181. #define GPIO_PP4_M0PWM4 0x000D1001
  8182. #define GPIO_PP4_WT0CCP0 0x000D1007
  8183. #define GPIO_PP5_M0PWM5 0x000D1401
  8184. #define GPIO_PP5_WT0CCP1 0x000D1407
  8185. #define GPIO_PP6_M0PWM6 0x000D1801
  8186. #define GPIO_PP6_WT1CCP0 0x000D1807
  8187. #define GPIO_PP7_M0PWM7 0x000D1C01
  8188. #define GPIO_PP7_WT1CCP1 0x000D1C07
  8189. #define GPIO_PQ0_M1PWM0 0x000E0001
  8190. #define GPIO_PQ0_WT2CCP0 0x000E0007
  8191. #define GPIO_PQ1_M1PWM1 0x000E0401
  8192. #define GPIO_PQ1_WT2CCP1 0x000E0407
  8193. #define GPIO_PQ2_M1PWM2 0x000E0801
  8194. #define GPIO_PQ2_WT3CCP0 0x000E0807
  8195. #define GPIO_PQ3_M1PWM3 0x000E0C01
  8196. #define GPIO_PQ3_WT3CCP1 0x000E0C07
  8197. #define GPIO_PQ4_M1PWM4 0x000E1001
  8198. #define GPIO_PQ4_WT4CCP0 0x000E1007
  8199. #define GPIO_PQ5_M1PWM5 0x000E1401
  8200. #define GPIO_PQ5_WT4CCP1 0x000E1407
  8201. #define GPIO_PQ6_M1PWM6 0x000E1801
  8202. #define GPIO_PQ6_WT5CCP0 0x000E1807
  8203. #define GPIO_PQ7_M1PWM7 0x000E1C01
  8204. #define GPIO_PQ7_WT5CCP1 0x000E1C07
  8205. #endif // PART_TM4C123GH6ZRB
  8206. //*****************************************************************************
  8207. //
  8208. // TM4C1290NCPDT Port/Pin Mapping Definitions
  8209. //
  8210. //*****************************************************************************
  8211. #ifdef PART_TM4C1290NCPDT
  8212. #define GPIO_PA0_U0RX 0x00000001
  8213. #define GPIO_PA0_I2C9SCL 0x00000002
  8214. #define GPIO_PA0_T0CCP0 0x00000003
  8215. #define GPIO_PA0_CAN0RX 0x00000007
  8216. #define GPIO_PA1_U0TX 0x00000401
  8217. #define GPIO_PA1_I2C9SDA 0x00000402
  8218. #define GPIO_PA1_T0CCP1 0x00000403
  8219. #define GPIO_PA1_CAN0TX 0x00000407
  8220. #define GPIO_PA2_U4RX 0x00000801
  8221. #define GPIO_PA2_I2C8SCL 0x00000802
  8222. #define GPIO_PA2_T1CCP0 0x00000803
  8223. #define GPIO_PA2_SSI0CLK 0x0000080F
  8224. #define GPIO_PA3_U4TX 0x00000C01
  8225. #define GPIO_PA3_I2C8SDA 0x00000C02
  8226. #define GPIO_PA3_T1CCP1 0x00000C03
  8227. #define GPIO_PA3_SSI0FSS 0x00000C0F
  8228. #define GPIO_PA4_U3RX 0x00001001
  8229. #define GPIO_PA4_T2CCP0 0x00001003
  8230. #define GPIO_PA4_I2C7SCL 0x00001002
  8231. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  8232. #define GPIO_PA5_U3TX 0x00001401
  8233. #define GPIO_PA5_T2CCP1 0x00001403
  8234. #define GPIO_PA5_I2C7SDA 0x00001402
  8235. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  8236. #define GPIO_PA6_U2RX 0x00001801
  8237. #define GPIO_PA6_I2C6SCL 0x00001802
  8238. #define GPIO_PA6_T3CCP0 0x00001803
  8239. #define GPIO_PA6_USB0EPEN 0x00001805
  8240. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  8241. #define GPIO_PA6_EPI0S8 0x0000180F
  8242. #define GPIO_PA7_U2TX 0x00001C01
  8243. #define GPIO_PA7_I2C6SDA 0x00001C02
  8244. #define GPIO_PA7_T3CCP1 0x00001C03
  8245. #define GPIO_PA7_USB0PFLT 0x00001C05
  8246. #define GPIO_PA7_USB0EPEN 0x00001C0B
  8247. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  8248. #define GPIO_PA7_EPI0S9 0x00001C0F
  8249. #define GPIO_PB0_U1RX 0x00010001
  8250. #define GPIO_PB0_I2C5SCL 0x00010002
  8251. #define GPIO_PB0_CAN1RX 0x00010007
  8252. #define GPIO_PB0_T4CCP0 0x00010003
  8253. #define GPIO_PB1_U1TX 0x00010401
  8254. #define GPIO_PB1_I2C5SDA 0x00010402
  8255. #define GPIO_PB1_CAN1TX 0x00010407
  8256. #define GPIO_PB1_T4CCP1 0x00010403
  8257. #define GPIO_PB2_T5CCP0 0x00010803
  8258. #define GPIO_PB2_I2C0SCL 0x00010802
  8259. #define GPIO_PB2_USB0STP 0x0001080E
  8260. #define GPIO_PB2_EPI0S27 0x0001080F
  8261. #define GPIO_PB3_I2C0SDA 0x00010C02
  8262. #define GPIO_PB3_T5CCP1 0x00010C03
  8263. #define GPIO_PB3_USB0CLK 0x00010C0E
  8264. #define GPIO_PB3_EPI0S28 0x00010C0F
  8265. #define GPIO_PB4_U0CTS 0x00011001
  8266. #define GPIO_PB4_I2C5SCL 0x00011002
  8267. #define GPIO_PB4_SSI1FSS 0x0001100F
  8268. #define GPIO_PB5_U0RTS 0x00011401
  8269. #define GPIO_PB5_I2C5SDA 0x00011402
  8270. #define GPIO_PB5_SSI1CLK 0x0001140F
  8271. #define GPIO_PC0_TCK 0x00020001
  8272. #define GPIO_PC0_SWCLK 0x00020001
  8273. #define GPIO_PC1_TMS 0x00020401
  8274. #define GPIO_PC1_SWDIO 0x00020401
  8275. #define GPIO_PC2_TDI 0x00020801
  8276. #define GPIO_PC3_SWO 0x00020C01
  8277. #define GPIO_PC3_TDO 0x00020C01
  8278. #define GPIO_PC4_U7RX 0x00021001
  8279. #define GPIO_PC4_EPI0S7 0x0002100F
  8280. #define GPIO_PC5_U7TX 0x00021401
  8281. #define GPIO_PC5_RTCCLK 0x00021407
  8282. #define GPIO_PC5_EPI0S6 0x0002140F
  8283. #define GPIO_PC6_U5RX 0x00021801
  8284. #define GPIO_PC6_EPI0S5 0x0002180F
  8285. #define GPIO_PC7_U5TX 0x00021C01
  8286. #define GPIO_PC7_EPI0S4 0x00021C0F
  8287. #define GPIO_PD0_I2C7SCL 0x00030002
  8288. #define GPIO_PD0_T0CCP0 0x00030003
  8289. #define GPIO_PD0_C0O 0x00030005
  8290. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  8291. #define GPIO_PD1_I2C7SDA 0x00030402
  8292. #define GPIO_PD1_T0CCP1 0x00030403
  8293. #define GPIO_PD1_C1O 0x00030405
  8294. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  8295. #define GPIO_PD2_I2C8SCL 0x00030802
  8296. #define GPIO_PD2_T1CCP0 0x00030803
  8297. #define GPIO_PD2_C2O 0x00030805
  8298. #define GPIO_PD2_SSI2FSS 0x0003080F
  8299. #define GPIO_PD3_I2C8SDA 0x00030C02
  8300. #define GPIO_PD3_T1CCP1 0x00030C03
  8301. #define GPIO_PD3_SSI2CLK 0x00030C0F
  8302. #define GPIO_PD4_U2RX 0x00031001
  8303. #define GPIO_PD4_T3CCP0 0x00031003
  8304. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  8305. #define GPIO_PD5_U2TX 0x00031401
  8306. #define GPIO_PD5_T3CCP1 0x00031403
  8307. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  8308. #define GPIO_PD6_U2RTS 0x00031801
  8309. #define GPIO_PD6_T4CCP0 0x00031803
  8310. #define GPIO_PD6_USB0EPEN 0x00031805
  8311. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  8312. #define GPIO_PD7_U2CTS 0x00031C01
  8313. #define GPIO_PD7_T4CCP1 0x00031C03
  8314. #define GPIO_PD7_USB0PFLT 0x00031C05
  8315. #define GPIO_PD7_NMI 0x00031C08
  8316. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  8317. #define GPIO_PE0_U1RTS 0x00040001
  8318. #define GPIO_PE1_U1DSR 0x00040401
  8319. #define GPIO_PE2_U1DCD 0x00040801
  8320. #define GPIO_PE3_U1DTR 0x00040C01
  8321. #define GPIO_PE4_U1RI 0x00041001
  8322. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  8323. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  8324. #define GPIO_PF0_M0PWM0 0x00050006
  8325. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  8326. #define GPIO_PF0_TRD2 0x0005000F
  8327. #define GPIO_PF1_M0PWM1 0x00050406
  8328. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  8329. #define GPIO_PF1_TRD1 0x0005040F
  8330. #define GPIO_PF2_M0PWM2 0x00050806
  8331. #define GPIO_PF2_SSI3FSS 0x0005080E
  8332. #define GPIO_PF2_TRD0 0x0005080F
  8333. #define GPIO_PF3_M0PWM3 0x00050C06
  8334. #define GPIO_PF3_SSI3CLK 0x00050C0E
  8335. #define GPIO_PF3_TRCLK 0x00050C0F
  8336. #define GPIO_PF4_M0FAULT0 0x00051006
  8337. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  8338. #define GPIO_PF4_TRD3 0x0005100F
  8339. #define GPIO_PG0_I2C1SCL 0x00060002
  8340. #define GPIO_PG0_M0PWM4 0x00060006
  8341. #define GPIO_PG0_EPI0S11 0x0006000F
  8342. #define GPIO_PG1_I2C1SDA 0x00060402
  8343. #define GPIO_PG1_M0PWM5 0x00060406
  8344. #define GPIO_PG1_EPI0S10 0x0006040F
  8345. #define GPIO_PG2_I2C2SCL 0x00060802
  8346. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  8347. #define GPIO_PG3_I2C2SDA 0x00060C02
  8348. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  8349. #define GPIO_PG4_U0CTS 0x00061001
  8350. #define GPIO_PG4_I2C3SCL 0x00061002
  8351. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  8352. #define GPIO_PG5_U0RTS 0x00061401
  8353. #define GPIO_PG5_I2C3SDA 0x00061402
  8354. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  8355. #define GPIO_PG6_I2C4SCL 0x00061802
  8356. #define GPIO_PG6_SSI2FSS 0x0006180F
  8357. #define GPIO_PG7_I2C4SDA 0x00061C02
  8358. #define GPIO_PG7_SSI2CLK 0x00061C0F
  8359. #define GPIO_PH0_U0RTS 0x00070001
  8360. #define GPIO_PH0_EPI0S0 0x0007000F
  8361. #define GPIO_PH1_U0CTS 0x00070401
  8362. #define GPIO_PH1_EPI0S1 0x0007040F
  8363. #define GPIO_PH2_U0DCD 0x00070801
  8364. #define GPIO_PH2_EPI0S2 0x0007080F
  8365. #define GPIO_PH3_U0DSR 0x00070C01
  8366. #define GPIO_PH3_EPI0S3 0x00070C0F
  8367. #define GPIO_PJ0_U3RX 0x00080001
  8368. #define GPIO_PJ1_U3TX 0x00080401
  8369. #define GPIO_PK0_U4RX 0x00090001
  8370. #define GPIO_PK0_EPI0S0 0x0009000F
  8371. #define GPIO_PK1_U4TX 0x00090401
  8372. #define GPIO_PK1_EPI0S1 0x0009040F
  8373. #define GPIO_PK2_U4RTS 0x00090801
  8374. #define GPIO_PK2_EPI0S2 0x0009080F
  8375. #define GPIO_PK3_U4CTS 0x00090C01
  8376. #define GPIO_PK3_EPI0S3 0x00090C0F
  8377. #define GPIO_PK4_I2C3SCL 0x00091002
  8378. #define GPIO_PK4_M0PWM6 0x00091006
  8379. #define GPIO_PK4_EPI0S32 0x0009100F
  8380. #define GPIO_PK5_I2C3SDA 0x00091402
  8381. #define GPIO_PK5_M0PWM7 0x00091406
  8382. #define GPIO_PK5_EPI0S31 0x0009140F
  8383. #define GPIO_PK6_I2C4SCL 0x00091802
  8384. #define GPIO_PK6_M0FAULT1 0x00091806
  8385. #define GPIO_PK6_EPI0S25 0x0009180F
  8386. #define GPIO_PK7_U0RI 0x00091C01
  8387. #define GPIO_PK7_I2C4SDA 0x00091C02
  8388. #define GPIO_PK7_RTCCLK 0x00091C05
  8389. #define GPIO_PK7_M0FAULT2 0x00091C06
  8390. #define GPIO_PK7_EPI0S24 0x00091C0F
  8391. #define GPIO_PL0_I2C2SDA 0x000A0002
  8392. #define GPIO_PL0_M0FAULT3 0x000A0006
  8393. #define GPIO_PL0_USB0D0 0x000A000E
  8394. #define GPIO_PL0_EPI0S16 0x000A000F
  8395. #define GPIO_PL1_I2C2SCL 0x000A0402
  8396. #define GPIO_PL1_PHA0 0x000A0406
  8397. #define GPIO_PL1_USB0D1 0x000A040E
  8398. #define GPIO_PL1_EPI0S17 0x000A040F
  8399. #define GPIO_PL2_C0O 0x000A0805
  8400. #define GPIO_PL2_PHB0 0x000A0806
  8401. #define GPIO_PL2_USB0D2 0x000A080E
  8402. #define GPIO_PL2_EPI0S18 0x000A080F
  8403. #define GPIO_PL3_C1O 0x000A0C05
  8404. #define GPIO_PL3_IDX0 0x000A0C06
  8405. #define GPIO_PL3_USB0D3 0x000A0C0E
  8406. #define GPIO_PL3_EPI0S19 0x000A0C0F
  8407. #define GPIO_PL4_T0CCP0 0x000A1003
  8408. #define GPIO_PL4_USB0D4 0x000A100E
  8409. #define GPIO_PL4_EPI0S26 0x000A100F
  8410. #define GPIO_PL5_T0CCP1 0x000A1403
  8411. #define GPIO_PL5_EPI0S33 0x000A140F
  8412. #define GPIO_PL5_USB0D5 0x000A140E
  8413. #define GPIO_PL6_T1CCP0 0x000A1803
  8414. #define GPIO_PL7_T1CCP1 0x000A1C03
  8415. #define GPIO_PM0_T2CCP0 0x000B0003
  8416. #define GPIO_PM0_EPI0S15 0x000B000F
  8417. #define GPIO_PM1_T2CCP1 0x000B0403
  8418. #define GPIO_PM1_EPI0S14 0x000B040F
  8419. #define GPIO_PM2_T3CCP0 0x000B0803
  8420. #define GPIO_PM2_EPI0S13 0x000B080F
  8421. #define GPIO_PM3_T3CCP1 0x000B0C03
  8422. #define GPIO_PM3_EPI0S12 0x000B0C0F
  8423. #define GPIO_PM4_U0CTS 0x000B1001
  8424. #define GPIO_PM4_T4CCP0 0x000B1003
  8425. #define GPIO_PM5_U0DCD 0x000B1401
  8426. #define GPIO_PM5_T4CCP1 0x000B1403
  8427. #define GPIO_PM6_U0DSR 0x000B1801
  8428. #define GPIO_PM6_T5CCP0 0x000B1803
  8429. #define GPIO_PM7_U0RI 0x000B1C01
  8430. #define GPIO_PM7_T5CCP1 0x000B1C03
  8431. #define GPIO_PN0_U1RTS 0x000C0001
  8432. #define GPIO_PN1_U1CTS 0x000C0401
  8433. #define GPIO_PN2_U1DCD 0x000C0801
  8434. #define GPIO_PN2_U2RTS 0x000C0802
  8435. #define GPIO_PN2_EPI0S29 0x000C080F
  8436. #define GPIO_PN3_U1DSR 0x000C0C01
  8437. #define GPIO_PN3_U2CTS 0x000C0C02
  8438. #define GPIO_PN3_EPI0S30 0x000C0C0F
  8439. #define GPIO_PN4_U1DTR 0x000C1001
  8440. #define GPIO_PN4_U3RTS 0x000C1002
  8441. #define GPIO_PN4_I2C2SDA 0x000C1003
  8442. #define GPIO_PN4_EPI0S34 0x000C100F
  8443. #define GPIO_PN5_U1RI 0x000C1401
  8444. #define GPIO_PN5_U3CTS 0x000C1402
  8445. #define GPIO_PN5_I2C2SCL 0x000C1403
  8446. #define GPIO_PN5_EPI0S35 0x000C140F
  8447. #define GPIO_PP0_U6RX 0x000D0001
  8448. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  8449. #define GPIO_PP1_U6TX 0x000D0401
  8450. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  8451. #define GPIO_PP2_U0DTR 0x000D0801
  8452. #define GPIO_PP2_USB0NXT 0x000D080E
  8453. #define GPIO_PP2_EPI0S29 0x000D080F
  8454. #define GPIO_PP3_U1CTS 0x000D0C01
  8455. #define GPIO_PP3_U0DCD 0x000D0C02
  8456. #define GPIO_PP3_RTCCLK 0x000D0C07
  8457. #define GPIO_PP3_USB0DIR 0x000D0C0E
  8458. #define GPIO_PP3_EPI0S30 0x000D0C0F
  8459. #define GPIO_PP4_U3RTS 0x000D1001
  8460. #define GPIO_PP4_U0DSR 0x000D1002
  8461. #define GPIO_PP4_USB0D7 0x000D100E
  8462. #define GPIO_PP5_U3CTS 0x000D1401
  8463. #define GPIO_PP5_I2C2SCL 0x000D1402
  8464. #define GPIO_PP5_USB0D6 0x000D140E
  8465. #define GPIO_PQ0_SSI3CLK 0x000E000E
  8466. #define GPIO_PQ0_EPI0S20 0x000E000F
  8467. #define GPIO_PQ1_SSI3FSS 0x000E040E
  8468. #define GPIO_PQ1_EPI0S21 0x000E040F
  8469. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  8470. #define GPIO_PQ2_EPI0S22 0x000E080F
  8471. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  8472. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  8473. #define GPIO_PQ4_U1RX 0x000E1001
  8474. #define GPIO_PQ4_DIVSCLK 0x000E1007
  8475. #define GPIO_PQ5_U1TX 0x000E1401
  8476. #define GPIO_PQ6_U1DTR 0x000E1801
  8477. #endif // PART_TM4C1290NCPDT
  8478. //*****************************************************************************
  8479. //
  8480. // TM4C1290NCZAD Port/Pin Mapping Definitions
  8481. //
  8482. //*****************************************************************************
  8483. #ifdef PART_TM4C1290NCZAD
  8484. #define GPIO_PA0_U0RX 0x00000001
  8485. #define GPIO_PA0_I2C9SCL 0x00000002
  8486. #define GPIO_PA0_T0CCP0 0x00000003
  8487. #define GPIO_PA0_CAN0RX 0x00000007
  8488. #define GPIO_PA1_U0TX 0x00000401
  8489. #define GPIO_PA1_I2C9SDA 0x00000402
  8490. #define GPIO_PA1_T0CCP1 0x00000403
  8491. #define GPIO_PA1_CAN0TX 0x00000407
  8492. #define GPIO_PA2_U4RX 0x00000801
  8493. #define GPIO_PA2_I2C8SCL 0x00000802
  8494. #define GPIO_PA2_T1CCP0 0x00000803
  8495. #define GPIO_PA2_SSI0CLK 0x0000080F
  8496. #define GPIO_PA3_U4TX 0x00000C01
  8497. #define GPIO_PA3_I2C8SDA 0x00000C02
  8498. #define GPIO_PA3_T1CCP1 0x00000C03
  8499. #define GPIO_PA3_SSI0FSS 0x00000C0F
  8500. #define GPIO_PA4_U3RX 0x00001001
  8501. #define GPIO_PA4_T2CCP0 0x00001003
  8502. #define GPIO_PA4_I2C7SCL 0x00001002
  8503. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  8504. #define GPIO_PA5_U3TX 0x00001401
  8505. #define GPIO_PA5_T2CCP1 0x00001403
  8506. #define GPIO_PA5_I2C7SDA 0x00001402
  8507. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  8508. #define GPIO_PA6_U2RX 0x00001801
  8509. #define GPIO_PA6_I2C6SCL 0x00001802
  8510. #define GPIO_PA6_T3CCP0 0x00001803
  8511. #define GPIO_PA6_USB0EPEN 0x00001805
  8512. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  8513. #define GPIO_PA6_EPI0S8 0x0000180F
  8514. #define GPIO_PA7_U2TX 0x00001C01
  8515. #define GPIO_PA7_I2C6SDA 0x00001C02
  8516. #define GPIO_PA7_T3CCP1 0x00001C03
  8517. #define GPIO_PA7_USB0PFLT 0x00001C05
  8518. #define GPIO_PA7_USB0EPEN 0x00001C0B
  8519. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  8520. #define GPIO_PA7_EPI0S9 0x00001C0F
  8521. #define GPIO_PB0_U1RX 0x00010001
  8522. #define GPIO_PB0_I2C5SCL 0x00010002
  8523. #define GPIO_PB0_CAN1RX 0x00010007
  8524. #define GPIO_PB0_T4CCP0 0x00010003
  8525. #define GPIO_PB1_U1TX 0x00010401
  8526. #define GPIO_PB1_I2C5SDA 0x00010402
  8527. #define GPIO_PB1_CAN1TX 0x00010407
  8528. #define GPIO_PB1_T4CCP1 0x00010403
  8529. #define GPIO_PB2_T5CCP0 0x00010803
  8530. #define GPIO_PB2_I2C0SCL 0x00010802
  8531. #define GPIO_PB2_USB0STP 0x0001080E
  8532. #define GPIO_PB2_EPI0S27 0x0001080F
  8533. #define GPIO_PB3_I2C0SDA 0x00010C02
  8534. #define GPIO_PB3_T5CCP1 0x00010C03
  8535. #define GPIO_PB3_USB0CLK 0x00010C0E
  8536. #define GPIO_PB3_EPI0S28 0x00010C0F
  8537. #define GPIO_PB4_U0CTS 0x00011001
  8538. #define GPIO_PB4_I2C5SCL 0x00011002
  8539. #define GPIO_PB4_SSI1FSS 0x0001100F
  8540. #define GPIO_PB5_U0RTS 0x00011401
  8541. #define GPIO_PB5_I2C5SDA 0x00011402
  8542. #define GPIO_PB5_SSI1CLK 0x0001140F
  8543. #define GPIO_PB6_I2C6SCL 0x00011802
  8544. #define GPIO_PB6_T6CCP0 0x00011803
  8545. #define GPIO_PB7_I2C6SDA 0x00011C02
  8546. #define GPIO_PB7_T6CCP1 0x00011C03
  8547. #define GPIO_PC0_TCK 0x00020001
  8548. #define GPIO_PC0_SWCLK 0x00020001
  8549. #define GPIO_PC1_TMS 0x00020401
  8550. #define GPIO_PC1_SWDIO 0x00020401
  8551. #define GPIO_PC2_TDI 0x00020801
  8552. #define GPIO_PC3_SWO 0x00020C01
  8553. #define GPIO_PC3_TDO 0x00020C01
  8554. #define GPIO_PC4_U7RX 0x00021001
  8555. #define GPIO_PC4_T7CCP0 0x00021003
  8556. #define GPIO_PC4_EPI0S7 0x0002100F
  8557. #define GPIO_PC5_U7TX 0x00021401
  8558. #define GPIO_PC5_T7CCP1 0x00021403
  8559. #define GPIO_PC5_RTCCLK 0x00021407
  8560. #define GPIO_PC5_EPI0S6 0x0002140F
  8561. #define GPIO_PC6_U5RX 0x00021801
  8562. #define GPIO_PC6_EPI0S5 0x0002180F
  8563. #define GPIO_PC7_U5TX 0x00021C01
  8564. #define GPIO_PC7_EPI0S4 0x00021C0F
  8565. #define GPIO_PD0_I2C7SCL 0x00030002
  8566. #define GPIO_PD0_T0CCP0 0x00030003
  8567. #define GPIO_PD0_C0O 0x00030005
  8568. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  8569. #define GPIO_PD1_I2C7SDA 0x00030402
  8570. #define GPIO_PD1_T0CCP1 0x00030403
  8571. #define GPIO_PD1_C1O 0x00030405
  8572. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  8573. #define GPIO_PD2_I2C8SCL 0x00030802
  8574. #define GPIO_PD2_T1CCP0 0x00030803
  8575. #define GPIO_PD2_C2O 0x00030805
  8576. #define GPIO_PD2_SSI2FSS 0x0003080F
  8577. #define GPIO_PD3_I2C8SDA 0x00030C02
  8578. #define GPIO_PD3_T1CCP1 0x00030C03
  8579. #define GPIO_PD3_SSI2CLK 0x00030C0F
  8580. #define GPIO_PD4_U2RX 0x00031001
  8581. #define GPIO_PD4_T3CCP0 0x00031003
  8582. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  8583. #define GPIO_PD5_U2TX 0x00031401
  8584. #define GPIO_PD5_T3CCP1 0x00031403
  8585. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  8586. #define GPIO_PD6_U2RTS 0x00031801
  8587. #define GPIO_PD6_T4CCP0 0x00031803
  8588. #define GPIO_PD6_USB0EPEN 0x00031805
  8589. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  8590. #define GPIO_PD7_U2CTS 0x00031C01
  8591. #define GPIO_PD7_T4CCP1 0x00031C03
  8592. #define GPIO_PD7_USB0PFLT 0x00031C05
  8593. #define GPIO_PD7_NMI 0x00031C08
  8594. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  8595. #define GPIO_PE0_U1RTS 0x00040001
  8596. #define GPIO_PE1_U1DSR 0x00040401
  8597. #define GPIO_PE2_U1DCD 0x00040801
  8598. #define GPIO_PE3_U1DTR 0x00040C01
  8599. #define GPIO_PE4_U1RI 0x00041001
  8600. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  8601. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  8602. #define GPIO_PE6_U0CTS 0x00041801
  8603. #define GPIO_PE6_I2C9SCL 0x00041802
  8604. #define GPIO_PE7_U0RTS 0x00041C01
  8605. #define GPIO_PE7_I2C9SDA 0x00041C02
  8606. #define GPIO_PE7_NMI 0x00041C08
  8607. #define GPIO_PF0_M0PWM0 0x00050006
  8608. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  8609. #define GPIO_PF0_TRD2 0x0005000F
  8610. #define GPIO_PF1_M0PWM1 0x00050406
  8611. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  8612. #define GPIO_PF1_TRD1 0x0005040F
  8613. #define GPIO_PF2_M0PWM2 0x00050806
  8614. #define GPIO_PF2_SSI3FSS 0x0005080E
  8615. #define GPIO_PF2_TRD0 0x0005080F
  8616. #define GPIO_PF3_M0PWM3 0x00050C06
  8617. #define GPIO_PF3_SSI3CLK 0x00050C0E
  8618. #define GPIO_PF3_TRCLK 0x00050C0F
  8619. #define GPIO_PF4_M0FAULT0 0x00051006
  8620. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  8621. #define GPIO_PF4_TRD3 0x0005100F
  8622. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  8623. #define GPIO_PG0_I2C1SCL 0x00060002
  8624. #define GPIO_PG0_M0PWM4 0x00060006
  8625. #define GPIO_PG0_EPI0S11 0x0006000F
  8626. #define GPIO_PG1_I2C1SDA 0x00060402
  8627. #define GPIO_PG1_M0PWM5 0x00060406
  8628. #define GPIO_PG1_EPI0S10 0x0006040F
  8629. #define GPIO_PG2_I2C2SCL 0x00060802
  8630. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  8631. #define GPIO_PG3_I2C2SDA 0x00060C02
  8632. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  8633. #define GPIO_PG4_U0CTS 0x00061001
  8634. #define GPIO_PG4_I2C3SCL 0x00061002
  8635. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  8636. #define GPIO_PG5_U0RTS 0x00061401
  8637. #define GPIO_PG5_I2C3SDA 0x00061402
  8638. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  8639. #define GPIO_PG6_I2C4SCL 0x00061802
  8640. #define GPIO_PG6_SSI2FSS 0x0006180F
  8641. #define GPIO_PG7_I2C4SDA 0x00061C02
  8642. #define GPIO_PG7_SSI2CLK 0x00061C0F
  8643. #define GPIO_PH0_U0RTS 0x00070001
  8644. #define GPIO_PH0_EPI0S0 0x0007000F
  8645. #define GPIO_PH1_U0CTS 0x00070401
  8646. #define GPIO_PH1_EPI0S1 0x0007040F
  8647. #define GPIO_PH2_U0DCD 0x00070801
  8648. #define GPIO_PH2_EPI0S2 0x0007080F
  8649. #define GPIO_PH3_U0DSR 0x00070C01
  8650. #define GPIO_PH3_EPI0S3 0x00070C0F
  8651. #define GPIO_PH4_U0DTR 0x00071001
  8652. #define GPIO_PH5_U0RI 0x00071401
  8653. #define GPIO_PH6_U5RX 0x00071801
  8654. #define GPIO_PH6_U7RX 0x00071802
  8655. #define GPIO_PH7_U5TX 0x00071C01
  8656. #define GPIO_PH7_U7TX 0x00071C02
  8657. #define GPIO_PJ0_U3RX 0x00080001
  8658. #define GPIO_PJ1_U3TX 0x00080401
  8659. #define GPIO_PJ2_U2RTS 0x00080801
  8660. #define GPIO_PJ3_U2CTS 0x00080C01
  8661. #define GPIO_PJ4_U3RTS 0x00081001
  8662. #define GPIO_PJ5_U3CTS 0x00081401
  8663. #define GPIO_PJ6_U4RTS 0x00081801
  8664. #define GPIO_PJ7_U4CTS 0x00081C01
  8665. #define GPIO_PK0_U4RX 0x00090001
  8666. #define GPIO_PK0_EPI0S0 0x0009000F
  8667. #define GPIO_PK1_U4TX 0x00090401
  8668. #define GPIO_PK1_EPI0S1 0x0009040F
  8669. #define GPIO_PK2_U4RTS 0x00090801
  8670. #define GPIO_PK2_EPI0S2 0x0009080F
  8671. #define GPIO_PK3_U4CTS 0x00090C01
  8672. #define GPIO_PK3_EPI0S3 0x00090C0F
  8673. #define GPIO_PK4_I2C3SCL 0x00091002
  8674. #define GPIO_PK4_M0PWM6 0x00091006
  8675. #define GPIO_PK4_EPI0S32 0x0009100F
  8676. #define GPIO_PK5_I2C3SDA 0x00091402
  8677. #define GPIO_PK5_M0PWM7 0x00091406
  8678. #define GPIO_PK5_EPI0S31 0x0009140F
  8679. #define GPIO_PK6_I2C4SCL 0x00091802
  8680. #define GPIO_PK6_M0FAULT1 0x00091806
  8681. #define GPIO_PK6_EPI0S25 0x0009180F
  8682. #define GPIO_PK7_U0RI 0x00091C01
  8683. #define GPIO_PK7_I2C4SDA 0x00091C02
  8684. #define GPIO_PK7_RTCCLK 0x00091C05
  8685. #define GPIO_PK7_M0FAULT2 0x00091C06
  8686. #define GPIO_PK7_EPI0S24 0x00091C0F
  8687. #define GPIO_PL0_I2C2SDA 0x000A0002
  8688. #define GPIO_PL0_M0FAULT3 0x000A0006
  8689. #define GPIO_PL0_USB0D0 0x000A000E
  8690. #define GPIO_PL0_EPI0S16 0x000A000F
  8691. #define GPIO_PL1_I2C2SCL 0x000A0402
  8692. #define GPIO_PL1_PHA0 0x000A0406
  8693. #define GPIO_PL1_USB0D1 0x000A040E
  8694. #define GPIO_PL1_EPI0S17 0x000A040F
  8695. #define GPIO_PL2_C0O 0x000A0805
  8696. #define GPIO_PL2_PHB0 0x000A0806
  8697. #define GPIO_PL2_USB0D2 0x000A080E
  8698. #define GPIO_PL2_EPI0S18 0x000A080F
  8699. #define GPIO_PL3_C1O 0x000A0C05
  8700. #define GPIO_PL3_IDX0 0x000A0C06
  8701. #define GPIO_PL3_USB0D3 0x000A0C0E
  8702. #define GPIO_PL3_EPI0S19 0x000A0C0F
  8703. #define GPIO_PL4_T0CCP0 0x000A1003
  8704. #define GPIO_PL4_USB0D4 0x000A100E
  8705. #define GPIO_PL4_EPI0S26 0x000A100F
  8706. #define GPIO_PL5_T0CCP1 0x000A1403
  8707. #define GPIO_PL5_EPI0S33 0x000A140F
  8708. #define GPIO_PL5_USB0D5 0x000A140E
  8709. #define GPIO_PL6_T1CCP0 0x000A1803
  8710. #define GPIO_PL7_T1CCP1 0x000A1C03
  8711. #define GPIO_PM0_T2CCP0 0x000B0003
  8712. #define GPIO_PM0_EPI0S15 0x000B000F
  8713. #define GPIO_PM1_T2CCP1 0x000B0403
  8714. #define GPIO_PM1_EPI0S14 0x000B040F
  8715. #define GPIO_PM2_T3CCP0 0x000B0803
  8716. #define GPIO_PM2_EPI0S13 0x000B080F
  8717. #define GPIO_PM3_T3CCP1 0x000B0C03
  8718. #define GPIO_PM3_EPI0S12 0x000B0C0F
  8719. #define GPIO_PM4_U0CTS 0x000B1001
  8720. #define GPIO_PM4_T4CCP0 0x000B1003
  8721. #define GPIO_PM5_U0DCD 0x000B1401
  8722. #define GPIO_PM5_T4CCP1 0x000B1403
  8723. #define GPIO_PM6_U0DSR 0x000B1801
  8724. #define GPIO_PM6_T5CCP0 0x000B1803
  8725. #define GPIO_PM7_U0RI 0x000B1C01
  8726. #define GPIO_PM7_T5CCP1 0x000B1C03
  8727. #define GPIO_PN0_U1RTS 0x000C0001
  8728. #define GPIO_PN1_U1CTS 0x000C0401
  8729. #define GPIO_PN2_U1DCD 0x000C0801
  8730. #define GPIO_PN2_U2RTS 0x000C0802
  8731. #define GPIO_PN2_EPI0S29 0x000C080F
  8732. #define GPIO_PN3_U1DSR 0x000C0C01
  8733. #define GPIO_PN3_U2CTS 0x000C0C02
  8734. #define GPIO_PN3_EPI0S30 0x000C0C0F
  8735. #define GPIO_PN4_U1DTR 0x000C1001
  8736. #define GPIO_PN4_U3RTS 0x000C1002
  8737. #define GPIO_PN4_I2C2SDA 0x000C1003
  8738. #define GPIO_PN4_EPI0S34 0x000C100F
  8739. #define GPIO_PN5_U1RI 0x000C1401
  8740. #define GPIO_PN5_U3CTS 0x000C1402
  8741. #define GPIO_PN5_I2C2SCL 0x000C1403
  8742. #define GPIO_PN5_EPI0S35 0x000C140F
  8743. #define GPIO_PN6_U4RTS 0x000C1802
  8744. #define GPIO_PN7_U1RTS 0x000C1C01
  8745. #define GPIO_PN7_U4CTS 0x000C1C02
  8746. #define GPIO_PP0_U6RX 0x000D0001
  8747. #define GPIO_PP0_T6CCP0 0x000D0005
  8748. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  8749. #define GPIO_PP1_U6TX 0x000D0401
  8750. #define GPIO_PP1_T6CCP1 0x000D0405
  8751. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  8752. #define GPIO_PP2_U0DTR 0x000D0801
  8753. #define GPIO_PP2_USB0NXT 0x000D080E
  8754. #define GPIO_PP2_EPI0S29 0x000D080F
  8755. #define GPIO_PP3_U1CTS 0x000D0C01
  8756. #define GPIO_PP3_U0DCD 0x000D0C02
  8757. #define GPIO_PP3_RTCCLK 0x000D0C07
  8758. #define GPIO_PP3_USB0DIR 0x000D0C0E
  8759. #define GPIO_PP3_EPI0S30 0x000D0C0F
  8760. #define GPIO_PP4_U3RTS 0x000D1001
  8761. #define GPIO_PP4_U0DSR 0x000D1002
  8762. #define GPIO_PP4_USB0D7 0x000D100E
  8763. #define GPIO_PP5_U3CTS 0x000D1401
  8764. #define GPIO_PP5_I2C2SCL 0x000D1402
  8765. #define GPIO_PP5_USB0D6 0x000D140E
  8766. #define GPIO_PP6_U1DCD 0x000D1801
  8767. #define GPIO_PP6_I2C2SDA 0x000D1802
  8768. #define GPIO_PQ0_T6CCP0 0x000E0003
  8769. #define GPIO_PQ0_SSI3CLK 0x000E000E
  8770. #define GPIO_PQ0_EPI0S20 0x000E000F
  8771. #define GPIO_PQ1_T6CCP1 0x000E0403
  8772. #define GPIO_PQ1_SSI3FSS 0x000E040E
  8773. #define GPIO_PQ1_EPI0S21 0x000E040F
  8774. #define GPIO_PQ2_T7CCP0 0x000E0803
  8775. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  8776. #define GPIO_PQ2_EPI0S22 0x000E080F
  8777. #define GPIO_PQ3_T7CCP1 0x000E0C03
  8778. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  8779. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  8780. #define GPIO_PQ4_U1RX 0x000E1001
  8781. #define GPIO_PQ4_DIVSCLK 0x000E1007
  8782. #define GPIO_PQ5_U1TX 0x000E1401
  8783. #define GPIO_PQ6_U1DTR 0x000E1801
  8784. #define GPIO_PQ7_U1RI 0x000E1C01
  8785. #define GPIO_PR0_U4TX 0x000F0001
  8786. #define GPIO_PR0_I2C1SCL 0x000F0002
  8787. #define GPIO_PR0_M0PWM0 0x000F0006
  8788. #define GPIO_PR1_U4RX 0x000F0401
  8789. #define GPIO_PR1_I2C1SDA 0x000F0402
  8790. #define GPIO_PR1_M0PWM1 0x000F0406
  8791. #define GPIO_PR2_I2C2SCL 0x000F0802
  8792. #define GPIO_PR2_M0PWM2 0x000F0806
  8793. #define GPIO_PR3_I2C2SDA 0x000F0C02
  8794. #define GPIO_PR3_M0PWM3 0x000F0C06
  8795. #define GPIO_PR4_I2C3SCL 0x000F1002
  8796. #define GPIO_PR4_T0CCP0 0x000F1003
  8797. #define GPIO_PR4_M0PWM4 0x000F1006
  8798. #define GPIO_PR5_U1RX 0x000F1401
  8799. #define GPIO_PR5_I2C3SDA 0x000F1402
  8800. #define GPIO_PR5_T0CCP1 0x000F1403
  8801. #define GPIO_PR5_M0PWM5 0x000F1406
  8802. #define GPIO_PR6_U1TX 0x000F1801
  8803. #define GPIO_PR6_I2C4SCL 0x000F1802
  8804. #define GPIO_PR6_T1CCP0 0x000F1803
  8805. #define GPIO_PR6_M0PWM6 0x000F1806
  8806. #define GPIO_PR7_I2C4SDA 0x000F1C02
  8807. #define GPIO_PR7_T1CCP1 0x000F1C03
  8808. #define GPIO_PR7_M0PWM7 0x000F1C06
  8809. #define GPIO_PS0_T2CCP0 0x00100003
  8810. #define GPIO_PS0_M0FAULT0 0x00100006
  8811. #define GPIO_PS1_T2CCP1 0x00100403
  8812. #define GPIO_PS1_M0FAULT1 0x00100406
  8813. #define GPIO_PS2_U1DSR 0x00100801
  8814. #define GPIO_PS2_T3CCP0 0x00100803
  8815. #define GPIO_PS2_M0FAULT2 0x00100806
  8816. #define GPIO_PS3_T3CCP1 0x00100C03
  8817. #define GPIO_PS3_M0FAULT3 0x00100C06
  8818. #define GPIO_PS4_T4CCP0 0x00101003
  8819. #define GPIO_PS4_PHA0 0x00101006
  8820. #define GPIO_PS5_T4CCP1 0x00101403
  8821. #define GPIO_PS5_PHB0 0x00101406
  8822. #define GPIO_PS6_T5CCP0 0x00101803
  8823. #define GPIO_PS6_IDX0 0x00101806
  8824. #define GPIO_PS7_T5CCP1 0x00101C03
  8825. #define GPIO_PT0_T6CCP0 0x00110003
  8826. #define GPIO_PT0_CAN0RX 0x00110007
  8827. #define GPIO_PT1_T6CCP1 0x00110403
  8828. #define GPIO_PT1_CAN0TX 0x00110407
  8829. #define GPIO_PT2_T7CCP0 0x00110803
  8830. #define GPIO_PT2_CAN1RX 0x00110807
  8831. #define GPIO_PT3_T7CCP1 0x00110C03
  8832. #define GPIO_PT3_CAN1TX 0x00110C07
  8833. #endif // PART_TM4C1290NCZAD
  8834. //*****************************************************************************
  8835. //
  8836. // TM4C1292NCPDT Port/Pin Mapping Definitions
  8837. //
  8838. //*****************************************************************************
  8839. #ifdef PART_TM4C1292NCPDT
  8840. #define GPIO_PA0_U0RX 0x00000001
  8841. #define GPIO_PA0_I2C9SCL 0x00000002
  8842. #define GPIO_PA0_T0CCP0 0x00000003
  8843. #define GPIO_PA0_CAN0RX 0x00000007
  8844. #define GPIO_PA1_U0TX 0x00000401
  8845. #define GPIO_PA1_I2C9SDA 0x00000402
  8846. #define GPIO_PA1_T0CCP1 0x00000403
  8847. #define GPIO_PA1_CAN0TX 0x00000407
  8848. #define GPIO_PA2_U4RX 0x00000801
  8849. #define GPIO_PA2_I2C8SCL 0x00000802
  8850. #define GPIO_PA2_T1CCP0 0x00000803
  8851. #define GPIO_PA2_SSI0CLK 0x0000080F
  8852. #define GPIO_PA3_U4TX 0x00000C01
  8853. #define GPIO_PA3_I2C8SDA 0x00000C02
  8854. #define GPIO_PA3_T1CCP1 0x00000C03
  8855. #define GPIO_PA3_SSI0FSS 0x00000C0F
  8856. #define GPIO_PA4_U3RX 0x00001001
  8857. #define GPIO_PA4_T2CCP0 0x00001003
  8858. #define GPIO_PA4_I2C7SCL 0x00001002
  8859. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  8860. #define GPIO_PA5_U3TX 0x00001401
  8861. #define GPIO_PA5_T2CCP1 0x00001403
  8862. #define GPIO_PA5_I2C7SDA 0x00001402
  8863. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  8864. #define GPIO_PA6_U2RX 0x00001801
  8865. #define GPIO_PA6_I2C6SCL 0x00001802
  8866. #define GPIO_PA6_T3CCP0 0x00001803
  8867. #define GPIO_PA6_USB0EPEN 0x00001805
  8868. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  8869. #define GPIO_PA6_EN0RXCK 0x0000180E
  8870. #define GPIO_PA6_EPI0S8 0x0000180F
  8871. #define GPIO_PA7_U2TX 0x00001C01
  8872. #define GPIO_PA7_I2C6SDA 0x00001C02
  8873. #define GPIO_PA7_T3CCP1 0x00001C03
  8874. #define GPIO_PA7_USB0PFLT 0x00001C05
  8875. #define GPIO_PA7_USB0EPEN 0x00001C0B
  8876. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  8877. #define GPIO_PA7_EPI0S9 0x00001C0F
  8878. #define GPIO_PB0_U1RX 0x00010001
  8879. #define GPIO_PB0_I2C5SCL 0x00010002
  8880. #define GPIO_PB0_CAN1RX 0x00010007
  8881. #define GPIO_PB0_T4CCP0 0x00010003
  8882. #define GPIO_PB1_U1TX 0x00010401
  8883. #define GPIO_PB1_I2C5SDA 0x00010402
  8884. #define GPIO_PB1_CAN1TX 0x00010407
  8885. #define GPIO_PB1_T4CCP1 0x00010403
  8886. #define GPIO_PB2_T5CCP0 0x00010803
  8887. #define GPIO_PB2_I2C0SCL 0x00010802
  8888. #define GPIO_PB2_EN0MDC 0x00010805
  8889. #define GPIO_PB2_USB0STP 0x0001080E
  8890. #define GPIO_PB2_EPI0S27 0x0001080F
  8891. #define GPIO_PB3_I2C0SDA 0x00010C02
  8892. #define GPIO_PB3_T5CCP1 0x00010C03
  8893. #define GPIO_PB3_EN0MDIO 0x00010C05
  8894. #define GPIO_PB3_USB0CLK 0x00010C0E
  8895. #define GPIO_PB3_EPI0S28 0x00010C0F
  8896. #define GPIO_PB4_U0CTS 0x00011001
  8897. #define GPIO_PB4_I2C5SCL 0x00011002
  8898. #define GPIO_PB4_SSI1FSS 0x0001100F
  8899. #define GPIO_PB5_U0RTS 0x00011401
  8900. #define GPIO_PB5_I2C5SDA 0x00011402
  8901. #define GPIO_PB5_SSI1CLK 0x0001140F
  8902. #define GPIO_PC0_TCK 0x00020001
  8903. #define GPIO_PC0_SWCLK 0x00020001
  8904. #define GPIO_PC1_TMS 0x00020401
  8905. #define GPIO_PC1_SWDIO 0x00020401
  8906. #define GPIO_PC2_TDI 0x00020801
  8907. #define GPIO_PC3_SWO 0x00020C01
  8908. #define GPIO_PC3_TDO 0x00020C01
  8909. #define GPIO_PC4_U7RX 0x00021001
  8910. #define GPIO_PC4_EPI0S7 0x0002100F
  8911. #define GPIO_PC5_U7TX 0x00021401
  8912. #define GPIO_PC5_RTCCLK 0x00021407
  8913. #define GPIO_PC5_EPI0S6 0x0002140F
  8914. #define GPIO_PC6_U5RX 0x00021801
  8915. #define GPIO_PC6_EPI0S5 0x0002180F
  8916. #define GPIO_PC7_U5TX 0x00021C01
  8917. #define GPIO_PC7_EPI0S4 0x00021C0F
  8918. #define GPIO_PD0_I2C7SCL 0x00030002
  8919. #define GPIO_PD0_T0CCP0 0x00030003
  8920. #define GPIO_PD0_C0O 0x00030005
  8921. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  8922. #define GPIO_PD1_I2C7SDA 0x00030402
  8923. #define GPIO_PD1_T0CCP1 0x00030403
  8924. #define GPIO_PD1_C1O 0x00030405
  8925. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  8926. #define GPIO_PD2_I2C8SCL 0x00030802
  8927. #define GPIO_PD2_T1CCP0 0x00030803
  8928. #define GPIO_PD2_C2O 0x00030805
  8929. #define GPIO_PD2_SSI2FSS 0x0003080F
  8930. #define GPIO_PD3_I2C8SDA 0x00030C02
  8931. #define GPIO_PD3_T1CCP1 0x00030C03
  8932. #define GPIO_PD3_SSI2CLK 0x00030C0F
  8933. #define GPIO_PD4_U2RX 0x00031001
  8934. #define GPIO_PD4_T3CCP0 0x00031003
  8935. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  8936. #define GPIO_PD5_U2TX 0x00031401
  8937. #define GPIO_PD5_T3CCP1 0x00031403
  8938. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  8939. #define GPIO_PD6_U2RTS 0x00031801
  8940. #define GPIO_PD6_T4CCP0 0x00031803
  8941. #define GPIO_PD6_USB0EPEN 0x00031805
  8942. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  8943. #define GPIO_PD7_U2CTS 0x00031C01
  8944. #define GPIO_PD7_T4CCP1 0x00031C03
  8945. #define GPIO_PD7_USB0PFLT 0x00031C05
  8946. #define GPIO_PD7_NMI 0x00031C08
  8947. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  8948. #define GPIO_PE0_U1RTS 0x00040001
  8949. #define GPIO_PE1_U1DSR 0x00040401
  8950. #define GPIO_PE2_U1DCD 0x00040801
  8951. #define GPIO_PE3_U1DTR 0x00040C01
  8952. #define GPIO_PE4_U1RI 0x00041001
  8953. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  8954. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  8955. #define GPIO_PF0_M0PWM0 0x00050006
  8956. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  8957. #define GPIO_PF0_TRD2 0x0005000F
  8958. #define GPIO_PF1_M0PWM1 0x00050406
  8959. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  8960. #define GPIO_PF1_TRD1 0x0005040F
  8961. #define GPIO_PF2_EN0MDC 0x00050805
  8962. #define GPIO_PF2_M0PWM2 0x00050806
  8963. #define GPIO_PF2_SSI3FSS 0x0005080E
  8964. #define GPIO_PF2_TRD0 0x0005080F
  8965. #define GPIO_PF3_EN0MDIO 0x00050C05
  8966. #define GPIO_PF3_M0PWM3 0x00050C06
  8967. #define GPIO_PF3_SSI3CLK 0x00050C0E
  8968. #define GPIO_PF3_TRCLK 0x00050C0F
  8969. #define GPIO_PF4_M0FAULT0 0x00051006
  8970. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  8971. #define GPIO_PF4_TRD3 0x0005100F
  8972. #define GPIO_PG0_I2C1SCL 0x00060002
  8973. #define GPIO_PG0_M0PWM4 0x00060006
  8974. #define GPIO_PG0_EPI0S11 0x0006000F
  8975. #define GPIO_PG1_I2C1SDA 0x00060402
  8976. #define GPIO_PG1_M0PWM5 0x00060406
  8977. #define GPIO_PG1_EPI0S10 0x0006040F
  8978. #define GPIO_PG2_I2C2SCL 0x00060802
  8979. #define GPIO_PG2_EN0TXCK 0x0006080E
  8980. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  8981. #define GPIO_PG3_I2C2SDA 0x00060C02
  8982. #define GPIO_PG3_EN0TXEN 0x00060C0E
  8983. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  8984. #define GPIO_PG4_U0CTS 0x00061001
  8985. #define GPIO_PG4_I2C3SCL 0x00061002
  8986. #define GPIO_PG4_EN0TXD0 0x0006100E
  8987. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  8988. #define GPIO_PG5_U0RTS 0x00061401
  8989. #define GPIO_PG5_I2C3SDA 0x00061402
  8990. #define GPIO_PG5_EN0TXD1 0x0006140E
  8991. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  8992. #define GPIO_PG6_I2C4SCL 0x00061802
  8993. #define GPIO_PG6_EN0RXER 0x0006180E
  8994. #define GPIO_PG6_SSI2FSS 0x0006180F
  8995. #define GPIO_PG7_I2C4SDA 0x00061C02
  8996. #define GPIO_PG7_EN0RXDV 0x00061C0E
  8997. #define GPIO_PG7_SSI2CLK 0x00061C0F
  8998. #define GPIO_PH0_U0RTS 0x00070001
  8999. #define GPIO_PH0_EPI0S0 0x0007000F
  9000. #define GPIO_PH1_U0CTS 0x00070401
  9001. #define GPIO_PH1_EPI0S1 0x0007040F
  9002. #define GPIO_PH2_U0DCD 0x00070801
  9003. #define GPIO_PH2_EPI0S2 0x0007080F
  9004. #define GPIO_PH3_U0DSR 0x00070C01
  9005. #define GPIO_PH3_EPI0S3 0x00070C0F
  9006. #define GPIO_PJ0_U3RX 0x00080001
  9007. #define GPIO_PJ1_U3TX 0x00080401
  9008. #define GPIO_PK0_U4RX 0x00090001
  9009. #define GPIO_PK0_EPI0S0 0x0009000F
  9010. #define GPIO_PK1_U4TX 0x00090401
  9011. #define GPIO_PK1_EPI0S1 0x0009040F
  9012. #define GPIO_PK2_U4RTS 0x00090801
  9013. #define GPIO_PK2_EPI0S2 0x0009080F
  9014. #define GPIO_PK3_U4CTS 0x00090C01
  9015. #define GPIO_PK3_EPI0S3 0x00090C0F
  9016. #define GPIO_PK4_I2C3SCL 0x00091002
  9017. #define GPIO_PK4_M0PWM6 0x00091006
  9018. #define GPIO_PK4_EN0INTRN 0x00091007
  9019. #define GPIO_PK4_EN0RXD3 0x0009100E
  9020. #define GPIO_PK4_EPI0S32 0x0009100F
  9021. #define GPIO_PK5_I2C3SDA 0x00091402
  9022. #define GPIO_PK5_M0PWM7 0x00091406
  9023. #define GPIO_PK5_EN0RXD2 0x0009140E
  9024. #define GPIO_PK5_EPI0S31 0x0009140F
  9025. #define GPIO_PK6_I2C4SCL 0x00091802
  9026. #define GPIO_PK6_M0FAULT1 0x00091806
  9027. #define GPIO_PK6_EN0TXD2 0x0009180E
  9028. #define GPIO_PK6_EPI0S25 0x0009180F
  9029. #define GPIO_PK7_U0RI 0x00091C01
  9030. #define GPIO_PK7_I2C4SDA 0x00091C02
  9031. #define GPIO_PK7_RTCCLK 0x00091C05
  9032. #define GPIO_PK7_M0FAULT2 0x00091C06
  9033. #define GPIO_PK7_EN0TXD3 0x00091C0E
  9034. #define GPIO_PK7_EPI0S24 0x00091C0F
  9035. #define GPIO_PL0_I2C2SDA 0x000A0002
  9036. #define GPIO_PL0_M0FAULT3 0x000A0006
  9037. #define GPIO_PL0_USB0D0 0x000A000E
  9038. #define GPIO_PL0_EPI0S16 0x000A000F
  9039. #define GPIO_PL1_I2C2SCL 0x000A0402
  9040. #define GPIO_PL1_PHA0 0x000A0406
  9041. #define GPIO_PL1_USB0D1 0x000A040E
  9042. #define GPIO_PL1_EPI0S17 0x000A040F
  9043. #define GPIO_PL2_C0O 0x000A0805
  9044. #define GPIO_PL2_PHB0 0x000A0806
  9045. #define GPIO_PL2_USB0D2 0x000A080E
  9046. #define GPIO_PL2_EPI0S18 0x000A080F
  9047. #define GPIO_PL3_C1O 0x000A0C05
  9048. #define GPIO_PL3_IDX0 0x000A0C06
  9049. #define GPIO_PL3_USB0D3 0x000A0C0E
  9050. #define GPIO_PL3_EPI0S19 0x000A0C0F
  9051. #define GPIO_PL4_T0CCP0 0x000A1003
  9052. #define GPIO_PL4_USB0D4 0x000A100E
  9053. #define GPIO_PL4_EPI0S26 0x000A100F
  9054. #define GPIO_PL5_T0CCP1 0x000A1403
  9055. #define GPIO_PL5_EPI0S33 0x000A140F
  9056. #define GPIO_PL5_USB0D5 0x000A140E
  9057. #define GPIO_PL6_T1CCP0 0x000A1803
  9058. #define GPIO_PL7_T1CCP1 0x000A1C03
  9059. #define GPIO_PM0_T2CCP0 0x000B0003
  9060. #define GPIO_PM0_EPI0S15 0x000B000F
  9061. #define GPIO_PM1_T2CCP1 0x000B0403
  9062. #define GPIO_PM1_EPI0S14 0x000B040F
  9063. #define GPIO_PM2_T3CCP0 0x000B0803
  9064. #define GPIO_PM2_EPI0S13 0x000B080F
  9065. #define GPIO_PM3_T3CCP1 0x000B0C03
  9066. #define GPIO_PM3_EPI0S12 0x000B0C0F
  9067. #define GPIO_PM4_U0CTS 0x000B1001
  9068. #define GPIO_PM4_T4CCP0 0x000B1003
  9069. #define GPIO_PM4_EN0RREF_CLK 0x000B100E
  9070. #define GPIO_PM5_U0DCD 0x000B1401
  9071. #define GPIO_PM5_T4CCP1 0x000B1403
  9072. #define GPIO_PM6_U0DSR 0x000B1801
  9073. #define GPIO_PM6_T5CCP0 0x000B1803
  9074. #define GPIO_PM6_EN0CRS 0x000B180E
  9075. #define GPIO_PM7_U0RI 0x000B1C01
  9076. #define GPIO_PM7_T5CCP1 0x000B1C03
  9077. #define GPIO_PM7_EN0COL 0x000B1C0E
  9078. #define GPIO_PN0_U1RTS 0x000C0001
  9079. #define GPIO_PN1_U1CTS 0x000C0401
  9080. #define GPIO_PN2_U1DCD 0x000C0801
  9081. #define GPIO_PN2_U2RTS 0x000C0802
  9082. #define GPIO_PN2_EPI0S29 0x000C080F
  9083. #define GPIO_PN3_U1DSR 0x000C0C01
  9084. #define GPIO_PN3_U2CTS 0x000C0C02
  9085. #define GPIO_PN3_EPI0S30 0x000C0C0F
  9086. #define GPIO_PN4_U1DTR 0x000C1001
  9087. #define GPIO_PN4_U3RTS 0x000C1002
  9088. #define GPIO_PN4_I2C2SDA 0x000C1003
  9089. #define GPIO_PN4_EPI0S34 0x000C100F
  9090. #define GPIO_PN5_U1RI 0x000C1401
  9091. #define GPIO_PN5_U3CTS 0x000C1402
  9092. #define GPIO_PN5_I2C2SCL 0x000C1403
  9093. #define GPIO_PN5_EPI0S35 0x000C140F
  9094. #define GPIO_PP0_U6RX 0x000D0001
  9095. #define GPIO_PP0_EN0INTRN 0x000D0007
  9096. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  9097. #define GPIO_PP1_U6TX 0x000D0401
  9098. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  9099. #define GPIO_PP2_U0DTR 0x000D0801
  9100. #define GPIO_PP2_USB0NXT 0x000D080E
  9101. #define GPIO_PP2_EPI0S29 0x000D080F
  9102. #define GPIO_PP3_U1CTS 0x000D0C01
  9103. #define GPIO_PP3_U0DCD 0x000D0C02
  9104. #define GPIO_PP3_RTCCLK 0x000D0C07
  9105. #define GPIO_PP3_USB0DIR 0x000D0C0E
  9106. #define GPIO_PP3_EPI0S30 0x000D0C0F
  9107. #define GPIO_PP4_U3RTS 0x000D1001
  9108. #define GPIO_PP4_U0DSR 0x000D1002
  9109. #define GPIO_PP4_USB0D7 0x000D100E
  9110. #define GPIO_PP5_U3CTS 0x000D1401
  9111. #define GPIO_PP5_I2C2SCL 0x000D1402
  9112. #define GPIO_PP5_USB0D6 0x000D140E
  9113. #define GPIO_PQ0_SSI3CLK 0x000E000E
  9114. #define GPIO_PQ0_EPI0S20 0x000E000F
  9115. #define GPIO_PQ1_SSI3FSS 0x000E040E
  9116. #define GPIO_PQ1_EPI0S21 0x000E040F
  9117. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  9118. #define GPIO_PQ2_EPI0S22 0x000E080F
  9119. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  9120. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  9121. #define GPIO_PQ4_U1RX 0x000E1001
  9122. #define GPIO_PQ4_DIVSCLK 0x000E1007
  9123. #define GPIO_PQ5_U1TX 0x000E1401
  9124. #define GPIO_PQ5_EN0RXD0 0x000E140E
  9125. #define GPIO_PQ6_U1DTR 0x000E1801
  9126. #define GPIO_PQ6_EN0RXD1 0x000E180E
  9127. #endif // PART_TM4C1292NCPDT
  9128. //*****************************************************************************
  9129. //
  9130. // TM4C1292NCZAD Port/Pin Mapping Definitions
  9131. //
  9132. //*****************************************************************************
  9133. #ifdef PART_TM4C1292NCZAD
  9134. #define GPIO_PA0_U0RX 0x00000001
  9135. #define GPIO_PA0_I2C9SCL 0x00000002
  9136. #define GPIO_PA0_T0CCP0 0x00000003
  9137. #define GPIO_PA0_CAN0RX 0x00000007
  9138. #define GPIO_PA1_U0TX 0x00000401
  9139. #define GPIO_PA1_I2C9SDA 0x00000402
  9140. #define GPIO_PA1_T0CCP1 0x00000403
  9141. #define GPIO_PA1_CAN0TX 0x00000407
  9142. #define GPIO_PA2_U4RX 0x00000801
  9143. #define GPIO_PA2_I2C8SCL 0x00000802
  9144. #define GPIO_PA2_T1CCP0 0x00000803
  9145. #define GPIO_PA2_SSI0CLK 0x0000080F
  9146. #define GPIO_PA3_U4TX 0x00000C01
  9147. #define GPIO_PA3_I2C8SDA 0x00000C02
  9148. #define GPIO_PA3_T1CCP1 0x00000C03
  9149. #define GPIO_PA3_SSI0FSS 0x00000C0F
  9150. #define GPIO_PA4_U3RX 0x00001001
  9151. #define GPIO_PA4_T2CCP0 0x00001003
  9152. #define GPIO_PA4_I2C7SCL 0x00001002
  9153. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  9154. #define GPIO_PA5_U3TX 0x00001401
  9155. #define GPIO_PA5_T2CCP1 0x00001403
  9156. #define GPIO_PA5_I2C7SDA 0x00001402
  9157. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  9158. #define GPIO_PA6_U2RX 0x00001801
  9159. #define GPIO_PA6_I2C6SCL 0x00001802
  9160. #define GPIO_PA6_T3CCP0 0x00001803
  9161. #define GPIO_PA6_USB0EPEN 0x00001805
  9162. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  9163. #define GPIO_PA6_EN0RXCK 0x0000180E
  9164. #define GPIO_PA6_EPI0S8 0x0000180F
  9165. #define GPIO_PA7_U2TX 0x00001C01
  9166. #define GPIO_PA7_I2C6SDA 0x00001C02
  9167. #define GPIO_PA7_T3CCP1 0x00001C03
  9168. #define GPIO_PA7_USB0PFLT 0x00001C05
  9169. #define GPIO_PA7_USB0EPEN 0x00001C0B
  9170. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  9171. #define GPIO_PA7_EPI0S9 0x00001C0F
  9172. #define GPIO_PB0_U1RX 0x00010001
  9173. #define GPIO_PB0_I2C5SCL 0x00010002
  9174. #define GPIO_PB0_CAN1RX 0x00010007
  9175. #define GPIO_PB0_T4CCP0 0x00010003
  9176. #define GPIO_PB1_U1TX 0x00010401
  9177. #define GPIO_PB1_I2C5SDA 0x00010402
  9178. #define GPIO_PB1_CAN1TX 0x00010407
  9179. #define GPIO_PB1_T4CCP1 0x00010403
  9180. #define GPIO_PB2_T5CCP0 0x00010803
  9181. #define GPIO_PB2_I2C0SCL 0x00010802
  9182. #define GPIO_PB2_EN0MDC 0x00010805
  9183. #define GPIO_PB2_USB0STP 0x0001080E
  9184. #define GPIO_PB2_EPI0S27 0x0001080F
  9185. #define GPIO_PB3_I2C0SDA 0x00010C02
  9186. #define GPIO_PB3_T5CCP1 0x00010C03
  9187. #define GPIO_PB3_EN0MDIO 0x00010C05
  9188. #define GPIO_PB3_USB0CLK 0x00010C0E
  9189. #define GPIO_PB3_EPI0S28 0x00010C0F
  9190. #define GPIO_PB4_U0CTS 0x00011001
  9191. #define GPIO_PB4_I2C5SCL 0x00011002
  9192. #define GPIO_PB4_SSI1FSS 0x0001100F
  9193. #define GPIO_PB5_U0RTS 0x00011401
  9194. #define GPIO_PB5_I2C5SDA 0x00011402
  9195. #define GPIO_PB5_SSI1CLK 0x0001140F
  9196. #define GPIO_PB6_I2C6SCL 0x00011802
  9197. #define GPIO_PB6_T6CCP0 0x00011803
  9198. #define GPIO_PB7_I2C6SDA 0x00011C02
  9199. #define GPIO_PB7_T6CCP1 0x00011C03
  9200. #define GPIO_PC0_TCK 0x00020001
  9201. #define GPIO_PC0_SWCLK 0x00020001
  9202. #define GPIO_PC1_TMS 0x00020401
  9203. #define GPIO_PC1_SWDIO 0x00020401
  9204. #define GPIO_PC2_TDI 0x00020801
  9205. #define GPIO_PC3_SWO 0x00020C01
  9206. #define GPIO_PC3_TDO 0x00020C01
  9207. #define GPIO_PC4_U7RX 0x00021001
  9208. #define GPIO_PC4_T7CCP0 0x00021003
  9209. #define GPIO_PC4_EPI0S7 0x0002100F
  9210. #define GPIO_PC5_U7TX 0x00021401
  9211. #define GPIO_PC5_T7CCP1 0x00021403
  9212. #define GPIO_PC5_RTCCLK 0x00021407
  9213. #define GPIO_PC5_EPI0S6 0x0002140F
  9214. #define GPIO_PC6_U5RX 0x00021801
  9215. #define GPIO_PC6_EPI0S5 0x0002180F
  9216. #define GPIO_PC7_U5TX 0x00021C01
  9217. #define GPIO_PC7_EPI0S4 0x00021C0F
  9218. #define GPIO_PD0_I2C7SCL 0x00030002
  9219. #define GPIO_PD0_T0CCP0 0x00030003
  9220. #define GPIO_PD0_C0O 0x00030005
  9221. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  9222. #define GPIO_PD1_I2C7SDA 0x00030402
  9223. #define GPIO_PD1_T0CCP1 0x00030403
  9224. #define GPIO_PD1_C1O 0x00030405
  9225. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  9226. #define GPIO_PD2_I2C8SCL 0x00030802
  9227. #define GPIO_PD2_T1CCP0 0x00030803
  9228. #define GPIO_PD2_C2O 0x00030805
  9229. #define GPIO_PD2_SSI2FSS 0x0003080F
  9230. #define GPIO_PD3_I2C8SDA 0x00030C02
  9231. #define GPIO_PD3_T1CCP1 0x00030C03
  9232. #define GPIO_PD3_SSI2CLK 0x00030C0F
  9233. #define GPIO_PD4_U2RX 0x00031001
  9234. #define GPIO_PD4_T3CCP0 0x00031003
  9235. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  9236. #define GPIO_PD5_U2TX 0x00031401
  9237. #define GPIO_PD5_T3CCP1 0x00031403
  9238. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  9239. #define GPIO_PD6_U2RTS 0x00031801
  9240. #define GPIO_PD6_T4CCP0 0x00031803
  9241. #define GPIO_PD6_USB0EPEN 0x00031805
  9242. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  9243. #define GPIO_PD7_U2CTS 0x00031C01
  9244. #define GPIO_PD7_T4CCP1 0x00031C03
  9245. #define GPIO_PD7_USB0PFLT 0x00031C05
  9246. #define GPIO_PD7_NMI 0x00031C08
  9247. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  9248. #define GPIO_PE0_U1RTS 0x00040001
  9249. #define GPIO_PE1_U1DSR 0x00040401
  9250. #define GPIO_PE2_U1DCD 0x00040801
  9251. #define GPIO_PE3_U1DTR 0x00040C01
  9252. #define GPIO_PE4_U1RI 0x00041001
  9253. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  9254. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  9255. #define GPIO_PE6_U0CTS 0x00041801
  9256. #define GPIO_PE6_I2C9SCL 0x00041802
  9257. #define GPIO_PE7_U0RTS 0x00041C01
  9258. #define GPIO_PE7_I2C9SDA 0x00041C02
  9259. #define GPIO_PE7_NMI 0x00041C08
  9260. #define GPIO_PF0_M0PWM0 0x00050006
  9261. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  9262. #define GPIO_PF0_TRD2 0x0005000F
  9263. #define GPIO_PF1_M0PWM1 0x00050406
  9264. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  9265. #define GPIO_PF1_TRD1 0x0005040F
  9266. #define GPIO_PF2_EN0MDC 0x00050805
  9267. #define GPIO_PF2_M0PWM2 0x00050806
  9268. #define GPIO_PF2_SSI3FSS 0x0005080E
  9269. #define GPIO_PF2_TRD0 0x0005080F
  9270. #define GPIO_PF3_EN0MDIO 0x00050C05
  9271. #define GPIO_PF3_M0PWM3 0x00050C06
  9272. #define GPIO_PF3_SSI3CLK 0x00050C0E
  9273. #define GPIO_PF3_TRCLK 0x00050C0F
  9274. #define GPIO_PF4_M0FAULT0 0x00051006
  9275. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  9276. #define GPIO_PF4_TRD3 0x0005100F
  9277. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  9278. #define GPIO_PG0_I2C1SCL 0x00060002
  9279. #define GPIO_PG0_M0PWM4 0x00060006
  9280. #define GPIO_PG0_EPI0S11 0x0006000F
  9281. #define GPIO_PG1_I2C1SDA 0x00060402
  9282. #define GPIO_PG1_M0PWM5 0x00060406
  9283. #define GPIO_PG1_EPI0S10 0x0006040F
  9284. #define GPIO_PG2_I2C2SCL 0x00060802
  9285. #define GPIO_PG2_EN0TXCK 0x0006080E
  9286. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  9287. #define GPIO_PG3_I2C2SDA 0x00060C02
  9288. #define GPIO_PG3_EN0TXEN 0x00060C0E
  9289. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  9290. #define GPIO_PG4_U0CTS 0x00061001
  9291. #define GPIO_PG4_I2C3SCL 0x00061002
  9292. #define GPIO_PG4_EN0TXD0 0x0006100E
  9293. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  9294. #define GPIO_PG5_U0RTS 0x00061401
  9295. #define GPIO_PG5_I2C3SDA 0x00061402
  9296. #define GPIO_PG5_EN0TXD1 0x0006140E
  9297. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  9298. #define GPIO_PG6_I2C4SCL 0x00061802
  9299. #define GPIO_PG6_EN0RXER 0x0006180E
  9300. #define GPIO_PG6_SSI2FSS 0x0006180F
  9301. #define GPIO_PG7_I2C4SDA 0x00061C02
  9302. #define GPIO_PG7_EN0RXDV 0x00061C0E
  9303. #define GPIO_PG7_SSI2CLK 0x00061C0F
  9304. #define GPIO_PH0_U0RTS 0x00070001
  9305. #define GPIO_PH0_EPI0S0 0x0007000F
  9306. #define GPIO_PH1_U0CTS 0x00070401
  9307. #define GPIO_PH1_EPI0S1 0x0007040F
  9308. #define GPIO_PH2_U0DCD 0x00070801
  9309. #define GPIO_PH2_EPI0S2 0x0007080F
  9310. #define GPIO_PH3_U0DSR 0x00070C01
  9311. #define GPIO_PH3_EPI0S3 0x00070C0F
  9312. #define GPIO_PH4_U0DTR 0x00071001
  9313. #define GPIO_PH5_U0RI 0x00071401
  9314. #define GPIO_PH6_U5RX 0x00071801
  9315. #define GPIO_PH6_U7RX 0x00071802
  9316. #define GPIO_PH7_U5TX 0x00071C01
  9317. #define GPIO_PH7_U7TX 0x00071C02
  9318. #define GPIO_PJ0_U3RX 0x00080001
  9319. #define GPIO_PJ1_U3TX 0x00080401
  9320. #define GPIO_PJ2_U2RTS 0x00080801
  9321. #define GPIO_PJ3_U2CTS 0x00080C01
  9322. #define GPIO_PJ4_U3RTS 0x00081001
  9323. #define GPIO_PJ5_U3CTS 0x00081401
  9324. #define GPIO_PJ6_U4RTS 0x00081801
  9325. #define GPIO_PJ7_U4CTS 0x00081C01
  9326. #define GPIO_PK0_U4RX 0x00090001
  9327. #define GPIO_PK0_EPI0S0 0x0009000F
  9328. #define GPIO_PK1_U4TX 0x00090401
  9329. #define GPIO_PK1_EPI0S1 0x0009040F
  9330. #define GPIO_PK2_U4RTS 0x00090801
  9331. #define GPIO_PK2_EPI0S2 0x0009080F
  9332. #define GPIO_PK3_U4CTS 0x00090C01
  9333. #define GPIO_PK3_EPI0S3 0x00090C0F
  9334. #define GPIO_PK4_I2C3SCL 0x00091002
  9335. #define GPIO_PK4_M0PWM6 0x00091006
  9336. #define GPIO_PK4_EN0INTRN 0x00091007
  9337. #define GPIO_PK4_EN0RXD3 0x0009100E
  9338. #define GPIO_PK4_EPI0S32 0x0009100F
  9339. #define GPIO_PK5_I2C3SDA 0x00091402
  9340. #define GPIO_PK5_M0PWM7 0x00091406
  9341. #define GPIO_PK5_EN0RXD2 0x0009140E
  9342. #define GPIO_PK5_EPI0S31 0x0009140F
  9343. #define GPIO_PK6_I2C4SCL 0x00091802
  9344. #define GPIO_PK6_M0FAULT1 0x00091806
  9345. #define GPIO_PK6_EN0TXD2 0x0009180E
  9346. #define GPIO_PK6_EPI0S25 0x0009180F
  9347. #define GPIO_PK7_U0RI 0x00091C01
  9348. #define GPIO_PK7_I2C4SDA 0x00091C02
  9349. #define GPIO_PK7_RTCCLK 0x00091C05
  9350. #define GPIO_PK7_M0FAULT2 0x00091C06
  9351. #define GPIO_PK7_EN0TXD3 0x00091C0E
  9352. #define GPIO_PK7_EPI0S24 0x00091C0F
  9353. #define GPIO_PL0_I2C2SDA 0x000A0002
  9354. #define GPIO_PL0_M0FAULT3 0x000A0006
  9355. #define GPIO_PL0_USB0D0 0x000A000E
  9356. #define GPIO_PL0_EPI0S16 0x000A000F
  9357. #define GPIO_PL1_I2C2SCL 0x000A0402
  9358. #define GPIO_PL1_PHA0 0x000A0406
  9359. #define GPIO_PL1_USB0D1 0x000A040E
  9360. #define GPIO_PL1_EPI0S17 0x000A040F
  9361. #define GPIO_PL2_C0O 0x000A0805
  9362. #define GPIO_PL2_PHB0 0x000A0806
  9363. #define GPIO_PL2_USB0D2 0x000A080E
  9364. #define GPIO_PL2_EPI0S18 0x000A080F
  9365. #define GPIO_PL3_C1O 0x000A0C05
  9366. #define GPIO_PL3_IDX0 0x000A0C06
  9367. #define GPIO_PL3_USB0D3 0x000A0C0E
  9368. #define GPIO_PL3_EPI0S19 0x000A0C0F
  9369. #define GPIO_PL4_T0CCP0 0x000A1003
  9370. #define GPIO_PL4_USB0D4 0x000A100E
  9371. #define GPIO_PL4_EPI0S26 0x000A100F
  9372. #define GPIO_PL5_T0CCP1 0x000A1403
  9373. #define GPIO_PL5_EPI0S33 0x000A140F
  9374. #define GPIO_PL5_USB0D5 0x000A140E
  9375. #define GPIO_PL6_T1CCP0 0x000A1803
  9376. #define GPIO_PL7_T1CCP1 0x000A1C03
  9377. #define GPIO_PM0_T2CCP0 0x000B0003
  9378. #define GPIO_PM0_EPI0S15 0x000B000F
  9379. #define GPIO_PM1_T2CCP1 0x000B0403
  9380. #define GPIO_PM1_EPI0S14 0x000B040F
  9381. #define GPIO_PM2_T3CCP0 0x000B0803
  9382. #define GPIO_PM2_EPI0S13 0x000B080F
  9383. #define GPIO_PM3_T3CCP1 0x000B0C03
  9384. #define GPIO_PM3_EPI0S12 0x000B0C0F
  9385. #define GPIO_PM4_U0CTS 0x000B1001
  9386. #define GPIO_PM4_T4CCP0 0x000B1003
  9387. #define GPIO_PM4_EN0RREF_CLK 0x000B100E
  9388. #define GPIO_PM5_U0DCD 0x000B1401
  9389. #define GPIO_PM5_T4CCP1 0x000B1403
  9390. #define GPIO_PM6_U0DSR 0x000B1801
  9391. #define GPIO_PM6_T5CCP0 0x000B1803
  9392. #define GPIO_PM6_EN0CRS 0x000B180E
  9393. #define GPIO_PM7_U0RI 0x000B1C01
  9394. #define GPIO_PM7_T5CCP1 0x000B1C03
  9395. #define GPIO_PM7_EN0COL 0x000B1C0E
  9396. #define GPIO_PN0_U1RTS 0x000C0001
  9397. #define GPIO_PN1_U1CTS 0x000C0401
  9398. #define GPIO_PN2_U1DCD 0x000C0801
  9399. #define GPIO_PN2_U2RTS 0x000C0802
  9400. #define GPIO_PN2_EPI0S29 0x000C080F
  9401. #define GPIO_PN3_U1DSR 0x000C0C01
  9402. #define GPIO_PN3_U2CTS 0x000C0C02
  9403. #define GPIO_PN3_EPI0S30 0x000C0C0F
  9404. #define GPIO_PN4_U1DTR 0x000C1001
  9405. #define GPIO_PN4_U3RTS 0x000C1002
  9406. #define GPIO_PN4_I2C2SDA 0x000C1003
  9407. #define GPIO_PN4_EPI0S34 0x000C100F
  9408. #define GPIO_PN5_U1RI 0x000C1401
  9409. #define GPIO_PN5_U3CTS 0x000C1402
  9410. #define GPIO_PN5_I2C2SCL 0x000C1403
  9411. #define GPIO_PN5_EPI0S35 0x000C140F
  9412. #define GPIO_PN6_U4RTS 0x000C1802
  9413. #define GPIO_PN6_EN0TXER 0x000C180E
  9414. #define GPIO_PN7_U1RTS 0x000C1C01
  9415. #define GPIO_PN7_U4CTS 0x000C1C02
  9416. #define GPIO_PP0_U6RX 0x000D0001
  9417. #define GPIO_PP0_T6CCP0 0x000D0005
  9418. #define GPIO_PP0_EN0INTRN 0x000D0007
  9419. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  9420. #define GPIO_PP1_U6TX 0x000D0401
  9421. #define GPIO_PP1_T6CCP1 0x000D0405
  9422. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  9423. #define GPIO_PP2_U0DTR 0x000D0801
  9424. #define GPIO_PP2_USB0NXT 0x000D080E
  9425. #define GPIO_PP2_EPI0S29 0x000D080F
  9426. #define GPIO_PP3_U1CTS 0x000D0C01
  9427. #define GPIO_PP3_U0DCD 0x000D0C02
  9428. #define GPIO_PP3_RTCCLK 0x000D0C07
  9429. #define GPIO_PP3_USB0DIR 0x000D0C0E
  9430. #define GPIO_PP3_EPI0S30 0x000D0C0F
  9431. #define GPIO_PP4_U3RTS 0x000D1001
  9432. #define GPIO_PP4_U0DSR 0x000D1002
  9433. #define GPIO_PP4_USB0D7 0x000D100E
  9434. #define GPIO_PP5_U3CTS 0x000D1401
  9435. #define GPIO_PP5_I2C2SCL 0x000D1402
  9436. #define GPIO_PP5_USB0D6 0x000D140E
  9437. #define GPIO_PP6_U1DCD 0x000D1801
  9438. #define GPIO_PP6_I2C2SDA 0x000D1802
  9439. #define GPIO_PQ0_T6CCP0 0x000E0003
  9440. #define GPIO_PQ0_SSI3CLK 0x000E000E
  9441. #define GPIO_PQ0_EPI0S20 0x000E000F
  9442. #define GPIO_PQ1_T6CCP1 0x000E0403
  9443. #define GPIO_PQ1_SSI3FSS 0x000E040E
  9444. #define GPIO_PQ1_EPI0S21 0x000E040F
  9445. #define GPIO_PQ2_T7CCP0 0x000E0803
  9446. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  9447. #define GPIO_PQ2_EPI0S22 0x000E080F
  9448. #define GPIO_PQ3_T7CCP1 0x000E0C03
  9449. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  9450. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  9451. #define GPIO_PQ4_U1RX 0x000E1001
  9452. #define GPIO_PQ4_DIVSCLK 0x000E1007
  9453. #define GPIO_PQ5_U1TX 0x000E1401
  9454. #define GPIO_PQ5_EN0RXD0 0x000E140E
  9455. #define GPIO_PQ6_U1DTR 0x000E1801
  9456. #define GPIO_PQ6_EN0RXD1 0x000E180E
  9457. #define GPIO_PQ7_U1RI 0x000E1C01
  9458. #define GPIO_PR0_U4TX 0x000F0001
  9459. #define GPIO_PR0_I2C1SCL 0x000F0002
  9460. #define GPIO_PR0_M0PWM0 0x000F0006
  9461. #define GPIO_PR1_U4RX 0x000F0401
  9462. #define GPIO_PR1_I2C1SDA 0x000F0402
  9463. #define GPIO_PR1_M0PWM1 0x000F0406
  9464. #define GPIO_PR2_I2C2SCL 0x000F0802
  9465. #define GPIO_PR2_M0PWM2 0x000F0806
  9466. #define GPIO_PR3_I2C2SDA 0x000F0C02
  9467. #define GPIO_PR3_M0PWM3 0x000F0C06
  9468. #define GPIO_PR4_I2C3SCL 0x000F1002
  9469. #define GPIO_PR4_T0CCP0 0x000F1003
  9470. #define GPIO_PR4_M0PWM4 0x000F1006
  9471. #define GPIO_PR5_U1RX 0x000F1401
  9472. #define GPIO_PR5_I2C3SDA 0x000F1402
  9473. #define GPIO_PR5_T0CCP1 0x000F1403
  9474. #define GPIO_PR5_M0PWM5 0x000F1406
  9475. #define GPIO_PR6_U1TX 0x000F1801
  9476. #define GPIO_PR6_I2C4SCL 0x000F1802
  9477. #define GPIO_PR6_T1CCP0 0x000F1803
  9478. #define GPIO_PR6_M0PWM6 0x000F1806
  9479. #define GPIO_PR7_I2C4SDA 0x000F1C02
  9480. #define GPIO_PR7_T1CCP1 0x000F1C03
  9481. #define GPIO_PR7_M0PWM7 0x000F1C06
  9482. #define GPIO_PR7_EN0TXEN 0x000F1C0E
  9483. #define GPIO_PS0_T2CCP0 0x00100003
  9484. #define GPIO_PS0_M0FAULT0 0x00100006
  9485. #define GPIO_PS1_T2CCP1 0x00100403
  9486. #define GPIO_PS1_M0FAULT1 0x00100406
  9487. #define GPIO_PS2_U1DSR 0x00100801
  9488. #define GPIO_PS2_T3CCP0 0x00100803
  9489. #define GPIO_PS2_M0FAULT2 0x00100806
  9490. #define GPIO_PS3_T3CCP1 0x00100C03
  9491. #define GPIO_PS3_M0FAULT3 0x00100C06
  9492. #define GPIO_PS4_T4CCP0 0x00101003
  9493. #define GPIO_PS4_PHA0 0x00101006
  9494. #define GPIO_PS4_EN0TXD0 0x0010100E
  9495. #define GPIO_PS5_T4CCP1 0x00101403
  9496. #define GPIO_PS5_PHB0 0x00101406
  9497. #define GPIO_PS5_EN0TXD1 0x0010140E
  9498. #define GPIO_PS6_T5CCP0 0x00101803
  9499. #define GPIO_PS6_IDX0 0x00101806
  9500. #define GPIO_PS6_EN0RXER 0x0010180E
  9501. #define GPIO_PS7_T5CCP1 0x00101C03
  9502. #define GPIO_PS7_EN0RXDV 0x00101C0E
  9503. #define GPIO_PT0_T6CCP0 0x00110003
  9504. #define GPIO_PT0_CAN0RX 0x00110007
  9505. #define GPIO_PT0_EN0RXD0 0x0011000E
  9506. #define GPIO_PT1_T6CCP1 0x00110403
  9507. #define GPIO_PT1_CAN0TX 0x00110407
  9508. #define GPIO_PT1_EN0RXD1 0x0011040E
  9509. #define GPIO_PT2_T7CCP0 0x00110803
  9510. #define GPIO_PT2_CAN1RX 0x00110807
  9511. #define GPIO_PT3_T7CCP1 0x00110C03
  9512. #define GPIO_PT3_CAN1TX 0x00110C07
  9513. #endif // PART_TM4C1292NCZAD
  9514. //*****************************************************************************
  9515. //
  9516. // TM4C1294KCPDT Port/Pin Mapping Definitions
  9517. //
  9518. //*****************************************************************************
  9519. #ifdef PART_TM4C1294KCPDT
  9520. #define GPIO_PA0_U0RX 0x00000001
  9521. #define GPIO_PA0_I2C9SCL 0x00000002
  9522. #define GPIO_PA0_T0CCP0 0x00000003
  9523. #define GPIO_PA0_CAN0RX 0x00000007
  9524. #define GPIO_PA1_U0TX 0x00000401
  9525. #define GPIO_PA1_I2C9SDA 0x00000402
  9526. #define GPIO_PA1_T0CCP1 0x00000403
  9527. #define GPIO_PA1_CAN0TX 0x00000407
  9528. #define GPIO_PA2_U4RX 0x00000801
  9529. #define GPIO_PA2_I2C8SCL 0x00000802
  9530. #define GPIO_PA2_T1CCP0 0x00000803
  9531. #define GPIO_PA2_SSI0CLK 0x0000080F
  9532. #define GPIO_PA3_U4TX 0x00000C01
  9533. #define GPIO_PA3_I2C8SDA 0x00000C02
  9534. #define GPIO_PA3_T1CCP1 0x00000C03
  9535. #define GPIO_PA3_SSI0FSS 0x00000C0F
  9536. #define GPIO_PA4_U3RX 0x00001001
  9537. #define GPIO_PA4_T2CCP0 0x00001003
  9538. #define GPIO_PA4_I2C7SCL 0x00001002
  9539. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  9540. #define GPIO_PA5_U3TX 0x00001401
  9541. #define GPIO_PA5_T2CCP1 0x00001403
  9542. #define GPIO_PA5_I2C7SDA 0x00001402
  9543. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  9544. #define GPIO_PA6_U2RX 0x00001801
  9545. #define GPIO_PA6_I2C6SCL 0x00001802
  9546. #define GPIO_PA6_T3CCP0 0x00001803
  9547. #define GPIO_PA6_USB0EPEN 0x00001805
  9548. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  9549. #define GPIO_PA6_EPI0S8 0x0000180F
  9550. #define GPIO_PA7_U2TX 0x00001C01
  9551. #define GPIO_PA7_I2C6SDA 0x00001C02
  9552. #define GPIO_PA7_T3CCP1 0x00001C03
  9553. #define GPIO_PA7_USB0PFLT 0x00001C05
  9554. #define GPIO_PA7_USB0EPEN 0x00001C0B
  9555. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  9556. #define GPIO_PA7_EPI0S9 0x00001C0F
  9557. #define GPIO_PB0_U1RX 0x00010001
  9558. #define GPIO_PB0_I2C5SCL 0x00010002
  9559. #define GPIO_PB0_CAN1RX 0x00010007
  9560. #define GPIO_PB0_T4CCP0 0x00010003
  9561. #define GPIO_PB1_U1TX 0x00010401
  9562. #define GPIO_PB1_I2C5SDA 0x00010402
  9563. #define GPIO_PB1_CAN1TX 0x00010407
  9564. #define GPIO_PB1_T4CCP1 0x00010403
  9565. #define GPIO_PB2_T5CCP0 0x00010803
  9566. #define GPIO_PB2_I2C0SCL 0x00010802
  9567. #define GPIO_PB2_USB0STP 0x0001080E
  9568. #define GPIO_PB2_EPI0S27 0x0001080F
  9569. #define GPIO_PB3_I2C0SDA 0x00010C02
  9570. #define GPIO_PB3_T5CCP1 0x00010C03
  9571. #define GPIO_PB3_USB0CLK 0x00010C0E
  9572. #define GPIO_PB3_EPI0S28 0x00010C0F
  9573. #define GPIO_PB4_U0CTS 0x00011001
  9574. #define GPIO_PB4_I2C5SCL 0x00011002
  9575. #define GPIO_PB4_SSI1FSS 0x0001100F
  9576. #define GPIO_PB5_U0RTS 0x00011401
  9577. #define GPIO_PB5_I2C5SDA 0x00011402
  9578. #define GPIO_PB5_SSI1CLK 0x0001140F
  9579. #define GPIO_PC0_TCK 0x00020001
  9580. #define GPIO_PC0_SWCLK 0x00020001
  9581. #define GPIO_PC1_TMS 0x00020401
  9582. #define GPIO_PC1_SWDIO 0x00020401
  9583. #define GPIO_PC2_TDI 0x00020801
  9584. #define GPIO_PC3_SWO 0x00020C01
  9585. #define GPIO_PC3_TDO 0x00020C01
  9586. #define GPIO_PC4_U7RX 0x00021001
  9587. #define GPIO_PC4_EPI0S7 0x0002100F
  9588. #define GPIO_PC5_U7TX 0x00021401
  9589. #define GPIO_PC5_RTCCLK 0x00021407
  9590. #define GPIO_PC5_EPI0S6 0x0002140F
  9591. #define GPIO_PC6_U5RX 0x00021801
  9592. #define GPIO_PC6_EPI0S5 0x0002180F
  9593. #define GPIO_PC7_U5TX 0x00021C01
  9594. #define GPIO_PC7_EPI0S4 0x00021C0F
  9595. #define GPIO_PD0_I2C7SCL 0x00030002
  9596. #define GPIO_PD0_T0CCP0 0x00030003
  9597. #define GPIO_PD0_C0O 0x00030005
  9598. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  9599. #define GPIO_PD1_I2C7SDA 0x00030402
  9600. #define GPIO_PD1_T0CCP1 0x00030403
  9601. #define GPIO_PD1_C1O 0x00030405
  9602. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  9603. #define GPIO_PD2_I2C8SCL 0x00030802
  9604. #define GPIO_PD2_T1CCP0 0x00030803
  9605. #define GPIO_PD2_C2O 0x00030805
  9606. #define GPIO_PD2_SSI2FSS 0x0003080F
  9607. #define GPIO_PD3_I2C8SDA 0x00030C02
  9608. #define GPIO_PD3_T1CCP1 0x00030C03
  9609. #define GPIO_PD3_SSI2CLK 0x00030C0F
  9610. #define GPIO_PD4_U2RX 0x00031001
  9611. #define GPIO_PD4_T3CCP0 0x00031003
  9612. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  9613. #define GPIO_PD5_U2TX 0x00031401
  9614. #define GPIO_PD5_T3CCP1 0x00031403
  9615. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  9616. #define GPIO_PD6_U2RTS 0x00031801
  9617. #define GPIO_PD6_T4CCP0 0x00031803
  9618. #define GPIO_PD6_USB0EPEN 0x00031805
  9619. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  9620. #define GPIO_PD7_U2CTS 0x00031C01
  9621. #define GPIO_PD7_T4CCP1 0x00031C03
  9622. #define GPIO_PD7_USB0PFLT 0x00031C05
  9623. #define GPIO_PD7_NMI 0x00031C08
  9624. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  9625. #define GPIO_PE0_U1RTS 0x00040001
  9626. #define GPIO_PE1_U1DSR 0x00040401
  9627. #define GPIO_PE2_U1DCD 0x00040801
  9628. #define GPIO_PE3_U1DTR 0x00040C01
  9629. #define GPIO_PE4_U1RI 0x00041001
  9630. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  9631. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  9632. #define GPIO_PF0_EN0LED0 0x00050005
  9633. #define GPIO_PF0_M0PWM0 0x00050006
  9634. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  9635. #define GPIO_PF0_TRD2 0x0005000F
  9636. #define GPIO_PF1_EN0LED2 0x00050405
  9637. #define GPIO_PF1_M0PWM1 0x00050406
  9638. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  9639. #define GPIO_PF1_TRD1 0x0005040F
  9640. #define GPIO_PF2_M0PWM2 0x00050806
  9641. #define GPIO_PF2_SSI3FSS 0x0005080E
  9642. #define GPIO_PF2_TRD0 0x0005080F
  9643. #define GPIO_PF3_M0PWM3 0x00050C06
  9644. #define GPIO_PF3_SSI3CLK 0x00050C0E
  9645. #define GPIO_PF3_TRCLK 0x00050C0F
  9646. #define GPIO_PF4_EN0LED1 0x00051005
  9647. #define GPIO_PF4_M0FAULT0 0x00051006
  9648. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  9649. #define GPIO_PF4_TRD3 0x0005100F
  9650. #define GPIO_PG0_I2C1SCL 0x00060002
  9651. #define GPIO_PG0_EN0PPS 0x00060005
  9652. #define GPIO_PG0_M0PWM4 0x00060006
  9653. #define GPIO_PG0_EPI0S11 0x0006000F
  9654. #define GPIO_PG1_I2C1SDA 0x00060402
  9655. #define GPIO_PG1_M0PWM5 0x00060406
  9656. #define GPIO_PG1_EPI0S10 0x0006040F
  9657. #define GPIO_PH0_U0RTS 0x00070001
  9658. #define GPIO_PH0_EPI0S0 0x0007000F
  9659. #define GPIO_PH1_U0CTS 0x00070401
  9660. #define GPIO_PH1_EPI0S1 0x0007040F
  9661. #define GPIO_PH2_U0DCD 0x00070801
  9662. #define GPIO_PH2_EPI0S2 0x0007080F
  9663. #define GPIO_PH3_U0DSR 0x00070C01
  9664. #define GPIO_PH3_EPI0S3 0x00070C0F
  9665. #define GPIO_PJ0_U3RX 0x00080001
  9666. #define GPIO_PJ0_EN0PPS 0x00080005
  9667. #define GPIO_PJ1_U3TX 0x00080401
  9668. #define GPIO_PK0_U4RX 0x00090001
  9669. #define GPIO_PK0_EPI0S0 0x0009000F
  9670. #define GPIO_PK1_U4TX 0x00090401
  9671. #define GPIO_PK1_EPI0S1 0x0009040F
  9672. #define GPIO_PK2_U4RTS 0x00090801
  9673. #define GPIO_PK2_EPI0S2 0x0009080F
  9674. #define GPIO_PK3_U4CTS 0x00090C01
  9675. #define GPIO_PK3_EPI0S3 0x00090C0F
  9676. #define GPIO_PK4_I2C3SCL 0x00091002
  9677. #define GPIO_PK4_EN0LED0 0x00091005
  9678. #define GPIO_PK4_M0PWM6 0x00091006
  9679. #define GPIO_PK4_EPI0S32 0x0009100F
  9680. #define GPIO_PK5_I2C3SDA 0x00091402
  9681. #define GPIO_PK5_EN0LED2 0x00091405
  9682. #define GPIO_PK5_M0PWM7 0x00091406
  9683. #define GPIO_PK5_EPI0S31 0x0009140F
  9684. #define GPIO_PK6_I2C4SCL 0x00091802
  9685. #define GPIO_PK6_EN0LED1 0x00091805
  9686. #define GPIO_PK6_M0FAULT1 0x00091806
  9687. #define GPIO_PK6_EPI0S25 0x0009180F
  9688. #define GPIO_PK7_U0RI 0x00091C01
  9689. #define GPIO_PK7_I2C4SDA 0x00091C02
  9690. #define GPIO_PK7_RTCCLK 0x00091C05
  9691. #define GPIO_PK7_M0FAULT2 0x00091C06
  9692. #define GPIO_PK7_EPI0S24 0x00091C0F
  9693. #define GPIO_PL0_I2C2SDA 0x000A0002
  9694. #define GPIO_PL0_M0FAULT3 0x000A0006
  9695. #define GPIO_PL0_USB0D0 0x000A000E
  9696. #define GPIO_PL0_EPI0S16 0x000A000F
  9697. #define GPIO_PL1_I2C2SCL 0x000A0402
  9698. #define GPIO_PL1_PHA0 0x000A0406
  9699. #define GPIO_PL1_USB0D1 0x000A040E
  9700. #define GPIO_PL1_EPI0S17 0x000A040F
  9701. #define GPIO_PL2_C0O 0x000A0805
  9702. #define GPIO_PL2_PHB0 0x000A0806
  9703. #define GPIO_PL2_USB0D2 0x000A080E
  9704. #define GPIO_PL2_EPI0S18 0x000A080F
  9705. #define GPIO_PL3_C1O 0x000A0C05
  9706. #define GPIO_PL3_IDX0 0x000A0C06
  9707. #define GPIO_PL3_USB0D3 0x000A0C0E
  9708. #define GPIO_PL3_EPI0S19 0x000A0C0F
  9709. #define GPIO_PL4_T0CCP0 0x000A1003
  9710. #define GPIO_PL4_USB0D4 0x000A100E
  9711. #define GPIO_PL4_EPI0S26 0x000A100F
  9712. #define GPIO_PL5_T0CCP1 0x000A1403
  9713. #define GPIO_PL5_EPI0S33 0x000A140F
  9714. #define GPIO_PL5_USB0D5 0x000A140E
  9715. #define GPIO_PL6_T1CCP0 0x000A1803
  9716. #define GPIO_PL7_T1CCP1 0x000A1C03
  9717. #define GPIO_PM0_T2CCP0 0x000B0003
  9718. #define GPIO_PM0_EPI0S15 0x000B000F
  9719. #define GPIO_PM1_T2CCP1 0x000B0403
  9720. #define GPIO_PM1_EPI0S14 0x000B040F
  9721. #define GPIO_PM2_T3CCP0 0x000B0803
  9722. #define GPIO_PM2_EPI0S13 0x000B080F
  9723. #define GPIO_PM3_T3CCP1 0x000B0C03
  9724. #define GPIO_PM3_EPI0S12 0x000B0C0F
  9725. #define GPIO_PM4_U0CTS 0x000B1001
  9726. #define GPIO_PM4_T4CCP0 0x000B1003
  9727. #define GPIO_PM5_U0DCD 0x000B1401
  9728. #define GPIO_PM5_T4CCP1 0x000B1403
  9729. #define GPIO_PM6_U0DSR 0x000B1801
  9730. #define GPIO_PM6_T5CCP0 0x000B1803
  9731. #define GPIO_PM7_U0RI 0x000B1C01
  9732. #define GPIO_PM7_T5CCP1 0x000B1C03
  9733. #define GPIO_PN0_U1RTS 0x000C0001
  9734. #define GPIO_PN1_U1CTS 0x000C0401
  9735. #define GPIO_PN2_U1DCD 0x000C0801
  9736. #define GPIO_PN2_U2RTS 0x000C0802
  9737. #define GPIO_PN2_EPI0S29 0x000C080F
  9738. #define GPIO_PN3_U1DSR 0x000C0C01
  9739. #define GPIO_PN3_U2CTS 0x000C0C02
  9740. #define GPIO_PN3_EPI0S30 0x000C0C0F
  9741. #define GPIO_PN4_U1DTR 0x000C1001
  9742. #define GPIO_PN4_U3RTS 0x000C1002
  9743. #define GPIO_PN4_I2C2SDA 0x000C1003
  9744. #define GPIO_PN4_EPI0S34 0x000C100F
  9745. #define GPIO_PN5_U1RI 0x000C1401
  9746. #define GPIO_PN5_U3CTS 0x000C1402
  9747. #define GPIO_PN5_I2C2SCL 0x000C1403
  9748. #define GPIO_PN5_EPI0S35 0x000C140F
  9749. #define GPIO_PP0_U6RX 0x000D0001
  9750. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  9751. #define GPIO_PP1_U6TX 0x000D0401
  9752. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  9753. #define GPIO_PP2_U0DTR 0x000D0801
  9754. #define GPIO_PP2_USB0NXT 0x000D080E
  9755. #define GPIO_PP2_EPI0S29 0x000D080F
  9756. #define GPIO_PP3_U1CTS 0x000D0C01
  9757. #define GPIO_PP3_U0DCD 0x000D0C02
  9758. #define GPIO_PP3_RTCCLK 0x000D0C07
  9759. #define GPIO_PP3_USB0DIR 0x000D0C0E
  9760. #define GPIO_PP3_EPI0S30 0x000D0C0F
  9761. #define GPIO_PP4_U3RTS 0x000D1001
  9762. #define GPIO_PP4_U0DSR 0x000D1002
  9763. #define GPIO_PP4_USB0D7 0x000D100E
  9764. #define GPIO_PP5_U3CTS 0x000D1401
  9765. #define GPIO_PP5_I2C2SCL 0x000D1402
  9766. #define GPIO_PP5_USB0D6 0x000D140E
  9767. #define GPIO_PQ0_SSI3CLK 0x000E000E
  9768. #define GPIO_PQ0_EPI0S20 0x000E000F
  9769. #define GPIO_PQ1_SSI3FSS 0x000E040E
  9770. #define GPIO_PQ1_EPI0S21 0x000E040F
  9771. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  9772. #define GPIO_PQ2_EPI0S22 0x000E080F
  9773. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  9774. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  9775. #define GPIO_PQ4_U1RX 0x000E1001
  9776. #define GPIO_PQ4_DIVSCLK 0x000E1007
  9777. #endif // PART_TM4C1294KCPDT
  9778. //*****************************************************************************
  9779. //
  9780. // TM4C1294NCPDT Port/Pin Mapping Definitions
  9781. //
  9782. //*****************************************************************************
  9783. #ifdef PART_TM4C1294NCPDT
  9784. #define GPIO_PA0_U0RX 0x00000001
  9785. #define GPIO_PA0_I2C9SCL 0x00000002
  9786. #define GPIO_PA0_T0CCP0 0x00000003
  9787. #define GPIO_PA0_CAN0RX 0x00000007
  9788. #define GPIO_PA1_U0TX 0x00000401
  9789. #define GPIO_PA1_I2C9SDA 0x00000402
  9790. #define GPIO_PA1_T0CCP1 0x00000403
  9791. #define GPIO_PA1_CAN0TX 0x00000407
  9792. #define GPIO_PA2_U4RX 0x00000801
  9793. #define GPIO_PA2_I2C8SCL 0x00000802
  9794. #define GPIO_PA2_T1CCP0 0x00000803
  9795. #define GPIO_PA2_SSI0CLK 0x0000080F
  9796. #define GPIO_PA3_U4TX 0x00000C01
  9797. #define GPIO_PA3_I2C8SDA 0x00000C02
  9798. #define GPIO_PA3_T1CCP1 0x00000C03
  9799. #define GPIO_PA3_SSI0FSS 0x00000C0F
  9800. #define GPIO_PA4_U3RX 0x00001001
  9801. #define GPIO_PA4_T2CCP0 0x00001003
  9802. #define GPIO_PA4_I2C7SCL 0x00001002
  9803. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  9804. #define GPIO_PA5_U3TX 0x00001401
  9805. #define GPIO_PA5_T2CCP1 0x00001403
  9806. #define GPIO_PA5_I2C7SDA 0x00001402
  9807. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  9808. #define GPIO_PA6_U2RX 0x00001801
  9809. #define GPIO_PA6_I2C6SCL 0x00001802
  9810. #define GPIO_PA6_T3CCP0 0x00001803
  9811. #define GPIO_PA6_USB0EPEN 0x00001805
  9812. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  9813. #define GPIO_PA6_EPI0S8 0x0000180F
  9814. #define GPIO_PA7_U2TX 0x00001C01
  9815. #define GPIO_PA7_I2C6SDA 0x00001C02
  9816. #define GPIO_PA7_T3CCP1 0x00001C03
  9817. #define GPIO_PA7_USB0PFLT 0x00001C05
  9818. #define GPIO_PA7_USB0EPEN 0x00001C0B
  9819. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  9820. #define GPIO_PA7_EPI0S9 0x00001C0F
  9821. #define GPIO_PB0_U1RX 0x00010001
  9822. #define GPIO_PB0_I2C5SCL 0x00010002
  9823. #define GPIO_PB0_CAN1RX 0x00010007
  9824. #define GPIO_PB0_T4CCP0 0x00010003
  9825. #define GPIO_PB1_U1TX 0x00010401
  9826. #define GPIO_PB1_I2C5SDA 0x00010402
  9827. #define GPIO_PB1_CAN1TX 0x00010407
  9828. #define GPIO_PB1_T4CCP1 0x00010403
  9829. #define GPIO_PB2_T5CCP0 0x00010803
  9830. #define GPIO_PB2_I2C0SCL 0x00010802
  9831. #define GPIO_PB2_USB0STP 0x0001080E
  9832. #define GPIO_PB2_EPI0S27 0x0001080F
  9833. #define GPIO_PB3_I2C0SDA 0x00010C02
  9834. #define GPIO_PB3_T5CCP1 0x00010C03
  9835. #define GPIO_PB3_USB0CLK 0x00010C0E
  9836. #define GPIO_PB3_EPI0S28 0x00010C0F
  9837. #define GPIO_PB4_U0CTS 0x00011001
  9838. #define GPIO_PB4_I2C5SCL 0x00011002
  9839. #define GPIO_PB4_SSI1FSS 0x0001100F
  9840. #define GPIO_PB5_U0RTS 0x00011401
  9841. #define GPIO_PB5_I2C5SDA 0x00011402
  9842. #define GPIO_PB5_SSI1CLK 0x0001140F
  9843. #define GPIO_PC0_TCK 0x00020001
  9844. #define GPIO_PC0_SWCLK 0x00020001
  9845. #define GPIO_PC1_TMS 0x00020401
  9846. #define GPIO_PC1_SWDIO 0x00020401
  9847. #define GPIO_PC2_TDI 0x00020801
  9848. #define GPIO_PC3_SWO 0x00020C01
  9849. #define GPIO_PC3_TDO 0x00020C01
  9850. #define GPIO_PC4_U7RX 0x00021001
  9851. #define GPIO_PC4_EPI0S7 0x0002100F
  9852. #define GPIO_PC5_U7TX 0x00021401
  9853. #define GPIO_PC5_RTCCLK 0x00021407
  9854. #define GPIO_PC5_EPI0S6 0x0002140F
  9855. #define GPIO_PC6_U5RX 0x00021801
  9856. #define GPIO_PC6_EPI0S5 0x0002180F
  9857. #define GPIO_PC7_U5TX 0x00021C01
  9858. #define GPIO_PC7_EPI0S4 0x00021C0F
  9859. #define GPIO_PD0_I2C7SCL 0x00030002
  9860. #define GPIO_PD0_T0CCP0 0x00030003
  9861. #define GPIO_PD0_C0O 0x00030005
  9862. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  9863. #define GPIO_PD1_I2C7SDA 0x00030402
  9864. #define GPIO_PD1_T0CCP1 0x00030403
  9865. #define GPIO_PD1_C1O 0x00030405
  9866. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  9867. #define GPIO_PD2_I2C8SCL 0x00030802
  9868. #define GPIO_PD2_T1CCP0 0x00030803
  9869. #define GPIO_PD2_C2O 0x00030805
  9870. #define GPIO_PD2_SSI2FSS 0x0003080F
  9871. #define GPIO_PD3_I2C8SDA 0x00030C02
  9872. #define GPIO_PD3_T1CCP1 0x00030C03
  9873. #define GPIO_PD3_SSI2CLK 0x00030C0F
  9874. #define GPIO_PD4_U2RX 0x00031001
  9875. #define GPIO_PD4_T3CCP0 0x00031003
  9876. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  9877. #define GPIO_PD5_U2TX 0x00031401
  9878. #define GPIO_PD5_T3CCP1 0x00031403
  9879. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  9880. #define GPIO_PD6_U2RTS 0x00031801
  9881. #define GPIO_PD6_T4CCP0 0x00031803
  9882. #define GPIO_PD6_USB0EPEN 0x00031805
  9883. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  9884. #define GPIO_PD7_U2CTS 0x00031C01
  9885. #define GPIO_PD7_T4CCP1 0x00031C03
  9886. #define GPIO_PD7_USB0PFLT 0x00031C05
  9887. #define GPIO_PD7_NMI 0x00031C08
  9888. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  9889. #define GPIO_PE0_U1RTS 0x00040001
  9890. #define GPIO_PE1_U1DSR 0x00040401
  9891. #define GPIO_PE2_U1DCD 0x00040801
  9892. #define GPIO_PE3_U1DTR 0x00040C01
  9893. #define GPIO_PE4_U1RI 0x00041001
  9894. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  9895. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  9896. #define GPIO_PF0_EN0LED0 0x00050005
  9897. #define GPIO_PF0_M0PWM0 0x00050006
  9898. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  9899. #define GPIO_PF0_TRD2 0x0005000F
  9900. #define GPIO_PF1_EN0LED2 0x00050405
  9901. #define GPIO_PF1_M0PWM1 0x00050406
  9902. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  9903. #define GPIO_PF1_TRD1 0x0005040F
  9904. #define GPIO_PF2_M0PWM2 0x00050806
  9905. #define GPIO_PF2_SSI3FSS 0x0005080E
  9906. #define GPIO_PF2_TRD0 0x0005080F
  9907. #define GPIO_PF3_M0PWM3 0x00050C06
  9908. #define GPIO_PF3_SSI3CLK 0x00050C0E
  9909. #define GPIO_PF3_TRCLK 0x00050C0F
  9910. #define GPIO_PF4_EN0LED1 0x00051005
  9911. #define GPIO_PF4_M0FAULT0 0x00051006
  9912. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  9913. #define GPIO_PF4_TRD3 0x0005100F
  9914. #define GPIO_PG0_I2C1SCL 0x00060002
  9915. #define GPIO_PG0_EN0PPS 0x00060005
  9916. #define GPIO_PG0_M0PWM4 0x00060006
  9917. #define GPIO_PG0_EPI0S11 0x0006000F
  9918. #define GPIO_PG1_I2C1SDA 0x00060402
  9919. #define GPIO_PG1_M0PWM5 0x00060406
  9920. #define GPIO_PG1_EPI0S10 0x0006040F
  9921. #define GPIO_PH0_U0RTS 0x00070001
  9922. #define GPIO_PH0_EPI0S0 0x0007000F
  9923. #define GPIO_PH1_U0CTS 0x00070401
  9924. #define GPIO_PH1_EPI0S1 0x0007040F
  9925. #define GPIO_PH2_U0DCD 0x00070801
  9926. #define GPIO_PH2_EPI0S2 0x0007080F
  9927. #define GPIO_PH3_U0DSR 0x00070C01
  9928. #define GPIO_PH3_EPI0S3 0x00070C0F
  9929. #define GPIO_PJ0_U3RX 0x00080001
  9930. #define GPIO_PJ0_EN0PPS 0x00080005
  9931. #define GPIO_PJ1_U3TX 0x00080401
  9932. #define GPIO_PK0_U4RX 0x00090001
  9933. #define GPIO_PK0_EPI0S0 0x0009000F
  9934. #define GPIO_PK1_U4TX 0x00090401
  9935. #define GPIO_PK1_EPI0S1 0x0009040F
  9936. #define GPIO_PK2_U4RTS 0x00090801
  9937. #define GPIO_PK2_EPI0S2 0x0009080F
  9938. #define GPIO_PK3_U4CTS 0x00090C01
  9939. #define GPIO_PK3_EPI0S3 0x00090C0F
  9940. #define GPIO_PK4_I2C3SCL 0x00091002
  9941. #define GPIO_PK4_EN0LED0 0x00091005
  9942. #define GPIO_PK4_M0PWM6 0x00091006
  9943. #define GPIO_PK4_EPI0S32 0x0009100F
  9944. #define GPIO_PK5_I2C3SDA 0x00091402
  9945. #define GPIO_PK5_EN0LED2 0x00091405
  9946. #define GPIO_PK5_M0PWM7 0x00091406
  9947. #define GPIO_PK5_EPI0S31 0x0009140F
  9948. #define GPIO_PK6_I2C4SCL 0x00091802
  9949. #define GPIO_PK6_EN0LED1 0x00091805
  9950. #define GPIO_PK6_M0FAULT1 0x00091806
  9951. #define GPIO_PK6_EPI0S25 0x0009180F
  9952. #define GPIO_PK7_U0RI 0x00091C01
  9953. #define GPIO_PK7_I2C4SDA 0x00091C02
  9954. #define GPIO_PK7_RTCCLK 0x00091C05
  9955. #define GPIO_PK7_M0FAULT2 0x00091C06
  9956. #define GPIO_PK7_EPI0S24 0x00091C0F
  9957. #define GPIO_PL0_I2C2SDA 0x000A0002
  9958. #define GPIO_PL0_M0FAULT3 0x000A0006
  9959. #define GPIO_PL0_USB0D0 0x000A000E
  9960. #define GPIO_PL0_EPI0S16 0x000A000F
  9961. #define GPIO_PL1_I2C2SCL 0x000A0402
  9962. #define GPIO_PL1_PHA0 0x000A0406
  9963. #define GPIO_PL1_USB0D1 0x000A040E
  9964. #define GPIO_PL1_EPI0S17 0x000A040F
  9965. #define GPIO_PL2_C0O 0x000A0805
  9966. #define GPIO_PL2_PHB0 0x000A0806
  9967. #define GPIO_PL2_USB0D2 0x000A080E
  9968. #define GPIO_PL2_EPI0S18 0x000A080F
  9969. #define GPIO_PL3_C1O 0x000A0C05
  9970. #define GPIO_PL3_IDX0 0x000A0C06
  9971. #define GPIO_PL3_USB0D3 0x000A0C0E
  9972. #define GPIO_PL3_EPI0S19 0x000A0C0F
  9973. #define GPIO_PL4_T0CCP0 0x000A1003
  9974. #define GPIO_PL4_USB0D4 0x000A100E
  9975. #define GPIO_PL4_EPI0S26 0x000A100F
  9976. #define GPIO_PL5_T0CCP1 0x000A1403
  9977. #define GPIO_PL5_EPI0S33 0x000A140F
  9978. #define GPIO_PL5_USB0D5 0x000A140E
  9979. #define GPIO_PL6_T1CCP0 0x000A1803
  9980. #define GPIO_PL7_T1CCP1 0x000A1C03
  9981. #define GPIO_PM0_T2CCP0 0x000B0003
  9982. #define GPIO_PM0_EPI0S15 0x000B000F
  9983. #define GPIO_PM1_T2CCP1 0x000B0403
  9984. #define GPIO_PM1_EPI0S14 0x000B040F
  9985. #define GPIO_PM2_T3CCP0 0x000B0803
  9986. #define GPIO_PM2_EPI0S13 0x000B080F
  9987. #define GPIO_PM3_T3CCP1 0x000B0C03
  9988. #define GPIO_PM3_EPI0S12 0x000B0C0F
  9989. #define GPIO_PM4_U0CTS 0x000B1001
  9990. #define GPIO_PM4_T4CCP0 0x000B1003
  9991. #define GPIO_PM5_U0DCD 0x000B1401
  9992. #define GPIO_PM5_T4CCP1 0x000B1403
  9993. #define GPIO_PM6_U0DSR 0x000B1801
  9994. #define GPIO_PM6_T5CCP0 0x000B1803
  9995. #define GPIO_PM7_U0RI 0x000B1C01
  9996. #define GPIO_PM7_T5CCP1 0x000B1C03
  9997. #define GPIO_PN0_U1RTS 0x000C0001
  9998. #define GPIO_PN1_U1CTS 0x000C0401
  9999. #define GPIO_PN2_U1DCD 0x000C0801
  10000. #define GPIO_PN2_U2RTS 0x000C0802
  10001. #define GPIO_PN2_EPI0S29 0x000C080F
  10002. #define GPIO_PN3_U1DSR 0x000C0C01
  10003. #define GPIO_PN3_U2CTS 0x000C0C02
  10004. #define GPIO_PN3_EPI0S30 0x000C0C0F
  10005. #define GPIO_PN4_U1DTR 0x000C1001
  10006. #define GPIO_PN4_U3RTS 0x000C1002
  10007. #define GPIO_PN4_I2C2SDA 0x000C1003
  10008. #define GPIO_PN4_EPI0S34 0x000C100F
  10009. #define GPIO_PN5_U1RI 0x000C1401
  10010. #define GPIO_PN5_U3CTS 0x000C1402
  10011. #define GPIO_PN5_I2C2SCL 0x000C1403
  10012. #define GPIO_PN5_EPI0S35 0x000C140F
  10013. #define GPIO_PP0_U6RX 0x000D0001
  10014. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  10015. #define GPIO_PP1_U6TX 0x000D0401
  10016. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  10017. #define GPIO_PP2_U0DTR 0x000D0801
  10018. #define GPIO_PP2_USB0NXT 0x000D080E
  10019. #define GPIO_PP2_EPI0S29 0x000D080F
  10020. #define GPIO_PP3_U1CTS 0x000D0C01
  10021. #define GPIO_PP3_U0DCD 0x000D0C02
  10022. #define GPIO_PP3_RTCCLK 0x000D0C07
  10023. #define GPIO_PP3_USB0DIR 0x000D0C0E
  10024. #define GPIO_PP3_EPI0S30 0x000D0C0F
  10025. #define GPIO_PP4_U3RTS 0x000D1001
  10026. #define GPIO_PP4_U0DSR 0x000D1002
  10027. #define GPIO_PP4_USB0D7 0x000D100E
  10028. #define GPIO_PP5_U3CTS 0x000D1401
  10029. #define GPIO_PP5_I2C2SCL 0x000D1402
  10030. #define GPIO_PP5_USB0D6 0x000D140E
  10031. #define GPIO_PQ0_SSI3CLK 0x000E000E
  10032. #define GPIO_PQ0_EPI0S20 0x000E000F
  10033. #define GPIO_PQ1_SSI3FSS 0x000E040E
  10034. #define GPIO_PQ1_EPI0S21 0x000E040F
  10035. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  10036. #define GPIO_PQ2_EPI0S22 0x000E080F
  10037. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  10038. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  10039. #define GPIO_PQ4_U1RX 0x000E1001
  10040. #define GPIO_PQ4_DIVSCLK 0x000E1007
  10041. #endif // PART_TM4C1294NCPDT
  10042. //*****************************************************************************
  10043. //
  10044. // TM4C1294NCZAD Port/Pin Mapping Definitions
  10045. //
  10046. //*****************************************************************************
  10047. #ifdef PART_TM4C1294NCZAD
  10048. #define GPIO_PA0_U0RX 0x00000001
  10049. #define GPIO_PA0_I2C9SCL 0x00000002
  10050. #define GPIO_PA0_T0CCP0 0x00000003
  10051. #define GPIO_PA0_CAN0RX 0x00000007
  10052. #define GPIO_PA1_U0TX 0x00000401
  10053. #define GPIO_PA1_I2C9SDA 0x00000402
  10054. #define GPIO_PA1_T0CCP1 0x00000403
  10055. #define GPIO_PA1_CAN0TX 0x00000407
  10056. #define GPIO_PA2_U4RX 0x00000801
  10057. #define GPIO_PA2_I2C8SCL 0x00000802
  10058. #define GPIO_PA2_T1CCP0 0x00000803
  10059. #define GPIO_PA2_SSI0CLK 0x0000080F
  10060. #define GPIO_PA3_U4TX 0x00000C01
  10061. #define GPIO_PA3_I2C8SDA 0x00000C02
  10062. #define GPIO_PA3_T1CCP1 0x00000C03
  10063. #define GPIO_PA3_SSI0FSS 0x00000C0F
  10064. #define GPIO_PA4_U3RX 0x00001001
  10065. #define GPIO_PA4_T2CCP0 0x00001003
  10066. #define GPIO_PA4_I2C7SCL 0x00001002
  10067. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  10068. #define GPIO_PA5_U3TX 0x00001401
  10069. #define GPIO_PA5_T2CCP1 0x00001403
  10070. #define GPIO_PA5_I2C7SDA 0x00001402
  10071. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  10072. #define GPIO_PA6_U2RX 0x00001801
  10073. #define GPIO_PA6_I2C6SCL 0x00001802
  10074. #define GPIO_PA6_T3CCP0 0x00001803
  10075. #define GPIO_PA6_USB0EPEN 0x00001805
  10076. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  10077. #define GPIO_PA6_EPI0S8 0x0000180F
  10078. #define GPIO_PA7_U2TX 0x00001C01
  10079. #define GPIO_PA7_I2C6SDA 0x00001C02
  10080. #define GPIO_PA7_T3CCP1 0x00001C03
  10081. #define GPIO_PA7_USB0PFLT 0x00001C05
  10082. #define GPIO_PA7_USB0EPEN 0x00001C0B
  10083. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  10084. #define GPIO_PA7_EPI0S9 0x00001C0F
  10085. #define GPIO_PB0_U1RX 0x00010001
  10086. #define GPIO_PB0_I2C5SCL 0x00010002
  10087. #define GPIO_PB0_CAN1RX 0x00010007
  10088. #define GPIO_PB0_T4CCP0 0x00010003
  10089. #define GPIO_PB1_U1TX 0x00010401
  10090. #define GPIO_PB1_I2C5SDA 0x00010402
  10091. #define GPIO_PB1_CAN1TX 0x00010407
  10092. #define GPIO_PB1_T4CCP1 0x00010403
  10093. #define GPIO_PB2_T5CCP0 0x00010803
  10094. #define GPIO_PB2_I2C0SCL 0x00010802
  10095. #define GPIO_PB2_USB0STP 0x0001080E
  10096. #define GPIO_PB2_EPI0S27 0x0001080F
  10097. #define GPIO_PB3_I2C0SDA 0x00010C02
  10098. #define GPIO_PB3_T5CCP1 0x00010C03
  10099. #define GPIO_PB3_USB0CLK 0x00010C0E
  10100. #define GPIO_PB3_EPI0S28 0x00010C0F
  10101. #define GPIO_PB4_U0CTS 0x00011001
  10102. #define GPIO_PB4_I2C5SCL 0x00011002
  10103. #define GPIO_PB4_SSI1FSS 0x0001100F
  10104. #define GPIO_PB5_U0RTS 0x00011401
  10105. #define GPIO_PB5_I2C5SDA 0x00011402
  10106. #define GPIO_PB5_SSI1CLK 0x0001140F
  10107. #define GPIO_PB6_I2C6SCL 0x00011802
  10108. #define GPIO_PB6_T6CCP0 0x00011803
  10109. #define GPIO_PB7_I2C6SDA 0x00011C02
  10110. #define GPIO_PB7_T6CCP1 0x00011C03
  10111. #define GPIO_PC0_TCK 0x00020001
  10112. #define GPIO_PC0_SWCLK 0x00020001
  10113. #define GPIO_PC1_TMS 0x00020401
  10114. #define GPIO_PC1_SWDIO 0x00020401
  10115. #define GPIO_PC2_TDI 0x00020801
  10116. #define GPIO_PC3_SWO 0x00020C01
  10117. #define GPIO_PC3_TDO 0x00020C01
  10118. #define GPIO_PC4_U7RX 0x00021001
  10119. #define GPIO_PC4_T7CCP0 0x00021003
  10120. #define GPIO_PC4_EPI0S7 0x0002100F
  10121. #define GPIO_PC5_U7TX 0x00021401
  10122. #define GPIO_PC5_T7CCP1 0x00021403
  10123. #define GPIO_PC5_RTCCLK 0x00021407
  10124. #define GPIO_PC5_EPI0S6 0x0002140F
  10125. #define GPIO_PC6_U5RX 0x00021801
  10126. #define GPIO_PC6_EPI0S5 0x0002180F
  10127. #define GPIO_PC7_U5TX 0x00021C01
  10128. #define GPIO_PC7_EPI0S4 0x00021C0F
  10129. #define GPIO_PD0_I2C7SCL 0x00030002
  10130. #define GPIO_PD0_T0CCP0 0x00030003
  10131. #define GPIO_PD0_C0O 0x00030005
  10132. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  10133. #define GPIO_PD1_I2C7SDA 0x00030402
  10134. #define GPIO_PD1_T0CCP1 0x00030403
  10135. #define GPIO_PD1_C1O 0x00030405
  10136. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  10137. #define GPIO_PD2_I2C8SCL 0x00030802
  10138. #define GPIO_PD2_T1CCP0 0x00030803
  10139. #define GPIO_PD2_C2O 0x00030805
  10140. #define GPIO_PD2_SSI2FSS 0x0003080F
  10141. #define GPIO_PD3_I2C8SDA 0x00030C02
  10142. #define GPIO_PD3_T1CCP1 0x00030C03
  10143. #define GPIO_PD3_SSI2CLK 0x00030C0F
  10144. #define GPIO_PD4_U2RX 0x00031001
  10145. #define GPIO_PD4_T3CCP0 0x00031003
  10146. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  10147. #define GPIO_PD5_U2TX 0x00031401
  10148. #define GPIO_PD5_T3CCP1 0x00031403
  10149. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  10150. #define GPIO_PD6_U2RTS 0x00031801
  10151. #define GPIO_PD6_T4CCP0 0x00031803
  10152. #define GPIO_PD6_USB0EPEN 0x00031805
  10153. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  10154. #define GPIO_PD7_U2CTS 0x00031C01
  10155. #define GPIO_PD7_T4CCP1 0x00031C03
  10156. #define GPIO_PD7_USB0PFLT 0x00031C05
  10157. #define GPIO_PD7_NMI 0x00031C08
  10158. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  10159. #define GPIO_PE0_U1RTS 0x00040001
  10160. #define GPIO_PE1_U1DSR 0x00040401
  10161. #define GPIO_PE2_U1DCD 0x00040801
  10162. #define GPIO_PE3_U1DTR 0x00040C01
  10163. #define GPIO_PE4_U1RI 0x00041001
  10164. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  10165. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  10166. #define GPIO_PE6_U0CTS 0x00041801
  10167. #define GPIO_PE6_I2C9SCL 0x00041802
  10168. #define GPIO_PE7_U0RTS 0x00041C01
  10169. #define GPIO_PE7_I2C9SDA 0x00041C02
  10170. #define GPIO_PE7_NMI 0x00041C08
  10171. #define GPIO_PF0_EN0LED0 0x00050005
  10172. #define GPIO_PF0_M0PWM0 0x00050006
  10173. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  10174. #define GPIO_PF0_TRD2 0x0005000F
  10175. #define GPIO_PF1_EN0LED2 0x00050405
  10176. #define GPIO_PF1_M0PWM1 0x00050406
  10177. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  10178. #define GPIO_PF1_TRD1 0x0005040F
  10179. #define GPIO_PF2_M0PWM2 0x00050806
  10180. #define GPIO_PF2_SSI3FSS 0x0005080E
  10181. #define GPIO_PF2_TRD0 0x0005080F
  10182. #define GPIO_PF3_M0PWM3 0x00050C06
  10183. #define GPIO_PF3_SSI3CLK 0x00050C0E
  10184. #define GPIO_PF3_TRCLK 0x00050C0F
  10185. #define GPIO_PF4_EN0LED1 0x00051005
  10186. #define GPIO_PF4_M0FAULT0 0x00051006
  10187. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  10188. #define GPIO_PF4_TRD3 0x0005100F
  10189. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  10190. #define GPIO_PG0_I2C1SCL 0x00060002
  10191. #define GPIO_PG0_EN0PPS 0x00060005
  10192. #define GPIO_PG0_M0PWM4 0x00060006
  10193. #define GPIO_PG0_EPI0S11 0x0006000F
  10194. #define GPIO_PG1_I2C1SDA 0x00060402
  10195. #define GPIO_PG1_M0PWM5 0x00060406
  10196. #define GPIO_PG1_EPI0S10 0x0006040F
  10197. #define GPIO_PG2_I2C2SCL 0x00060802
  10198. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  10199. #define GPIO_PG3_I2C2SDA 0x00060C02
  10200. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  10201. #define GPIO_PG4_U0CTS 0x00061001
  10202. #define GPIO_PG4_I2C3SCL 0x00061002
  10203. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  10204. #define GPIO_PG5_U0RTS 0x00061401
  10205. #define GPIO_PG5_I2C3SDA 0x00061402
  10206. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  10207. #define GPIO_PG6_I2C4SCL 0x00061802
  10208. #define GPIO_PG6_SSI2FSS 0x0006180F
  10209. #define GPIO_PG7_I2C4SDA 0x00061C02
  10210. #define GPIO_PG7_SSI2CLK 0x00061C0F
  10211. #define GPIO_PH0_U0RTS 0x00070001
  10212. #define GPIO_PH0_EPI0S0 0x0007000F
  10213. #define GPIO_PH1_U0CTS 0x00070401
  10214. #define GPIO_PH1_EPI0S1 0x0007040F
  10215. #define GPIO_PH2_U0DCD 0x00070801
  10216. #define GPIO_PH2_EPI0S2 0x0007080F
  10217. #define GPIO_PH3_U0DSR 0x00070C01
  10218. #define GPIO_PH3_EPI0S3 0x00070C0F
  10219. #define GPIO_PH4_U0DTR 0x00071001
  10220. #define GPIO_PH5_U0RI 0x00071401
  10221. #define GPIO_PH5_EN0PPS 0x00071405
  10222. #define GPIO_PH6_U5RX 0x00071801
  10223. #define GPIO_PH6_U7RX 0x00071802
  10224. #define GPIO_PH7_U5TX 0x00071C01
  10225. #define GPIO_PH7_U7TX 0x00071C02
  10226. #define GPIO_PJ0_U3RX 0x00080001
  10227. #define GPIO_PJ0_EN0PPS 0x00080005
  10228. #define GPIO_PJ1_U3TX 0x00080401
  10229. #define GPIO_PJ2_U2RTS 0x00080801
  10230. #define GPIO_PJ3_U2CTS 0x00080C01
  10231. #define GPIO_PJ4_U3RTS 0x00081001
  10232. #define GPIO_PJ5_U3CTS 0x00081401
  10233. #define GPIO_PJ6_U4RTS 0x00081801
  10234. #define GPIO_PJ7_U4CTS 0x00081C01
  10235. #define GPIO_PK0_U4RX 0x00090001
  10236. #define GPIO_PK0_EPI0S0 0x0009000F
  10237. #define GPIO_PK1_U4TX 0x00090401
  10238. #define GPIO_PK1_EPI0S1 0x0009040F
  10239. #define GPIO_PK2_U4RTS 0x00090801
  10240. #define GPIO_PK2_EPI0S2 0x0009080F
  10241. #define GPIO_PK3_U4CTS 0x00090C01
  10242. #define GPIO_PK3_EPI0S3 0x00090C0F
  10243. #define GPIO_PK4_I2C3SCL 0x00091002
  10244. #define GPIO_PK4_EN0LED0 0x00091005
  10245. #define GPIO_PK4_M0PWM6 0x00091006
  10246. #define GPIO_PK4_EPI0S32 0x0009100F
  10247. #define GPIO_PK5_I2C3SDA 0x00091402
  10248. #define GPIO_PK5_EN0LED2 0x00091405
  10249. #define GPIO_PK5_M0PWM7 0x00091406
  10250. #define GPIO_PK5_EPI0S31 0x0009140F
  10251. #define GPIO_PK6_I2C4SCL 0x00091802
  10252. #define GPIO_PK6_EN0LED1 0x00091805
  10253. #define GPIO_PK6_M0FAULT1 0x00091806
  10254. #define GPIO_PK6_EPI0S25 0x0009180F
  10255. #define GPIO_PK7_U0RI 0x00091C01
  10256. #define GPIO_PK7_I2C4SDA 0x00091C02
  10257. #define GPIO_PK7_RTCCLK 0x00091C05
  10258. #define GPIO_PK7_M0FAULT2 0x00091C06
  10259. #define GPIO_PK7_EPI0S24 0x00091C0F
  10260. #define GPIO_PL0_I2C2SDA 0x000A0002
  10261. #define GPIO_PL0_M0FAULT3 0x000A0006
  10262. #define GPIO_PL0_USB0D0 0x000A000E
  10263. #define GPIO_PL0_EPI0S16 0x000A000F
  10264. #define GPIO_PL1_I2C2SCL 0x000A0402
  10265. #define GPIO_PL1_PHA0 0x000A0406
  10266. #define GPIO_PL1_USB0D1 0x000A040E
  10267. #define GPIO_PL1_EPI0S17 0x000A040F
  10268. #define GPIO_PL2_C0O 0x000A0805
  10269. #define GPIO_PL2_PHB0 0x000A0806
  10270. #define GPIO_PL2_USB0D2 0x000A080E
  10271. #define GPIO_PL2_EPI0S18 0x000A080F
  10272. #define GPIO_PL3_C1O 0x000A0C05
  10273. #define GPIO_PL3_IDX0 0x000A0C06
  10274. #define GPIO_PL3_USB0D3 0x000A0C0E
  10275. #define GPIO_PL3_EPI0S19 0x000A0C0F
  10276. #define GPIO_PL4_T0CCP0 0x000A1003
  10277. #define GPIO_PL4_USB0D4 0x000A100E
  10278. #define GPIO_PL4_EPI0S26 0x000A100F
  10279. #define GPIO_PL5_T0CCP1 0x000A1403
  10280. #define GPIO_PL5_EPI0S33 0x000A140F
  10281. #define GPIO_PL5_USB0D5 0x000A140E
  10282. #define GPIO_PL6_T1CCP0 0x000A1803
  10283. #define GPIO_PL7_T1CCP1 0x000A1C03
  10284. #define GPIO_PM0_T2CCP0 0x000B0003
  10285. #define GPIO_PM0_EPI0S15 0x000B000F
  10286. #define GPIO_PM1_T2CCP1 0x000B0403
  10287. #define GPIO_PM1_EPI0S14 0x000B040F
  10288. #define GPIO_PM2_T3CCP0 0x000B0803
  10289. #define GPIO_PM2_EPI0S13 0x000B080F
  10290. #define GPIO_PM3_T3CCP1 0x000B0C03
  10291. #define GPIO_PM3_EPI0S12 0x000B0C0F
  10292. #define GPIO_PM4_U0CTS 0x000B1001
  10293. #define GPIO_PM4_T4CCP0 0x000B1003
  10294. #define GPIO_PM5_U0DCD 0x000B1401
  10295. #define GPIO_PM5_T4CCP1 0x000B1403
  10296. #define GPIO_PM6_U0DSR 0x000B1801
  10297. #define GPIO_PM6_T5CCP0 0x000B1803
  10298. #define GPIO_PM7_U0RI 0x000B1C01
  10299. #define GPIO_PM7_T5CCP1 0x000B1C03
  10300. #define GPIO_PN0_U1RTS 0x000C0001
  10301. #define GPIO_PN1_U1CTS 0x000C0401
  10302. #define GPIO_PN2_U1DCD 0x000C0801
  10303. #define GPIO_PN2_U2RTS 0x000C0802
  10304. #define GPIO_PN2_EPI0S29 0x000C080F
  10305. #define GPIO_PN3_U1DSR 0x000C0C01
  10306. #define GPIO_PN3_U2CTS 0x000C0C02
  10307. #define GPIO_PN3_EPI0S30 0x000C0C0F
  10308. #define GPIO_PN4_U1DTR 0x000C1001
  10309. #define GPIO_PN4_U3RTS 0x000C1002
  10310. #define GPIO_PN4_I2C2SDA 0x000C1003
  10311. #define GPIO_PN4_EPI0S34 0x000C100F
  10312. #define GPIO_PN5_U1RI 0x000C1401
  10313. #define GPIO_PN5_U3CTS 0x000C1402
  10314. #define GPIO_PN5_I2C2SCL 0x000C1403
  10315. #define GPIO_PN5_EPI0S35 0x000C140F
  10316. #define GPIO_PN6_U4RTS 0x000C1802
  10317. #define GPIO_PN7_U1RTS 0x000C1C01
  10318. #define GPIO_PN7_U4CTS 0x000C1C02
  10319. #define GPIO_PP0_U6RX 0x000D0001
  10320. #define GPIO_PP0_T6CCP0 0x000D0005
  10321. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  10322. #define GPIO_PP1_U6TX 0x000D0401
  10323. #define GPIO_PP1_T6CCP1 0x000D0405
  10324. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  10325. #define GPIO_PP2_U0DTR 0x000D0801
  10326. #define GPIO_PP2_USB0NXT 0x000D080E
  10327. #define GPIO_PP2_EPI0S29 0x000D080F
  10328. #define GPIO_PP3_U1CTS 0x000D0C01
  10329. #define GPIO_PP3_U0DCD 0x000D0C02
  10330. #define GPIO_PP3_RTCCLK 0x000D0C07
  10331. #define GPIO_PP3_USB0DIR 0x000D0C0E
  10332. #define GPIO_PP3_EPI0S30 0x000D0C0F
  10333. #define GPIO_PP4_U3RTS 0x000D1001
  10334. #define GPIO_PP4_U0DSR 0x000D1002
  10335. #define GPIO_PP4_USB0D7 0x000D100E
  10336. #define GPIO_PP5_U3CTS 0x000D1401
  10337. #define GPIO_PP5_I2C2SCL 0x000D1402
  10338. #define GPIO_PP5_USB0D6 0x000D140E
  10339. #define GPIO_PP6_U1DCD 0x000D1801
  10340. #define GPIO_PP6_I2C2SDA 0x000D1802
  10341. #define GPIO_PQ0_T6CCP0 0x000E0003
  10342. #define GPIO_PQ0_SSI3CLK 0x000E000E
  10343. #define GPIO_PQ0_EPI0S20 0x000E000F
  10344. #define GPIO_PQ1_T6CCP1 0x000E0403
  10345. #define GPIO_PQ1_SSI3FSS 0x000E040E
  10346. #define GPIO_PQ1_EPI0S21 0x000E040F
  10347. #define GPIO_PQ2_T7CCP0 0x000E0803
  10348. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  10349. #define GPIO_PQ2_EPI0S22 0x000E080F
  10350. #define GPIO_PQ3_T7CCP1 0x000E0C03
  10351. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  10352. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  10353. #define GPIO_PQ4_U1RX 0x000E1001
  10354. #define GPIO_PQ4_DIVSCLK 0x000E1007
  10355. #define GPIO_PQ5_U1TX 0x000E1401
  10356. #define GPIO_PQ6_U1DTR 0x000E1801
  10357. #define GPIO_PQ7_U1RI 0x000E1C01
  10358. #define GPIO_PR0_U4TX 0x000F0001
  10359. #define GPIO_PR0_I2C1SCL 0x000F0002
  10360. #define GPIO_PR0_M0PWM0 0x000F0006
  10361. #define GPIO_PR1_U4RX 0x000F0401
  10362. #define GPIO_PR1_I2C1SDA 0x000F0402
  10363. #define GPIO_PR1_M0PWM1 0x000F0406
  10364. #define GPIO_PR2_I2C2SCL 0x000F0802
  10365. #define GPIO_PR2_M0PWM2 0x000F0806
  10366. #define GPIO_PR3_I2C2SDA 0x000F0C02
  10367. #define GPIO_PR3_M0PWM3 0x000F0C06
  10368. #define GPIO_PR4_I2C3SCL 0x000F1002
  10369. #define GPIO_PR4_T0CCP0 0x000F1003
  10370. #define GPIO_PR4_M0PWM4 0x000F1006
  10371. #define GPIO_PR5_U1RX 0x000F1401
  10372. #define GPIO_PR5_I2C3SDA 0x000F1402
  10373. #define GPIO_PR5_T0CCP1 0x000F1403
  10374. #define GPIO_PR5_M0PWM5 0x000F1406
  10375. #define GPIO_PR6_U1TX 0x000F1801
  10376. #define GPIO_PR6_I2C4SCL 0x000F1802
  10377. #define GPIO_PR6_T1CCP0 0x000F1803
  10378. #define GPIO_PR6_M0PWM6 0x000F1806
  10379. #define GPIO_PR7_I2C4SDA 0x000F1C02
  10380. #define GPIO_PR7_T1CCP1 0x000F1C03
  10381. #define GPIO_PR7_M0PWM7 0x000F1C06
  10382. #define GPIO_PS0_T2CCP0 0x00100003
  10383. #define GPIO_PS0_M0FAULT0 0x00100006
  10384. #define GPIO_PS1_T2CCP1 0x00100403
  10385. #define GPIO_PS1_M0FAULT1 0x00100406
  10386. #define GPIO_PS2_U1DSR 0x00100801
  10387. #define GPIO_PS2_T3CCP0 0x00100803
  10388. #define GPIO_PS2_M0FAULT2 0x00100806
  10389. #define GPIO_PS3_T3CCP1 0x00100C03
  10390. #define GPIO_PS3_M0FAULT3 0x00100C06
  10391. #define GPIO_PS4_T4CCP0 0x00101003
  10392. #define GPIO_PS4_PHA0 0x00101006
  10393. #define GPIO_PS5_T4CCP1 0x00101403
  10394. #define GPIO_PS5_PHB0 0x00101406
  10395. #define GPIO_PS6_T5CCP0 0x00101803
  10396. #define GPIO_PS6_IDX0 0x00101806
  10397. #define GPIO_PS7_T5CCP1 0x00101C03
  10398. #define GPIO_PT0_T6CCP0 0x00110003
  10399. #define GPIO_PT0_CAN0RX 0x00110007
  10400. #define GPIO_PT1_T6CCP1 0x00110403
  10401. #define GPIO_PT1_CAN0TX 0x00110407
  10402. #define GPIO_PT2_T7CCP0 0x00110803
  10403. #define GPIO_PT2_CAN1RX 0x00110807
  10404. #define GPIO_PT3_T7CCP1 0x00110C03
  10405. #define GPIO_PT3_CAN1TX 0x00110C07
  10406. #endif // PART_TM4C1294NCZAD
  10407. //*****************************************************************************
  10408. //
  10409. // TM4C1297NCZAD Port/Pin Mapping Definitions
  10410. //
  10411. //*****************************************************************************
  10412. #ifdef PART_TM4C1297NCZAD
  10413. #define GPIO_PA0_U0RX 0x00000001
  10414. #define GPIO_PA0_I2C9SCL 0x00000002
  10415. #define GPIO_PA0_T0CCP0 0x00000003
  10416. #define GPIO_PA0_CAN0RX 0x00000007
  10417. #define GPIO_PA1_U0TX 0x00000401
  10418. #define GPIO_PA1_I2C9SDA 0x00000402
  10419. #define GPIO_PA1_T0CCP1 0x00000403
  10420. #define GPIO_PA1_CAN0TX 0x00000407
  10421. #define GPIO_PA2_U4RX 0x00000801
  10422. #define GPIO_PA2_I2C8SCL 0x00000802
  10423. #define GPIO_PA2_T1CCP0 0x00000803
  10424. #define GPIO_PA2_SSI0CLK 0x0000080F
  10425. #define GPIO_PA3_U4TX 0x00000C01
  10426. #define GPIO_PA3_I2C8SDA 0x00000C02
  10427. #define GPIO_PA3_T1CCP1 0x00000C03
  10428. #define GPIO_PA3_SSI0FSS 0x00000C0F
  10429. #define GPIO_PA4_U3RX 0x00001001
  10430. #define GPIO_PA4_T2CCP0 0x00001003
  10431. #define GPIO_PA4_I2C7SCL 0x00001002
  10432. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  10433. #define GPIO_PA5_U3TX 0x00001401
  10434. #define GPIO_PA5_T2CCP1 0x00001403
  10435. #define GPIO_PA5_I2C7SDA 0x00001402
  10436. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  10437. #define GPIO_PA6_U2RX 0x00001801
  10438. #define GPIO_PA6_I2C6SCL 0x00001802
  10439. #define GPIO_PA6_T3CCP0 0x00001803
  10440. #define GPIO_PA6_USB0EPEN 0x00001805
  10441. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  10442. #define GPIO_PA6_EPI0S8 0x0000180F
  10443. #define GPIO_PA7_U2TX 0x00001C01
  10444. #define GPIO_PA7_I2C6SDA 0x00001C02
  10445. #define GPIO_PA7_T3CCP1 0x00001C03
  10446. #define GPIO_PA7_USB0PFLT 0x00001C05
  10447. #define GPIO_PA7_USB0EPEN 0x00001C0B
  10448. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  10449. #define GPIO_PA7_EPI0S9 0x00001C0F
  10450. #define GPIO_PB0_U1RX 0x00010001
  10451. #define GPIO_PB0_I2C5SCL 0x00010002
  10452. #define GPIO_PB0_CAN1RX 0x00010007
  10453. #define GPIO_PB0_T4CCP0 0x00010003
  10454. #define GPIO_PB1_U1TX 0x00010401
  10455. #define GPIO_PB1_I2C5SDA 0x00010402
  10456. #define GPIO_PB1_CAN1TX 0x00010407
  10457. #define GPIO_PB1_T4CCP1 0x00010403
  10458. #define GPIO_PB2_T5CCP0 0x00010803
  10459. #define GPIO_PB2_I2C0SCL 0x00010802
  10460. #define GPIO_PB2_USB0STP 0x0001080E
  10461. #define GPIO_PB2_EPI0S27 0x0001080F
  10462. #define GPIO_PB3_I2C0SDA 0x00010C02
  10463. #define GPIO_PB3_T5CCP1 0x00010C03
  10464. #define GPIO_PB3_USB0CLK 0x00010C0E
  10465. #define GPIO_PB3_EPI0S28 0x00010C0F
  10466. #define GPIO_PB4_U0CTS 0x00011001
  10467. #define GPIO_PB4_I2C5SCL 0x00011002
  10468. #define GPIO_PB4_SSI1FSS 0x0001100F
  10469. #define GPIO_PB5_U0RTS 0x00011401
  10470. #define GPIO_PB5_I2C5SDA 0x00011402
  10471. #define GPIO_PB5_SSI1CLK 0x0001140F
  10472. #define GPIO_PB6_I2C6SCL 0x00011802
  10473. #define GPIO_PB6_T6CCP0 0x00011803
  10474. #define GPIO_PB7_I2C6SDA 0x00011C02
  10475. #define GPIO_PB7_T6CCP1 0x00011C03
  10476. #define GPIO_PC0_TCK 0x00020001
  10477. #define GPIO_PC0_SWCLK 0x00020001
  10478. #define GPIO_PC1_TMS 0x00020401
  10479. #define GPIO_PC1_SWDIO 0x00020401
  10480. #define GPIO_PC2_TDI 0x00020801
  10481. #define GPIO_PC3_SWO 0x00020C01
  10482. #define GPIO_PC3_TDO 0x00020C01
  10483. #define GPIO_PC4_U7RX 0x00021001
  10484. #define GPIO_PC4_T7CCP0 0x00021003
  10485. #define GPIO_PC4_EPI0S7 0x0002100F
  10486. #define GPIO_PC5_U7TX 0x00021401
  10487. #define GPIO_PC5_T7CCP1 0x00021403
  10488. #define GPIO_PC5_RTCCLK 0x00021407
  10489. #define GPIO_PC5_EPI0S6 0x0002140F
  10490. #define GPIO_PC6_U5RX 0x00021801
  10491. #define GPIO_PC6_EPI0S5 0x0002180F
  10492. #define GPIO_PC7_U5TX 0x00021C01
  10493. #define GPIO_PC7_EPI0S4 0x00021C0F
  10494. #define GPIO_PD0_I2C7SCL 0x00030002
  10495. #define GPIO_PD0_T0CCP0 0x00030003
  10496. #define GPIO_PD0_C0O 0x00030005
  10497. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  10498. #define GPIO_PD1_I2C7SDA 0x00030402
  10499. #define GPIO_PD1_T0CCP1 0x00030403
  10500. #define GPIO_PD1_C1O 0x00030405
  10501. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  10502. #define GPIO_PD2_I2C8SCL 0x00030802
  10503. #define GPIO_PD2_T1CCP0 0x00030803
  10504. #define GPIO_PD2_C2O 0x00030805
  10505. #define GPIO_PD2_SSI2FSS 0x0003080F
  10506. #define GPIO_PD3_I2C8SDA 0x00030C02
  10507. #define GPIO_PD3_T1CCP1 0x00030C03
  10508. #define GPIO_PD3_SSI2CLK 0x00030C0F
  10509. #define GPIO_PD4_U2RX 0x00031001
  10510. #define GPIO_PD4_T3CCP0 0x00031003
  10511. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  10512. #define GPIO_PD5_U2TX 0x00031401
  10513. #define GPIO_PD5_T3CCP1 0x00031403
  10514. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  10515. #define GPIO_PD6_U2RTS 0x00031801
  10516. #define GPIO_PD6_T4CCP0 0x00031803
  10517. #define GPIO_PD6_USB0EPEN 0x00031805
  10518. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  10519. #define GPIO_PD7_U2CTS 0x00031C01
  10520. #define GPIO_PD7_T4CCP1 0x00031C03
  10521. #define GPIO_PD7_USB0PFLT 0x00031C05
  10522. #define GPIO_PD7_NMI 0x00031C08
  10523. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  10524. #define GPIO_PE0_U1RTS 0x00040001
  10525. #define GPIO_PE1_U1DSR 0x00040401
  10526. #define GPIO_PE2_U1DCD 0x00040801
  10527. #define GPIO_PE3_U1DTR 0x00040C01
  10528. #define GPIO_PE4_U1RI 0x00041001
  10529. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  10530. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  10531. #define GPIO_PE6_U0CTS 0x00041801
  10532. #define GPIO_PE6_I2C9SCL 0x00041802
  10533. #define GPIO_PE7_U0RTS 0x00041C01
  10534. #define GPIO_PE7_I2C9SDA 0x00041C02
  10535. #define GPIO_PE7_NMI 0x00041C08
  10536. #define GPIO_PF0_M0PWM0 0x00050006
  10537. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  10538. #define GPIO_PF0_TRD2 0x0005000F
  10539. #define GPIO_PF1_M0PWM1 0x00050406
  10540. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  10541. #define GPIO_PF1_TRD1 0x0005040F
  10542. #define GPIO_PF2_M0PWM2 0x00050806
  10543. #define GPIO_PF2_SSI3FSS 0x0005080E
  10544. #define GPIO_PF2_TRD0 0x0005080F
  10545. #define GPIO_PF3_M0PWM3 0x00050C06
  10546. #define GPIO_PF3_SSI3CLK 0x00050C0E
  10547. #define GPIO_PF3_TRCLK 0x00050C0F
  10548. #define GPIO_PF4_M0FAULT0 0x00051006
  10549. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  10550. #define GPIO_PF4_TRD3 0x0005100F
  10551. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  10552. #define GPIO_PF6_LCDMCLK 0x0005180F
  10553. #define GPIO_PF7_LCDDATA02 0x00051C0F
  10554. #define GPIO_PG0_I2C1SCL 0x00060002
  10555. #define GPIO_PG0_M0PWM4 0x00060006
  10556. #define GPIO_PG0_EPI0S11 0x0006000F
  10557. #define GPIO_PG1_I2C1SDA 0x00060402
  10558. #define GPIO_PG1_M0PWM5 0x00060406
  10559. #define GPIO_PG1_EPI0S10 0x0006040F
  10560. #define GPIO_PG2_I2C2SCL 0x00060802
  10561. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  10562. #define GPIO_PG3_I2C2SDA 0x00060C02
  10563. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  10564. #define GPIO_PG4_U0CTS 0x00061001
  10565. #define GPIO_PG4_I2C3SCL 0x00061002
  10566. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  10567. #define GPIO_PG5_U0RTS 0x00061401
  10568. #define GPIO_PG5_I2C3SDA 0x00061402
  10569. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  10570. #define GPIO_PG6_I2C4SCL 0x00061802
  10571. #define GPIO_PG6_SSI2FSS 0x0006180F
  10572. #define GPIO_PG7_I2C4SDA 0x00061C02
  10573. #define GPIO_PG7_SSI2CLK 0x00061C0F
  10574. #define GPIO_PH0_U0RTS 0x00070001
  10575. #define GPIO_PH0_EPI0S0 0x0007000F
  10576. #define GPIO_PH1_U0CTS 0x00070401
  10577. #define GPIO_PH1_EPI0S1 0x0007040F
  10578. #define GPIO_PH2_U0DCD 0x00070801
  10579. #define GPIO_PH2_EPI0S2 0x0007080F
  10580. #define GPIO_PH3_U0DSR 0x00070C01
  10581. #define GPIO_PH3_EPI0S3 0x00070C0F
  10582. #define GPIO_PH4_U0DTR 0x00071001
  10583. #define GPIO_PH5_U0RI 0x00071401
  10584. #define GPIO_PH6_U5RX 0x00071801
  10585. #define GPIO_PH6_U7RX 0x00071802
  10586. #define GPIO_PH7_U5TX 0x00071C01
  10587. #define GPIO_PH7_U7TX 0x00071C02
  10588. #define GPIO_PJ0_U3RX 0x00080001
  10589. #define GPIO_PJ1_U3TX 0x00080401
  10590. #define GPIO_PJ2_U2RTS 0x00080801
  10591. #define GPIO_PJ2_LCDDATA14 0x0008080F
  10592. #define GPIO_PJ3_U2CTS 0x00080C01
  10593. #define GPIO_PJ3_LCDDATA15 0x00080C0F
  10594. #define GPIO_PJ4_U3RTS 0x00081001
  10595. #define GPIO_PJ4_LCDDATA16 0x0008100F
  10596. #define GPIO_PJ5_U3CTS 0x00081401
  10597. #define GPIO_PJ5_LCDDATA17 0x0008140F
  10598. #define GPIO_PJ6_U4RTS 0x00081801
  10599. #define GPIO_PJ6_LCDAC 0x0008180F
  10600. #define GPIO_PJ7_U4CTS 0x00081C01
  10601. #define GPIO_PK0_U4RX 0x00090001
  10602. #define GPIO_PK0_EPI0S0 0x0009000F
  10603. #define GPIO_PK1_U4TX 0x00090401
  10604. #define GPIO_PK1_EPI0S1 0x0009040F
  10605. #define GPIO_PK2_U4RTS 0x00090801
  10606. #define GPIO_PK2_EPI0S2 0x0009080F
  10607. #define GPIO_PK3_U4CTS 0x00090C01
  10608. #define GPIO_PK3_EPI0S3 0x00090C0F
  10609. #define GPIO_PK4_I2C3SCL 0x00091002
  10610. #define GPIO_PK4_M0PWM6 0x00091006
  10611. #define GPIO_PK4_EPI0S32 0x0009100F
  10612. #define GPIO_PK5_I2C3SDA 0x00091402
  10613. #define GPIO_PK5_M0PWM7 0x00091406
  10614. #define GPIO_PK5_EPI0S31 0x0009140F
  10615. #define GPIO_PK6_I2C4SCL 0x00091802
  10616. #define GPIO_PK6_M0FAULT1 0x00091806
  10617. #define GPIO_PK6_EPI0S25 0x0009180F
  10618. #define GPIO_PK7_U0RI 0x00091C01
  10619. #define GPIO_PK7_I2C4SDA 0x00091C02
  10620. #define GPIO_PK7_RTCCLK 0x00091C05
  10621. #define GPIO_PK7_M0FAULT2 0x00091C06
  10622. #define GPIO_PK7_EPI0S24 0x00091C0F
  10623. #define GPIO_PL0_I2C2SDA 0x000A0002
  10624. #define GPIO_PL0_M0FAULT3 0x000A0006
  10625. #define GPIO_PL0_USB0D0 0x000A000E
  10626. #define GPIO_PL0_EPI0S16 0x000A000F
  10627. #define GPIO_PL1_I2C2SCL 0x000A0402
  10628. #define GPIO_PL1_PHA0 0x000A0406
  10629. #define GPIO_PL1_USB0D1 0x000A040E
  10630. #define GPIO_PL1_EPI0S17 0x000A040F
  10631. #define GPIO_PL2_C0O 0x000A0805
  10632. #define GPIO_PL2_PHB0 0x000A0806
  10633. #define GPIO_PL2_USB0D2 0x000A080E
  10634. #define GPIO_PL2_EPI0S18 0x000A080F
  10635. #define GPIO_PL3_C1O 0x000A0C05
  10636. #define GPIO_PL3_IDX0 0x000A0C06
  10637. #define GPIO_PL3_USB0D3 0x000A0C0E
  10638. #define GPIO_PL3_EPI0S19 0x000A0C0F
  10639. #define GPIO_PL4_T0CCP0 0x000A1003
  10640. #define GPIO_PL4_USB0D4 0x000A100E
  10641. #define GPIO_PL4_EPI0S26 0x000A100F
  10642. #define GPIO_PL5_T0CCP1 0x000A1403
  10643. #define GPIO_PL5_EPI0S33 0x000A140F
  10644. #define GPIO_PL5_USB0D5 0x000A140E
  10645. #define GPIO_PL6_T1CCP0 0x000A1803
  10646. #define GPIO_PL7_T1CCP1 0x000A1C03
  10647. #define GPIO_PM0_T2CCP0 0x000B0003
  10648. #define GPIO_PM0_EPI0S15 0x000B000F
  10649. #define GPIO_PM1_T2CCP1 0x000B0403
  10650. #define GPIO_PM1_EPI0S14 0x000B040F
  10651. #define GPIO_PM2_T3CCP0 0x000B0803
  10652. #define GPIO_PM2_EPI0S13 0x000B080F
  10653. #define GPIO_PM3_T3CCP1 0x000B0C03
  10654. #define GPIO_PM3_EPI0S12 0x000B0C0F
  10655. #define GPIO_PM4_U0CTS 0x000B1001
  10656. #define GPIO_PM4_T4CCP0 0x000B1003
  10657. #define GPIO_PM5_U0DCD 0x000B1401
  10658. #define GPIO_PM5_T4CCP1 0x000B1403
  10659. #define GPIO_PM6_U0DSR 0x000B1801
  10660. #define GPIO_PM6_T5CCP0 0x000B1803
  10661. #define GPIO_PM7_U0RI 0x000B1C01
  10662. #define GPIO_PM7_T5CCP1 0x000B1C03
  10663. #define GPIO_PN0_U1RTS 0x000C0001
  10664. #define GPIO_PN1_U1CTS 0x000C0401
  10665. #define GPIO_PN2_U1DCD 0x000C0801
  10666. #define GPIO_PN2_U2RTS 0x000C0802
  10667. #define GPIO_PN2_EPI0S29 0x000C080F
  10668. #define GPIO_PN3_U1DSR 0x000C0C01
  10669. #define GPIO_PN3_U2CTS 0x000C0C02
  10670. #define GPIO_PN3_EPI0S30 0x000C0C0F
  10671. #define GPIO_PN4_U1DTR 0x000C1001
  10672. #define GPIO_PN4_U3RTS 0x000C1002
  10673. #define GPIO_PN4_I2C2SDA 0x000C1003
  10674. #define GPIO_PN4_EPI0S34 0x000C100F
  10675. #define GPIO_PN5_U1RI 0x000C1401
  10676. #define GPIO_PN5_U3CTS 0x000C1402
  10677. #define GPIO_PN5_I2C2SCL 0x000C1403
  10678. #define GPIO_PN5_EPI0S35 0x000C140F
  10679. #define GPIO_PN6_U4RTS 0x000C1802
  10680. #define GPIO_PN6_LCDDATA13 0x000C180F
  10681. #define GPIO_PN7_U1RTS 0x000C1C01
  10682. #define GPIO_PN7_U4CTS 0x000C1C02
  10683. #define GPIO_PN7_LCDDATA12 0x000C1C0F
  10684. #define GPIO_PP0_U6RX 0x000D0001
  10685. #define GPIO_PP0_T6CCP0 0x000D0005
  10686. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  10687. #define GPIO_PP1_U6TX 0x000D0401
  10688. #define GPIO_PP1_T6CCP1 0x000D0405
  10689. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  10690. #define GPIO_PP2_U0DTR 0x000D0801
  10691. #define GPIO_PP2_USB0NXT 0x000D080E
  10692. #define GPIO_PP2_EPI0S29 0x000D080F
  10693. #define GPIO_PP3_U1CTS 0x000D0C01
  10694. #define GPIO_PP3_U0DCD 0x000D0C02
  10695. #define GPIO_PP3_RTCCLK 0x000D0C07
  10696. #define GPIO_PP3_USB0DIR 0x000D0C0E
  10697. #define GPIO_PP3_EPI0S30 0x000D0C0F
  10698. #define GPIO_PP4_U3RTS 0x000D1001
  10699. #define GPIO_PP4_U0DSR 0x000D1002
  10700. #define GPIO_PP4_USB0D7 0x000D100E
  10701. #define GPIO_PP5_U3CTS 0x000D1401
  10702. #define GPIO_PP5_I2C2SCL 0x000D1402
  10703. #define GPIO_PP5_USB0D6 0x000D140E
  10704. #define GPIO_PP6_U1DCD 0x000D1801
  10705. #define GPIO_PP6_I2C2SDA 0x000D1802
  10706. #define GPIO_PQ0_T6CCP0 0x000E0003
  10707. #define GPIO_PQ0_SSI3CLK 0x000E000E
  10708. #define GPIO_PQ0_EPI0S20 0x000E000F
  10709. #define GPIO_PQ1_T6CCP1 0x000E0403
  10710. #define GPIO_PQ1_SSI3FSS 0x000E040E
  10711. #define GPIO_PQ1_EPI0S21 0x000E040F
  10712. #define GPIO_PQ2_T7CCP0 0x000E0803
  10713. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  10714. #define GPIO_PQ2_EPI0S22 0x000E080F
  10715. #define GPIO_PQ3_T7CCP1 0x000E0C03
  10716. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  10717. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  10718. #define GPIO_PQ4_U1RX 0x000E1001
  10719. #define GPIO_PQ4_DIVSCLK 0x000E1007
  10720. #define GPIO_PQ5_U1TX 0x000E1401
  10721. #define GPIO_PQ6_U1DTR 0x000E1801
  10722. #define GPIO_PQ7_U1RI 0x000E1C01
  10723. #define GPIO_PR0_U4TX 0x000F0001
  10724. #define GPIO_PR0_I2C1SCL 0x000F0002
  10725. #define GPIO_PR0_M0PWM0 0x000F0006
  10726. #define GPIO_PR0_LCDCP 0x000F000F
  10727. #define GPIO_PR1_U4RX 0x000F0401
  10728. #define GPIO_PR1_I2C1SDA 0x000F0402
  10729. #define GPIO_PR1_M0PWM1 0x000F0406
  10730. #define GPIO_PR1_LCDFP 0x000F040F
  10731. #define GPIO_PR2_I2C2SCL 0x000F0802
  10732. #define GPIO_PR2_M0PWM2 0x000F0806
  10733. #define GPIO_PR2_LCDLP 0x000F080F
  10734. #define GPIO_PR3_I2C2SDA 0x000F0C02
  10735. #define GPIO_PR3_M0PWM3 0x000F0C06
  10736. #define GPIO_PR3_LCDDATA03 0x000F0C0F
  10737. #define GPIO_PR4_I2C3SCL 0x000F1002
  10738. #define GPIO_PR4_T0CCP0 0x000F1003
  10739. #define GPIO_PR4_M0PWM4 0x000F1006
  10740. #define GPIO_PR4_LCDDATA00 0x000F100F
  10741. #define GPIO_PR5_U1RX 0x000F1401
  10742. #define GPIO_PR5_I2C3SDA 0x000F1402
  10743. #define GPIO_PR5_T0CCP1 0x000F1403
  10744. #define GPIO_PR5_M0PWM5 0x000F1406
  10745. #define GPIO_PR5_LCDDATA01 0x000F140F
  10746. #define GPIO_PR6_U1TX 0x000F1801
  10747. #define GPIO_PR6_I2C4SCL 0x000F1802
  10748. #define GPIO_PR6_T1CCP0 0x000F1803
  10749. #define GPIO_PR6_M0PWM6 0x000F1806
  10750. #define GPIO_PR6_LCDDATA04 0x000F180F
  10751. #define GPIO_PR7_I2C4SDA 0x000F1C02
  10752. #define GPIO_PR7_T1CCP1 0x000F1C03
  10753. #define GPIO_PR7_M0PWM7 0x000F1C06
  10754. #define GPIO_PR7_LCDDATA05 0x000F1C0F
  10755. #define GPIO_PS0_T2CCP0 0x00100003
  10756. #define GPIO_PS0_M0FAULT0 0x00100006
  10757. #define GPIO_PS0_LCDDATA20 0x0010000F
  10758. #define GPIO_PS1_T2CCP1 0x00100403
  10759. #define GPIO_PS1_M0FAULT1 0x00100406
  10760. #define GPIO_PS1_LCDDATA21 0x0010040F
  10761. #define GPIO_PS2_U1DSR 0x00100801
  10762. #define GPIO_PS2_T3CCP0 0x00100803
  10763. #define GPIO_PS2_M0FAULT2 0x00100806
  10764. #define GPIO_PS2_LCDDATA22 0x0010080F
  10765. #define GPIO_PS3_T3CCP1 0x00100C03
  10766. #define GPIO_PS3_M0FAULT3 0x00100C06
  10767. #define GPIO_PS3_LCDDATA23 0x00100C0F
  10768. #define GPIO_PS4_T4CCP0 0x00101003
  10769. #define GPIO_PS4_PHA0 0x00101006
  10770. #define GPIO_PS4_LCDDATA06 0x0010100F
  10771. #define GPIO_PS5_T4CCP1 0x00101403
  10772. #define GPIO_PS5_PHB0 0x00101406
  10773. #define GPIO_PS5_LCDDATA07 0x0010140F
  10774. #define GPIO_PS6_T5CCP0 0x00101803
  10775. #define GPIO_PS6_IDX0 0x00101806
  10776. #define GPIO_PS6_LCDDATA08 0x0010180F
  10777. #define GPIO_PS7_T5CCP1 0x00101C03
  10778. #define GPIO_PS7_LCDDATA09 0x00101C0F
  10779. #define GPIO_PT0_T6CCP0 0x00110003
  10780. #define GPIO_PT0_CAN0RX 0x00110007
  10781. #define GPIO_PT0_LCDDATA10 0x0011000F
  10782. #define GPIO_PT1_T6CCP1 0x00110403
  10783. #define GPIO_PT1_CAN0TX 0x00110407
  10784. #define GPIO_PT1_LCDDATA11 0x0011040F
  10785. #define GPIO_PT2_T7CCP0 0x00110803
  10786. #define GPIO_PT2_CAN1RX 0x00110807
  10787. #define GPIO_PT2_LCDDATA18 0x0011080F
  10788. #define GPIO_PT3_T7CCP1 0x00110C03
  10789. #define GPIO_PT3_CAN1TX 0x00110C07
  10790. #define GPIO_PT3_LCDDATA19 0x00110C0F
  10791. #endif // PART_TM4C1297NCZAD
  10792. //*****************************************************************************
  10793. //
  10794. // TM4C1299KCZAD Port/Pin Mapping Definitions
  10795. //
  10796. //*****************************************************************************
  10797. #ifdef PART_TM4C1299KCZAD
  10798. #define GPIO_PA0_U0RX 0x00000001
  10799. #define GPIO_PA0_I2C9SCL 0x00000002
  10800. #define GPIO_PA0_T0CCP0 0x00000003
  10801. #define GPIO_PA0_CAN0RX 0x00000007
  10802. #define GPIO_PA1_U0TX 0x00000401
  10803. #define GPIO_PA1_I2C9SDA 0x00000402
  10804. #define GPIO_PA1_T0CCP1 0x00000403
  10805. #define GPIO_PA1_CAN0TX 0x00000407
  10806. #define GPIO_PA2_U4RX 0x00000801
  10807. #define GPIO_PA2_I2C8SCL 0x00000802
  10808. #define GPIO_PA2_T1CCP0 0x00000803
  10809. #define GPIO_PA2_SSI0CLK 0x0000080F
  10810. #define GPIO_PA3_U4TX 0x00000C01
  10811. #define GPIO_PA3_I2C8SDA 0x00000C02
  10812. #define GPIO_PA3_T1CCP1 0x00000C03
  10813. #define GPIO_PA3_SSI0FSS 0x00000C0F
  10814. #define GPIO_PA4_U3RX 0x00001001
  10815. #define GPIO_PA4_T2CCP0 0x00001003
  10816. #define GPIO_PA4_I2C7SCL 0x00001002
  10817. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  10818. #define GPIO_PA5_U3TX 0x00001401
  10819. #define GPIO_PA5_T2CCP1 0x00001403
  10820. #define GPIO_PA5_I2C7SDA 0x00001402
  10821. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  10822. #define GPIO_PA6_U2RX 0x00001801
  10823. #define GPIO_PA6_I2C6SCL 0x00001802
  10824. #define GPIO_PA6_T3CCP0 0x00001803
  10825. #define GPIO_PA6_USB0EPEN 0x00001805
  10826. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  10827. #define GPIO_PA6_EPI0S8 0x0000180F
  10828. #define GPIO_PA7_U2TX 0x00001C01
  10829. #define GPIO_PA7_I2C6SDA 0x00001C02
  10830. #define GPIO_PA7_T3CCP1 0x00001C03
  10831. #define GPIO_PA7_USB0PFLT 0x00001C05
  10832. #define GPIO_PA7_USB0EPEN 0x00001C0B
  10833. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  10834. #define GPIO_PA7_EPI0S9 0x00001C0F
  10835. #define GPIO_PB0_U1RX 0x00010001
  10836. #define GPIO_PB0_I2C5SCL 0x00010002
  10837. #define GPIO_PB0_CAN1RX 0x00010007
  10838. #define GPIO_PB0_T4CCP0 0x00010003
  10839. #define GPIO_PB1_U1TX 0x00010401
  10840. #define GPIO_PB1_I2C5SDA 0x00010402
  10841. #define GPIO_PB1_CAN1TX 0x00010407
  10842. #define GPIO_PB1_T4CCP1 0x00010403
  10843. #define GPIO_PB2_T5CCP0 0x00010803
  10844. #define GPIO_PB2_I2C0SCL 0x00010802
  10845. #define GPIO_PB2_USB0STP 0x0001080E
  10846. #define GPIO_PB2_EPI0S27 0x0001080F
  10847. #define GPIO_PB3_I2C0SDA 0x00010C02
  10848. #define GPIO_PB3_T5CCP1 0x00010C03
  10849. #define GPIO_PB3_USB0CLK 0x00010C0E
  10850. #define GPIO_PB3_EPI0S28 0x00010C0F
  10851. #define GPIO_PB4_U0CTS 0x00011001
  10852. #define GPIO_PB4_I2C5SCL 0x00011002
  10853. #define GPIO_PB4_SSI1FSS 0x0001100F
  10854. #define GPIO_PB5_U0RTS 0x00011401
  10855. #define GPIO_PB5_I2C5SDA 0x00011402
  10856. #define GPIO_PB5_SSI1CLK 0x0001140F
  10857. #define GPIO_PB6_I2C6SCL 0x00011802
  10858. #define GPIO_PB6_T6CCP0 0x00011803
  10859. #define GPIO_PB7_I2C6SDA 0x00011C02
  10860. #define GPIO_PB7_T6CCP1 0x00011C03
  10861. #define GPIO_PC0_TCK 0x00020001
  10862. #define GPIO_PC0_SWCLK 0x00020001
  10863. #define GPIO_PC1_TMS 0x00020401
  10864. #define GPIO_PC1_SWDIO 0x00020401
  10865. #define GPIO_PC2_TDI 0x00020801
  10866. #define GPIO_PC3_SWO 0x00020C01
  10867. #define GPIO_PC3_TDO 0x00020C01
  10868. #define GPIO_PC4_U7RX 0x00021001
  10869. #define GPIO_PC4_T7CCP0 0x00021003
  10870. #define GPIO_PC4_EPI0S7 0x0002100F
  10871. #define GPIO_PC5_U7TX 0x00021401
  10872. #define GPIO_PC5_T7CCP1 0x00021403
  10873. #define GPIO_PC5_RTCCLK 0x00021407
  10874. #define GPIO_PC5_EPI0S6 0x0002140F
  10875. #define GPIO_PC6_U5RX 0x00021801
  10876. #define GPIO_PC6_EPI0S5 0x0002180F
  10877. #define GPIO_PC7_U5TX 0x00021C01
  10878. #define GPIO_PC7_EPI0S4 0x00021C0F
  10879. #define GPIO_PD0_I2C7SCL 0x00030002
  10880. #define GPIO_PD0_T0CCP0 0x00030003
  10881. #define GPIO_PD0_C0O 0x00030005
  10882. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  10883. #define GPIO_PD1_I2C7SDA 0x00030402
  10884. #define GPIO_PD1_T0CCP1 0x00030403
  10885. #define GPIO_PD1_C1O 0x00030405
  10886. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  10887. #define GPIO_PD2_I2C8SCL 0x00030802
  10888. #define GPIO_PD2_T1CCP0 0x00030803
  10889. #define GPIO_PD2_C2O 0x00030805
  10890. #define GPIO_PD2_SSI2FSS 0x0003080F
  10891. #define GPIO_PD3_I2C8SDA 0x00030C02
  10892. #define GPIO_PD3_T1CCP1 0x00030C03
  10893. #define GPIO_PD3_SSI2CLK 0x00030C0F
  10894. #define GPIO_PD4_U2RX 0x00031001
  10895. #define GPIO_PD4_T3CCP0 0x00031003
  10896. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  10897. #define GPIO_PD5_U2TX 0x00031401
  10898. #define GPIO_PD5_T3CCP1 0x00031403
  10899. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  10900. #define GPIO_PD6_U2RTS 0x00031801
  10901. #define GPIO_PD6_T4CCP0 0x00031803
  10902. #define GPIO_PD6_USB0EPEN 0x00031805
  10903. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  10904. #define GPIO_PD7_U2CTS 0x00031C01
  10905. #define GPIO_PD7_T4CCP1 0x00031C03
  10906. #define GPIO_PD7_USB0PFLT 0x00031C05
  10907. #define GPIO_PD7_NMI 0x00031C08
  10908. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  10909. #define GPIO_PE0_U1RTS 0x00040001
  10910. #define GPIO_PE1_U1DSR 0x00040401
  10911. #define GPIO_PE2_U1DCD 0x00040801
  10912. #define GPIO_PE3_U1DTR 0x00040C01
  10913. #define GPIO_PE4_U1RI 0x00041001
  10914. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  10915. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  10916. #define GPIO_PE6_U0CTS 0x00041801
  10917. #define GPIO_PE6_I2C9SCL 0x00041802
  10918. #define GPIO_PE7_U0RTS 0x00041C01
  10919. #define GPIO_PE7_I2C9SDA 0x00041C02
  10920. #define GPIO_PE7_NMI 0x00041C08
  10921. #define GPIO_PF0_EN0LED0 0x00050005
  10922. #define GPIO_PF0_M0PWM0 0x00050006
  10923. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  10924. #define GPIO_PF0_TRD2 0x0005000F
  10925. #define GPIO_PF1_EN0LED2 0x00050405
  10926. #define GPIO_PF1_M0PWM1 0x00050406
  10927. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  10928. #define GPIO_PF1_TRD1 0x0005040F
  10929. #define GPIO_PF2_M0PWM2 0x00050806
  10930. #define GPIO_PF2_SSI3FSS 0x0005080E
  10931. #define GPIO_PF2_TRD0 0x0005080F
  10932. #define GPIO_PF3_M0PWM3 0x00050C06
  10933. #define GPIO_PF3_SSI3CLK 0x00050C0E
  10934. #define GPIO_PF3_TRCLK 0x00050C0F
  10935. #define GPIO_PF4_EN0LED1 0x00051005
  10936. #define GPIO_PF4_M0FAULT0 0x00051006
  10937. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  10938. #define GPIO_PF4_TRD3 0x0005100F
  10939. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  10940. #define GPIO_PF6_LCDMCLK 0x0005180F
  10941. #define GPIO_PF7_LCDDATA02 0x00051C0F
  10942. #define GPIO_PG0_I2C1SCL 0x00060002
  10943. #define GPIO_PG0_EN0PPS 0x00060005
  10944. #define GPIO_PG0_M0PWM4 0x00060006
  10945. #define GPIO_PG0_EPI0S11 0x0006000F
  10946. #define GPIO_PG1_I2C1SDA 0x00060402
  10947. #define GPIO_PG1_M0PWM5 0x00060406
  10948. #define GPIO_PG1_EPI0S10 0x0006040F
  10949. #define GPIO_PG2_I2C2SCL 0x00060802
  10950. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  10951. #define GPIO_PG3_I2C2SDA 0x00060C02
  10952. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  10953. #define GPIO_PG4_U0CTS 0x00061001
  10954. #define GPIO_PG4_I2C3SCL 0x00061002
  10955. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  10956. #define GPIO_PG5_U0RTS 0x00061401
  10957. #define GPIO_PG5_I2C3SDA 0x00061402
  10958. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  10959. #define GPIO_PG6_I2C4SCL 0x00061802
  10960. #define GPIO_PG6_SSI2FSS 0x0006180F
  10961. #define GPIO_PG7_I2C4SDA 0x00061C02
  10962. #define GPIO_PG7_SSI2CLK 0x00061C0F
  10963. #define GPIO_PH0_U0RTS 0x00070001
  10964. #define GPIO_PH0_EPI0S0 0x0007000F
  10965. #define GPIO_PH1_U0CTS 0x00070401
  10966. #define GPIO_PH1_EPI0S1 0x0007040F
  10967. #define GPIO_PH2_U0DCD 0x00070801
  10968. #define GPIO_PH2_EPI0S2 0x0007080F
  10969. #define GPIO_PH3_U0DSR 0x00070C01
  10970. #define GPIO_PH3_EPI0S3 0x00070C0F
  10971. #define GPIO_PH4_U0DTR 0x00071001
  10972. #define GPIO_PH5_U0RI 0x00071401
  10973. #define GPIO_PH5_EN0PPS 0x00071405
  10974. #define GPIO_PH6_U5RX 0x00071801
  10975. #define GPIO_PH6_U7RX 0x00071802
  10976. #define GPIO_PH7_U5TX 0x00071C01
  10977. #define GPIO_PH7_U7TX 0x00071C02
  10978. #define GPIO_PJ0_U3RX 0x00080001
  10979. #define GPIO_PJ0_EN0PPS 0x00080005
  10980. #define GPIO_PJ1_U3TX 0x00080401
  10981. #define GPIO_PJ2_U2RTS 0x00080801
  10982. #define GPIO_PJ2_LCDDATA14 0x0008080F
  10983. #define GPIO_PJ3_U2CTS 0x00080C01
  10984. #define GPIO_PJ3_LCDDATA15 0x00080C0F
  10985. #define GPIO_PJ4_U3RTS 0x00081001
  10986. #define GPIO_PJ4_LCDDATA16 0x0008100F
  10987. #define GPIO_PJ5_U3CTS 0x00081401
  10988. #define GPIO_PJ5_LCDDATA17 0x0008140F
  10989. #define GPIO_PJ6_U4RTS 0x00081801
  10990. #define GPIO_PJ6_LCDAC 0x0008180F
  10991. #define GPIO_PJ7_U4CTS 0x00081C01
  10992. #define GPIO_PK0_U4RX 0x00090001
  10993. #define GPIO_PK0_EPI0S0 0x0009000F
  10994. #define GPIO_PK1_U4TX 0x00090401
  10995. #define GPIO_PK1_EPI0S1 0x0009040F
  10996. #define GPIO_PK2_U4RTS 0x00090801
  10997. #define GPIO_PK2_EPI0S2 0x0009080F
  10998. #define GPIO_PK3_U4CTS 0x00090C01
  10999. #define GPIO_PK3_EPI0S3 0x00090C0F
  11000. #define GPIO_PK4_I2C3SCL 0x00091002
  11001. #define GPIO_PK4_EN0LED0 0x00091005
  11002. #define GPIO_PK4_M0PWM6 0x00091006
  11003. #define GPIO_PK4_EPI0S32 0x0009100F
  11004. #define GPIO_PK5_I2C3SDA 0x00091402
  11005. #define GPIO_PK5_EN0LED2 0x00091405
  11006. #define GPIO_PK5_M0PWM7 0x00091406
  11007. #define GPIO_PK5_EPI0S31 0x0009140F
  11008. #define GPIO_PK6_I2C4SCL 0x00091802
  11009. #define GPIO_PK6_EN0LED1 0x00091805
  11010. #define GPIO_PK6_M0FAULT1 0x00091806
  11011. #define GPIO_PK6_EPI0S25 0x0009180F
  11012. #define GPIO_PK7_U0RI 0x00091C01
  11013. #define GPIO_PK7_I2C4SDA 0x00091C02
  11014. #define GPIO_PK7_RTCCLK 0x00091C05
  11015. #define GPIO_PK7_M0FAULT2 0x00091C06
  11016. #define GPIO_PK7_EPI0S24 0x00091C0F
  11017. #define GPIO_PL0_I2C2SDA 0x000A0002
  11018. #define GPIO_PL0_M0FAULT3 0x000A0006
  11019. #define GPIO_PL0_USB0D0 0x000A000E
  11020. #define GPIO_PL0_EPI0S16 0x000A000F
  11021. #define GPIO_PL1_I2C2SCL 0x000A0402
  11022. #define GPIO_PL1_PHA0 0x000A0406
  11023. #define GPIO_PL1_USB0D1 0x000A040E
  11024. #define GPIO_PL1_EPI0S17 0x000A040F
  11025. #define GPIO_PL2_C0O 0x000A0805
  11026. #define GPIO_PL2_PHB0 0x000A0806
  11027. #define GPIO_PL2_USB0D2 0x000A080E
  11028. #define GPIO_PL2_EPI0S18 0x000A080F
  11029. #define GPIO_PL3_C1O 0x000A0C05
  11030. #define GPIO_PL3_IDX0 0x000A0C06
  11031. #define GPIO_PL3_USB0D3 0x000A0C0E
  11032. #define GPIO_PL3_EPI0S19 0x000A0C0F
  11033. #define GPIO_PL4_T0CCP0 0x000A1003
  11034. #define GPIO_PL4_USB0D4 0x000A100E
  11035. #define GPIO_PL4_EPI0S26 0x000A100F
  11036. #define GPIO_PL5_T0CCP1 0x000A1403
  11037. #define GPIO_PL5_EPI0S33 0x000A140F
  11038. #define GPIO_PL5_USB0D5 0x000A140E
  11039. #define GPIO_PL6_T1CCP0 0x000A1803
  11040. #define GPIO_PL7_T1CCP1 0x000A1C03
  11041. #define GPIO_PM0_T2CCP0 0x000B0003
  11042. #define GPIO_PM0_EPI0S15 0x000B000F
  11043. #define GPIO_PM1_T2CCP1 0x000B0403
  11044. #define GPIO_PM1_EPI0S14 0x000B040F
  11045. #define GPIO_PM2_T3CCP0 0x000B0803
  11046. #define GPIO_PM2_EPI0S13 0x000B080F
  11047. #define GPIO_PM3_T3CCP1 0x000B0C03
  11048. #define GPIO_PM3_EPI0S12 0x000B0C0F
  11049. #define GPIO_PM4_U0CTS 0x000B1001
  11050. #define GPIO_PM4_T4CCP0 0x000B1003
  11051. #define GPIO_PM5_U0DCD 0x000B1401
  11052. #define GPIO_PM5_T4CCP1 0x000B1403
  11053. #define GPIO_PM6_U0DSR 0x000B1801
  11054. #define GPIO_PM6_T5CCP0 0x000B1803
  11055. #define GPIO_PM7_U0RI 0x000B1C01
  11056. #define GPIO_PM7_T5CCP1 0x000B1C03
  11057. #define GPIO_PN0_U1RTS 0x000C0001
  11058. #define GPIO_PN1_U1CTS 0x000C0401
  11059. #define GPIO_PN2_U1DCD 0x000C0801
  11060. #define GPIO_PN2_U2RTS 0x000C0802
  11061. #define GPIO_PN2_EPI0S29 0x000C080F
  11062. #define GPIO_PN3_U1DSR 0x000C0C01
  11063. #define GPIO_PN3_U2CTS 0x000C0C02
  11064. #define GPIO_PN3_EPI0S30 0x000C0C0F
  11065. #define GPIO_PN4_U1DTR 0x000C1001
  11066. #define GPIO_PN4_U3RTS 0x000C1002
  11067. #define GPIO_PN4_I2C2SDA 0x000C1003
  11068. #define GPIO_PN4_EPI0S34 0x000C100F
  11069. #define GPIO_PN5_U1RI 0x000C1401
  11070. #define GPIO_PN5_U3CTS 0x000C1402
  11071. #define GPIO_PN5_I2C2SCL 0x000C1403
  11072. #define GPIO_PN5_EPI0S35 0x000C140F
  11073. #define GPIO_PN6_U4RTS 0x000C1802
  11074. #define GPIO_PN6_LCDDATA13 0x000C180F
  11075. #define GPIO_PN7_U1RTS 0x000C1C01
  11076. #define GPIO_PN7_U4CTS 0x000C1C02
  11077. #define GPIO_PN7_LCDDATA12 0x000C1C0F
  11078. #define GPIO_PP0_U6RX 0x000D0001
  11079. #define GPIO_PP0_T6CCP0 0x000D0005
  11080. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  11081. #define GPIO_PP1_U6TX 0x000D0401
  11082. #define GPIO_PP1_T6CCP1 0x000D0405
  11083. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  11084. #define GPIO_PP2_U0DTR 0x000D0801
  11085. #define GPIO_PP2_USB0NXT 0x000D080E
  11086. #define GPIO_PP2_EPI0S29 0x000D080F
  11087. #define GPIO_PP3_U1CTS 0x000D0C01
  11088. #define GPIO_PP3_U0DCD 0x000D0C02
  11089. #define GPIO_PP3_RTCCLK 0x000D0C07
  11090. #define GPIO_PP3_USB0DIR 0x000D0C0E
  11091. #define GPIO_PP3_EPI0S30 0x000D0C0F
  11092. #define GPIO_PP4_U3RTS 0x000D1001
  11093. #define GPIO_PP4_U0DSR 0x000D1002
  11094. #define GPIO_PP4_USB0D7 0x000D100E
  11095. #define GPIO_PP5_U3CTS 0x000D1401
  11096. #define GPIO_PP5_I2C2SCL 0x000D1402
  11097. #define GPIO_PP5_USB0D6 0x000D140E
  11098. #define GPIO_PP6_U1DCD 0x000D1801
  11099. #define GPIO_PP6_I2C2SDA 0x000D1802
  11100. #define GPIO_PQ0_T6CCP0 0x000E0003
  11101. #define GPIO_PQ0_SSI3CLK 0x000E000E
  11102. #define GPIO_PQ0_EPI0S20 0x000E000F
  11103. #define GPIO_PQ1_T6CCP1 0x000E0403
  11104. #define GPIO_PQ1_SSI3FSS 0x000E040E
  11105. #define GPIO_PQ1_EPI0S21 0x000E040F
  11106. #define GPIO_PQ2_T7CCP0 0x000E0803
  11107. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  11108. #define GPIO_PQ2_EPI0S22 0x000E080F
  11109. #define GPIO_PQ3_T7CCP1 0x000E0C03
  11110. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  11111. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  11112. #define GPIO_PQ4_U1RX 0x000E1001
  11113. #define GPIO_PQ4_DIVSCLK 0x000E1007
  11114. #define GPIO_PQ5_U1TX 0x000E1401
  11115. #define GPIO_PQ6_U1DTR 0x000E1801
  11116. #define GPIO_PQ7_U1RI 0x000E1C01
  11117. #define GPIO_PR0_U4TX 0x000F0001
  11118. #define GPIO_PR0_I2C1SCL 0x000F0002
  11119. #define GPIO_PR0_M0PWM0 0x000F0006
  11120. #define GPIO_PR0_LCDCP 0x000F000F
  11121. #define GPIO_PR1_U4RX 0x000F0401
  11122. #define GPIO_PR1_I2C1SDA 0x000F0402
  11123. #define GPIO_PR1_M0PWM1 0x000F0406
  11124. #define GPIO_PR1_LCDFP 0x000F040F
  11125. #define GPIO_PR2_I2C2SCL 0x000F0802
  11126. #define GPIO_PR2_M0PWM2 0x000F0806
  11127. #define GPIO_PR2_LCDLP 0x000F080F
  11128. #define GPIO_PR3_I2C2SDA 0x000F0C02
  11129. #define GPIO_PR3_M0PWM3 0x000F0C06
  11130. #define GPIO_PR3_LCDDATA03 0x000F0C0F
  11131. #define GPIO_PR4_I2C3SCL 0x000F1002
  11132. #define GPIO_PR4_T0CCP0 0x000F1003
  11133. #define GPIO_PR4_M0PWM4 0x000F1006
  11134. #define GPIO_PR4_LCDDATA00 0x000F100F
  11135. #define GPIO_PR5_U1RX 0x000F1401
  11136. #define GPIO_PR5_I2C3SDA 0x000F1402
  11137. #define GPIO_PR5_T0CCP1 0x000F1403
  11138. #define GPIO_PR5_M0PWM5 0x000F1406
  11139. #define GPIO_PR5_LCDDATA01 0x000F140F
  11140. #define GPIO_PR6_U1TX 0x000F1801
  11141. #define GPIO_PR6_I2C4SCL 0x000F1802
  11142. #define GPIO_PR6_T1CCP0 0x000F1803
  11143. #define GPIO_PR6_M0PWM6 0x000F1806
  11144. #define GPIO_PR6_LCDDATA04 0x000F180F
  11145. #define GPIO_PR7_I2C4SDA 0x000F1C02
  11146. #define GPIO_PR7_T1CCP1 0x000F1C03
  11147. #define GPIO_PR7_M0PWM7 0x000F1C06
  11148. #define GPIO_PR7_LCDDATA05 0x000F1C0F
  11149. #define GPIO_PS0_T2CCP0 0x00100003
  11150. #define GPIO_PS0_M0FAULT0 0x00100006
  11151. #define GPIO_PS0_LCDDATA20 0x0010000F
  11152. #define GPIO_PS1_T2CCP1 0x00100403
  11153. #define GPIO_PS1_M0FAULT1 0x00100406
  11154. #define GPIO_PS1_LCDDATA21 0x0010040F
  11155. #define GPIO_PS2_U1DSR 0x00100801
  11156. #define GPIO_PS2_T3CCP0 0x00100803
  11157. #define GPIO_PS2_M0FAULT2 0x00100806
  11158. #define GPIO_PS2_LCDDATA22 0x0010080F
  11159. #define GPIO_PS3_T3CCP1 0x00100C03
  11160. #define GPIO_PS3_M0FAULT3 0x00100C06
  11161. #define GPIO_PS3_LCDDATA23 0x00100C0F
  11162. #define GPIO_PS4_T4CCP0 0x00101003
  11163. #define GPIO_PS4_PHA0 0x00101006
  11164. #define GPIO_PS4_LCDDATA06 0x0010100F
  11165. #define GPIO_PS5_T4CCP1 0x00101403
  11166. #define GPIO_PS5_PHB0 0x00101406
  11167. #define GPIO_PS5_LCDDATA07 0x0010140F
  11168. #define GPIO_PS6_T5CCP0 0x00101803
  11169. #define GPIO_PS6_IDX0 0x00101806
  11170. #define GPIO_PS6_LCDDATA08 0x0010180F
  11171. #define GPIO_PS7_T5CCP1 0x00101C03
  11172. #define GPIO_PS7_LCDDATA09 0x00101C0F
  11173. #define GPIO_PT0_T6CCP0 0x00110003
  11174. #define GPIO_PT0_CAN0RX 0x00110007
  11175. #define GPIO_PT0_LCDDATA10 0x0011000F
  11176. #define GPIO_PT1_T6CCP1 0x00110403
  11177. #define GPIO_PT1_CAN0TX 0x00110407
  11178. #define GPIO_PT1_LCDDATA11 0x0011040F
  11179. #define GPIO_PT2_T7CCP0 0x00110803
  11180. #define GPIO_PT2_CAN1RX 0x00110807
  11181. #define GPIO_PT2_LCDDATA18 0x0011080F
  11182. #define GPIO_PT3_T7CCP1 0x00110C03
  11183. #define GPIO_PT3_CAN1TX 0x00110C07
  11184. #define GPIO_PT3_LCDDATA19 0x00110C0F
  11185. #endif // PART_TM4C1299KCZAD
  11186. //*****************************************************************************
  11187. //
  11188. // TM4C1299NCZAD Port/Pin Mapping Definitions
  11189. //
  11190. //*****************************************************************************
  11191. #ifdef PART_TM4C1299NCZAD
  11192. #define GPIO_PA0_U0RX 0x00000001
  11193. #define GPIO_PA0_I2C9SCL 0x00000002
  11194. #define GPIO_PA0_T0CCP0 0x00000003
  11195. #define GPIO_PA0_CAN0RX 0x00000007
  11196. #define GPIO_PA1_U0TX 0x00000401
  11197. #define GPIO_PA1_I2C9SDA 0x00000402
  11198. #define GPIO_PA1_T0CCP1 0x00000403
  11199. #define GPIO_PA1_CAN0TX 0x00000407
  11200. #define GPIO_PA2_U4RX 0x00000801
  11201. #define GPIO_PA2_I2C8SCL 0x00000802
  11202. #define GPIO_PA2_T1CCP0 0x00000803
  11203. #define GPIO_PA2_SSI0CLK 0x0000080F
  11204. #define GPIO_PA3_U4TX 0x00000C01
  11205. #define GPIO_PA3_I2C8SDA 0x00000C02
  11206. #define GPIO_PA3_T1CCP1 0x00000C03
  11207. #define GPIO_PA3_SSI0FSS 0x00000C0F
  11208. #define GPIO_PA4_U3RX 0x00001001
  11209. #define GPIO_PA4_T2CCP0 0x00001003
  11210. #define GPIO_PA4_I2C7SCL 0x00001002
  11211. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  11212. #define GPIO_PA5_U3TX 0x00001401
  11213. #define GPIO_PA5_T2CCP1 0x00001403
  11214. #define GPIO_PA5_I2C7SDA 0x00001402
  11215. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  11216. #define GPIO_PA6_U2RX 0x00001801
  11217. #define GPIO_PA6_I2C6SCL 0x00001802
  11218. #define GPIO_PA6_T3CCP0 0x00001803
  11219. #define GPIO_PA6_USB0EPEN 0x00001805
  11220. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  11221. #define GPIO_PA6_EPI0S8 0x0000180F
  11222. #define GPIO_PA7_U2TX 0x00001C01
  11223. #define GPIO_PA7_I2C6SDA 0x00001C02
  11224. #define GPIO_PA7_T3CCP1 0x00001C03
  11225. #define GPIO_PA7_USB0PFLT 0x00001C05
  11226. #define GPIO_PA7_USB0EPEN 0x00001C0B
  11227. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  11228. #define GPIO_PA7_EPI0S9 0x00001C0F
  11229. #define GPIO_PB0_U1RX 0x00010001
  11230. #define GPIO_PB0_I2C5SCL 0x00010002
  11231. #define GPIO_PB0_CAN1RX 0x00010007
  11232. #define GPIO_PB0_T4CCP0 0x00010003
  11233. #define GPIO_PB1_U1TX 0x00010401
  11234. #define GPIO_PB1_I2C5SDA 0x00010402
  11235. #define GPIO_PB1_CAN1TX 0x00010407
  11236. #define GPIO_PB1_T4CCP1 0x00010403
  11237. #define GPIO_PB2_T5CCP0 0x00010803
  11238. #define GPIO_PB2_I2C0SCL 0x00010802
  11239. #define GPIO_PB2_USB0STP 0x0001080E
  11240. #define GPIO_PB2_EPI0S27 0x0001080F
  11241. #define GPIO_PB3_I2C0SDA 0x00010C02
  11242. #define GPIO_PB3_T5CCP1 0x00010C03
  11243. #define GPIO_PB3_USB0CLK 0x00010C0E
  11244. #define GPIO_PB3_EPI0S28 0x00010C0F
  11245. #define GPIO_PB4_U0CTS 0x00011001
  11246. #define GPIO_PB4_I2C5SCL 0x00011002
  11247. #define GPIO_PB4_SSI1FSS 0x0001100F
  11248. #define GPIO_PB5_U0RTS 0x00011401
  11249. #define GPIO_PB5_I2C5SDA 0x00011402
  11250. #define GPIO_PB5_SSI1CLK 0x0001140F
  11251. #define GPIO_PB6_I2C6SCL 0x00011802
  11252. #define GPIO_PB6_T6CCP0 0x00011803
  11253. #define GPIO_PB7_I2C6SDA 0x00011C02
  11254. #define GPIO_PB7_T6CCP1 0x00011C03
  11255. #define GPIO_PC0_TCK 0x00020001
  11256. #define GPIO_PC0_SWCLK 0x00020001
  11257. #define GPIO_PC1_TMS 0x00020401
  11258. #define GPIO_PC1_SWDIO 0x00020401
  11259. #define GPIO_PC2_TDI 0x00020801
  11260. #define GPIO_PC3_SWO 0x00020C01
  11261. #define GPIO_PC3_TDO 0x00020C01
  11262. #define GPIO_PC4_U7RX 0x00021001
  11263. #define GPIO_PC4_T7CCP0 0x00021003
  11264. #define GPIO_PC4_EPI0S7 0x0002100F
  11265. #define GPIO_PC5_U7TX 0x00021401
  11266. #define GPIO_PC5_T7CCP1 0x00021403
  11267. #define GPIO_PC5_RTCCLK 0x00021407
  11268. #define GPIO_PC5_EPI0S6 0x0002140F
  11269. #define GPIO_PC6_U5RX 0x00021801
  11270. #define GPIO_PC6_EPI0S5 0x0002180F
  11271. #define GPIO_PC7_U5TX 0x00021C01
  11272. #define GPIO_PC7_EPI0S4 0x00021C0F
  11273. #define GPIO_PD0_I2C7SCL 0x00030002
  11274. #define GPIO_PD0_T0CCP0 0x00030003
  11275. #define GPIO_PD0_C0O 0x00030005
  11276. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  11277. #define GPIO_PD1_I2C7SDA 0x00030402
  11278. #define GPIO_PD1_T0CCP1 0x00030403
  11279. #define GPIO_PD1_C1O 0x00030405
  11280. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  11281. #define GPIO_PD2_I2C8SCL 0x00030802
  11282. #define GPIO_PD2_T1CCP0 0x00030803
  11283. #define GPIO_PD2_C2O 0x00030805
  11284. #define GPIO_PD2_SSI2FSS 0x0003080F
  11285. #define GPIO_PD3_I2C8SDA 0x00030C02
  11286. #define GPIO_PD3_T1CCP1 0x00030C03
  11287. #define GPIO_PD3_SSI2CLK 0x00030C0F
  11288. #define GPIO_PD4_U2RX 0x00031001
  11289. #define GPIO_PD4_T3CCP0 0x00031003
  11290. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  11291. #define GPIO_PD5_U2TX 0x00031401
  11292. #define GPIO_PD5_T3CCP1 0x00031403
  11293. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  11294. #define GPIO_PD6_U2RTS 0x00031801
  11295. #define GPIO_PD6_T4CCP0 0x00031803
  11296. #define GPIO_PD6_USB0EPEN 0x00031805
  11297. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  11298. #define GPIO_PD7_U2CTS 0x00031C01
  11299. #define GPIO_PD7_T4CCP1 0x00031C03
  11300. #define GPIO_PD7_USB0PFLT 0x00031C05
  11301. #define GPIO_PD7_NMI 0x00031C08
  11302. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  11303. #define GPIO_PE0_U1RTS 0x00040001
  11304. #define GPIO_PE1_U1DSR 0x00040401
  11305. #define GPIO_PE2_U1DCD 0x00040801
  11306. #define GPIO_PE3_U1DTR 0x00040C01
  11307. #define GPIO_PE4_U1RI 0x00041001
  11308. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  11309. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  11310. #define GPIO_PE6_U0CTS 0x00041801
  11311. #define GPIO_PE6_I2C9SCL 0x00041802
  11312. #define GPIO_PE7_U0RTS 0x00041C01
  11313. #define GPIO_PE7_I2C9SDA 0x00041C02
  11314. #define GPIO_PE7_NMI 0x00041C08
  11315. #define GPIO_PF0_EN0LED0 0x00050005
  11316. #define GPIO_PF0_M0PWM0 0x00050006
  11317. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  11318. #define GPIO_PF0_TRD2 0x0005000F
  11319. #define GPIO_PF1_EN0LED2 0x00050405
  11320. #define GPIO_PF1_M0PWM1 0x00050406
  11321. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  11322. #define GPIO_PF1_TRD1 0x0005040F
  11323. #define GPIO_PF2_M0PWM2 0x00050806
  11324. #define GPIO_PF2_SSI3FSS 0x0005080E
  11325. #define GPIO_PF2_TRD0 0x0005080F
  11326. #define GPIO_PF3_M0PWM3 0x00050C06
  11327. #define GPIO_PF3_SSI3CLK 0x00050C0E
  11328. #define GPIO_PF3_TRCLK 0x00050C0F
  11329. #define GPIO_PF4_EN0LED1 0x00051005
  11330. #define GPIO_PF4_M0FAULT0 0x00051006
  11331. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  11332. #define GPIO_PF4_TRD3 0x0005100F
  11333. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  11334. #define GPIO_PF6_LCDMCLK 0x0005180F
  11335. #define GPIO_PF7_LCDDATA02 0x00051C0F
  11336. #define GPIO_PG0_I2C1SCL 0x00060002
  11337. #define GPIO_PG0_EN0PPS 0x00060005
  11338. #define GPIO_PG0_M0PWM4 0x00060006
  11339. #define GPIO_PG0_EPI0S11 0x0006000F
  11340. #define GPIO_PG1_I2C1SDA 0x00060402
  11341. #define GPIO_PG1_M0PWM5 0x00060406
  11342. #define GPIO_PG1_EPI0S10 0x0006040F
  11343. #define GPIO_PG2_I2C2SCL 0x00060802
  11344. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  11345. #define GPIO_PG3_I2C2SDA 0x00060C02
  11346. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  11347. #define GPIO_PG4_U0CTS 0x00061001
  11348. #define GPIO_PG4_I2C3SCL 0x00061002
  11349. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  11350. #define GPIO_PG5_U0RTS 0x00061401
  11351. #define GPIO_PG5_I2C3SDA 0x00061402
  11352. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  11353. #define GPIO_PG6_I2C4SCL 0x00061802
  11354. #define GPIO_PG6_SSI2FSS 0x0006180F
  11355. #define GPIO_PG7_I2C4SDA 0x00061C02
  11356. #define GPIO_PG7_SSI2CLK 0x00061C0F
  11357. #define GPIO_PH0_U0RTS 0x00070001
  11358. #define GPIO_PH0_EPI0S0 0x0007000F
  11359. #define GPIO_PH1_U0CTS 0x00070401
  11360. #define GPIO_PH1_EPI0S1 0x0007040F
  11361. #define GPIO_PH2_U0DCD 0x00070801
  11362. #define GPIO_PH2_EPI0S2 0x0007080F
  11363. #define GPIO_PH3_U0DSR 0x00070C01
  11364. #define GPIO_PH3_EPI0S3 0x00070C0F
  11365. #define GPIO_PH4_U0DTR 0x00071001
  11366. #define GPIO_PH5_U0RI 0x00071401
  11367. #define GPIO_PH5_EN0PPS 0x00071405
  11368. #define GPIO_PH6_U5RX 0x00071801
  11369. #define GPIO_PH6_U7RX 0x00071802
  11370. #define GPIO_PH7_U5TX 0x00071C01
  11371. #define GPIO_PH7_U7TX 0x00071C02
  11372. #define GPIO_PJ0_U3RX 0x00080001
  11373. #define GPIO_PJ0_EN0PPS 0x00080005
  11374. #define GPIO_PJ1_U3TX 0x00080401
  11375. #define GPIO_PJ2_U2RTS 0x00080801
  11376. #define GPIO_PJ2_LCDDATA14 0x0008080F
  11377. #define GPIO_PJ3_U2CTS 0x00080C01
  11378. #define GPIO_PJ3_LCDDATA15 0x00080C0F
  11379. #define GPIO_PJ4_U3RTS 0x00081001
  11380. #define GPIO_PJ4_LCDDATA16 0x0008100F
  11381. #define GPIO_PJ5_U3CTS 0x00081401
  11382. #define GPIO_PJ5_LCDDATA17 0x0008140F
  11383. #define GPIO_PJ6_U4RTS 0x00081801
  11384. #define GPIO_PJ6_LCDAC 0x0008180F
  11385. #define GPIO_PJ7_U4CTS 0x00081C01
  11386. #define GPIO_PK0_U4RX 0x00090001
  11387. #define GPIO_PK0_EPI0S0 0x0009000F
  11388. #define GPIO_PK1_U4TX 0x00090401
  11389. #define GPIO_PK1_EPI0S1 0x0009040F
  11390. #define GPIO_PK2_U4RTS 0x00090801
  11391. #define GPIO_PK2_EPI0S2 0x0009080F
  11392. #define GPIO_PK3_U4CTS 0x00090C01
  11393. #define GPIO_PK3_EPI0S3 0x00090C0F
  11394. #define GPIO_PK4_I2C3SCL 0x00091002
  11395. #define GPIO_PK4_EN0LED0 0x00091005
  11396. #define GPIO_PK4_M0PWM6 0x00091006
  11397. #define GPIO_PK4_EPI0S32 0x0009100F
  11398. #define GPIO_PK5_I2C3SDA 0x00091402
  11399. #define GPIO_PK5_EN0LED2 0x00091405
  11400. #define GPIO_PK5_M0PWM7 0x00091406
  11401. #define GPIO_PK5_EPI0S31 0x0009140F
  11402. #define GPIO_PK6_I2C4SCL 0x00091802
  11403. #define GPIO_PK6_EN0LED1 0x00091805
  11404. #define GPIO_PK6_M0FAULT1 0x00091806
  11405. #define GPIO_PK6_EPI0S25 0x0009180F
  11406. #define GPIO_PK7_U0RI 0x00091C01
  11407. #define GPIO_PK7_I2C4SDA 0x00091C02
  11408. #define GPIO_PK7_RTCCLK 0x00091C05
  11409. #define GPIO_PK7_M0FAULT2 0x00091C06
  11410. #define GPIO_PK7_EPI0S24 0x00091C0F
  11411. #define GPIO_PL0_I2C2SDA 0x000A0002
  11412. #define GPIO_PL0_M0FAULT3 0x000A0006
  11413. #define GPIO_PL0_USB0D0 0x000A000E
  11414. #define GPIO_PL0_EPI0S16 0x000A000F
  11415. #define GPIO_PL1_I2C2SCL 0x000A0402
  11416. #define GPIO_PL1_PHA0 0x000A0406
  11417. #define GPIO_PL1_USB0D1 0x000A040E
  11418. #define GPIO_PL1_EPI0S17 0x000A040F
  11419. #define GPIO_PL2_C0O 0x000A0805
  11420. #define GPIO_PL2_PHB0 0x000A0806
  11421. #define GPIO_PL2_USB0D2 0x000A080E
  11422. #define GPIO_PL2_EPI0S18 0x000A080F
  11423. #define GPIO_PL3_C1O 0x000A0C05
  11424. #define GPIO_PL3_IDX0 0x000A0C06
  11425. #define GPIO_PL3_USB0D3 0x000A0C0E
  11426. #define GPIO_PL3_EPI0S19 0x000A0C0F
  11427. #define GPIO_PL4_T0CCP0 0x000A1003
  11428. #define GPIO_PL4_USB0D4 0x000A100E
  11429. #define GPIO_PL4_EPI0S26 0x000A100F
  11430. #define GPIO_PL5_T0CCP1 0x000A1403
  11431. #define GPIO_PL5_EPI0S33 0x000A140F
  11432. #define GPIO_PL5_USB0D5 0x000A140E
  11433. #define GPIO_PL6_T1CCP0 0x000A1803
  11434. #define GPIO_PL7_T1CCP1 0x000A1C03
  11435. #define GPIO_PM0_T2CCP0 0x000B0003
  11436. #define GPIO_PM0_EPI0S15 0x000B000F
  11437. #define GPIO_PM1_T2CCP1 0x000B0403
  11438. #define GPIO_PM1_EPI0S14 0x000B040F
  11439. #define GPIO_PM2_T3CCP0 0x000B0803
  11440. #define GPIO_PM2_EPI0S13 0x000B080F
  11441. #define GPIO_PM3_T3CCP1 0x000B0C03
  11442. #define GPIO_PM3_EPI0S12 0x000B0C0F
  11443. #define GPIO_PM4_U0CTS 0x000B1001
  11444. #define GPIO_PM4_T4CCP0 0x000B1003
  11445. #define GPIO_PM5_U0DCD 0x000B1401
  11446. #define GPIO_PM5_T4CCP1 0x000B1403
  11447. #define GPIO_PM6_U0DSR 0x000B1801
  11448. #define GPIO_PM6_T5CCP0 0x000B1803
  11449. #define GPIO_PM7_U0RI 0x000B1C01
  11450. #define GPIO_PM7_T5CCP1 0x000B1C03
  11451. #define GPIO_PN0_U1RTS 0x000C0001
  11452. #define GPIO_PN1_U1CTS 0x000C0401
  11453. #define GPIO_PN2_U1DCD 0x000C0801
  11454. #define GPIO_PN2_U2RTS 0x000C0802
  11455. #define GPIO_PN2_EPI0S29 0x000C080F
  11456. #define GPIO_PN3_U1DSR 0x000C0C01
  11457. #define GPIO_PN3_U2CTS 0x000C0C02
  11458. #define GPIO_PN3_EPI0S30 0x000C0C0F
  11459. #define GPIO_PN4_U1DTR 0x000C1001
  11460. #define GPIO_PN4_U3RTS 0x000C1002
  11461. #define GPIO_PN4_I2C2SDA 0x000C1003
  11462. #define GPIO_PN4_EPI0S34 0x000C100F
  11463. #define GPIO_PN5_U1RI 0x000C1401
  11464. #define GPIO_PN5_U3CTS 0x000C1402
  11465. #define GPIO_PN5_I2C2SCL 0x000C1403
  11466. #define GPIO_PN5_EPI0S35 0x000C140F
  11467. #define GPIO_PN6_U4RTS 0x000C1802
  11468. #define GPIO_PN6_LCDDATA13 0x000C180F
  11469. #define GPIO_PN7_U1RTS 0x000C1C01
  11470. #define GPIO_PN7_U4CTS 0x000C1C02
  11471. #define GPIO_PN7_LCDDATA12 0x000C1C0F
  11472. #define GPIO_PP0_U6RX 0x000D0001
  11473. #define GPIO_PP0_T6CCP0 0x000D0005
  11474. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  11475. #define GPIO_PP1_U6TX 0x000D0401
  11476. #define GPIO_PP1_T6CCP1 0x000D0405
  11477. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  11478. #define GPIO_PP2_U0DTR 0x000D0801
  11479. #define GPIO_PP2_USB0NXT 0x000D080E
  11480. #define GPIO_PP2_EPI0S29 0x000D080F
  11481. #define GPIO_PP3_U1CTS 0x000D0C01
  11482. #define GPIO_PP3_U0DCD 0x000D0C02
  11483. #define GPIO_PP3_RTCCLK 0x000D0C07
  11484. #define GPIO_PP3_USB0DIR 0x000D0C0E
  11485. #define GPIO_PP3_EPI0S30 0x000D0C0F
  11486. #define GPIO_PP4_U3RTS 0x000D1001
  11487. #define GPIO_PP4_U0DSR 0x000D1002
  11488. #define GPIO_PP4_USB0D7 0x000D100E
  11489. #define GPIO_PP5_U3CTS 0x000D1401
  11490. #define GPIO_PP5_I2C2SCL 0x000D1402
  11491. #define GPIO_PP5_USB0D6 0x000D140E
  11492. #define GPIO_PP6_U1DCD 0x000D1801
  11493. #define GPIO_PP6_I2C2SDA 0x000D1802
  11494. #define GPIO_PQ0_T6CCP0 0x000E0003
  11495. #define GPIO_PQ0_SSI3CLK 0x000E000E
  11496. #define GPIO_PQ0_EPI0S20 0x000E000F
  11497. #define GPIO_PQ1_T6CCP1 0x000E0403
  11498. #define GPIO_PQ1_SSI3FSS 0x000E040E
  11499. #define GPIO_PQ1_EPI0S21 0x000E040F
  11500. #define GPIO_PQ2_T7CCP0 0x000E0803
  11501. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  11502. #define GPIO_PQ2_EPI0S22 0x000E080F
  11503. #define GPIO_PQ3_T7CCP1 0x000E0C03
  11504. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  11505. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  11506. #define GPIO_PQ4_U1RX 0x000E1001
  11507. #define GPIO_PQ4_DIVSCLK 0x000E1007
  11508. #define GPIO_PQ5_U1TX 0x000E1401
  11509. #define GPIO_PQ6_U1DTR 0x000E1801
  11510. #define GPIO_PQ7_U1RI 0x000E1C01
  11511. #define GPIO_PR0_U4TX 0x000F0001
  11512. #define GPIO_PR0_I2C1SCL 0x000F0002
  11513. #define GPIO_PR0_M0PWM0 0x000F0006
  11514. #define GPIO_PR0_LCDCP 0x000F000F
  11515. #define GPIO_PR1_U4RX 0x000F0401
  11516. #define GPIO_PR1_I2C1SDA 0x000F0402
  11517. #define GPIO_PR1_M0PWM1 0x000F0406
  11518. #define GPIO_PR1_LCDFP 0x000F040F
  11519. #define GPIO_PR2_I2C2SCL 0x000F0802
  11520. #define GPIO_PR2_M0PWM2 0x000F0806
  11521. #define GPIO_PR2_LCDLP 0x000F080F
  11522. #define GPIO_PR3_I2C2SDA 0x000F0C02
  11523. #define GPIO_PR3_M0PWM3 0x000F0C06
  11524. #define GPIO_PR3_LCDDATA03 0x000F0C0F
  11525. #define GPIO_PR4_I2C3SCL 0x000F1002
  11526. #define GPIO_PR4_T0CCP0 0x000F1003
  11527. #define GPIO_PR4_M0PWM4 0x000F1006
  11528. #define GPIO_PR4_LCDDATA00 0x000F100F
  11529. #define GPIO_PR5_U1RX 0x000F1401
  11530. #define GPIO_PR5_I2C3SDA 0x000F1402
  11531. #define GPIO_PR5_T0CCP1 0x000F1403
  11532. #define GPIO_PR5_M0PWM5 0x000F1406
  11533. #define GPIO_PR5_LCDDATA01 0x000F140F
  11534. #define GPIO_PR6_U1TX 0x000F1801
  11535. #define GPIO_PR6_I2C4SCL 0x000F1802
  11536. #define GPIO_PR6_T1CCP0 0x000F1803
  11537. #define GPIO_PR6_M0PWM6 0x000F1806
  11538. #define GPIO_PR6_LCDDATA04 0x000F180F
  11539. #define GPIO_PR7_I2C4SDA 0x000F1C02
  11540. #define GPIO_PR7_T1CCP1 0x000F1C03
  11541. #define GPIO_PR7_M0PWM7 0x000F1C06
  11542. #define GPIO_PR7_LCDDATA05 0x000F1C0F
  11543. #define GPIO_PS0_T2CCP0 0x00100003
  11544. #define GPIO_PS0_M0FAULT0 0x00100006
  11545. #define GPIO_PS0_LCDDATA20 0x0010000F
  11546. #define GPIO_PS1_T2CCP1 0x00100403
  11547. #define GPIO_PS1_M0FAULT1 0x00100406
  11548. #define GPIO_PS1_LCDDATA21 0x0010040F
  11549. #define GPIO_PS2_U1DSR 0x00100801
  11550. #define GPIO_PS2_T3CCP0 0x00100803
  11551. #define GPIO_PS2_M0FAULT2 0x00100806
  11552. #define GPIO_PS2_LCDDATA22 0x0010080F
  11553. #define GPIO_PS3_T3CCP1 0x00100C03
  11554. #define GPIO_PS3_M0FAULT3 0x00100C06
  11555. #define GPIO_PS3_LCDDATA23 0x00100C0F
  11556. #define GPIO_PS4_T4CCP0 0x00101003
  11557. #define GPIO_PS4_PHA0 0x00101006
  11558. #define GPIO_PS4_LCDDATA06 0x0010100F
  11559. #define GPIO_PS5_T4CCP1 0x00101403
  11560. #define GPIO_PS5_PHB0 0x00101406
  11561. #define GPIO_PS5_LCDDATA07 0x0010140F
  11562. #define GPIO_PS6_T5CCP0 0x00101803
  11563. #define GPIO_PS6_IDX0 0x00101806
  11564. #define GPIO_PS6_LCDDATA08 0x0010180F
  11565. #define GPIO_PS7_T5CCP1 0x00101C03
  11566. #define GPIO_PS7_LCDDATA09 0x00101C0F
  11567. #define GPIO_PT0_T6CCP0 0x00110003
  11568. #define GPIO_PT0_CAN0RX 0x00110007
  11569. #define GPIO_PT0_LCDDATA10 0x0011000F
  11570. #define GPIO_PT1_T6CCP1 0x00110403
  11571. #define GPIO_PT1_CAN0TX 0x00110407
  11572. #define GPIO_PT1_LCDDATA11 0x0011040F
  11573. #define GPIO_PT2_T7CCP0 0x00110803
  11574. #define GPIO_PT2_CAN1RX 0x00110807
  11575. #define GPIO_PT2_LCDDATA18 0x0011080F
  11576. #define GPIO_PT3_T7CCP1 0x00110C03
  11577. #define GPIO_PT3_CAN1TX 0x00110C07
  11578. #define GPIO_PT3_LCDDATA19 0x00110C0F
  11579. #endif // PART_TM4C1299NCZAD
  11580. //*****************************************************************************
  11581. //
  11582. // TM4C129CNCPDT Port/Pin Mapping Definitions
  11583. //
  11584. //*****************************************************************************
  11585. #ifdef PART_TM4C129CNCPDT
  11586. #define GPIO_PA0_U0RX 0x00000001
  11587. #define GPIO_PA0_I2C9SCL 0x00000002
  11588. #define GPIO_PA0_T0CCP0 0x00000003
  11589. #define GPIO_PA0_CAN0RX 0x00000007
  11590. #define GPIO_PA1_U0TX 0x00000401
  11591. #define GPIO_PA1_I2C9SDA 0x00000402
  11592. #define GPIO_PA1_T0CCP1 0x00000403
  11593. #define GPIO_PA1_CAN0TX 0x00000407
  11594. #define GPIO_PA2_U4RX 0x00000801
  11595. #define GPIO_PA2_I2C8SCL 0x00000802
  11596. #define GPIO_PA2_T1CCP0 0x00000803
  11597. #define GPIO_PA2_SSI0CLK 0x0000080F
  11598. #define GPIO_PA3_U4TX 0x00000C01
  11599. #define GPIO_PA3_I2C8SDA 0x00000C02
  11600. #define GPIO_PA3_T1CCP1 0x00000C03
  11601. #define GPIO_PA3_SSI0FSS 0x00000C0F
  11602. #define GPIO_PA4_U3RX 0x00001001
  11603. #define GPIO_PA4_T2CCP0 0x00001003
  11604. #define GPIO_PA4_I2C7SCL 0x00001002
  11605. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  11606. #define GPIO_PA5_U3TX 0x00001401
  11607. #define GPIO_PA5_T2CCP1 0x00001403
  11608. #define GPIO_PA5_I2C7SDA 0x00001402
  11609. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  11610. #define GPIO_PA6_U2RX 0x00001801
  11611. #define GPIO_PA6_I2C6SCL 0x00001802
  11612. #define GPIO_PA6_T3CCP0 0x00001803
  11613. #define GPIO_PA6_USB0EPEN 0x00001805
  11614. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  11615. #define GPIO_PA6_EPI0S8 0x0000180F
  11616. #define GPIO_PA7_U2TX 0x00001C01
  11617. #define GPIO_PA7_I2C6SDA 0x00001C02
  11618. #define GPIO_PA7_T3CCP1 0x00001C03
  11619. #define GPIO_PA7_USB0PFLT 0x00001C05
  11620. #define GPIO_PA7_USB0EPEN 0x00001C0B
  11621. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  11622. #define GPIO_PA7_EPI0S9 0x00001C0F
  11623. #define GPIO_PB0_U1RX 0x00010001
  11624. #define GPIO_PB0_I2C5SCL 0x00010002
  11625. #define GPIO_PB0_CAN1RX 0x00010007
  11626. #define GPIO_PB0_T4CCP0 0x00010003
  11627. #define GPIO_PB1_U1TX 0x00010401
  11628. #define GPIO_PB1_I2C5SDA 0x00010402
  11629. #define GPIO_PB1_CAN1TX 0x00010407
  11630. #define GPIO_PB1_T4CCP1 0x00010403
  11631. #define GPIO_PB2_T5CCP0 0x00010803
  11632. #define GPIO_PB2_I2C0SCL 0x00010802
  11633. #define GPIO_PB2_USB0STP 0x0001080E
  11634. #define GPIO_PB2_EPI0S27 0x0001080F
  11635. #define GPIO_PB3_I2C0SDA 0x00010C02
  11636. #define GPIO_PB3_T5CCP1 0x00010C03
  11637. #define GPIO_PB3_USB0CLK 0x00010C0E
  11638. #define GPIO_PB3_EPI0S28 0x00010C0F
  11639. #define GPIO_PB4_U0CTS 0x00011001
  11640. #define GPIO_PB4_I2C5SCL 0x00011002
  11641. #define GPIO_PB4_SSI1FSS 0x0001100F
  11642. #define GPIO_PB5_U0RTS 0x00011401
  11643. #define GPIO_PB5_I2C5SDA 0x00011402
  11644. #define GPIO_PB5_SSI1CLK 0x0001140F
  11645. #define GPIO_PC0_TCK 0x00020001
  11646. #define GPIO_PC0_SWCLK 0x00020001
  11647. #define GPIO_PC1_TMS 0x00020401
  11648. #define GPIO_PC1_SWDIO 0x00020401
  11649. #define GPIO_PC2_TDI 0x00020801
  11650. #define GPIO_PC3_SWO 0x00020C01
  11651. #define GPIO_PC3_TDO 0x00020C01
  11652. #define GPIO_PC4_U7RX 0x00021001
  11653. #define GPIO_PC4_EPI0S7 0x0002100F
  11654. #define GPIO_PC5_U7TX 0x00021401
  11655. #define GPIO_PC5_RTCCLK 0x00021407
  11656. #define GPIO_PC5_EPI0S6 0x0002140F
  11657. #define GPIO_PC6_U5RX 0x00021801
  11658. #define GPIO_PC6_EPI0S5 0x0002180F
  11659. #define GPIO_PC7_U5TX 0x00021C01
  11660. #define GPIO_PC7_EPI0S4 0x00021C0F
  11661. #define GPIO_PD0_I2C7SCL 0x00030002
  11662. #define GPIO_PD0_T0CCP0 0x00030003
  11663. #define GPIO_PD0_C0O 0x00030005
  11664. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  11665. #define GPIO_PD1_I2C7SDA 0x00030402
  11666. #define GPIO_PD1_T0CCP1 0x00030403
  11667. #define GPIO_PD1_C1O 0x00030405
  11668. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  11669. #define GPIO_PD2_I2C8SCL 0x00030802
  11670. #define GPIO_PD2_T1CCP0 0x00030803
  11671. #define GPIO_PD2_C2O 0x00030805
  11672. #define GPIO_PD2_SSI2FSS 0x0003080F
  11673. #define GPIO_PD3_I2C8SDA 0x00030C02
  11674. #define GPIO_PD3_T1CCP1 0x00030C03
  11675. #define GPIO_PD3_SSI2CLK 0x00030C0F
  11676. #define GPIO_PD4_U2RX 0x00031001
  11677. #define GPIO_PD4_T3CCP0 0x00031003
  11678. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  11679. #define GPIO_PD5_U2TX 0x00031401
  11680. #define GPIO_PD5_T3CCP1 0x00031403
  11681. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  11682. #define GPIO_PD6_U2RTS 0x00031801
  11683. #define GPIO_PD6_T4CCP0 0x00031803
  11684. #define GPIO_PD6_USB0EPEN 0x00031805
  11685. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  11686. #define GPIO_PD7_U2CTS 0x00031C01
  11687. #define GPIO_PD7_T4CCP1 0x00031C03
  11688. #define GPIO_PD7_USB0PFLT 0x00031C05
  11689. #define GPIO_PD7_NMI 0x00031C08
  11690. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  11691. #define GPIO_PE0_U1RTS 0x00040001
  11692. #define GPIO_PE1_U1DSR 0x00040401
  11693. #define GPIO_PE2_U1DCD 0x00040801
  11694. #define GPIO_PE3_U1DTR 0x00040C01
  11695. #define GPIO_PE4_U1RI 0x00041001
  11696. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  11697. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  11698. #define GPIO_PF0_M0PWM0 0x00050006
  11699. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  11700. #define GPIO_PF0_TRD2 0x0005000F
  11701. #define GPIO_PF1_M0PWM1 0x00050406
  11702. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  11703. #define GPIO_PF1_TRD1 0x0005040F
  11704. #define GPIO_PF2_M0PWM2 0x00050806
  11705. #define GPIO_PF2_SSI3FSS 0x0005080E
  11706. #define GPIO_PF2_TRD0 0x0005080F
  11707. #define GPIO_PF3_M0PWM3 0x00050C06
  11708. #define GPIO_PF3_SSI3CLK 0x00050C0E
  11709. #define GPIO_PF3_TRCLK 0x00050C0F
  11710. #define GPIO_PF4_M0FAULT0 0x00051006
  11711. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  11712. #define GPIO_PF4_TRD3 0x0005100F
  11713. #define GPIO_PG0_I2C1SCL 0x00060002
  11714. #define GPIO_PG0_M0PWM4 0x00060006
  11715. #define GPIO_PG0_EPI0S11 0x0006000F
  11716. #define GPIO_PG1_I2C1SDA 0x00060402
  11717. #define GPIO_PG1_M0PWM5 0x00060406
  11718. #define GPIO_PG1_EPI0S10 0x0006040F
  11719. #define GPIO_PG2_I2C2SCL 0x00060802
  11720. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  11721. #define GPIO_PG3_I2C2SDA 0x00060C02
  11722. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  11723. #define GPIO_PG4_U0CTS 0x00061001
  11724. #define GPIO_PG4_I2C3SCL 0x00061002
  11725. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  11726. #define GPIO_PG5_U0RTS 0x00061401
  11727. #define GPIO_PG5_I2C3SDA 0x00061402
  11728. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  11729. #define GPIO_PG6_I2C4SCL 0x00061802
  11730. #define GPIO_PG6_SSI2FSS 0x0006180F
  11731. #define GPIO_PG7_I2C4SDA 0x00061C02
  11732. #define GPIO_PG7_SSI2CLK 0x00061C0F
  11733. #define GPIO_PH0_U0RTS 0x00070001
  11734. #define GPIO_PH0_EPI0S0 0x0007000F
  11735. #define GPIO_PH1_U0CTS 0x00070401
  11736. #define GPIO_PH1_EPI0S1 0x0007040F
  11737. #define GPIO_PH2_U0DCD 0x00070801
  11738. #define GPIO_PH2_EPI0S2 0x0007080F
  11739. #define GPIO_PH3_U0DSR 0x00070C01
  11740. #define GPIO_PH3_EPI0S3 0x00070C0F
  11741. #define GPIO_PJ0_U3RX 0x00080001
  11742. #define GPIO_PJ1_U3TX 0x00080401
  11743. #define GPIO_PK0_U4RX 0x00090001
  11744. #define GPIO_PK0_EPI0S0 0x0009000F
  11745. #define GPIO_PK1_U4TX 0x00090401
  11746. #define GPIO_PK1_EPI0S1 0x0009040F
  11747. #define GPIO_PK2_U4RTS 0x00090801
  11748. #define GPIO_PK2_EPI0S2 0x0009080F
  11749. #define GPIO_PK3_U4CTS 0x00090C01
  11750. #define GPIO_PK3_EPI0S3 0x00090C0F
  11751. #define GPIO_PK4_I2C3SCL 0x00091002
  11752. #define GPIO_PK4_M0PWM6 0x00091006
  11753. #define GPIO_PK4_EPI0S32 0x0009100F
  11754. #define GPIO_PK5_I2C3SDA 0x00091402
  11755. #define GPIO_PK5_M0PWM7 0x00091406
  11756. #define GPIO_PK5_EPI0S31 0x0009140F
  11757. #define GPIO_PK6_I2C4SCL 0x00091802
  11758. #define GPIO_PK6_M0FAULT1 0x00091806
  11759. #define GPIO_PK6_EPI0S25 0x0009180F
  11760. #define GPIO_PK7_U0RI 0x00091C01
  11761. #define GPIO_PK7_I2C4SDA 0x00091C02
  11762. #define GPIO_PK7_RTCCLK 0x00091C05
  11763. #define GPIO_PK7_M0FAULT2 0x00091C06
  11764. #define GPIO_PK7_EPI0S24 0x00091C0F
  11765. #define GPIO_PL0_I2C2SDA 0x000A0002
  11766. #define GPIO_PL0_M0FAULT3 0x000A0006
  11767. #define GPIO_PL0_USB0D0 0x000A000E
  11768. #define GPIO_PL0_EPI0S16 0x000A000F
  11769. #define GPIO_PL1_I2C2SCL 0x000A0402
  11770. #define GPIO_PL1_PHA0 0x000A0406
  11771. #define GPIO_PL1_USB0D1 0x000A040E
  11772. #define GPIO_PL1_EPI0S17 0x000A040F
  11773. #define GPIO_PL2_C0O 0x000A0805
  11774. #define GPIO_PL2_PHB0 0x000A0806
  11775. #define GPIO_PL2_USB0D2 0x000A080E
  11776. #define GPIO_PL2_EPI0S18 0x000A080F
  11777. #define GPIO_PL3_C1O 0x000A0C05
  11778. #define GPIO_PL3_IDX0 0x000A0C06
  11779. #define GPIO_PL3_USB0D3 0x000A0C0E
  11780. #define GPIO_PL3_EPI0S19 0x000A0C0F
  11781. #define GPIO_PL4_T0CCP0 0x000A1003
  11782. #define GPIO_PL4_USB0D4 0x000A100E
  11783. #define GPIO_PL4_EPI0S26 0x000A100F
  11784. #define GPIO_PL5_T0CCP1 0x000A1403
  11785. #define GPIO_PL5_EPI0S33 0x000A140F
  11786. #define GPIO_PL5_USB0D5 0x000A140E
  11787. #define GPIO_PL6_T1CCP0 0x000A1803
  11788. #define GPIO_PL7_T1CCP1 0x000A1C03
  11789. #define GPIO_PM0_T2CCP0 0x000B0003
  11790. #define GPIO_PM0_EPI0S15 0x000B000F
  11791. #define GPIO_PM1_T2CCP1 0x000B0403
  11792. #define GPIO_PM1_EPI0S14 0x000B040F
  11793. #define GPIO_PM2_T3CCP0 0x000B0803
  11794. #define GPIO_PM2_EPI0S13 0x000B080F
  11795. #define GPIO_PM3_T3CCP1 0x000B0C03
  11796. #define GPIO_PM3_EPI0S12 0x000B0C0F
  11797. #define GPIO_PM4_U0CTS 0x000B1001
  11798. #define GPIO_PM4_T4CCP0 0x000B1003
  11799. #define GPIO_PM5_U0DCD 0x000B1401
  11800. #define GPIO_PM5_T4CCP1 0x000B1403
  11801. #define GPIO_PM6_U0DSR 0x000B1801
  11802. #define GPIO_PM6_T5CCP0 0x000B1803
  11803. #define GPIO_PM7_U0RI 0x000B1C01
  11804. #define GPIO_PM7_T5CCP1 0x000B1C03
  11805. #define GPIO_PN0_U1RTS 0x000C0001
  11806. #define GPIO_PN1_U1CTS 0x000C0401
  11807. #define GPIO_PN2_U1DCD 0x000C0801
  11808. #define GPIO_PN2_U2RTS 0x000C0802
  11809. #define GPIO_PN2_EPI0S29 0x000C080F
  11810. #define GPIO_PN3_U1DSR 0x000C0C01
  11811. #define GPIO_PN3_U2CTS 0x000C0C02
  11812. #define GPIO_PN3_EPI0S30 0x000C0C0F
  11813. #define GPIO_PN4_U1DTR 0x000C1001
  11814. #define GPIO_PN4_U3RTS 0x000C1002
  11815. #define GPIO_PN4_I2C2SDA 0x000C1003
  11816. #define GPIO_PN4_EPI0S34 0x000C100F
  11817. #define GPIO_PN5_U1RI 0x000C1401
  11818. #define GPIO_PN5_U3CTS 0x000C1402
  11819. #define GPIO_PN5_I2C2SCL 0x000C1403
  11820. #define GPIO_PN5_EPI0S35 0x000C140F
  11821. #define GPIO_PP0_U6RX 0x000D0001
  11822. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  11823. #define GPIO_PP1_U6TX 0x000D0401
  11824. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  11825. #define GPIO_PP2_U0DTR 0x000D0801
  11826. #define GPIO_PP2_USB0NXT 0x000D080E
  11827. #define GPIO_PP2_EPI0S29 0x000D080F
  11828. #define GPIO_PP3_U1CTS 0x000D0C01
  11829. #define GPIO_PP3_U0DCD 0x000D0C02
  11830. #define GPIO_PP3_RTCCLK 0x000D0C07
  11831. #define GPIO_PP3_USB0DIR 0x000D0C0E
  11832. #define GPIO_PP3_EPI0S30 0x000D0C0F
  11833. #define GPIO_PP4_U3RTS 0x000D1001
  11834. #define GPIO_PP4_U0DSR 0x000D1002
  11835. #define GPIO_PP4_USB0D7 0x000D100E
  11836. #define GPIO_PP5_U3CTS 0x000D1401
  11837. #define GPIO_PP5_I2C2SCL 0x000D1402
  11838. #define GPIO_PP5_USB0D6 0x000D140E
  11839. #define GPIO_PQ0_SSI3CLK 0x000E000E
  11840. #define GPIO_PQ0_EPI0S20 0x000E000F
  11841. #define GPIO_PQ1_SSI3FSS 0x000E040E
  11842. #define GPIO_PQ1_EPI0S21 0x000E040F
  11843. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  11844. #define GPIO_PQ2_EPI0S22 0x000E080F
  11845. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  11846. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  11847. #define GPIO_PQ4_U1RX 0x000E1001
  11848. #define GPIO_PQ4_DIVSCLK 0x000E1007
  11849. #define GPIO_PQ5_U1TX 0x000E1401
  11850. #define GPIO_PQ6_U1DTR 0x000E1801
  11851. #endif // PART_TM4C129CNCPDT
  11852. //*****************************************************************************
  11853. //
  11854. // TM4C129CNCZAD Port/Pin Mapping Definitions
  11855. //
  11856. //*****************************************************************************
  11857. #ifdef PART_TM4C129CNCZAD
  11858. #define GPIO_PA0_U0RX 0x00000001
  11859. #define GPIO_PA0_I2C9SCL 0x00000002
  11860. #define GPIO_PA0_T0CCP0 0x00000003
  11861. #define GPIO_PA0_CAN0RX 0x00000007
  11862. #define GPIO_PA1_U0TX 0x00000401
  11863. #define GPIO_PA1_I2C9SDA 0x00000402
  11864. #define GPIO_PA1_T0CCP1 0x00000403
  11865. #define GPIO_PA1_CAN0TX 0x00000407
  11866. #define GPIO_PA2_U4RX 0x00000801
  11867. #define GPIO_PA2_I2C8SCL 0x00000802
  11868. #define GPIO_PA2_T1CCP0 0x00000803
  11869. #define GPIO_PA2_SSI0CLK 0x0000080F
  11870. #define GPIO_PA3_U4TX 0x00000C01
  11871. #define GPIO_PA3_I2C8SDA 0x00000C02
  11872. #define GPIO_PA3_T1CCP1 0x00000C03
  11873. #define GPIO_PA3_SSI0FSS 0x00000C0F
  11874. #define GPIO_PA4_U3RX 0x00001001
  11875. #define GPIO_PA4_T2CCP0 0x00001003
  11876. #define GPIO_PA4_I2C7SCL 0x00001002
  11877. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  11878. #define GPIO_PA5_U3TX 0x00001401
  11879. #define GPIO_PA5_T2CCP1 0x00001403
  11880. #define GPIO_PA5_I2C7SDA 0x00001402
  11881. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  11882. #define GPIO_PA6_U2RX 0x00001801
  11883. #define GPIO_PA6_I2C6SCL 0x00001802
  11884. #define GPIO_PA6_T3CCP0 0x00001803
  11885. #define GPIO_PA6_USB0EPEN 0x00001805
  11886. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  11887. #define GPIO_PA6_EPI0S8 0x0000180F
  11888. #define GPIO_PA7_U2TX 0x00001C01
  11889. #define GPIO_PA7_I2C6SDA 0x00001C02
  11890. #define GPIO_PA7_T3CCP1 0x00001C03
  11891. #define GPIO_PA7_USB0PFLT 0x00001C05
  11892. #define GPIO_PA7_USB0EPEN 0x00001C0B
  11893. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  11894. #define GPIO_PA7_EPI0S9 0x00001C0F
  11895. #define GPIO_PB0_U1RX 0x00010001
  11896. #define GPIO_PB0_I2C5SCL 0x00010002
  11897. #define GPIO_PB0_CAN1RX 0x00010007
  11898. #define GPIO_PB0_T4CCP0 0x00010003
  11899. #define GPIO_PB1_U1TX 0x00010401
  11900. #define GPIO_PB1_I2C5SDA 0x00010402
  11901. #define GPIO_PB1_CAN1TX 0x00010407
  11902. #define GPIO_PB1_T4CCP1 0x00010403
  11903. #define GPIO_PB2_T5CCP0 0x00010803
  11904. #define GPIO_PB2_I2C0SCL 0x00010802
  11905. #define GPIO_PB2_USB0STP 0x0001080E
  11906. #define GPIO_PB2_EPI0S27 0x0001080F
  11907. #define GPIO_PB3_I2C0SDA 0x00010C02
  11908. #define GPIO_PB3_T5CCP1 0x00010C03
  11909. #define GPIO_PB3_USB0CLK 0x00010C0E
  11910. #define GPIO_PB3_EPI0S28 0x00010C0F
  11911. #define GPIO_PB4_U0CTS 0x00011001
  11912. #define GPIO_PB4_I2C5SCL 0x00011002
  11913. #define GPIO_PB4_SSI1FSS 0x0001100F
  11914. #define GPIO_PB5_U0RTS 0x00011401
  11915. #define GPIO_PB5_I2C5SDA 0x00011402
  11916. #define GPIO_PB5_SSI1CLK 0x0001140F
  11917. #define GPIO_PB6_I2C6SCL 0x00011802
  11918. #define GPIO_PB6_T6CCP0 0x00011803
  11919. #define GPIO_PB7_I2C6SDA 0x00011C02
  11920. #define GPIO_PB7_T6CCP1 0x00011C03
  11921. #define GPIO_PC0_TCK 0x00020001
  11922. #define GPIO_PC0_SWCLK 0x00020001
  11923. #define GPIO_PC1_TMS 0x00020401
  11924. #define GPIO_PC1_SWDIO 0x00020401
  11925. #define GPIO_PC2_TDI 0x00020801
  11926. #define GPIO_PC3_SWO 0x00020C01
  11927. #define GPIO_PC3_TDO 0x00020C01
  11928. #define GPIO_PC4_U7RX 0x00021001
  11929. #define GPIO_PC4_T7CCP0 0x00021003
  11930. #define GPIO_PC4_EPI0S7 0x0002100F
  11931. #define GPIO_PC5_U7TX 0x00021401
  11932. #define GPIO_PC5_T7CCP1 0x00021403
  11933. #define GPIO_PC5_RTCCLK 0x00021407
  11934. #define GPIO_PC5_EPI0S6 0x0002140F
  11935. #define GPIO_PC6_U5RX 0x00021801
  11936. #define GPIO_PC6_EPI0S5 0x0002180F
  11937. #define GPIO_PC7_U5TX 0x00021C01
  11938. #define GPIO_PC7_EPI0S4 0x00021C0F
  11939. #define GPIO_PD0_I2C7SCL 0x00030002
  11940. #define GPIO_PD0_T0CCP0 0x00030003
  11941. #define GPIO_PD0_C0O 0x00030005
  11942. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  11943. #define GPIO_PD1_I2C7SDA 0x00030402
  11944. #define GPIO_PD1_T0CCP1 0x00030403
  11945. #define GPIO_PD1_C1O 0x00030405
  11946. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  11947. #define GPIO_PD2_I2C8SCL 0x00030802
  11948. #define GPIO_PD2_T1CCP0 0x00030803
  11949. #define GPIO_PD2_C2O 0x00030805
  11950. #define GPIO_PD2_SSI2FSS 0x0003080F
  11951. #define GPIO_PD3_I2C8SDA 0x00030C02
  11952. #define GPIO_PD3_T1CCP1 0x00030C03
  11953. #define GPIO_PD3_SSI2CLK 0x00030C0F
  11954. #define GPIO_PD4_U2RX 0x00031001
  11955. #define GPIO_PD4_T3CCP0 0x00031003
  11956. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  11957. #define GPIO_PD5_U2TX 0x00031401
  11958. #define GPIO_PD5_T3CCP1 0x00031403
  11959. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  11960. #define GPIO_PD6_U2RTS 0x00031801
  11961. #define GPIO_PD6_T4CCP0 0x00031803
  11962. #define GPIO_PD6_USB0EPEN 0x00031805
  11963. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  11964. #define GPIO_PD7_U2CTS 0x00031C01
  11965. #define GPIO_PD7_T4CCP1 0x00031C03
  11966. #define GPIO_PD7_USB0PFLT 0x00031C05
  11967. #define GPIO_PD7_NMI 0x00031C08
  11968. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  11969. #define GPIO_PE0_U1RTS 0x00040001
  11970. #define GPIO_PE1_U1DSR 0x00040401
  11971. #define GPIO_PE2_U1DCD 0x00040801
  11972. #define GPIO_PE3_U1DTR 0x00040C01
  11973. #define GPIO_PE4_U1RI 0x00041001
  11974. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  11975. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  11976. #define GPIO_PE6_U0CTS 0x00041801
  11977. #define GPIO_PE6_I2C9SCL 0x00041802
  11978. #define GPIO_PE7_U0RTS 0x00041C01
  11979. #define GPIO_PE7_I2C9SDA 0x00041C02
  11980. #define GPIO_PE7_NMI 0x00041C08
  11981. #define GPIO_PF0_M0PWM0 0x00050006
  11982. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  11983. #define GPIO_PF0_TRD2 0x0005000F
  11984. #define GPIO_PF1_M0PWM1 0x00050406
  11985. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  11986. #define GPIO_PF1_TRD1 0x0005040F
  11987. #define GPIO_PF2_M0PWM2 0x00050806
  11988. #define GPIO_PF2_SSI3FSS 0x0005080E
  11989. #define GPIO_PF2_TRD0 0x0005080F
  11990. #define GPIO_PF3_M0PWM3 0x00050C06
  11991. #define GPIO_PF3_SSI3CLK 0x00050C0E
  11992. #define GPIO_PF3_TRCLK 0x00050C0F
  11993. #define GPIO_PF4_M0FAULT0 0x00051006
  11994. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  11995. #define GPIO_PF4_TRD3 0x0005100F
  11996. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  11997. #define GPIO_PG0_I2C1SCL 0x00060002
  11998. #define GPIO_PG0_M0PWM4 0x00060006
  11999. #define GPIO_PG0_EPI0S11 0x0006000F
  12000. #define GPIO_PG1_I2C1SDA 0x00060402
  12001. #define GPIO_PG1_M0PWM5 0x00060406
  12002. #define GPIO_PG1_EPI0S10 0x0006040F
  12003. #define GPIO_PG2_I2C2SCL 0x00060802
  12004. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  12005. #define GPIO_PG3_I2C2SDA 0x00060C02
  12006. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  12007. #define GPIO_PG4_U0CTS 0x00061001
  12008. #define GPIO_PG4_I2C3SCL 0x00061002
  12009. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  12010. #define GPIO_PG5_U0RTS 0x00061401
  12011. #define GPIO_PG5_I2C3SDA 0x00061402
  12012. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  12013. #define GPIO_PG6_I2C4SCL 0x00061802
  12014. #define GPIO_PG6_SSI2FSS 0x0006180F
  12015. #define GPIO_PG7_I2C4SDA 0x00061C02
  12016. #define GPIO_PG7_SSI2CLK 0x00061C0F
  12017. #define GPIO_PH0_U0RTS 0x00070001
  12018. #define GPIO_PH0_EPI0S0 0x0007000F
  12019. #define GPIO_PH1_U0CTS 0x00070401
  12020. #define GPIO_PH1_EPI0S1 0x0007040F
  12021. #define GPIO_PH2_U0DCD 0x00070801
  12022. #define GPIO_PH2_EPI0S2 0x0007080F
  12023. #define GPIO_PH3_U0DSR 0x00070C01
  12024. #define GPIO_PH3_EPI0S3 0x00070C0F
  12025. #define GPIO_PH4_U0DTR 0x00071001
  12026. #define GPIO_PH5_U0RI 0x00071401
  12027. #define GPIO_PH6_U5RX 0x00071801
  12028. #define GPIO_PH6_U7RX 0x00071802
  12029. #define GPIO_PH7_U5TX 0x00071C01
  12030. #define GPIO_PH7_U7TX 0x00071C02
  12031. #define GPIO_PJ0_U3RX 0x00080001
  12032. #define GPIO_PJ1_U3TX 0x00080401
  12033. #define GPIO_PJ2_U2RTS 0x00080801
  12034. #define GPIO_PJ3_U2CTS 0x00080C01
  12035. #define GPIO_PJ4_U3RTS 0x00081001
  12036. #define GPIO_PJ5_U3CTS 0x00081401
  12037. #define GPIO_PJ6_U4RTS 0x00081801
  12038. #define GPIO_PJ7_U4CTS 0x00081C01
  12039. #define GPIO_PK0_U4RX 0x00090001
  12040. #define GPIO_PK0_EPI0S0 0x0009000F
  12041. #define GPIO_PK1_U4TX 0x00090401
  12042. #define GPIO_PK1_EPI0S1 0x0009040F
  12043. #define GPIO_PK2_U4RTS 0x00090801
  12044. #define GPIO_PK2_EPI0S2 0x0009080F
  12045. #define GPIO_PK3_U4CTS 0x00090C01
  12046. #define GPIO_PK3_EPI0S3 0x00090C0F
  12047. #define GPIO_PK4_I2C3SCL 0x00091002
  12048. #define GPIO_PK4_M0PWM6 0x00091006
  12049. #define GPIO_PK4_EPI0S32 0x0009100F
  12050. #define GPIO_PK5_I2C3SDA 0x00091402
  12051. #define GPIO_PK5_M0PWM7 0x00091406
  12052. #define GPIO_PK5_EPI0S31 0x0009140F
  12053. #define GPIO_PK6_I2C4SCL 0x00091802
  12054. #define GPIO_PK6_M0FAULT1 0x00091806
  12055. #define GPIO_PK6_EPI0S25 0x0009180F
  12056. #define GPIO_PK7_U0RI 0x00091C01
  12057. #define GPIO_PK7_I2C4SDA 0x00091C02
  12058. #define GPIO_PK7_RTCCLK 0x00091C05
  12059. #define GPIO_PK7_M0FAULT2 0x00091C06
  12060. #define GPIO_PK7_EPI0S24 0x00091C0F
  12061. #define GPIO_PL0_I2C2SDA 0x000A0002
  12062. #define GPIO_PL0_M0FAULT3 0x000A0006
  12063. #define GPIO_PL0_USB0D0 0x000A000E
  12064. #define GPIO_PL0_EPI0S16 0x000A000F
  12065. #define GPIO_PL1_I2C2SCL 0x000A0402
  12066. #define GPIO_PL1_PHA0 0x000A0406
  12067. #define GPIO_PL1_USB0D1 0x000A040E
  12068. #define GPIO_PL1_EPI0S17 0x000A040F
  12069. #define GPIO_PL2_C0O 0x000A0805
  12070. #define GPIO_PL2_PHB0 0x000A0806
  12071. #define GPIO_PL2_USB0D2 0x000A080E
  12072. #define GPIO_PL2_EPI0S18 0x000A080F
  12073. #define GPIO_PL3_C1O 0x000A0C05
  12074. #define GPIO_PL3_IDX0 0x000A0C06
  12075. #define GPIO_PL3_USB0D3 0x000A0C0E
  12076. #define GPIO_PL3_EPI0S19 0x000A0C0F
  12077. #define GPIO_PL4_T0CCP0 0x000A1003
  12078. #define GPIO_PL4_USB0D4 0x000A100E
  12079. #define GPIO_PL4_EPI0S26 0x000A100F
  12080. #define GPIO_PL5_T0CCP1 0x000A1403
  12081. #define GPIO_PL5_EPI0S33 0x000A140F
  12082. #define GPIO_PL5_USB0D5 0x000A140E
  12083. #define GPIO_PL6_T1CCP0 0x000A1803
  12084. #define GPIO_PL7_T1CCP1 0x000A1C03
  12085. #define GPIO_PM0_T2CCP0 0x000B0003
  12086. #define GPIO_PM0_EPI0S15 0x000B000F
  12087. #define GPIO_PM1_T2CCP1 0x000B0403
  12088. #define GPIO_PM1_EPI0S14 0x000B040F
  12089. #define GPIO_PM2_T3CCP0 0x000B0803
  12090. #define GPIO_PM2_EPI0S13 0x000B080F
  12091. #define GPIO_PM3_T3CCP1 0x000B0C03
  12092. #define GPIO_PM3_EPI0S12 0x000B0C0F
  12093. #define GPIO_PM4_U0CTS 0x000B1001
  12094. #define GPIO_PM4_T4CCP0 0x000B1003
  12095. #define GPIO_PM5_U0DCD 0x000B1401
  12096. #define GPIO_PM5_T4CCP1 0x000B1403
  12097. #define GPIO_PM6_U0DSR 0x000B1801
  12098. #define GPIO_PM6_T5CCP0 0x000B1803
  12099. #define GPIO_PM7_U0RI 0x000B1C01
  12100. #define GPIO_PM7_T5CCP1 0x000B1C03
  12101. #define GPIO_PN0_U1RTS 0x000C0001
  12102. #define GPIO_PN1_U1CTS 0x000C0401
  12103. #define GPIO_PN2_U1DCD 0x000C0801
  12104. #define GPIO_PN2_U2RTS 0x000C0802
  12105. #define GPIO_PN2_EPI0S29 0x000C080F
  12106. #define GPIO_PN3_U1DSR 0x000C0C01
  12107. #define GPIO_PN3_U2CTS 0x000C0C02
  12108. #define GPIO_PN3_EPI0S30 0x000C0C0F
  12109. #define GPIO_PN4_U1DTR 0x000C1001
  12110. #define GPIO_PN4_U3RTS 0x000C1002
  12111. #define GPIO_PN4_I2C2SDA 0x000C1003
  12112. #define GPIO_PN4_EPI0S34 0x000C100F
  12113. #define GPIO_PN5_U1RI 0x000C1401
  12114. #define GPIO_PN5_U3CTS 0x000C1402
  12115. #define GPIO_PN5_I2C2SCL 0x000C1403
  12116. #define GPIO_PN5_EPI0S35 0x000C140F
  12117. #define GPIO_PN6_U4RTS 0x000C1802
  12118. #define GPIO_PN7_U1RTS 0x000C1C01
  12119. #define GPIO_PN7_U4CTS 0x000C1C02
  12120. #define GPIO_PP0_U6RX 0x000D0001
  12121. #define GPIO_PP0_T6CCP0 0x000D0005
  12122. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  12123. #define GPIO_PP1_U6TX 0x000D0401
  12124. #define GPIO_PP1_T6CCP1 0x000D0405
  12125. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  12126. #define GPIO_PP2_U0DTR 0x000D0801
  12127. #define GPIO_PP2_USB0NXT 0x000D080E
  12128. #define GPIO_PP2_EPI0S29 0x000D080F
  12129. #define GPIO_PP3_U1CTS 0x000D0C01
  12130. #define GPIO_PP3_U0DCD 0x000D0C02
  12131. #define GPIO_PP3_RTCCLK 0x000D0C07
  12132. #define GPIO_PP3_USB0DIR 0x000D0C0E
  12133. #define GPIO_PP3_EPI0S30 0x000D0C0F
  12134. #define GPIO_PP4_U3RTS 0x000D1001
  12135. #define GPIO_PP4_U0DSR 0x000D1002
  12136. #define GPIO_PP4_USB0D7 0x000D100E
  12137. #define GPIO_PP5_U3CTS 0x000D1401
  12138. #define GPIO_PP5_I2C2SCL 0x000D1402
  12139. #define GPIO_PP5_USB0D6 0x000D140E
  12140. #define GPIO_PP6_U1DCD 0x000D1801
  12141. #define GPIO_PP6_I2C2SDA 0x000D1802
  12142. #define GPIO_PQ0_T6CCP0 0x000E0003
  12143. #define GPIO_PQ0_SSI3CLK 0x000E000E
  12144. #define GPIO_PQ0_EPI0S20 0x000E000F
  12145. #define GPIO_PQ1_T6CCP1 0x000E0403
  12146. #define GPIO_PQ1_SSI3FSS 0x000E040E
  12147. #define GPIO_PQ1_EPI0S21 0x000E040F
  12148. #define GPIO_PQ2_T7CCP0 0x000E0803
  12149. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  12150. #define GPIO_PQ2_EPI0S22 0x000E080F
  12151. #define GPIO_PQ3_T7CCP1 0x000E0C03
  12152. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  12153. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  12154. #define GPIO_PQ4_U1RX 0x000E1001
  12155. #define GPIO_PQ4_DIVSCLK 0x000E1007
  12156. #define GPIO_PQ5_U1TX 0x000E1401
  12157. #define GPIO_PQ6_U1DTR 0x000E1801
  12158. #define GPIO_PQ7_U1RI 0x000E1C01
  12159. #define GPIO_PR0_U4TX 0x000F0001
  12160. #define GPIO_PR0_I2C1SCL 0x000F0002
  12161. #define GPIO_PR0_M0PWM0 0x000F0006
  12162. #define GPIO_PR1_U4RX 0x000F0401
  12163. #define GPIO_PR1_I2C1SDA 0x000F0402
  12164. #define GPIO_PR1_M0PWM1 0x000F0406
  12165. #define GPIO_PR2_I2C2SCL 0x000F0802
  12166. #define GPIO_PR2_M0PWM2 0x000F0806
  12167. #define GPIO_PR3_I2C2SDA 0x000F0C02
  12168. #define GPIO_PR3_M0PWM3 0x000F0C06
  12169. #define GPIO_PR4_I2C3SCL 0x000F1002
  12170. #define GPIO_PR4_T0CCP0 0x000F1003
  12171. #define GPIO_PR4_M0PWM4 0x000F1006
  12172. #define GPIO_PR5_U1RX 0x000F1401
  12173. #define GPIO_PR5_I2C3SDA 0x000F1402
  12174. #define GPIO_PR5_T0CCP1 0x000F1403
  12175. #define GPIO_PR5_M0PWM5 0x000F1406
  12176. #define GPIO_PR6_U1TX 0x000F1801
  12177. #define GPIO_PR6_I2C4SCL 0x000F1802
  12178. #define GPIO_PR6_T1CCP0 0x000F1803
  12179. #define GPIO_PR6_M0PWM6 0x000F1806
  12180. #define GPIO_PR7_I2C4SDA 0x000F1C02
  12181. #define GPIO_PR7_T1CCP1 0x000F1C03
  12182. #define GPIO_PR7_M0PWM7 0x000F1C06
  12183. #define GPIO_PS0_T2CCP0 0x00100003
  12184. #define GPIO_PS0_M0FAULT0 0x00100006
  12185. #define GPIO_PS1_T2CCP1 0x00100403
  12186. #define GPIO_PS1_M0FAULT1 0x00100406
  12187. #define GPIO_PS2_U1DSR 0x00100801
  12188. #define GPIO_PS2_T3CCP0 0x00100803
  12189. #define GPIO_PS2_M0FAULT2 0x00100806
  12190. #define GPIO_PS3_T3CCP1 0x00100C03
  12191. #define GPIO_PS3_M0FAULT3 0x00100C06
  12192. #define GPIO_PS4_T4CCP0 0x00101003
  12193. #define GPIO_PS4_PHA0 0x00101006
  12194. #define GPIO_PS5_T4CCP1 0x00101403
  12195. #define GPIO_PS5_PHB0 0x00101406
  12196. #define GPIO_PS6_T5CCP0 0x00101803
  12197. #define GPIO_PS6_IDX0 0x00101806
  12198. #define GPIO_PS7_T5CCP1 0x00101C03
  12199. #define GPIO_PT0_T6CCP0 0x00110003
  12200. #define GPIO_PT0_CAN0RX 0x00110007
  12201. #define GPIO_PT1_T6CCP1 0x00110403
  12202. #define GPIO_PT1_CAN0TX 0x00110407
  12203. #define GPIO_PT2_T7CCP0 0x00110803
  12204. #define GPIO_PT2_CAN1RX 0x00110807
  12205. #define GPIO_PT3_T7CCP1 0x00110C03
  12206. #define GPIO_PT3_CAN1TX 0x00110C07
  12207. #endif // PART_TM4C129CNCZAD
  12208. //*****************************************************************************
  12209. //
  12210. // TM4C129DNCPDT Port/Pin Mapping Definitions
  12211. //
  12212. //*****************************************************************************
  12213. #ifdef PART_TM4C129DNCPDT
  12214. #define GPIO_PA0_U0RX 0x00000001
  12215. #define GPIO_PA0_I2C9SCL 0x00000002
  12216. #define GPIO_PA0_T0CCP0 0x00000003
  12217. #define GPIO_PA0_CAN0RX 0x00000007
  12218. #define GPIO_PA1_U0TX 0x00000401
  12219. #define GPIO_PA1_I2C9SDA 0x00000402
  12220. #define GPIO_PA1_T0CCP1 0x00000403
  12221. #define GPIO_PA1_CAN0TX 0x00000407
  12222. #define GPIO_PA2_U4RX 0x00000801
  12223. #define GPIO_PA2_I2C8SCL 0x00000802
  12224. #define GPIO_PA2_T1CCP0 0x00000803
  12225. #define GPIO_PA2_SSI0CLK 0x0000080F
  12226. #define GPIO_PA3_U4TX 0x00000C01
  12227. #define GPIO_PA3_I2C8SDA 0x00000C02
  12228. #define GPIO_PA3_T1CCP1 0x00000C03
  12229. #define GPIO_PA3_SSI0FSS 0x00000C0F
  12230. #define GPIO_PA4_U3RX 0x00001001
  12231. #define GPIO_PA4_T2CCP0 0x00001003
  12232. #define GPIO_PA4_I2C7SCL 0x00001002
  12233. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  12234. #define GPIO_PA5_U3TX 0x00001401
  12235. #define GPIO_PA5_T2CCP1 0x00001403
  12236. #define GPIO_PA5_I2C7SDA 0x00001402
  12237. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  12238. #define GPIO_PA6_U2RX 0x00001801
  12239. #define GPIO_PA6_I2C6SCL 0x00001802
  12240. #define GPIO_PA6_T3CCP0 0x00001803
  12241. #define GPIO_PA6_USB0EPEN 0x00001805
  12242. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  12243. #define GPIO_PA6_EN0RXCK 0x0000180E
  12244. #define GPIO_PA6_EPI0S8 0x0000180F
  12245. #define GPIO_PA7_U2TX 0x00001C01
  12246. #define GPIO_PA7_I2C6SDA 0x00001C02
  12247. #define GPIO_PA7_T3CCP1 0x00001C03
  12248. #define GPIO_PA7_USB0PFLT 0x00001C05
  12249. #define GPIO_PA7_USB0EPEN 0x00001C0B
  12250. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  12251. #define GPIO_PA7_EPI0S9 0x00001C0F
  12252. #define GPIO_PB0_U1RX 0x00010001
  12253. #define GPIO_PB0_I2C5SCL 0x00010002
  12254. #define GPIO_PB0_CAN1RX 0x00010007
  12255. #define GPIO_PB0_T4CCP0 0x00010003
  12256. #define GPIO_PB1_U1TX 0x00010401
  12257. #define GPIO_PB1_I2C5SDA 0x00010402
  12258. #define GPIO_PB1_CAN1TX 0x00010407
  12259. #define GPIO_PB1_T4CCP1 0x00010403
  12260. #define GPIO_PB2_T5CCP0 0x00010803
  12261. #define GPIO_PB2_I2C0SCL 0x00010802
  12262. #define GPIO_PB2_EN0MDC 0x00010805
  12263. #define GPIO_PB2_USB0STP 0x0001080E
  12264. #define GPIO_PB2_EPI0S27 0x0001080F
  12265. #define GPIO_PB3_I2C0SDA 0x00010C02
  12266. #define GPIO_PB3_T5CCP1 0x00010C03
  12267. #define GPIO_PB3_EN0MDIO 0x00010C05
  12268. #define GPIO_PB3_USB0CLK 0x00010C0E
  12269. #define GPIO_PB3_EPI0S28 0x00010C0F
  12270. #define GPIO_PB4_U0CTS 0x00011001
  12271. #define GPIO_PB4_I2C5SCL 0x00011002
  12272. #define GPIO_PB4_SSI1FSS 0x0001100F
  12273. #define GPIO_PB5_U0RTS 0x00011401
  12274. #define GPIO_PB5_I2C5SDA 0x00011402
  12275. #define GPIO_PB5_SSI1CLK 0x0001140F
  12276. #define GPIO_PC0_TCK 0x00020001
  12277. #define GPIO_PC0_SWCLK 0x00020001
  12278. #define GPIO_PC1_TMS 0x00020401
  12279. #define GPIO_PC1_SWDIO 0x00020401
  12280. #define GPIO_PC2_TDI 0x00020801
  12281. #define GPIO_PC3_SWO 0x00020C01
  12282. #define GPIO_PC3_TDO 0x00020C01
  12283. #define GPIO_PC4_U7RX 0x00021001
  12284. #define GPIO_PC4_EPI0S7 0x0002100F
  12285. #define GPIO_PC5_U7TX 0x00021401
  12286. #define GPIO_PC5_RTCCLK 0x00021407
  12287. #define GPIO_PC5_EPI0S6 0x0002140F
  12288. #define GPIO_PC6_U5RX 0x00021801
  12289. #define GPIO_PC6_EPI0S5 0x0002180F
  12290. #define GPIO_PC7_U5TX 0x00021C01
  12291. #define GPIO_PC7_EPI0S4 0x00021C0F
  12292. #define GPIO_PD0_I2C7SCL 0x00030002
  12293. #define GPIO_PD0_T0CCP0 0x00030003
  12294. #define GPIO_PD0_C0O 0x00030005
  12295. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  12296. #define GPIO_PD1_I2C7SDA 0x00030402
  12297. #define GPIO_PD1_T0CCP1 0x00030403
  12298. #define GPIO_PD1_C1O 0x00030405
  12299. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  12300. #define GPIO_PD2_I2C8SCL 0x00030802
  12301. #define GPIO_PD2_T1CCP0 0x00030803
  12302. #define GPIO_PD2_C2O 0x00030805
  12303. #define GPIO_PD2_SSI2FSS 0x0003080F
  12304. #define GPIO_PD3_I2C8SDA 0x00030C02
  12305. #define GPIO_PD3_T1CCP1 0x00030C03
  12306. #define GPIO_PD3_SSI2CLK 0x00030C0F
  12307. #define GPIO_PD4_U2RX 0x00031001
  12308. #define GPIO_PD4_T3CCP0 0x00031003
  12309. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  12310. #define GPIO_PD5_U2TX 0x00031401
  12311. #define GPIO_PD5_T3CCP1 0x00031403
  12312. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  12313. #define GPIO_PD6_U2RTS 0x00031801
  12314. #define GPIO_PD6_T4CCP0 0x00031803
  12315. #define GPIO_PD6_USB0EPEN 0x00031805
  12316. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  12317. #define GPIO_PD7_U2CTS 0x00031C01
  12318. #define GPIO_PD7_T4CCP1 0x00031C03
  12319. #define GPIO_PD7_USB0PFLT 0x00031C05
  12320. #define GPIO_PD7_NMI 0x00031C08
  12321. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  12322. #define GPIO_PE0_U1RTS 0x00040001
  12323. #define GPIO_PE1_U1DSR 0x00040401
  12324. #define GPIO_PE2_U1DCD 0x00040801
  12325. #define GPIO_PE3_U1DTR 0x00040C01
  12326. #define GPIO_PE4_U1RI 0x00041001
  12327. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  12328. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  12329. #define GPIO_PF0_M0PWM0 0x00050006
  12330. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  12331. #define GPIO_PF0_TRD2 0x0005000F
  12332. #define GPIO_PF1_M0PWM1 0x00050406
  12333. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  12334. #define GPIO_PF1_TRD1 0x0005040F
  12335. #define GPIO_PF2_EN0MDC 0x00050805
  12336. #define GPIO_PF2_M0PWM2 0x00050806
  12337. #define GPIO_PF2_SSI3FSS 0x0005080E
  12338. #define GPIO_PF2_TRD0 0x0005080F
  12339. #define GPIO_PF3_EN0MDIO 0x00050C05
  12340. #define GPIO_PF3_M0PWM3 0x00050C06
  12341. #define GPIO_PF3_SSI3CLK 0x00050C0E
  12342. #define GPIO_PF3_TRCLK 0x00050C0F
  12343. #define GPIO_PF4_M0FAULT0 0x00051006
  12344. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  12345. #define GPIO_PF4_TRD3 0x0005100F
  12346. #define GPIO_PG0_I2C1SCL 0x00060002
  12347. #define GPIO_PG0_M0PWM4 0x00060006
  12348. #define GPIO_PG0_EPI0S11 0x0006000F
  12349. #define GPIO_PG1_I2C1SDA 0x00060402
  12350. #define GPIO_PG1_M0PWM5 0x00060406
  12351. #define GPIO_PG1_EPI0S10 0x0006040F
  12352. #define GPIO_PG2_I2C2SCL 0x00060802
  12353. #define GPIO_PG2_EN0TXCK 0x0006080E
  12354. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  12355. #define GPIO_PG3_I2C2SDA 0x00060C02
  12356. #define GPIO_PG3_EN0TXEN 0x00060C0E
  12357. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  12358. #define GPIO_PG4_U0CTS 0x00061001
  12359. #define GPIO_PG4_I2C3SCL 0x00061002
  12360. #define GPIO_PG4_EN0TXD0 0x0006100E
  12361. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  12362. #define GPIO_PG5_U0RTS 0x00061401
  12363. #define GPIO_PG5_I2C3SDA 0x00061402
  12364. #define GPIO_PG5_EN0TXD1 0x0006140E
  12365. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  12366. #define GPIO_PG6_I2C4SCL 0x00061802
  12367. #define GPIO_PG6_EN0RXER 0x0006180E
  12368. #define GPIO_PG6_SSI2FSS 0x0006180F
  12369. #define GPIO_PG7_I2C4SDA 0x00061C02
  12370. #define GPIO_PG7_EN0RXDV 0x00061C0E
  12371. #define GPIO_PG7_SSI2CLK 0x00061C0F
  12372. #define GPIO_PH0_U0RTS 0x00070001
  12373. #define GPIO_PH0_EPI0S0 0x0007000F
  12374. #define GPIO_PH1_U0CTS 0x00070401
  12375. #define GPIO_PH1_EPI0S1 0x0007040F
  12376. #define GPIO_PH2_U0DCD 0x00070801
  12377. #define GPIO_PH2_EPI0S2 0x0007080F
  12378. #define GPIO_PH3_U0DSR 0x00070C01
  12379. #define GPIO_PH3_EPI0S3 0x00070C0F
  12380. #define GPIO_PJ0_U3RX 0x00080001
  12381. #define GPIO_PJ1_U3TX 0x00080401
  12382. #define GPIO_PK0_U4RX 0x00090001
  12383. #define GPIO_PK0_EPI0S0 0x0009000F
  12384. #define GPIO_PK1_U4TX 0x00090401
  12385. #define GPIO_PK1_EPI0S1 0x0009040F
  12386. #define GPIO_PK2_U4RTS 0x00090801
  12387. #define GPIO_PK2_EPI0S2 0x0009080F
  12388. #define GPIO_PK3_U4CTS 0x00090C01
  12389. #define GPIO_PK3_EPI0S3 0x00090C0F
  12390. #define GPIO_PK4_I2C3SCL 0x00091002
  12391. #define GPIO_PK4_M0PWM6 0x00091006
  12392. #define GPIO_PK4_EN0INTRN 0x00091007
  12393. #define GPIO_PK4_EN0RXD3 0x0009100E
  12394. #define GPIO_PK4_EPI0S32 0x0009100F
  12395. #define GPIO_PK5_I2C3SDA 0x00091402
  12396. #define GPIO_PK5_M0PWM7 0x00091406
  12397. #define GPIO_PK5_EN0RXD2 0x0009140E
  12398. #define GPIO_PK5_EPI0S31 0x0009140F
  12399. #define GPIO_PK6_I2C4SCL 0x00091802
  12400. #define GPIO_PK6_M0FAULT1 0x00091806
  12401. #define GPIO_PK6_EN0TXD2 0x0009180E
  12402. #define GPIO_PK6_EPI0S25 0x0009180F
  12403. #define GPIO_PK7_U0RI 0x00091C01
  12404. #define GPIO_PK7_I2C4SDA 0x00091C02
  12405. #define GPIO_PK7_RTCCLK 0x00091C05
  12406. #define GPIO_PK7_M0FAULT2 0x00091C06
  12407. #define GPIO_PK7_EN0TXD3 0x00091C0E
  12408. #define GPIO_PK7_EPI0S24 0x00091C0F
  12409. #define GPIO_PL0_I2C2SDA 0x000A0002
  12410. #define GPIO_PL0_M0FAULT3 0x000A0006
  12411. #define GPIO_PL0_USB0D0 0x000A000E
  12412. #define GPIO_PL0_EPI0S16 0x000A000F
  12413. #define GPIO_PL1_I2C2SCL 0x000A0402
  12414. #define GPIO_PL1_PHA0 0x000A0406
  12415. #define GPIO_PL1_USB0D1 0x000A040E
  12416. #define GPIO_PL1_EPI0S17 0x000A040F
  12417. #define GPIO_PL2_C0O 0x000A0805
  12418. #define GPIO_PL2_PHB0 0x000A0806
  12419. #define GPIO_PL2_USB0D2 0x000A080E
  12420. #define GPIO_PL2_EPI0S18 0x000A080F
  12421. #define GPIO_PL3_C1O 0x000A0C05
  12422. #define GPIO_PL3_IDX0 0x000A0C06
  12423. #define GPIO_PL3_USB0D3 0x000A0C0E
  12424. #define GPIO_PL3_EPI0S19 0x000A0C0F
  12425. #define GPIO_PL4_T0CCP0 0x000A1003
  12426. #define GPIO_PL4_USB0D4 0x000A100E
  12427. #define GPIO_PL4_EPI0S26 0x000A100F
  12428. #define GPIO_PL5_T0CCP1 0x000A1403
  12429. #define GPIO_PL5_EPI0S33 0x000A140F
  12430. #define GPIO_PL5_USB0D5 0x000A140E
  12431. #define GPIO_PL6_T1CCP0 0x000A1803
  12432. #define GPIO_PL7_T1CCP1 0x000A1C03
  12433. #define GPIO_PM0_T2CCP0 0x000B0003
  12434. #define GPIO_PM0_EPI0S15 0x000B000F
  12435. #define GPIO_PM1_T2CCP1 0x000B0403
  12436. #define GPIO_PM1_EPI0S14 0x000B040F
  12437. #define GPIO_PM2_T3CCP0 0x000B0803
  12438. #define GPIO_PM2_EPI0S13 0x000B080F
  12439. #define GPIO_PM3_T3CCP1 0x000B0C03
  12440. #define GPIO_PM3_EPI0S12 0x000B0C0F
  12441. #define GPIO_PM4_U0CTS 0x000B1001
  12442. #define GPIO_PM4_T4CCP0 0x000B1003
  12443. #define GPIO_PM4_EN0RREF_CLK 0x000B100E
  12444. #define GPIO_PM5_U0DCD 0x000B1401
  12445. #define GPIO_PM5_T4CCP1 0x000B1403
  12446. #define GPIO_PM6_U0DSR 0x000B1801
  12447. #define GPIO_PM6_T5CCP0 0x000B1803
  12448. #define GPIO_PM6_EN0CRS 0x000B180E
  12449. #define GPIO_PM7_U0RI 0x000B1C01
  12450. #define GPIO_PM7_T5CCP1 0x000B1C03
  12451. #define GPIO_PM7_EN0COL 0x000B1C0E
  12452. #define GPIO_PN0_U1RTS 0x000C0001
  12453. #define GPIO_PN1_U1CTS 0x000C0401
  12454. #define GPIO_PN2_U1DCD 0x000C0801
  12455. #define GPIO_PN2_U2RTS 0x000C0802
  12456. #define GPIO_PN2_EPI0S29 0x000C080F
  12457. #define GPIO_PN3_U1DSR 0x000C0C01
  12458. #define GPIO_PN3_U2CTS 0x000C0C02
  12459. #define GPIO_PN3_EPI0S30 0x000C0C0F
  12460. #define GPIO_PN4_U1DTR 0x000C1001
  12461. #define GPIO_PN4_U3RTS 0x000C1002
  12462. #define GPIO_PN4_I2C2SDA 0x000C1003
  12463. #define GPIO_PN4_EPI0S34 0x000C100F
  12464. #define GPIO_PN5_U1RI 0x000C1401
  12465. #define GPIO_PN5_U3CTS 0x000C1402
  12466. #define GPIO_PN5_I2C2SCL 0x000C1403
  12467. #define GPIO_PN5_EPI0S35 0x000C140F
  12468. #define GPIO_PP0_U6RX 0x000D0001
  12469. #define GPIO_PP0_EN0INTRN 0x000D0007
  12470. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  12471. #define GPIO_PP1_U6TX 0x000D0401
  12472. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  12473. #define GPIO_PP2_U0DTR 0x000D0801
  12474. #define GPIO_PP2_USB0NXT 0x000D080E
  12475. #define GPIO_PP2_EPI0S29 0x000D080F
  12476. #define GPIO_PP3_U1CTS 0x000D0C01
  12477. #define GPIO_PP3_U0DCD 0x000D0C02
  12478. #define GPIO_PP3_RTCCLK 0x000D0C07
  12479. #define GPIO_PP3_USB0DIR 0x000D0C0E
  12480. #define GPIO_PP3_EPI0S30 0x000D0C0F
  12481. #define GPIO_PP4_U3RTS 0x000D1001
  12482. #define GPIO_PP4_U0DSR 0x000D1002
  12483. #define GPIO_PP4_USB0D7 0x000D100E
  12484. #define GPIO_PP5_U3CTS 0x000D1401
  12485. #define GPIO_PP5_I2C2SCL 0x000D1402
  12486. #define GPIO_PP5_USB0D6 0x000D140E
  12487. #define GPIO_PQ0_SSI3CLK 0x000E000E
  12488. #define GPIO_PQ0_EPI0S20 0x000E000F
  12489. #define GPIO_PQ1_SSI3FSS 0x000E040E
  12490. #define GPIO_PQ1_EPI0S21 0x000E040F
  12491. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  12492. #define GPIO_PQ2_EPI0S22 0x000E080F
  12493. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  12494. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  12495. #define GPIO_PQ4_U1RX 0x000E1001
  12496. #define GPIO_PQ4_DIVSCLK 0x000E1007
  12497. #define GPIO_PQ5_U1TX 0x000E1401
  12498. #define GPIO_PQ5_EN0RXD0 0x000E140E
  12499. #define GPIO_PQ6_U1DTR 0x000E1801
  12500. #define GPIO_PQ6_EN0RXD1 0x000E180E
  12501. #endif // PART_TM4C129DNCPDT
  12502. //*****************************************************************************
  12503. //
  12504. // TM4C129DNCZAD Port/Pin Mapping Definitions
  12505. //
  12506. //*****************************************************************************
  12507. #ifdef PART_TM4C129DNCZAD
  12508. #define GPIO_PA0_U0RX 0x00000001
  12509. #define GPIO_PA0_I2C9SCL 0x00000002
  12510. #define GPIO_PA0_T0CCP0 0x00000003
  12511. #define GPIO_PA0_CAN0RX 0x00000007
  12512. #define GPIO_PA1_U0TX 0x00000401
  12513. #define GPIO_PA1_I2C9SDA 0x00000402
  12514. #define GPIO_PA1_T0CCP1 0x00000403
  12515. #define GPIO_PA1_CAN0TX 0x00000407
  12516. #define GPIO_PA2_U4RX 0x00000801
  12517. #define GPIO_PA2_I2C8SCL 0x00000802
  12518. #define GPIO_PA2_T1CCP0 0x00000803
  12519. #define GPIO_PA2_SSI0CLK 0x0000080F
  12520. #define GPIO_PA3_U4TX 0x00000C01
  12521. #define GPIO_PA3_I2C8SDA 0x00000C02
  12522. #define GPIO_PA3_T1CCP1 0x00000C03
  12523. #define GPIO_PA3_SSI0FSS 0x00000C0F
  12524. #define GPIO_PA4_U3RX 0x00001001
  12525. #define GPIO_PA4_T2CCP0 0x00001003
  12526. #define GPIO_PA4_I2C7SCL 0x00001002
  12527. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  12528. #define GPIO_PA5_U3TX 0x00001401
  12529. #define GPIO_PA5_T2CCP1 0x00001403
  12530. #define GPIO_PA5_I2C7SDA 0x00001402
  12531. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  12532. #define GPIO_PA6_U2RX 0x00001801
  12533. #define GPIO_PA6_I2C6SCL 0x00001802
  12534. #define GPIO_PA6_T3CCP0 0x00001803
  12535. #define GPIO_PA6_USB0EPEN 0x00001805
  12536. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  12537. #define GPIO_PA6_EN0RXCK 0x0000180E
  12538. #define GPIO_PA6_EPI0S8 0x0000180F
  12539. #define GPIO_PA7_U2TX 0x00001C01
  12540. #define GPIO_PA7_I2C6SDA 0x00001C02
  12541. #define GPIO_PA7_T3CCP1 0x00001C03
  12542. #define GPIO_PA7_USB0PFLT 0x00001C05
  12543. #define GPIO_PA7_USB0EPEN 0x00001C0B
  12544. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  12545. #define GPIO_PA7_EPI0S9 0x00001C0F
  12546. #define GPIO_PB0_U1RX 0x00010001
  12547. #define GPIO_PB0_I2C5SCL 0x00010002
  12548. #define GPIO_PB0_CAN1RX 0x00010007
  12549. #define GPIO_PB0_T4CCP0 0x00010003
  12550. #define GPIO_PB1_U1TX 0x00010401
  12551. #define GPIO_PB1_I2C5SDA 0x00010402
  12552. #define GPIO_PB1_CAN1TX 0x00010407
  12553. #define GPIO_PB1_T4CCP1 0x00010403
  12554. #define GPIO_PB2_T5CCP0 0x00010803
  12555. #define GPIO_PB2_I2C0SCL 0x00010802
  12556. #define GPIO_PB2_EN0MDC 0x00010805
  12557. #define GPIO_PB2_USB0STP 0x0001080E
  12558. #define GPIO_PB2_EPI0S27 0x0001080F
  12559. #define GPIO_PB3_I2C0SDA 0x00010C02
  12560. #define GPIO_PB3_T5CCP1 0x00010C03
  12561. #define GPIO_PB3_EN0MDIO 0x00010C05
  12562. #define GPIO_PB3_USB0CLK 0x00010C0E
  12563. #define GPIO_PB3_EPI0S28 0x00010C0F
  12564. #define GPIO_PB4_U0CTS 0x00011001
  12565. #define GPIO_PB4_I2C5SCL 0x00011002
  12566. #define GPIO_PB4_SSI1FSS 0x0001100F
  12567. #define GPIO_PB5_U0RTS 0x00011401
  12568. #define GPIO_PB5_I2C5SDA 0x00011402
  12569. #define GPIO_PB5_SSI1CLK 0x0001140F
  12570. #define GPIO_PB6_I2C6SCL 0x00011802
  12571. #define GPIO_PB6_T6CCP0 0x00011803
  12572. #define GPIO_PB7_I2C6SDA 0x00011C02
  12573. #define GPIO_PB7_T6CCP1 0x00011C03
  12574. #define GPIO_PC0_TCK 0x00020001
  12575. #define GPIO_PC0_SWCLK 0x00020001
  12576. #define GPIO_PC1_TMS 0x00020401
  12577. #define GPIO_PC1_SWDIO 0x00020401
  12578. #define GPIO_PC2_TDI 0x00020801
  12579. #define GPIO_PC3_SWO 0x00020C01
  12580. #define GPIO_PC3_TDO 0x00020C01
  12581. #define GPIO_PC4_U7RX 0x00021001
  12582. #define GPIO_PC4_T7CCP0 0x00021003
  12583. #define GPIO_PC4_EPI0S7 0x0002100F
  12584. #define GPIO_PC5_U7TX 0x00021401
  12585. #define GPIO_PC5_T7CCP1 0x00021403
  12586. #define GPIO_PC5_RTCCLK 0x00021407
  12587. #define GPIO_PC5_EPI0S6 0x0002140F
  12588. #define GPIO_PC6_U5RX 0x00021801
  12589. #define GPIO_PC6_EPI0S5 0x0002180F
  12590. #define GPIO_PC7_U5TX 0x00021C01
  12591. #define GPIO_PC7_EPI0S4 0x00021C0F
  12592. #define GPIO_PD0_I2C7SCL 0x00030002
  12593. #define GPIO_PD0_T0CCP0 0x00030003
  12594. #define GPIO_PD0_C0O 0x00030005
  12595. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  12596. #define GPIO_PD1_I2C7SDA 0x00030402
  12597. #define GPIO_PD1_T0CCP1 0x00030403
  12598. #define GPIO_PD1_C1O 0x00030405
  12599. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  12600. #define GPIO_PD2_I2C8SCL 0x00030802
  12601. #define GPIO_PD2_T1CCP0 0x00030803
  12602. #define GPIO_PD2_C2O 0x00030805
  12603. #define GPIO_PD2_SSI2FSS 0x0003080F
  12604. #define GPIO_PD3_I2C8SDA 0x00030C02
  12605. #define GPIO_PD3_T1CCP1 0x00030C03
  12606. #define GPIO_PD3_SSI2CLK 0x00030C0F
  12607. #define GPIO_PD4_U2RX 0x00031001
  12608. #define GPIO_PD4_T3CCP0 0x00031003
  12609. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  12610. #define GPIO_PD5_U2TX 0x00031401
  12611. #define GPIO_PD5_T3CCP1 0x00031403
  12612. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  12613. #define GPIO_PD6_U2RTS 0x00031801
  12614. #define GPIO_PD6_T4CCP0 0x00031803
  12615. #define GPIO_PD6_USB0EPEN 0x00031805
  12616. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  12617. #define GPIO_PD7_U2CTS 0x00031C01
  12618. #define GPIO_PD7_T4CCP1 0x00031C03
  12619. #define GPIO_PD7_USB0PFLT 0x00031C05
  12620. #define GPIO_PD7_NMI 0x00031C08
  12621. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  12622. #define GPIO_PE0_U1RTS 0x00040001
  12623. #define GPIO_PE1_U1DSR 0x00040401
  12624. #define GPIO_PE2_U1DCD 0x00040801
  12625. #define GPIO_PE3_U1DTR 0x00040C01
  12626. #define GPIO_PE4_U1RI 0x00041001
  12627. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  12628. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  12629. #define GPIO_PE6_U0CTS 0x00041801
  12630. #define GPIO_PE6_I2C9SCL 0x00041802
  12631. #define GPIO_PE7_U0RTS 0x00041C01
  12632. #define GPIO_PE7_I2C9SDA 0x00041C02
  12633. #define GPIO_PE7_NMI 0x00041C08
  12634. #define GPIO_PF0_M0PWM0 0x00050006
  12635. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  12636. #define GPIO_PF0_TRD2 0x0005000F
  12637. #define GPIO_PF1_M0PWM1 0x00050406
  12638. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  12639. #define GPIO_PF1_TRD1 0x0005040F
  12640. #define GPIO_PF2_EN0MDC 0x00050805
  12641. #define GPIO_PF2_M0PWM2 0x00050806
  12642. #define GPIO_PF2_SSI3FSS 0x0005080E
  12643. #define GPIO_PF2_TRD0 0x0005080F
  12644. #define GPIO_PF3_EN0MDIO 0x00050C05
  12645. #define GPIO_PF3_M0PWM3 0x00050C06
  12646. #define GPIO_PF3_SSI3CLK 0x00050C0E
  12647. #define GPIO_PF3_TRCLK 0x00050C0F
  12648. #define GPIO_PF4_M0FAULT0 0x00051006
  12649. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  12650. #define GPIO_PF4_TRD3 0x0005100F
  12651. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  12652. #define GPIO_PG0_I2C1SCL 0x00060002
  12653. #define GPIO_PG0_M0PWM4 0x00060006
  12654. #define GPIO_PG0_EPI0S11 0x0006000F
  12655. #define GPIO_PG1_I2C1SDA 0x00060402
  12656. #define GPIO_PG1_M0PWM5 0x00060406
  12657. #define GPIO_PG1_EPI0S10 0x0006040F
  12658. #define GPIO_PG2_I2C2SCL 0x00060802
  12659. #define GPIO_PG2_EN0TXCK 0x0006080E
  12660. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  12661. #define GPIO_PG3_I2C2SDA 0x00060C02
  12662. #define GPIO_PG3_EN0TXEN 0x00060C0E
  12663. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  12664. #define GPIO_PG4_U0CTS 0x00061001
  12665. #define GPIO_PG4_I2C3SCL 0x00061002
  12666. #define GPIO_PG4_EN0TXD0 0x0006100E
  12667. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  12668. #define GPIO_PG5_U0RTS 0x00061401
  12669. #define GPIO_PG5_I2C3SDA 0x00061402
  12670. #define GPIO_PG5_EN0TXD1 0x0006140E
  12671. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  12672. #define GPIO_PG6_I2C4SCL 0x00061802
  12673. #define GPIO_PG6_EN0RXER 0x0006180E
  12674. #define GPIO_PG6_SSI2FSS 0x0006180F
  12675. #define GPIO_PG7_I2C4SDA 0x00061C02
  12676. #define GPIO_PG7_EN0RXDV 0x00061C0E
  12677. #define GPIO_PG7_SSI2CLK 0x00061C0F
  12678. #define GPIO_PH0_U0RTS 0x00070001
  12679. #define GPIO_PH0_EPI0S0 0x0007000F
  12680. #define GPIO_PH1_U0CTS 0x00070401
  12681. #define GPIO_PH1_EPI0S1 0x0007040F
  12682. #define GPIO_PH2_U0DCD 0x00070801
  12683. #define GPIO_PH2_EPI0S2 0x0007080F
  12684. #define GPIO_PH3_U0DSR 0x00070C01
  12685. #define GPIO_PH3_EPI0S3 0x00070C0F
  12686. #define GPIO_PH4_U0DTR 0x00071001
  12687. #define GPIO_PH5_U0RI 0x00071401
  12688. #define GPIO_PH6_U5RX 0x00071801
  12689. #define GPIO_PH6_U7RX 0x00071802
  12690. #define GPIO_PH7_U5TX 0x00071C01
  12691. #define GPIO_PH7_U7TX 0x00071C02
  12692. #define GPIO_PJ0_U3RX 0x00080001
  12693. #define GPIO_PJ1_U3TX 0x00080401
  12694. #define GPIO_PJ2_U2RTS 0x00080801
  12695. #define GPIO_PJ3_U2CTS 0x00080C01
  12696. #define GPIO_PJ4_U3RTS 0x00081001
  12697. #define GPIO_PJ5_U3CTS 0x00081401
  12698. #define GPIO_PJ6_U4RTS 0x00081801
  12699. #define GPIO_PJ7_U4CTS 0x00081C01
  12700. #define GPIO_PK0_U4RX 0x00090001
  12701. #define GPIO_PK0_EPI0S0 0x0009000F
  12702. #define GPIO_PK1_U4TX 0x00090401
  12703. #define GPIO_PK1_EPI0S1 0x0009040F
  12704. #define GPIO_PK2_U4RTS 0x00090801
  12705. #define GPIO_PK2_EPI0S2 0x0009080F
  12706. #define GPIO_PK3_U4CTS 0x00090C01
  12707. #define GPIO_PK3_EPI0S3 0x00090C0F
  12708. #define GPIO_PK4_I2C3SCL 0x00091002
  12709. #define GPIO_PK4_M0PWM6 0x00091006
  12710. #define GPIO_PK4_EN0INTRN 0x00091007
  12711. #define GPIO_PK4_EN0RXD3 0x0009100E
  12712. #define GPIO_PK4_EPI0S32 0x0009100F
  12713. #define GPIO_PK5_I2C3SDA 0x00091402
  12714. #define GPIO_PK5_M0PWM7 0x00091406
  12715. #define GPIO_PK5_EN0RXD2 0x0009140E
  12716. #define GPIO_PK5_EPI0S31 0x0009140F
  12717. #define GPIO_PK6_I2C4SCL 0x00091802
  12718. #define GPIO_PK6_M0FAULT1 0x00091806
  12719. #define GPIO_PK6_EN0TXD2 0x0009180E
  12720. #define GPIO_PK6_EPI0S25 0x0009180F
  12721. #define GPIO_PK7_U0RI 0x00091C01
  12722. #define GPIO_PK7_I2C4SDA 0x00091C02
  12723. #define GPIO_PK7_RTCCLK 0x00091C05
  12724. #define GPIO_PK7_M0FAULT2 0x00091C06
  12725. #define GPIO_PK7_EN0TXD3 0x00091C0E
  12726. #define GPIO_PK7_EPI0S24 0x00091C0F
  12727. #define GPIO_PL0_I2C2SDA 0x000A0002
  12728. #define GPIO_PL0_M0FAULT3 0x000A0006
  12729. #define GPIO_PL0_USB0D0 0x000A000E
  12730. #define GPIO_PL0_EPI0S16 0x000A000F
  12731. #define GPIO_PL1_I2C2SCL 0x000A0402
  12732. #define GPIO_PL1_PHA0 0x000A0406
  12733. #define GPIO_PL1_USB0D1 0x000A040E
  12734. #define GPIO_PL1_EPI0S17 0x000A040F
  12735. #define GPIO_PL2_C0O 0x000A0805
  12736. #define GPIO_PL2_PHB0 0x000A0806
  12737. #define GPIO_PL2_USB0D2 0x000A080E
  12738. #define GPIO_PL2_EPI0S18 0x000A080F
  12739. #define GPIO_PL3_C1O 0x000A0C05
  12740. #define GPIO_PL3_IDX0 0x000A0C06
  12741. #define GPIO_PL3_USB0D3 0x000A0C0E
  12742. #define GPIO_PL3_EPI0S19 0x000A0C0F
  12743. #define GPIO_PL4_T0CCP0 0x000A1003
  12744. #define GPIO_PL4_USB0D4 0x000A100E
  12745. #define GPIO_PL4_EPI0S26 0x000A100F
  12746. #define GPIO_PL5_T0CCP1 0x000A1403
  12747. #define GPIO_PL5_EPI0S33 0x000A140F
  12748. #define GPIO_PL5_USB0D5 0x000A140E
  12749. #define GPIO_PL6_T1CCP0 0x000A1803
  12750. #define GPIO_PL7_T1CCP1 0x000A1C03
  12751. #define GPIO_PM0_T2CCP0 0x000B0003
  12752. #define GPIO_PM0_EPI0S15 0x000B000F
  12753. #define GPIO_PM1_T2CCP1 0x000B0403
  12754. #define GPIO_PM1_EPI0S14 0x000B040F
  12755. #define GPIO_PM2_T3CCP0 0x000B0803
  12756. #define GPIO_PM2_EPI0S13 0x000B080F
  12757. #define GPIO_PM3_T3CCP1 0x000B0C03
  12758. #define GPIO_PM3_EPI0S12 0x000B0C0F
  12759. #define GPIO_PM4_U0CTS 0x000B1001
  12760. #define GPIO_PM4_T4CCP0 0x000B1003
  12761. #define GPIO_PM4_EN0RREF_CLK 0x000B100E
  12762. #define GPIO_PM5_U0DCD 0x000B1401
  12763. #define GPIO_PM5_T4CCP1 0x000B1403
  12764. #define GPIO_PM6_U0DSR 0x000B1801
  12765. #define GPIO_PM6_T5CCP0 0x000B1803
  12766. #define GPIO_PM6_EN0CRS 0x000B180E
  12767. #define GPIO_PM7_U0RI 0x000B1C01
  12768. #define GPIO_PM7_T5CCP1 0x000B1C03
  12769. #define GPIO_PM7_EN0COL 0x000B1C0E
  12770. #define GPIO_PN0_U1RTS 0x000C0001
  12771. #define GPIO_PN1_U1CTS 0x000C0401
  12772. #define GPIO_PN2_U1DCD 0x000C0801
  12773. #define GPIO_PN2_U2RTS 0x000C0802
  12774. #define GPIO_PN2_EPI0S29 0x000C080F
  12775. #define GPIO_PN3_U1DSR 0x000C0C01
  12776. #define GPIO_PN3_U2CTS 0x000C0C02
  12777. #define GPIO_PN3_EPI0S30 0x000C0C0F
  12778. #define GPIO_PN4_U1DTR 0x000C1001
  12779. #define GPIO_PN4_U3RTS 0x000C1002
  12780. #define GPIO_PN4_I2C2SDA 0x000C1003
  12781. #define GPIO_PN4_EPI0S34 0x000C100F
  12782. #define GPIO_PN5_U1RI 0x000C1401
  12783. #define GPIO_PN5_U3CTS 0x000C1402
  12784. #define GPIO_PN5_I2C2SCL 0x000C1403
  12785. #define GPIO_PN5_EPI0S35 0x000C140F
  12786. #define GPIO_PN6_U4RTS 0x000C1802
  12787. #define GPIO_PN6_EN0TXER 0x000C180E
  12788. #define GPIO_PN7_U1RTS 0x000C1C01
  12789. #define GPIO_PN7_U4CTS 0x000C1C02
  12790. #define GPIO_PP0_U6RX 0x000D0001
  12791. #define GPIO_PP0_T6CCP0 0x000D0005
  12792. #define GPIO_PP0_EN0INTRN 0x000D0007
  12793. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  12794. #define GPIO_PP1_U6TX 0x000D0401
  12795. #define GPIO_PP1_T6CCP1 0x000D0405
  12796. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  12797. #define GPIO_PP2_U0DTR 0x000D0801
  12798. #define GPIO_PP2_USB0NXT 0x000D080E
  12799. #define GPIO_PP2_EPI0S29 0x000D080F
  12800. #define GPIO_PP3_U1CTS 0x000D0C01
  12801. #define GPIO_PP3_U0DCD 0x000D0C02
  12802. #define GPIO_PP3_RTCCLK 0x000D0C07
  12803. #define GPIO_PP3_USB0DIR 0x000D0C0E
  12804. #define GPIO_PP3_EPI0S30 0x000D0C0F
  12805. #define GPIO_PP4_U3RTS 0x000D1001
  12806. #define GPIO_PP4_U0DSR 0x000D1002
  12807. #define GPIO_PP4_USB0D7 0x000D100E
  12808. #define GPIO_PP5_U3CTS 0x000D1401
  12809. #define GPIO_PP5_I2C2SCL 0x000D1402
  12810. #define GPIO_PP5_USB0D6 0x000D140E
  12811. #define GPIO_PP6_U1DCD 0x000D1801
  12812. #define GPIO_PP6_I2C2SDA 0x000D1802
  12813. #define GPIO_PQ0_T6CCP0 0x000E0003
  12814. #define GPIO_PQ0_SSI3CLK 0x000E000E
  12815. #define GPIO_PQ0_EPI0S20 0x000E000F
  12816. #define GPIO_PQ1_T6CCP1 0x000E0403
  12817. #define GPIO_PQ1_SSI3FSS 0x000E040E
  12818. #define GPIO_PQ1_EPI0S21 0x000E040F
  12819. #define GPIO_PQ2_T7CCP0 0x000E0803
  12820. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  12821. #define GPIO_PQ2_EPI0S22 0x000E080F
  12822. #define GPIO_PQ3_T7CCP1 0x000E0C03
  12823. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  12824. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  12825. #define GPIO_PQ4_U1RX 0x000E1001
  12826. #define GPIO_PQ4_DIVSCLK 0x000E1007
  12827. #define GPIO_PQ5_U1TX 0x000E1401
  12828. #define GPIO_PQ5_EN0RXD0 0x000E140E
  12829. #define GPIO_PQ6_U1DTR 0x000E1801
  12830. #define GPIO_PQ6_EN0RXD1 0x000E180E
  12831. #define GPIO_PQ7_U1RI 0x000E1C01
  12832. #define GPIO_PR0_U4TX 0x000F0001
  12833. #define GPIO_PR0_I2C1SCL 0x000F0002
  12834. #define GPIO_PR0_M0PWM0 0x000F0006
  12835. #define GPIO_PR1_U4RX 0x000F0401
  12836. #define GPIO_PR1_I2C1SDA 0x000F0402
  12837. #define GPIO_PR1_M0PWM1 0x000F0406
  12838. #define GPIO_PR2_I2C2SCL 0x000F0802
  12839. #define GPIO_PR2_M0PWM2 0x000F0806
  12840. #define GPIO_PR3_I2C2SDA 0x000F0C02
  12841. #define GPIO_PR3_M0PWM3 0x000F0C06
  12842. #define GPIO_PR4_I2C3SCL 0x000F1002
  12843. #define GPIO_PR4_T0CCP0 0x000F1003
  12844. #define GPIO_PR4_M0PWM4 0x000F1006
  12845. #define GPIO_PR5_U1RX 0x000F1401
  12846. #define GPIO_PR5_I2C3SDA 0x000F1402
  12847. #define GPIO_PR5_T0CCP1 0x000F1403
  12848. #define GPIO_PR5_M0PWM5 0x000F1406
  12849. #define GPIO_PR6_U1TX 0x000F1801
  12850. #define GPIO_PR6_I2C4SCL 0x000F1802
  12851. #define GPIO_PR6_T1CCP0 0x000F1803
  12852. #define GPIO_PR6_M0PWM6 0x000F1806
  12853. #define GPIO_PR7_I2C4SDA 0x000F1C02
  12854. #define GPIO_PR7_T1CCP1 0x000F1C03
  12855. #define GPIO_PR7_M0PWM7 0x000F1C06
  12856. #define GPIO_PR7_EN0TXEN 0x000F1C0E
  12857. #define GPIO_PS0_T2CCP0 0x00100003
  12858. #define GPIO_PS0_M0FAULT0 0x00100006
  12859. #define GPIO_PS1_T2CCP1 0x00100403
  12860. #define GPIO_PS1_M0FAULT1 0x00100406
  12861. #define GPIO_PS2_U1DSR 0x00100801
  12862. #define GPIO_PS2_T3CCP0 0x00100803
  12863. #define GPIO_PS2_M0FAULT2 0x00100806
  12864. #define GPIO_PS3_T3CCP1 0x00100C03
  12865. #define GPIO_PS3_M0FAULT3 0x00100C06
  12866. #define GPIO_PS4_T4CCP0 0x00101003
  12867. #define GPIO_PS4_PHA0 0x00101006
  12868. #define GPIO_PS4_EN0TXD0 0x0010100E
  12869. #define GPIO_PS5_T4CCP1 0x00101403
  12870. #define GPIO_PS5_PHB0 0x00101406
  12871. #define GPIO_PS5_EN0TXD1 0x0010140E
  12872. #define GPIO_PS6_T5CCP0 0x00101803
  12873. #define GPIO_PS6_IDX0 0x00101806
  12874. #define GPIO_PS6_EN0RXER 0x0010180E
  12875. #define GPIO_PS7_T5CCP1 0x00101C03
  12876. #define GPIO_PS7_EN0RXDV 0x00101C0E
  12877. #define GPIO_PT0_T6CCP0 0x00110003
  12878. #define GPIO_PT0_CAN0RX 0x00110007
  12879. #define GPIO_PT0_EN0RXD0 0x0011000E
  12880. #define GPIO_PT1_T6CCP1 0x00110403
  12881. #define GPIO_PT1_CAN0TX 0x00110407
  12882. #define GPIO_PT1_EN0RXD1 0x0011040E
  12883. #define GPIO_PT2_T7CCP0 0x00110803
  12884. #define GPIO_PT2_CAN1RX 0x00110807
  12885. #define GPIO_PT3_T7CCP1 0x00110C03
  12886. #define GPIO_PT3_CAN1TX 0x00110C07
  12887. #endif // PART_TM4C129DNCZAD
  12888. //*****************************************************************************
  12889. //
  12890. // TM4C129EKCPDT Port/Pin Mapping Definitions
  12891. //
  12892. //*****************************************************************************
  12893. #ifdef PART_TM4C129EKCPDT
  12894. #define GPIO_PA0_U0RX 0x00000001
  12895. #define GPIO_PA0_I2C9SCL 0x00000002
  12896. #define GPIO_PA0_T0CCP0 0x00000003
  12897. #define GPIO_PA0_CAN0RX 0x00000007
  12898. #define GPIO_PA1_U0TX 0x00000401
  12899. #define GPIO_PA1_I2C9SDA 0x00000402
  12900. #define GPIO_PA1_T0CCP1 0x00000403
  12901. #define GPIO_PA1_CAN0TX 0x00000407
  12902. #define GPIO_PA2_U4RX 0x00000801
  12903. #define GPIO_PA2_I2C8SCL 0x00000802
  12904. #define GPIO_PA2_T1CCP0 0x00000803
  12905. #define GPIO_PA2_SSI0CLK 0x0000080F
  12906. #define GPIO_PA3_U4TX 0x00000C01
  12907. #define GPIO_PA3_I2C8SDA 0x00000C02
  12908. #define GPIO_PA3_T1CCP1 0x00000C03
  12909. #define GPIO_PA3_SSI0FSS 0x00000C0F
  12910. #define GPIO_PA4_U3RX 0x00001001
  12911. #define GPIO_PA4_T2CCP0 0x00001003
  12912. #define GPIO_PA4_I2C7SCL 0x00001002
  12913. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  12914. #define GPIO_PA5_U3TX 0x00001401
  12915. #define GPIO_PA5_T2CCP1 0x00001403
  12916. #define GPIO_PA5_I2C7SDA 0x00001402
  12917. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  12918. #define GPIO_PA6_U2RX 0x00001801
  12919. #define GPIO_PA6_I2C6SCL 0x00001802
  12920. #define GPIO_PA6_T3CCP0 0x00001803
  12921. #define GPIO_PA6_USB0EPEN 0x00001805
  12922. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  12923. #define GPIO_PA6_EPI0S8 0x0000180F
  12924. #define GPIO_PA7_U2TX 0x00001C01
  12925. #define GPIO_PA7_I2C6SDA 0x00001C02
  12926. #define GPIO_PA7_T3CCP1 0x00001C03
  12927. #define GPIO_PA7_USB0PFLT 0x00001C05
  12928. #define GPIO_PA7_USB0EPEN 0x00001C0B
  12929. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  12930. #define GPIO_PA7_EPI0S9 0x00001C0F
  12931. #define GPIO_PB0_U1RX 0x00010001
  12932. #define GPIO_PB0_I2C5SCL 0x00010002
  12933. #define GPIO_PB0_CAN1RX 0x00010007
  12934. #define GPIO_PB0_T4CCP0 0x00010003
  12935. #define GPIO_PB1_U1TX 0x00010401
  12936. #define GPIO_PB1_I2C5SDA 0x00010402
  12937. #define GPIO_PB1_CAN1TX 0x00010407
  12938. #define GPIO_PB1_T4CCP1 0x00010403
  12939. #define GPIO_PB2_T5CCP0 0x00010803
  12940. #define GPIO_PB2_I2C0SCL 0x00010802
  12941. #define GPIO_PB2_USB0STP 0x0001080E
  12942. #define GPIO_PB2_EPI0S27 0x0001080F
  12943. #define GPIO_PB3_I2C0SDA 0x00010C02
  12944. #define GPIO_PB3_T5CCP1 0x00010C03
  12945. #define GPIO_PB3_USB0CLK 0x00010C0E
  12946. #define GPIO_PB3_EPI0S28 0x00010C0F
  12947. #define GPIO_PB4_U0CTS 0x00011001
  12948. #define GPIO_PB4_I2C5SCL 0x00011002
  12949. #define GPIO_PB4_SSI1FSS 0x0001100F
  12950. #define GPIO_PB5_U0RTS 0x00011401
  12951. #define GPIO_PB5_I2C5SDA 0x00011402
  12952. #define GPIO_PB5_SSI1CLK 0x0001140F
  12953. #define GPIO_PC0_TCK 0x00020001
  12954. #define GPIO_PC0_SWCLK 0x00020001
  12955. #define GPIO_PC1_TMS 0x00020401
  12956. #define GPIO_PC1_SWDIO 0x00020401
  12957. #define GPIO_PC2_TDI 0x00020801
  12958. #define GPIO_PC3_SWO 0x00020C01
  12959. #define GPIO_PC3_TDO 0x00020C01
  12960. #define GPIO_PC4_U7RX 0x00021001
  12961. #define GPIO_PC4_EPI0S7 0x0002100F
  12962. #define GPIO_PC5_U7TX 0x00021401
  12963. #define GPIO_PC5_RTCCLK 0x00021407
  12964. #define GPIO_PC5_EPI0S6 0x0002140F
  12965. #define GPIO_PC6_U5RX 0x00021801
  12966. #define GPIO_PC6_EPI0S5 0x0002180F
  12967. #define GPIO_PC7_U5TX 0x00021C01
  12968. #define GPIO_PC7_EPI0S4 0x00021C0F
  12969. #define GPIO_PD0_I2C7SCL 0x00030002
  12970. #define GPIO_PD0_T0CCP0 0x00030003
  12971. #define GPIO_PD0_C0O 0x00030005
  12972. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  12973. #define GPIO_PD1_I2C7SDA 0x00030402
  12974. #define GPIO_PD1_T0CCP1 0x00030403
  12975. #define GPIO_PD1_C1O 0x00030405
  12976. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  12977. #define GPIO_PD2_I2C8SCL 0x00030802
  12978. #define GPIO_PD2_T1CCP0 0x00030803
  12979. #define GPIO_PD2_C2O 0x00030805
  12980. #define GPIO_PD2_SSI2FSS 0x0003080F
  12981. #define GPIO_PD3_I2C8SDA 0x00030C02
  12982. #define GPIO_PD3_T1CCP1 0x00030C03
  12983. #define GPIO_PD3_SSI2CLK 0x00030C0F
  12984. #define GPIO_PD4_U2RX 0x00031001
  12985. #define GPIO_PD4_T3CCP0 0x00031003
  12986. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  12987. #define GPIO_PD5_U2TX 0x00031401
  12988. #define GPIO_PD5_T3CCP1 0x00031403
  12989. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  12990. #define GPIO_PD6_U2RTS 0x00031801
  12991. #define GPIO_PD6_T4CCP0 0x00031803
  12992. #define GPIO_PD6_USB0EPEN 0x00031805
  12993. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  12994. #define GPIO_PD7_U2CTS 0x00031C01
  12995. #define GPIO_PD7_T4CCP1 0x00031C03
  12996. #define GPIO_PD7_USB0PFLT 0x00031C05
  12997. #define GPIO_PD7_NMI 0x00031C08
  12998. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  12999. #define GPIO_PE0_U1RTS 0x00040001
  13000. #define GPIO_PE1_U1DSR 0x00040401
  13001. #define GPIO_PE2_U1DCD 0x00040801
  13002. #define GPIO_PE3_U1DTR 0x00040C01
  13003. #define GPIO_PE4_U1RI 0x00041001
  13004. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  13005. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  13006. #define GPIO_PF0_EN0LED0 0x00050005
  13007. #define GPIO_PF0_M0PWM0 0x00050006
  13008. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  13009. #define GPIO_PF0_TRD2 0x0005000F
  13010. #define GPIO_PF1_EN0LED2 0x00050405
  13011. #define GPIO_PF1_M0PWM1 0x00050406
  13012. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  13013. #define GPIO_PF1_TRD1 0x0005040F
  13014. #define GPIO_PF2_M0PWM2 0x00050806
  13015. #define GPIO_PF2_SSI3FSS 0x0005080E
  13016. #define GPIO_PF2_TRD0 0x0005080F
  13017. #define GPIO_PF3_M0PWM3 0x00050C06
  13018. #define GPIO_PF3_SSI3CLK 0x00050C0E
  13019. #define GPIO_PF3_TRCLK 0x00050C0F
  13020. #define GPIO_PF4_EN0LED1 0x00051005
  13021. #define GPIO_PF4_M0FAULT0 0x00051006
  13022. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  13023. #define GPIO_PF4_TRD3 0x0005100F
  13024. #define GPIO_PG0_I2C1SCL 0x00060002
  13025. #define GPIO_PG0_EN0PPS 0x00060005
  13026. #define GPIO_PG0_M0PWM4 0x00060006
  13027. #define GPIO_PG0_EPI0S11 0x0006000F
  13028. #define GPIO_PG1_I2C1SDA 0x00060402
  13029. #define GPIO_PG1_M0PWM5 0x00060406
  13030. #define GPIO_PG1_EPI0S10 0x0006040F
  13031. #define GPIO_PH0_U0RTS 0x00070001
  13032. #define GPIO_PH0_EPI0S0 0x0007000F
  13033. #define GPIO_PH1_U0CTS 0x00070401
  13034. #define GPIO_PH1_EPI0S1 0x0007040F
  13035. #define GPIO_PH2_U0DCD 0x00070801
  13036. #define GPIO_PH2_EPI0S2 0x0007080F
  13037. #define GPIO_PH3_U0DSR 0x00070C01
  13038. #define GPIO_PH3_EPI0S3 0x00070C0F
  13039. #define GPIO_PJ0_U3RX 0x00080001
  13040. #define GPIO_PJ0_EN0PPS 0x00080005
  13041. #define GPIO_PJ1_U3TX 0x00080401
  13042. #define GPIO_PK0_U4RX 0x00090001
  13043. #define GPIO_PK0_EPI0S0 0x0009000F
  13044. #define GPIO_PK1_U4TX 0x00090401
  13045. #define GPIO_PK1_EPI0S1 0x0009040F
  13046. #define GPIO_PK2_U4RTS 0x00090801
  13047. #define GPIO_PK2_EPI0S2 0x0009080F
  13048. #define GPIO_PK3_U4CTS 0x00090C01
  13049. #define GPIO_PK3_EPI0S3 0x00090C0F
  13050. #define GPIO_PK4_I2C3SCL 0x00091002
  13051. #define GPIO_PK4_EN0LED0 0x00091005
  13052. #define GPIO_PK4_M0PWM6 0x00091006
  13053. #define GPIO_PK4_EPI0S32 0x0009100F
  13054. #define GPIO_PK5_I2C3SDA 0x00091402
  13055. #define GPIO_PK5_EN0LED2 0x00091405
  13056. #define GPIO_PK5_M0PWM7 0x00091406
  13057. #define GPIO_PK5_EPI0S31 0x0009140F
  13058. #define GPIO_PK6_I2C4SCL 0x00091802
  13059. #define GPIO_PK6_EN0LED1 0x00091805
  13060. #define GPIO_PK6_M0FAULT1 0x00091806
  13061. #define GPIO_PK6_EPI0S25 0x0009180F
  13062. #define GPIO_PK7_U0RI 0x00091C01
  13063. #define GPIO_PK7_I2C4SDA 0x00091C02
  13064. #define GPIO_PK7_RTCCLK 0x00091C05
  13065. #define GPIO_PK7_M0FAULT2 0x00091C06
  13066. #define GPIO_PK7_EPI0S24 0x00091C0F
  13067. #define GPIO_PL0_I2C2SDA 0x000A0002
  13068. #define GPIO_PL0_M0FAULT3 0x000A0006
  13069. #define GPIO_PL0_USB0D0 0x000A000E
  13070. #define GPIO_PL0_EPI0S16 0x000A000F
  13071. #define GPIO_PL1_I2C2SCL 0x000A0402
  13072. #define GPIO_PL1_PHA0 0x000A0406
  13073. #define GPIO_PL1_USB0D1 0x000A040E
  13074. #define GPIO_PL1_EPI0S17 0x000A040F
  13075. #define GPIO_PL2_C0O 0x000A0805
  13076. #define GPIO_PL2_PHB0 0x000A0806
  13077. #define GPIO_PL2_USB0D2 0x000A080E
  13078. #define GPIO_PL2_EPI0S18 0x000A080F
  13079. #define GPIO_PL3_C1O 0x000A0C05
  13080. #define GPIO_PL3_IDX0 0x000A0C06
  13081. #define GPIO_PL3_USB0D3 0x000A0C0E
  13082. #define GPIO_PL3_EPI0S19 0x000A0C0F
  13083. #define GPIO_PL4_T0CCP0 0x000A1003
  13084. #define GPIO_PL4_USB0D4 0x000A100E
  13085. #define GPIO_PL4_EPI0S26 0x000A100F
  13086. #define GPIO_PL5_T0CCP1 0x000A1403
  13087. #define GPIO_PL5_EPI0S33 0x000A140F
  13088. #define GPIO_PL5_USB0D5 0x000A140E
  13089. #define GPIO_PL6_T1CCP0 0x000A1803
  13090. #define GPIO_PL7_T1CCP1 0x000A1C03
  13091. #define GPIO_PM0_T2CCP0 0x000B0003
  13092. #define GPIO_PM0_EPI0S15 0x000B000F
  13093. #define GPIO_PM1_T2CCP1 0x000B0403
  13094. #define GPIO_PM1_EPI0S14 0x000B040F
  13095. #define GPIO_PM2_T3CCP0 0x000B0803
  13096. #define GPIO_PM2_EPI0S13 0x000B080F
  13097. #define GPIO_PM3_T3CCP1 0x000B0C03
  13098. #define GPIO_PM3_EPI0S12 0x000B0C0F
  13099. #define GPIO_PM4_U0CTS 0x000B1001
  13100. #define GPIO_PM4_T4CCP0 0x000B1003
  13101. #define GPIO_PM5_U0DCD 0x000B1401
  13102. #define GPIO_PM5_T4CCP1 0x000B1403
  13103. #define GPIO_PM6_U0DSR 0x000B1801
  13104. #define GPIO_PM6_T5CCP0 0x000B1803
  13105. #define GPIO_PM7_U0RI 0x000B1C01
  13106. #define GPIO_PM7_T5CCP1 0x000B1C03
  13107. #define GPIO_PN0_U1RTS 0x000C0001
  13108. #define GPIO_PN1_U1CTS 0x000C0401
  13109. #define GPIO_PN2_U1DCD 0x000C0801
  13110. #define GPIO_PN2_U2RTS 0x000C0802
  13111. #define GPIO_PN2_EPI0S29 0x000C080F
  13112. #define GPIO_PN3_U1DSR 0x000C0C01
  13113. #define GPIO_PN3_U2CTS 0x000C0C02
  13114. #define GPIO_PN3_EPI0S30 0x000C0C0F
  13115. #define GPIO_PN4_U1DTR 0x000C1001
  13116. #define GPIO_PN4_U3RTS 0x000C1002
  13117. #define GPIO_PN4_I2C2SDA 0x000C1003
  13118. #define GPIO_PN4_EPI0S34 0x000C100F
  13119. #define GPIO_PN5_U1RI 0x000C1401
  13120. #define GPIO_PN5_U3CTS 0x000C1402
  13121. #define GPIO_PN5_I2C2SCL 0x000C1403
  13122. #define GPIO_PN5_EPI0S35 0x000C140F
  13123. #define GPIO_PP0_U6RX 0x000D0001
  13124. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  13125. #define GPIO_PP1_U6TX 0x000D0401
  13126. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  13127. #define GPIO_PP2_U0DTR 0x000D0801
  13128. #define GPIO_PP2_USB0NXT 0x000D080E
  13129. #define GPIO_PP2_EPI0S29 0x000D080F
  13130. #define GPIO_PP3_U1CTS 0x000D0C01
  13131. #define GPIO_PP3_U0DCD 0x000D0C02
  13132. #define GPIO_PP3_RTCCLK 0x000D0C07
  13133. #define GPIO_PP3_USB0DIR 0x000D0C0E
  13134. #define GPIO_PP3_EPI0S30 0x000D0C0F
  13135. #define GPIO_PP4_U3RTS 0x000D1001
  13136. #define GPIO_PP4_U0DSR 0x000D1002
  13137. #define GPIO_PP4_USB0D7 0x000D100E
  13138. #define GPIO_PP5_U3CTS 0x000D1401
  13139. #define GPIO_PP5_I2C2SCL 0x000D1402
  13140. #define GPIO_PP5_USB0D6 0x000D140E
  13141. #define GPIO_PQ0_SSI3CLK 0x000E000E
  13142. #define GPIO_PQ0_EPI0S20 0x000E000F
  13143. #define GPIO_PQ1_SSI3FSS 0x000E040E
  13144. #define GPIO_PQ1_EPI0S21 0x000E040F
  13145. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  13146. #define GPIO_PQ2_EPI0S22 0x000E080F
  13147. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  13148. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  13149. #define GPIO_PQ4_U1RX 0x000E1001
  13150. #define GPIO_PQ4_DIVSCLK 0x000E1007
  13151. #endif // PART_TM4C129EKCPDT
  13152. //*****************************************************************************
  13153. //
  13154. // TM4C129ENCPDT Port/Pin Mapping Definitions
  13155. //
  13156. //*****************************************************************************
  13157. #ifdef PART_TM4C129ENCPDT
  13158. #define GPIO_PA0_U0RX 0x00000001
  13159. #define GPIO_PA0_I2C9SCL 0x00000002
  13160. #define GPIO_PA0_T0CCP0 0x00000003
  13161. #define GPIO_PA0_CAN0RX 0x00000007
  13162. #define GPIO_PA1_U0TX 0x00000401
  13163. #define GPIO_PA1_I2C9SDA 0x00000402
  13164. #define GPIO_PA1_T0CCP1 0x00000403
  13165. #define GPIO_PA1_CAN0TX 0x00000407
  13166. #define GPIO_PA2_U4RX 0x00000801
  13167. #define GPIO_PA2_I2C8SCL 0x00000802
  13168. #define GPIO_PA2_T1CCP0 0x00000803
  13169. #define GPIO_PA2_SSI0CLK 0x0000080F
  13170. #define GPIO_PA3_U4TX 0x00000C01
  13171. #define GPIO_PA3_I2C8SDA 0x00000C02
  13172. #define GPIO_PA3_T1CCP1 0x00000C03
  13173. #define GPIO_PA3_SSI0FSS 0x00000C0F
  13174. #define GPIO_PA4_U3RX 0x00001001
  13175. #define GPIO_PA4_T2CCP0 0x00001003
  13176. #define GPIO_PA4_I2C7SCL 0x00001002
  13177. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  13178. #define GPIO_PA5_U3TX 0x00001401
  13179. #define GPIO_PA5_T2CCP1 0x00001403
  13180. #define GPIO_PA5_I2C7SDA 0x00001402
  13181. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  13182. #define GPIO_PA6_U2RX 0x00001801
  13183. #define GPIO_PA6_I2C6SCL 0x00001802
  13184. #define GPIO_PA6_T3CCP0 0x00001803
  13185. #define GPIO_PA6_USB0EPEN 0x00001805
  13186. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  13187. #define GPIO_PA6_EPI0S8 0x0000180F
  13188. #define GPIO_PA7_U2TX 0x00001C01
  13189. #define GPIO_PA7_I2C6SDA 0x00001C02
  13190. #define GPIO_PA7_T3CCP1 0x00001C03
  13191. #define GPIO_PA7_USB0PFLT 0x00001C05
  13192. #define GPIO_PA7_USB0EPEN 0x00001C0B
  13193. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  13194. #define GPIO_PA7_EPI0S9 0x00001C0F
  13195. #define GPIO_PB0_U1RX 0x00010001
  13196. #define GPIO_PB0_I2C5SCL 0x00010002
  13197. #define GPIO_PB0_CAN1RX 0x00010007
  13198. #define GPIO_PB0_T4CCP0 0x00010003
  13199. #define GPIO_PB1_U1TX 0x00010401
  13200. #define GPIO_PB1_I2C5SDA 0x00010402
  13201. #define GPIO_PB1_CAN1TX 0x00010407
  13202. #define GPIO_PB1_T4CCP1 0x00010403
  13203. #define GPIO_PB2_T5CCP0 0x00010803
  13204. #define GPIO_PB2_I2C0SCL 0x00010802
  13205. #define GPIO_PB2_USB0STP 0x0001080E
  13206. #define GPIO_PB2_EPI0S27 0x0001080F
  13207. #define GPIO_PB3_I2C0SDA 0x00010C02
  13208. #define GPIO_PB3_T5CCP1 0x00010C03
  13209. #define GPIO_PB3_USB0CLK 0x00010C0E
  13210. #define GPIO_PB3_EPI0S28 0x00010C0F
  13211. #define GPIO_PB4_U0CTS 0x00011001
  13212. #define GPIO_PB4_I2C5SCL 0x00011002
  13213. #define GPIO_PB4_SSI1FSS 0x0001100F
  13214. #define GPIO_PB5_U0RTS 0x00011401
  13215. #define GPIO_PB5_I2C5SDA 0x00011402
  13216. #define GPIO_PB5_SSI1CLK 0x0001140F
  13217. #define GPIO_PC0_TCK 0x00020001
  13218. #define GPIO_PC0_SWCLK 0x00020001
  13219. #define GPIO_PC1_TMS 0x00020401
  13220. #define GPIO_PC1_SWDIO 0x00020401
  13221. #define GPIO_PC2_TDI 0x00020801
  13222. #define GPIO_PC3_SWO 0x00020C01
  13223. #define GPIO_PC3_TDO 0x00020C01
  13224. #define GPIO_PC4_U7RX 0x00021001
  13225. #define GPIO_PC4_EPI0S7 0x0002100F
  13226. #define GPIO_PC5_U7TX 0x00021401
  13227. #define GPIO_PC5_RTCCLK 0x00021407
  13228. #define GPIO_PC5_EPI0S6 0x0002140F
  13229. #define GPIO_PC6_U5RX 0x00021801
  13230. #define GPIO_PC6_EPI0S5 0x0002180F
  13231. #define GPIO_PC7_U5TX 0x00021C01
  13232. #define GPIO_PC7_EPI0S4 0x00021C0F
  13233. #define GPIO_PD0_I2C7SCL 0x00030002
  13234. #define GPIO_PD0_T0CCP0 0x00030003
  13235. #define GPIO_PD0_C0O 0x00030005
  13236. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  13237. #define GPIO_PD1_I2C7SDA 0x00030402
  13238. #define GPIO_PD1_T0CCP1 0x00030403
  13239. #define GPIO_PD1_C1O 0x00030405
  13240. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  13241. #define GPIO_PD2_I2C8SCL 0x00030802
  13242. #define GPIO_PD2_T1CCP0 0x00030803
  13243. #define GPIO_PD2_C2O 0x00030805
  13244. #define GPIO_PD2_SSI2FSS 0x0003080F
  13245. #define GPIO_PD3_I2C8SDA 0x00030C02
  13246. #define GPIO_PD3_T1CCP1 0x00030C03
  13247. #define GPIO_PD3_SSI2CLK 0x00030C0F
  13248. #define GPIO_PD4_U2RX 0x00031001
  13249. #define GPIO_PD4_T3CCP0 0x00031003
  13250. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  13251. #define GPIO_PD5_U2TX 0x00031401
  13252. #define GPIO_PD5_T3CCP1 0x00031403
  13253. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  13254. #define GPIO_PD6_U2RTS 0x00031801
  13255. #define GPIO_PD6_T4CCP0 0x00031803
  13256. #define GPIO_PD6_USB0EPEN 0x00031805
  13257. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  13258. #define GPIO_PD7_U2CTS 0x00031C01
  13259. #define GPIO_PD7_T4CCP1 0x00031C03
  13260. #define GPIO_PD7_USB0PFLT 0x00031C05
  13261. #define GPIO_PD7_NMI 0x00031C08
  13262. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  13263. #define GPIO_PE0_U1RTS 0x00040001
  13264. #define GPIO_PE1_U1DSR 0x00040401
  13265. #define GPIO_PE2_U1DCD 0x00040801
  13266. #define GPIO_PE3_U1DTR 0x00040C01
  13267. #define GPIO_PE4_U1RI 0x00041001
  13268. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  13269. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  13270. #define GPIO_PF0_EN0LED0 0x00050005
  13271. #define GPIO_PF0_M0PWM0 0x00050006
  13272. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  13273. #define GPIO_PF0_TRD2 0x0005000F
  13274. #define GPIO_PF1_EN0LED2 0x00050405
  13275. #define GPIO_PF1_M0PWM1 0x00050406
  13276. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  13277. #define GPIO_PF1_TRD1 0x0005040F
  13278. #define GPIO_PF2_M0PWM2 0x00050806
  13279. #define GPIO_PF2_SSI3FSS 0x0005080E
  13280. #define GPIO_PF2_TRD0 0x0005080F
  13281. #define GPIO_PF3_M0PWM3 0x00050C06
  13282. #define GPIO_PF3_SSI3CLK 0x00050C0E
  13283. #define GPIO_PF3_TRCLK 0x00050C0F
  13284. #define GPIO_PF4_EN0LED1 0x00051005
  13285. #define GPIO_PF4_M0FAULT0 0x00051006
  13286. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  13287. #define GPIO_PF4_TRD3 0x0005100F
  13288. #define GPIO_PG0_I2C1SCL 0x00060002
  13289. #define GPIO_PG0_EN0PPS 0x00060005
  13290. #define GPIO_PG0_M0PWM4 0x00060006
  13291. #define GPIO_PG0_EPI0S11 0x0006000F
  13292. #define GPIO_PG1_I2C1SDA 0x00060402
  13293. #define GPIO_PG1_M0PWM5 0x00060406
  13294. #define GPIO_PG1_EPI0S10 0x0006040F
  13295. #define GPIO_PH0_U0RTS 0x00070001
  13296. #define GPIO_PH0_EPI0S0 0x0007000F
  13297. #define GPIO_PH1_U0CTS 0x00070401
  13298. #define GPIO_PH1_EPI0S1 0x0007040F
  13299. #define GPIO_PH2_U0DCD 0x00070801
  13300. #define GPIO_PH2_EPI0S2 0x0007080F
  13301. #define GPIO_PH3_U0DSR 0x00070C01
  13302. #define GPIO_PH3_EPI0S3 0x00070C0F
  13303. #define GPIO_PJ0_U3RX 0x00080001
  13304. #define GPIO_PJ0_EN0PPS 0x00080005
  13305. #define GPIO_PJ1_U3TX 0x00080401
  13306. #define GPIO_PK0_U4RX 0x00090001
  13307. #define GPIO_PK0_EPI0S0 0x0009000F
  13308. #define GPIO_PK1_U4TX 0x00090401
  13309. #define GPIO_PK1_EPI0S1 0x0009040F
  13310. #define GPIO_PK2_U4RTS 0x00090801
  13311. #define GPIO_PK2_EPI0S2 0x0009080F
  13312. #define GPIO_PK3_U4CTS 0x00090C01
  13313. #define GPIO_PK3_EPI0S3 0x00090C0F
  13314. #define GPIO_PK4_I2C3SCL 0x00091002
  13315. #define GPIO_PK4_EN0LED0 0x00091005
  13316. #define GPIO_PK4_M0PWM6 0x00091006
  13317. #define GPIO_PK4_EPI0S32 0x0009100F
  13318. #define GPIO_PK5_I2C3SDA 0x00091402
  13319. #define GPIO_PK5_EN0LED2 0x00091405
  13320. #define GPIO_PK5_M0PWM7 0x00091406
  13321. #define GPIO_PK5_EPI0S31 0x0009140F
  13322. #define GPIO_PK6_I2C4SCL 0x00091802
  13323. #define GPIO_PK6_EN0LED1 0x00091805
  13324. #define GPIO_PK6_M0FAULT1 0x00091806
  13325. #define GPIO_PK6_EPI0S25 0x0009180F
  13326. #define GPIO_PK7_U0RI 0x00091C01
  13327. #define GPIO_PK7_I2C4SDA 0x00091C02
  13328. #define GPIO_PK7_RTCCLK 0x00091C05
  13329. #define GPIO_PK7_M0FAULT2 0x00091C06
  13330. #define GPIO_PK7_EPI0S24 0x00091C0F
  13331. #define GPIO_PL0_I2C2SDA 0x000A0002
  13332. #define GPIO_PL0_M0FAULT3 0x000A0006
  13333. #define GPIO_PL0_USB0D0 0x000A000E
  13334. #define GPIO_PL0_EPI0S16 0x000A000F
  13335. #define GPIO_PL1_I2C2SCL 0x000A0402
  13336. #define GPIO_PL1_PHA0 0x000A0406
  13337. #define GPIO_PL1_USB0D1 0x000A040E
  13338. #define GPIO_PL1_EPI0S17 0x000A040F
  13339. #define GPIO_PL2_C0O 0x000A0805
  13340. #define GPIO_PL2_PHB0 0x000A0806
  13341. #define GPIO_PL2_USB0D2 0x000A080E
  13342. #define GPIO_PL2_EPI0S18 0x000A080F
  13343. #define GPIO_PL3_C1O 0x000A0C05
  13344. #define GPIO_PL3_IDX0 0x000A0C06
  13345. #define GPIO_PL3_USB0D3 0x000A0C0E
  13346. #define GPIO_PL3_EPI0S19 0x000A0C0F
  13347. #define GPIO_PL4_T0CCP0 0x000A1003
  13348. #define GPIO_PL4_USB0D4 0x000A100E
  13349. #define GPIO_PL4_EPI0S26 0x000A100F
  13350. #define GPIO_PL5_T0CCP1 0x000A1403
  13351. #define GPIO_PL5_EPI0S33 0x000A140F
  13352. #define GPIO_PL5_USB0D5 0x000A140E
  13353. #define GPIO_PL6_T1CCP0 0x000A1803
  13354. #define GPIO_PL7_T1CCP1 0x000A1C03
  13355. #define GPIO_PM0_T2CCP0 0x000B0003
  13356. #define GPIO_PM0_EPI0S15 0x000B000F
  13357. #define GPIO_PM1_T2CCP1 0x000B0403
  13358. #define GPIO_PM1_EPI0S14 0x000B040F
  13359. #define GPIO_PM2_T3CCP0 0x000B0803
  13360. #define GPIO_PM2_EPI0S13 0x000B080F
  13361. #define GPIO_PM3_T3CCP1 0x000B0C03
  13362. #define GPIO_PM3_EPI0S12 0x000B0C0F
  13363. #define GPIO_PM4_U0CTS 0x000B1001
  13364. #define GPIO_PM4_T4CCP0 0x000B1003
  13365. #define GPIO_PM5_U0DCD 0x000B1401
  13366. #define GPIO_PM5_T4CCP1 0x000B1403
  13367. #define GPIO_PM6_U0DSR 0x000B1801
  13368. #define GPIO_PM6_T5CCP0 0x000B1803
  13369. #define GPIO_PM7_U0RI 0x000B1C01
  13370. #define GPIO_PM7_T5CCP1 0x000B1C03
  13371. #define GPIO_PN0_U1RTS 0x000C0001
  13372. #define GPIO_PN1_U1CTS 0x000C0401
  13373. #define GPIO_PN2_U1DCD 0x000C0801
  13374. #define GPIO_PN2_U2RTS 0x000C0802
  13375. #define GPIO_PN2_EPI0S29 0x000C080F
  13376. #define GPIO_PN3_U1DSR 0x000C0C01
  13377. #define GPIO_PN3_U2CTS 0x000C0C02
  13378. #define GPIO_PN3_EPI0S30 0x000C0C0F
  13379. #define GPIO_PN4_U1DTR 0x000C1001
  13380. #define GPIO_PN4_U3RTS 0x000C1002
  13381. #define GPIO_PN4_I2C2SDA 0x000C1003
  13382. #define GPIO_PN4_EPI0S34 0x000C100F
  13383. #define GPIO_PN5_U1RI 0x000C1401
  13384. #define GPIO_PN5_U3CTS 0x000C1402
  13385. #define GPIO_PN5_I2C2SCL 0x000C1403
  13386. #define GPIO_PN5_EPI0S35 0x000C140F
  13387. #define GPIO_PP0_U6RX 0x000D0001
  13388. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  13389. #define GPIO_PP1_U6TX 0x000D0401
  13390. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  13391. #define GPIO_PP2_U0DTR 0x000D0801
  13392. #define GPIO_PP2_USB0NXT 0x000D080E
  13393. #define GPIO_PP2_EPI0S29 0x000D080F
  13394. #define GPIO_PP3_U1CTS 0x000D0C01
  13395. #define GPIO_PP3_U0DCD 0x000D0C02
  13396. #define GPIO_PP3_RTCCLK 0x000D0C07
  13397. #define GPIO_PP3_USB0DIR 0x000D0C0E
  13398. #define GPIO_PP3_EPI0S30 0x000D0C0F
  13399. #define GPIO_PP4_U3RTS 0x000D1001
  13400. #define GPIO_PP4_U0DSR 0x000D1002
  13401. #define GPIO_PP4_USB0D7 0x000D100E
  13402. #define GPIO_PP5_U3CTS 0x000D1401
  13403. #define GPIO_PP5_I2C2SCL 0x000D1402
  13404. #define GPIO_PP5_USB0D6 0x000D140E
  13405. #define GPIO_PQ0_SSI3CLK 0x000E000E
  13406. #define GPIO_PQ0_EPI0S20 0x000E000F
  13407. #define GPIO_PQ1_SSI3FSS 0x000E040E
  13408. #define GPIO_PQ1_EPI0S21 0x000E040F
  13409. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  13410. #define GPIO_PQ2_EPI0S22 0x000E080F
  13411. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  13412. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  13413. #define GPIO_PQ4_U1RX 0x000E1001
  13414. #define GPIO_PQ4_DIVSCLK 0x000E1007
  13415. #endif // PART_TM4C129ENCPDT
  13416. //*****************************************************************************
  13417. //
  13418. // TM4C129ENCZAD Port/Pin Mapping Definitions
  13419. //
  13420. //*****************************************************************************
  13421. #ifdef PART_TM4C129ENCZAD
  13422. #define GPIO_PA0_U0RX 0x00000001
  13423. #define GPIO_PA0_I2C9SCL 0x00000002
  13424. #define GPIO_PA0_T0CCP0 0x00000003
  13425. #define GPIO_PA0_CAN0RX 0x00000007
  13426. #define GPIO_PA1_U0TX 0x00000401
  13427. #define GPIO_PA1_I2C9SDA 0x00000402
  13428. #define GPIO_PA1_T0CCP1 0x00000403
  13429. #define GPIO_PA1_CAN0TX 0x00000407
  13430. #define GPIO_PA2_U4RX 0x00000801
  13431. #define GPIO_PA2_I2C8SCL 0x00000802
  13432. #define GPIO_PA2_T1CCP0 0x00000803
  13433. #define GPIO_PA2_SSI0CLK 0x0000080F
  13434. #define GPIO_PA3_U4TX 0x00000C01
  13435. #define GPIO_PA3_I2C8SDA 0x00000C02
  13436. #define GPIO_PA3_T1CCP1 0x00000C03
  13437. #define GPIO_PA3_SSI0FSS 0x00000C0F
  13438. #define GPIO_PA4_U3RX 0x00001001
  13439. #define GPIO_PA4_T2CCP0 0x00001003
  13440. #define GPIO_PA4_I2C7SCL 0x00001002
  13441. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  13442. #define GPIO_PA5_U3TX 0x00001401
  13443. #define GPIO_PA5_T2CCP1 0x00001403
  13444. #define GPIO_PA5_I2C7SDA 0x00001402
  13445. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  13446. #define GPIO_PA6_U2RX 0x00001801
  13447. #define GPIO_PA6_I2C6SCL 0x00001802
  13448. #define GPIO_PA6_T3CCP0 0x00001803
  13449. #define GPIO_PA6_USB0EPEN 0x00001805
  13450. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  13451. #define GPIO_PA6_EPI0S8 0x0000180F
  13452. #define GPIO_PA7_U2TX 0x00001C01
  13453. #define GPIO_PA7_I2C6SDA 0x00001C02
  13454. #define GPIO_PA7_T3CCP1 0x00001C03
  13455. #define GPIO_PA7_USB0PFLT 0x00001C05
  13456. #define GPIO_PA7_USB0EPEN 0x00001C0B
  13457. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  13458. #define GPIO_PA7_EPI0S9 0x00001C0F
  13459. #define GPIO_PB0_U1RX 0x00010001
  13460. #define GPIO_PB0_I2C5SCL 0x00010002
  13461. #define GPIO_PB0_CAN1RX 0x00010007
  13462. #define GPIO_PB0_T4CCP0 0x00010003
  13463. #define GPIO_PB1_U1TX 0x00010401
  13464. #define GPIO_PB1_I2C5SDA 0x00010402
  13465. #define GPIO_PB1_CAN1TX 0x00010407
  13466. #define GPIO_PB1_T4CCP1 0x00010403
  13467. #define GPIO_PB2_T5CCP0 0x00010803
  13468. #define GPIO_PB2_I2C0SCL 0x00010802
  13469. #define GPIO_PB2_USB0STP 0x0001080E
  13470. #define GPIO_PB2_EPI0S27 0x0001080F
  13471. #define GPIO_PB3_I2C0SDA 0x00010C02
  13472. #define GPIO_PB3_T5CCP1 0x00010C03
  13473. #define GPIO_PB3_USB0CLK 0x00010C0E
  13474. #define GPIO_PB3_EPI0S28 0x00010C0F
  13475. #define GPIO_PB4_U0CTS 0x00011001
  13476. #define GPIO_PB4_I2C5SCL 0x00011002
  13477. #define GPIO_PB4_SSI1FSS 0x0001100F
  13478. #define GPIO_PB5_U0RTS 0x00011401
  13479. #define GPIO_PB5_I2C5SDA 0x00011402
  13480. #define GPIO_PB5_SSI1CLK 0x0001140F
  13481. #define GPIO_PB6_I2C6SCL 0x00011802
  13482. #define GPIO_PB6_T6CCP0 0x00011803
  13483. #define GPIO_PB7_I2C6SDA 0x00011C02
  13484. #define GPIO_PB7_T6CCP1 0x00011C03
  13485. #define GPIO_PC0_TCK 0x00020001
  13486. #define GPIO_PC0_SWCLK 0x00020001
  13487. #define GPIO_PC1_TMS 0x00020401
  13488. #define GPIO_PC1_SWDIO 0x00020401
  13489. #define GPIO_PC2_TDI 0x00020801
  13490. #define GPIO_PC3_SWO 0x00020C01
  13491. #define GPIO_PC3_TDO 0x00020C01
  13492. #define GPIO_PC4_U7RX 0x00021001
  13493. #define GPIO_PC4_T7CCP0 0x00021003
  13494. #define GPIO_PC4_EPI0S7 0x0002100F
  13495. #define GPIO_PC5_U7TX 0x00021401
  13496. #define GPIO_PC5_T7CCP1 0x00021403
  13497. #define GPIO_PC5_RTCCLK 0x00021407
  13498. #define GPIO_PC5_EPI0S6 0x0002140F
  13499. #define GPIO_PC6_U5RX 0x00021801
  13500. #define GPIO_PC6_EPI0S5 0x0002180F
  13501. #define GPIO_PC7_U5TX 0x00021C01
  13502. #define GPIO_PC7_EPI0S4 0x00021C0F
  13503. #define GPIO_PD0_I2C7SCL 0x00030002
  13504. #define GPIO_PD0_T0CCP0 0x00030003
  13505. #define GPIO_PD0_C0O 0x00030005
  13506. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  13507. #define GPIO_PD1_I2C7SDA 0x00030402
  13508. #define GPIO_PD1_T0CCP1 0x00030403
  13509. #define GPIO_PD1_C1O 0x00030405
  13510. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  13511. #define GPIO_PD2_I2C8SCL 0x00030802
  13512. #define GPIO_PD2_T1CCP0 0x00030803
  13513. #define GPIO_PD2_C2O 0x00030805
  13514. #define GPIO_PD2_SSI2FSS 0x0003080F
  13515. #define GPIO_PD3_I2C8SDA 0x00030C02
  13516. #define GPIO_PD3_T1CCP1 0x00030C03
  13517. #define GPIO_PD3_SSI2CLK 0x00030C0F
  13518. #define GPIO_PD4_U2RX 0x00031001
  13519. #define GPIO_PD4_T3CCP0 0x00031003
  13520. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  13521. #define GPIO_PD5_U2TX 0x00031401
  13522. #define GPIO_PD5_T3CCP1 0x00031403
  13523. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  13524. #define GPIO_PD6_U2RTS 0x00031801
  13525. #define GPIO_PD6_T4CCP0 0x00031803
  13526. #define GPIO_PD6_USB0EPEN 0x00031805
  13527. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  13528. #define GPIO_PD7_U2CTS 0x00031C01
  13529. #define GPIO_PD7_T4CCP1 0x00031C03
  13530. #define GPIO_PD7_USB0PFLT 0x00031C05
  13531. #define GPIO_PD7_NMI 0x00031C08
  13532. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  13533. #define GPIO_PE0_U1RTS 0x00040001
  13534. #define GPIO_PE1_U1DSR 0x00040401
  13535. #define GPIO_PE2_U1DCD 0x00040801
  13536. #define GPIO_PE3_U1DTR 0x00040C01
  13537. #define GPIO_PE4_U1RI 0x00041001
  13538. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  13539. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  13540. #define GPIO_PE6_U0CTS 0x00041801
  13541. #define GPIO_PE6_I2C9SCL 0x00041802
  13542. #define GPIO_PE7_U0RTS 0x00041C01
  13543. #define GPIO_PE7_I2C9SDA 0x00041C02
  13544. #define GPIO_PE7_NMI 0x00041C08
  13545. #define GPIO_PF0_EN0LED0 0x00050005
  13546. #define GPIO_PF0_M0PWM0 0x00050006
  13547. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  13548. #define GPIO_PF0_TRD2 0x0005000F
  13549. #define GPIO_PF1_EN0LED2 0x00050405
  13550. #define GPIO_PF1_M0PWM1 0x00050406
  13551. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  13552. #define GPIO_PF1_TRD1 0x0005040F
  13553. #define GPIO_PF2_M0PWM2 0x00050806
  13554. #define GPIO_PF2_SSI3FSS 0x0005080E
  13555. #define GPIO_PF2_TRD0 0x0005080F
  13556. #define GPIO_PF3_M0PWM3 0x00050C06
  13557. #define GPIO_PF3_SSI3CLK 0x00050C0E
  13558. #define GPIO_PF3_TRCLK 0x00050C0F
  13559. #define GPIO_PF4_EN0LED1 0x00051005
  13560. #define GPIO_PF4_M0FAULT0 0x00051006
  13561. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  13562. #define GPIO_PF4_TRD3 0x0005100F
  13563. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  13564. #define GPIO_PG0_I2C1SCL 0x00060002
  13565. #define GPIO_PG0_EN0PPS 0x00060005
  13566. #define GPIO_PG0_M0PWM4 0x00060006
  13567. #define GPIO_PG0_EPI0S11 0x0006000F
  13568. #define GPIO_PG1_I2C1SDA 0x00060402
  13569. #define GPIO_PG1_M0PWM5 0x00060406
  13570. #define GPIO_PG1_EPI0S10 0x0006040F
  13571. #define GPIO_PG2_I2C2SCL 0x00060802
  13572. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  13573. #define GPIO_PG3_I2C2SDA 0x00060C02
  13574. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  13575. #define GPIO_PG4_U0CTS 0x00061001
  13576. #define GPIO_PG4_I2C3SCL 0x00061002
  13577. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  13578. #define GPIO_PG5_U0RTS 0x00061401
  13579. #define GPIO_PG5_I2C3SDA 0x00061402
  13580. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  13581. #define GPIO_PG6_I2C4SCL 0x00061802
  13582. #define GPIO_PG6_SSI2FSS 0x0006180F
  13583. #define GPIO_PG7_I2C4SDA 0x00061C02
  13584. #define GPIO_PG7_SSI2CLK 0x00061C0F
  13585. #define GPIO_PH0_U0RTS 0x00070001
  13586. #define GPIO_PH0_EPI0S0 0x0007000F
  13587. #define GPIO_PH1_U0CTS 0x00070401
  13588. #define GPIO_PH1_EPI0S1 0x0007040F
  13589. #define GPIO_PH2_U0DCD 0x00070801
  13590. #define GPIO_PH2_EPI0S2 0x0007080F
  13591. #define GPIO_PH3_U0DSR 0x00070C01
  13592. #define GPIO_PH3_EPI0S3 0x00070C0F
  13593. #define GPIO_PH4_U0DTR 0x00071001
  13594. #define GPIO_PH5_U0RI 0x00071401
  13595. #define GPIO_PH5_EN0PPS 0x00071405
  13596. #define GPIO_PH6_U5RX 0x00071801
  13597. #define GPIO_PH6_U7RX 0x00071802
  13598. #define GPIO_PH7_U5TX 0x00071C01
  13599. #define GPIO_PH7_U7TX 0x00071C02
  13600. #define GPIO_PJ0_U3RX 0x00080001
  13601. #define GPIO_PJ0_EN0PPS 0x00080005
  13602. #define GPIO_PJ1_U3TX 0x00080401
  13603. #define GPIO_PJ2_U2RTS 0x00080801
  13604. #define GPIO_PJ3_U2CTS 0x00080C01
  13605. #define GPIO_PJ4_U3RTS 0x00081001
  13606. #define GPIO_PJ5_U3CTS 0x00081401
  13607. #define GPIO_PJ6_U4RTS 0x00081801
  13608. #define GPIO_PJ7_U4CTS 0x00081C01
  13609. #define GPIO_PK0_U4RX 0x00090001
  13610. #define GPIO_PK0_EPI0S0 0x0009000F
  13611. #define GPIO_PK1_U4TX 0x00090401
  13612. #define GPIO_PK1_EPI0S1 0x0009040F
  13613. #define GPIO_PK2_U4RTS 0x00090801
  13614. #define GPIO_PK2_EPI0S2 0x0009080F
  13615. #define GPIO_PK3_U4CTS 0x00090C01
  13616. #define GPIO_PK3_EPI0S3 0x00090C0F
  13617. #define GPIO_PK4_I2C3SCL 0x00091002
  13618. #define GPIO_PK4_EN0LED0 0x00091005
  13619. #define GPIO_PK4_M0PWM6 0x00091006
  13620. #define GPIO_PK4_EPI0S32 0x0009100F
  13621. #define GPIO_PK5_I2C3SDA 0x00091402
  13622. #define GPIO_PK5_EN0LED2 0x00091405
  13623. #define GPIO_PK5_M0PWM7 0x00091406
  13624. #define GPIO_PK5_EPI0S31 0x0009140F
  13625. #define GPIO_PK6_I2C4SCL 0x00091802
  13626. #define GPIO_PK6_EN0LED1 0x00091805
  13627. #define GPIO_PK6_M0FAULT1 0x00091806
  13628. #define GPIO_PK6_EPI0S25 0x0009180F
  13629. #define GPIO_PK7_U0RI 0x00091C01
  13630. #define GPIO_PK7_I2C4SDA 0x00091C02
  13631. #define GPIO_PK7_RTCCLK 0x00091C05
  13632. #define GPIO_PK7_M0FAULT2 0x00091C06
  13633. #define GPIO_PK7_EPI0S24 0x00091C0F
  13634. #define GPIO_PL0_I2C2SDA 0x000A0002
  13635. #define GPIO_PL0_M0FAULT3 0x000A0006
  13636. #define GPIO_PL0_USB0D0 0x000A000E
  13637. #define GPIO_PL0_EPI0S16 0x000A000F
  13638. #define GPIO_PL1_I2C2SCL 0x000A0402
  13639. #define GPIO_PL1_PHA0 0x000A0406
  13640. #define GPIO_PL1_USB0D1 0x000A040E
  13641. #define GPIO_PL1_EPI0S17 0x000A040F
  13642. #define GPIO_PL2_C0O 0x000A0805
  13643. #define GPIO_PL2_PHB0 0x000A0806
  13644. #define GPIO_PL2_USB0D2 0x000A080E
  13645. #define GPIO_PL2_EPI0S18 0x000A080F
  13646. #define GPIO_PL3_C1O 0x000A0C05
  13647. #define GPIO_PL3_IDX0 0x000A0C06
  13648. #define GPIO_PL3_USB0D3 0x000A0C0E
  13649. #define GPIO_PL3_EPI0S19 0x000A0C0F
  13650. #define GPIO_PL4_T0CCP0 0x000A1003
  13651. #define GPIO_PL4_USB0D4 0x000A100E
  13652. #define GPIO_PL4_EPI0S26 0x000A100F
  13653. #define GPIO_PL5_T0CCP1 0x000A1403
  13654. #define GPIO_PL5_EPI0S33 0x000A140F
  13655. #define GPIO_PL5_USB0D5 0x000A140E
  13656. #define GPIO_PL6_T1CCP0 0x000A1803
  13657. #define GPIO_PL7_T1CCP1 0x000A1C03
  13658. #define GPIO_PM0_T2CCP0 0x000B0003
  13659. #define GPIO_PM0_EPI0S15 0x000B000F
  13660. #define GPIO_PM1_T2CCP1 0x000B0403
  13661. #define GPIO_PM1_EPI0S14 0x000B040F
  13662. #define GPIO_PM2_T3CCP0 0x000B0803
  13663. #define GPIO_PM2_EPI0S13 0x000B080F
  13664. #define GPIO_PM3_T3CCP1 0x000B0C03
  13665. #define GPIO_PM3_EPI0S12 0x000B0C0F
  13666. #define GPIO_PM4_U0CTS 0x000B1001
  13667. #define GPIO_PM4_T4CCP0 0x000B1003
  13668. #define GPIO_PM5_U0DCD 0x000B1401
  13669. #define GPIO_PM5_T4CCP1 0x000B1403
  13670. #define GPIO_PM6_U0DSR 0x000B1801
  13671. #define GPIO_PM6_T5CCP0 0x000B1803
  13672. #define GPIO_PM7_U0RI 0x000B1C01
  13673. #define GPIO_PM7_T5CCP1 0x000B1C03
  13674. #define GPIO_PN0_U1RTS 0x000C0001
  13675. #define GPIO_PN1_U1CTS 0x000C0401
  13676. #define GPIO_PN2_U1DCD 0x000C0801
  13677. #define GPIO_PN2_U2RTS 0x000C0802
  13678. #define GPIO_PN2_EPI0S29 0x000C080F
  13679. #define GPIO_PN3_U1DSR 0x000C0C01
  13680. #define GPIO_PN3_U2CTS 0x000C0C02
  13681. #define GPIO_PN3_EPI0S30 0x000C0C0F
  13682. #define GPIO_PN4_U1DTR 0x000C1001
  13683. #define GPIO_PN4_U3RTS 0x000C1002
  13684. #define GPIO_PN4_I2C2SDA 0x000C1003
  13685. #define GPIO_PN4_EPI0S34 0x000C100F
  13686. #define GPIO_PN5_U1RI 0x000C1401
  13687. #define GPIO_PN5_U3CTS 0x000C1402
  13688. #define GPIO_PN5_I2C2SCL 0x000C1403
  13689. #define GPIO_PN5_EPI0S35 0x000C140F
  13690. #define GPIO_PN6_U4RTS 0x000C1802
  13691. #define GPIO_PN7_U1RTS 0x000C1C01
  13692. #define GPIO_PN7_U4CTS 0x000C1C02
  13693. #define GPIO_PP0_U6RX 0x000D0001
  13694. #define GPIO_PP0_T6CCP0 0x000D0005
  13695. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  13696. #define GPIO_PP1_U6TX 0x000D0401
  13697. #define GPIO_PP1_T6CCP1 0x000D0405
  13698. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  13699. #define GPIO_PP2_U0DTR 0x000D0801
  13700. #define GPIO_PP2_USB0NXT 0x000D080E
  13701. #define GPIO_PP2_EPI0S29 0x000D080F
  13702. #define GPIO_PP3_U1CTS 0x000D0C01
  13703. #define GPIO_PP3_U0DCD 0x000D0C02
  13704. #define GPIO_PP3_RTCCLK 0x000D0C07
  13705. #define GPIO_PP3_USB0DIR 0x000D0C0E
  13706. #define GPIO_PP3_EPI0S30 0x000D0C0F
  13707. #define GPIO_PP4_U3RTS 0x000D1001
  13708. #define GPIO_PP4_U0DSR 0x000D1002
  13709. #define GPIO_PP4_USB0D7 0x000D100E
  13710. #define GPIO_PP5_U3CTS 0x000D1401
  13711. #define GPIO_PP5_I2C2SCL 0x000D1402
  13712. #define GPIO_PP5_USB0D6 0x000D140E
  13713. #define GPIO_PP6_U1DCD 0x000D1801
  13714. #define GPIO_PP6_I2C2SDA 0x000D1802
  13715. #define GPIO_PQ0_T6CCP0 0x000E0003
  13716. #define GPIO_PQ0_SSI3CLK 0x000E000E
  13717. #define GPIO_PQ0_EPI0S20 0x000E000F
  13718. #define GPIO_PQ1_T6CCP1 0x000E0403
  13719. #define GPIO_PQ1_SSI3FSS 0x000E040E
  13720. #define GPIO_PQ1_EPI0S21 0x000E040F
  13721. #define GPIO_PQ2_T7CCP0 0x000E0803
  13722. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  13723. #define GPIO_PQ2_EPI0S22 0x000E080F
  13724. #define GPIO_PQ3_T7CCP1 0x000E0C03
  13725. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  13726. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  13727. #define GPIO_PQ4_U1RX 0x000E1001
  13728. #define GPIO_PQ4_DIVSCLK 0x000E1007
  13729. #define GPIO_PQ5_U1TX 0x000E1401
  13730. #define GPIO_PQ6_U1DTR 0x000E1801
  13731. #define GPIO_PQ7_U1RI 0x000E1C01
  13732. #define GPIO_PR0_U4TX 0x000F0001
  13733. #define GPIO_PR0_I2C1SCL 0x000F0002
  13734. #define GPIO_PR0_M0PWM0 0x000F0006
  13735. #define GPIO_PR1_U4RX 0x000F0401
  13736. #define GPIO_PR1_I2C1SDA 0x000F0402
  13737. #define GPIO_PR1_M0PWM1 0x000F0406
  13738. #define GPIO_PR2_I2C2SCL 0x000F0802
  13739. #define GPIO_PR2_M0PWM2 0x000F0806
  13740. #define GPIO_PR3_I2C2SDA 0x000F0C02
  13741. #define GPIO_PR3_M0PWM3 0x000F0C06
  13742. #define GPIO_PR4_I2C3SCL 0x000F1002
  13743. #define GPIO_PR4_T0CCP0 0x000F1003
  13744. #define GPIO_PR4_M0PWM4 0x000F1006
  13745. #define GPIO_PR5_U1RX 0x000F1401
  13746. #define GPIO_PR5_I2C3SDA 0x000F1402
  13747. #define GPIO_PR5_T0CCP1 0x000F1403
  13748. #define GPIO_PR5_M0PWM5 0x000F1406
  13749. #define GPIO_PR6_U1TX 0x000F1801
  13750. #define GPIO_PR6_I2C4SCL 0x000F1802
  13751. #define GPIO_PR6_T1CCP0 0x000F1803
  13752. #define GPIO_PR6_M0PWM6 0x000F1806
  13753. #define GPIO_PR7_I2C4SDA 0x000F1C02
  13754. #define GPIO_PR7_T1CCP1 0x000F1C03
  13755. #define GPIO_PR7_M0PWM7 0x000F1C06
  13756. #define GPIO_PS0_T2CCP0 0x00100003
  13757. #define GPIO_PS0_M0FAULT0 0x00100006
  13758. #define GPIO_PS1_T2CCP1 0x00100403
  13759. #define GPIO_PS1_M0FAULT1 0x00100406
  13760. #define GPIO_PS2_U1DSR 0x00100801
  13761. #define GPIO_PS2_T3CCP0 0x00100803
  13762. #define GPIO_PS2_M0FAULT2 0x00100806
  13763. #define GPIO_PS3_T3CCP1 0x00100C03
  13764. #define GPIO_PS3_M0FAULT3 0x00100C06
  13765. #define GPIO_PS4_T4CCP0 0x00101003
  13766. #define GPIO_PS4_PHA0 0x00101006
  13767. #define GPIO_PS5_T4CCP1 0x00101403
  13768. #define GPIO_PS5_PHB0 0x00101406
  13769. #define GPIO_PS6_T5CCP0 0x00101803
  13770. #define GPIO_PS6_IDX0 0x00101806
  13771. #define GPIO_PS7_T5CCP1 0x00101C03
  13772. #define GPIO_PT0_T6CCP0 0x00110003
  13773. #define GPIO_PT0_CAN0RX 0x00110007
  13774. #define GPIO_PT1_T6CCP1 0x00110403
  13775. #define GPIO_PT1_CAN0TX 0x00110407
  13776. #define GPIO_PT2_T7CCP0 0x00110803
  13777. #define GPIO_PT2_CAN1RX 0x00110807
  13778. #define GPIO_PT3_T7CCP1 0x00110C03
  13779. #define GPIO_PT3_CAN1TX 0x00110C07
  13780. #endif // PART_TM4C129ENCZAD
  13781. //*****************************************************************************
  13782. //
  13783. // TM4C129LNCZAD Port/Pin Mapping Definitions
  13784. //
  13785. //*****************************************************************************
  13786. #ifdef PART_TM4C129LNCZAD
  13787. #define GPIO_PA0_U0RX 0x00000001
  13788. #define GPIO_PA0_I2C9SCL 0x00000002
  13789. #define GPIO_PA0_T0CCP0 0x00000003
  13790. #define GPIO_PA0_CAN0RX 0x00000007
  13791. #define GPIO_PA1_U0TX 0x00000401
  13792. #define GPIO_PA1_I2C9SDA 0x00000402
  13793. #define GPIO_PA1_T0CCP1 0x00000403
  13794. #define GPIO_PA1_CAN0TX 0x00000407
  13795. #define GPIO_PA2_U4RX 0x00000801
  13796. #define GPIO_PA2_I2C8SCL 0x00000802
  13797. #define GPIO_PA2_T1CCP0 0x00000803
  13798. #define GPIO_PA2_SSI0CLK 0x0000080F
  13799. #define GPIO_PA3_U4TX 0x00000C01
  13800. #define GPIO_PA3_I2C8SDA 0x00000C02
  13801. #define GPIO_PA3_T1CCP1 0x00000C03
  13802. #define GPIO_PA3_SSI0FSS 0x00000C0F
  13803. #define GPIO_PA4_U3RX 0x00001001
  13804. #define GPIO_PA4_T2CCP0 0x00001003
  13805. #define GPIO_PA4_I2C7SCL 0x00001002
  13806. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  13807. #define GPIO_PA5_U3TX 0x00001401
  13808. #define GPIO_PA5_T2CCP1 0x00001403
  13809. #define GPIO_PA5_I2C7SDA 0x00001402
  13810. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  13811. #define GPIO_PA6_U2RX 0x00001801
  13812. #define GPIO_PA6_I2C6SCL 0x00001802
  13813. #define GPIO_PA6_T3CCP0 0x00001803
  13814. #define GPIO_PA6_USB0EPEN 0x00001805
  13815. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  13816. #define GPIO_PA6_EPI0S8 0x0000180F
  13817. #define GPIO_PA7_U2TX 0x00001C01
  13818. #define GPIO_PA7_I2C6SDA 0x00001C02
  13819. #define GPIO_PA7_T3CCP1 0x00001C03
  13820. #define GPIO_PA7_USB0PFLT 0x00001C05
  13821. #define GPIO_PA7_USB0EPEN 0x00001C0B
  13822. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  13823. #define GPIO_PA7_EPI0S9 0x00001C0F
  13824. #define GPIO_PB0_U1RX 0x00010001
  13825. #define GPIO_PB0_I2C5SCL 0x00010002
  13826. #define GPIO_PB0_CAN1RX 0x00010007
  13827. #define GPIO_PB0_T4CCP0 0x00010003
  13828. #define GPIO_PB1_U1TX 0x00010401
  13829. #define GPIO_PB1_I2C5SDA 0x00010402
  13830. #define GPIO_PB1_CAN1TX 0x00010407
  13831. #define GPIO_PB1_T4CCP1 0x00010403
  13832. #define GPIO_PB2_T5CCP0 0x00010803
  13833. #define GPIO_PB2_I2C0SCL 0x00010802
  13834. #define GPIO_PB2_USB0STP 0x0001080E
  13835. #define GPIO_PB2_EPI0S27 0x0001080F
  13836. #define GPIO_PB3_I2C0SDA 0x00010C02
  13837. #define GPIO_PB3_T5CCP1 0x00010C03
  13838. #define GPIO_PB3_USB0CLK 0x00010C0E
  13839. #define GPIO_PB3_EPI0S28 0x00010C0F
  13840. #define GPIO_PB4_U0CTS 0x00011001
  13841. #define GPIO_PB4_I2C5SCL 0x00011002
  13842. #define GPIO_PB4_SSI1FSS 0x0001100F
  13843. #define GPIO_PB5_U0RTS 0x00011401
  13844. #define GPIO_PB5_I2C5SDA 0x00011402
  13845. #define GPIO_PB5_SSI1CLK 0x0001140F
  13846. #define GPIO_PB6_I2C6SCL 0x00011802
  13847. #define GPIO_PB6_T6CCP0 0x00011803
  13848. #define GPIO_PB7_I2C6SDA 0x00011C02
  13849. #define GPIO_PB7_T6CCP1 0x00011C03
  13850. #define GPIO_PC0_TCK 0x00020001
  13851. #define GPIO_PC0_SWCLK 0x00020001
  13852. #define GPIO_PC1_TMS 0x00020401
  13853. #define GPIO_PC1_SWDIO 0x00020401
  13854. #define GPIO_PC2_TDI 0x00020801
  13855. #define GPIO_PC3_SWO 0x00020C01
  13856. #define GPIO_PC3_TDO 0x00020C01
  13857. #define GPIO_PC4_U7RX 0x00021001
  13858. #define GPIO_PC4_T7CCP0 0x00021003
  13859. #define GPIO_PC4_EPI0S7 0x0002100F
  13860. #define GPIO_PC5_U7TX 0x00021401
  13861. #define GPIO_PC5_T7CCP1 0x00021403
  13862. #define GPIO_PC5_RTCCLK 0x00021407
  13863. #define GPIO_PC5_EPI0S6 0x0002140F
  13864. #define GPIO_PC6_U5RX 0x00021801
  13865. #define GPIO_PC6_EPI0S5 0x0002180F
  13866. #define GPIO_PC7_U5TX 0x00021C01
  13867. #define GPIO_PC7_EPI0S4 0x00021C0F
  13868. #define GPIO_PD0_I2C7SCL 0x00030002
  13869. #define GPIO_PD0_T0CCP0 0x00030003
  13870. #define GPIO_PD0_C0O 0x00030005
  13871. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  13872. #define GPIO_PD1_I2C7SDA 0x00030402
  13873. #define GPIO_PD1_T0CCP1 0x00030403
  13874. #define GPIO_PD1_C1O 0x00030405
  13875. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  13876. #define GPIO_PD2_I2C8SCL 0x00030802
  13877. #define GPIO_PD2_T1CCP0 0x00030803
  13878. #define GPIO_PD2_C2O 0x00030805
  13879. #define GPIO_PD2_SSI2FSS 0x0003080F
  13880. #define GPIO_PD3_I2C8SDA 0x00030C02
  13881. #define GPIO_PD3_T1CCP1 0x00030C03
  13882. #define GPIO_PD3_SSI2CLK 0x00030C0F
  13883. #define GPIO_PD4_U2RX 0x00031001
  13884. #define GPIO_PD4_T3CCP0 0x00031003
  13885. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  13886. #define GPIO_PD5_U2TX 0x00031401
  13887. #define GPIO_PD5_T3CCP1 0x00031403
  13888. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  13889. #define GPIO_PD6_U2RTS 0x00031801
  13890. #define GPIO_PD6_T4CCP0 0x00031803
  13891. #define GPIO_PD6_USB0EPEN 0x00031805
  13892. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  13893. #define GPIO_PD7_U2CTS 0x00031C01
  13894. #define GPIO_PD7_T4CCP1 0x00031C03
  13895. #define GPIO_PD7_USB0PFLT 0x00031C05
  13896. #define GPIO_PD7_NMI 0x00031C08
  13897. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  13898. #define GPIO_PE0_U1RTS 0x00040001
  13899. #define GPIO_PE1_U1DSR 0x00040401
  13900. #define GPIO_PE2_U1DCD 0x00040801
  13901. #define GPIO_PE3_U1DTR 0x00040C01
  13902. #define GPIO_PE4_U1RI 0x00041001
  13903. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  13904. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  13905. #define GPIO_PE6_U0CTS 0x00041801
  13906. #define GPIO_PE6_I2C9SCL 0x00041802
  13907. #define GPIO_PE7_U0RTS 0x00041C01
  13908. #define GPIO_PE7_I2C9SDA 0x00041C02
  13909. #define GPIO_PE7_NMI 0x00041C08
  13910. #define GPIO_PF0_EN0LED0 0x00050005
  13911. #define GPIO_PF0_M0PWM0 0x00050006
  13912. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  13913. #define GPIO_PF0_TRD2 0x0005000F
  13914. #define GPIO_PF1_EN0LED2 0x00050405
  13915. #define GPIO_PF1_M0PWM1 0x00050406
  13916. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  13917. #define GPIO_PF1_TRD1 0x0005040F
  13918. #define GPIO_PF2_M0PWM2 0x00050806
  13919. #define GPIO_PF2_SSI3FSS 0x0005080E
  13920. #define GPIO_PF2_TRD0 0x0005080F
  13921. #define GPIO_PF3_M0PWM3 0x00050C06
  13922. #define GPIO_PF3_SSI3CLK 0x00050C0E
  13923. #define GPIO_PF3_TRCLK 0x00050C0F
  13924. #define GPIO_PF4_EN0LED1 0x00051005
  13925. #define GPIO_PF4_M0FAULT0 0x00051006
  13926. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  13927. #define GPIO_PF4_TRD3 0x0005100F
  13928. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  13929. #define GPIO_PF6_LCDMCLK 0x0005180F
  13930. #define GPIO_PF7_LCDDATA02 0x00051C0F
  13931. #define GPIO_PG0_I2C1SCL 0x00060002
  13932. #define GPIO_PG0_EN0PPS 0x00060005
  13933. #define GPIO_PG0_M0PWM4 0x00060006
  13934. #define GPIO_PG0_EPI0S11 0x0006000F
  13935. #define GPIO_PG1_I2C1SDA 0x00060402
  13936. #define GPIO_PG1_M0PWM5 0x00060406
  13937. #define GPIO_PG1_EPI0S10 0x0006040F
  13938. #define GPIO_PG2_I2C2SCL 0x00060802
  13939. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  13940. #define GPIO_PG3_I2C2SDA 0x00060C02
  13941. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  13942. #define GPIO_PG4_U0CTS 0x00061001
  13943. #define GPIO_PG4_I2C3SCL 0x00061002
  13944. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  13945. #define GPIO_PG5_U0RTS 0x00061401
  13946. #define GPIO_PG5_I2C3SDA 0x00061402
  13947. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  13948. #define GPIO_PG6_I2C4SCL 0x00061802
  13949. #define GPIO_PG6_SSI2FSS 0x0006180F
  13950. #define GPIO_PG7_I2C4SDA 0x00061C02
  13951. #define GPIO_PG7_SSI2CLK 0x00061C0F
  13952. #define GPIO_PH0_U0RTS 0x00070001
  13953. #define GPIO_PH0_EPI0S0 0x0007000F
  13954. #define GPIO_PH1_U0CTS 0x00070401
  13955. #define GPIO_PH1_EPI0S1 0x0007040F
  13956. #define GPIO_PH2_U0DCD 0x00070801
  13957. #define GPIO_PH2_EPI0S2 0x0007080F
  13958. #define GPIO_PH3_U0DSR 0x00070C01
  13959. #define GPIO_PH3_EPI0S3 0x00070C0F
  13960. #define GPIO_PH4_U0DTR 0x00071001
  13961. #define GPIO_PH5_U0RI 0x00071401
  13962. #define GPIO_PH5_EN0PPS 0x00071405
  13963. #define GPIO_PH6_U5RX 0x00071801
  13964. #define GPIO_PH6_U7RX 0x00071802
  13965. #define GPIO_PH7_U5TX 0x00071C01
  13966. #define GPIO_PH7_U7TX 0x00071C02
  13967. #define GPIO_PJ0_U3RX 0x00080001
  13968. #define GPIO_PJ0_EN0PPS 0x00080005
  13969. #define GPIO_PJ1_U3TX 0x00080401
  13970. #define GPIO_PJ2_U2RTS 0x00080801
  13971. #define GPIO_PJ2_LCDDATA14 0x0008080F
  13972. #define GPIO_PJ3_U2CTS 0x00080C01
  13973. #define GPIO_PJ3_LCDDATA15 0x00080C0F
  13974. #define GPIO_PJ4_U3RTS 0x00081001
  13975. #define GPIO_PJ4_LCDDATA16 0x0008100F
  13976. #define GPIO_PJ5_U3CTS 0x00081401
  13977. #define GPIO_PJ5_LCDDATA17 0x0008140F
  13978. #define GPIO_PJ6_U4RTS 0x00081801
  13979. #define GPIO_PJ6_LCDAC 0x0008180F
  13980. #define GPIO_PJ7_U4CTS 0x00081C01
  13981. #define GPIO_PK0_U4RX 0x00090001
  13982. #define GPIO_PK0_EPI0S0 0x0009000F
  13983. #define GPIO_PK1_U4TX 0x00090401
  13984. #define GPIO_PK1_EPI0S1 0x0009040F
  13985. #define GPIO_PK2_U4RTS 0x00090801
  13986. #define GPIO_PK2_EPI0S2 0x0009080F
  13987. #define GPIO_PK3_U4CTS 0x00090C01
  13988. #define GPIO_PK3_EPI0S3 0x00090C0F
  13989. #define GPIO_PK4_I2C3SCL 0x00091002
  13990. #define GPIO_PK4_EN0LED0 0x00091005
  13991. #define GPIO_PK4_M0PWM6 0x00091006
  13992. #define GPIO_PK4_EPI0S32 0x0009100F
  13993. #define GPIO_PK5_I2C3SDA 0x00091402
  13994. #define GPIO_PK5_EN0LED2 0x00091405
  13995. #define GPIO_PK5_M0PWM7 0x00091406
  13996. #define GPIO_PK5_EPI0S31 0x0009140F
  13997. #define GPIO_PK6_I2C4SCL 0x00091802
  13998. #define GPIO_PK6_EN0LED1 0x00091805
  13999. #define GPIO_PK6_M0FAULT1 0x00091806
  14000. #define GPIO_PK6_EPI0S25 0x0009180F
  14001. #define GPIO_PK7_U0RI 0x00091C01
  14002. #define GPIO_PK7_I2C4SDA 0x00091C02
  14003. #define GPIO_PK7_RTCCLK 0x00091C05
  14004. #define GPIO_PK7_M0FAULT2 0x00091C06
  14005. #define GPIO_PK7_EPI0S24 0x00091C0F
  14006. #define GPIO_PL0_I2C2SDA 0x000A0002
  14007. #define GPIO_PL0_M0FAULT3 0x000A0006
  14008. #define GPIO_PL0_USB0D0 0x000A000E
  14009. #define GPIO_PL0_EPI0S16 0x000A000F
  14010. #define GPIO_PL1_I2C2SCL 0x000A0402
  14011. #define GPIO_PL1_PHA0 0x000A0406
  14012. #define GPIO_PL1_USB0D1 0x000A040E
  14013. #define GPIO_PL1_EPI0S17 0x000A040F
  14014. #define GPIO_PL2_C0O 0x000A0805
  14015. #define GPIO_PL2_PHB0 0x000A0806
  14016. #define GPIO_PL2_USB0D2 0x000A080E
  14017. #define GPIO_PL2_EPI0S18 0x000A080F
  14018. #define GPIO_PL3_C1O 0x000A0C05
  14019. #define GPIO_PL3_IDX0 0x000A0C06
  14020. #define GPIO_PL3_USB0D3 0x000A0C0E
  14021. #define GPIO_PL3_EPI0S19 0x000A0C0F
  14022. #define GPIO_PL4_T0CCP0 0x000A1003
  14023. #define GPIO_PL4_USB0D4 0x000A100E
  14024. #define GPIO_PL4_EPI0S26 0x000A100F
  14025. #define GPIO_PL5_T0CCP1 0x000A1403
  14026. #define GPIO_PL5_EPI0S33 0x000A140F
  14027. #define GPIO_PL5_USB0D5 0x000A140E
  14028. #define GPIO_PL6_T1CCP0 0x000A1803
  14029. #define GPIO_PL7_T1CCP1 0x000A1C03
  14030. #define GPIO_PM0_T2CCP0 0x000B0003
  14031. #define GPIO_PM0_EPI0S15 0x000B000F
  14032. #define GPIO_PM1_T2CCP1 0x000B0403
  14033. #define GPIO_PM1_EPI0S14 0x000B040F
  14034. #define GPIO_PM2_T3CCP0 0x000B0803
  14035. #define GPIO_PM2_EPI0S13 0x000B080F
  14036. #define GPIO_PM3_T3CCP1 0x000B0C03
  14037. #define GPIO_PM3_EPI0S12 0x000B0C0F
  14038. #define GPIO_PM4_U0CTS 0x000B1001
  14039. #define GPIO_PM4_T4CCP0 0x000B1003
  14040. #define GPIO_PM5_U0DCD 0x000B1401
  14041. #define GPIO_PM5_T4CCP1 0x000B1403
  14042. #define GPIO_PM6_U0DSR 0x000B1801
  14043. #define GPIO_PM6_T5CCP0 0x000B1803
  14044. #define GPIO_PM7_U0RI 0x000B1C01
  14045. #define GPIO_PM7_T5CCP1 0x000B1C03
  14046. #define GPIO_PN0_U1RTS 0x000C0001
  14047. #define GPIO_PN1_U1CTS 0x000C0401
  14048. #define GPIO_PN2_U1DCD 0x000C0801
  14049. #define GPIO_PN2_U2RTS 0x000C0802
  14050. #define GPIO_PN2_EPI0S29 0x000C080F
  14051. #define GPIO_PN3_U1DSR 0x000C0C01
  14052. #define GPIO_PN3_U2CTS 0x000C0C02
  14053. #define GPIO_PN3_EPI0S30 0x000C0C0F
  14054. #define GPIO_PN4_U1DTR 0x000C1001
  14055. #define GPIO_PN4_U3RTS 0x000C1002
  14056. #define GPIO_PN4_I2C2SDA 0x000C1003
  14057. #define GPIO_PN4_EPI0S34 0x000C100F
  14058. #define GPIO_PN5_U1RI 0x000C1401
  14059. #define GPIO_PN5_U3CTS 0x000C1402
  14060. #define GPIO_PN5_I2C2SCL 0x000C1403
  14061. #define GPIO_PN5_EPI0S35 0x000C140F
  14062. #define GPIO_PN6_U4RTS 0x000C1802
  14063. #define GPIO_PN6_LCDDATA13 0x000C180F
  14064. #define GPIO_PN7_U1RTS 0x000C1C01
  14065. #define GPIO_PN7_U4CTS 0x000C1C02
  14066. #define GPIO_PN7_LCDDATA12 0x000C1C0F
  14067. #define GPIO_PP0_U6RX 0x000D0001
  14068. #define GPIO_PP0_T6CCP0 0x000D0005
  14069. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  14070. #define GPIO_PP1_U6TX 0x000D0401
  14071. #define GPIO_PP1_T6CCP1 0x000D0405
  14072. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  14073. #define GPIO_PP2_U0DTR 0x000D0801
  14074. #define GPIO_PP2_USB0NXT 0x000D080E
  14075. #define GPIO_PP2_EPI0S29 0x000D080F
  14076. #define GPIO_PP3_U1CTS 0x000D0C01
  14077. #define GPIO_PP3_U0DCD 0x000D0C02
  14078. #define GPIO_PP3_RTCCLK 0x000D0C07
  14079. #define GPIO_PP3_USB0DIR 0x000D0C0E
  14080. #define GPIO_PP3_EPI0S30 0x000D0C0F
  14081. #define GPIO_PP4_U3RTS 0x000D1001
  14082. #define GPIO_PP4_U0DSR 0x000D1002
  14083. #define GPIO_PP4_USB0D7 0x000D100E
  14084. #define GPIO_PP5_U3CTS 0x000D1401
  14085. #define GPIO_PP5_I2C2SCL 0x000D1402
  14086. #define GPIO_PP5_USB0D6 0x000D140E
  14087. #define GPIO_PP6_U1DCD 0x000D1801
  14088. #define GPIO_PP6_I2C2SDA 0x000D1802
  14089. #define GPIO_PQ0_T6CCP0 0x000E0003
  14090. #define GPIO_PQ0_SSI3CLK 0x000E000E
  14091. #define GPIO_PQ0_EPI0S20 0x000E000F
  14092. #define GPIO_PQ1_T6CCP1 0x000E0403
  14093. #define GPIO_PQ1_SSI3FSS 0x000E040E
  14094. #define GPIO_PQ1_EPI0S21 0x000E040F
  14095. #define GPIO_PQ2_T7CCP0 0x000E0803
  14096. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  14097. #define GPIO_PQ2_EPI0S22 0x000E080F
  14098. #define GPIO_PQ3_T7CCP1 0x000E0C03
  14099. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  14100. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  14101. #define GPIO_PQ4_U1RX 0x000E1001
  14102. #define GPIO_PQ4_DIVSCLK 0x000E1007
  14103. #define GPIO_PQ5_U1TX 0x000E1401
  14104. #define GPIO_PQ6_U1DTR 0x000E1801
  14105. #define GPIO_PQ7_U1RI 0x000E1C01
  14106. #define GPIO_PR0_U4TX 0x000F0001
  14107. #define GPIO_PR0_I2C1SCL 0x000F0002
  14108. #define GPIO_PR0_M0PWM0 0x000F0006
  14109. #define GPIO_PR0_LCDCP 0x000F000F
  14110. #define GPIO_PR1_U4RX 0x000F0401
  14111. #define GPIO_PR1_I2C1SDA 0x000F0402
  14112. #define GPIO_PR1_M0PWM1 0x000F0406
  14113. #define GPIO_PR1_LCDFP 0x000F040F
  14114. #define GPIO_PR2_I2C2SCL 0x000F0802
  14115. #define GPIO_PR2_M0PWM2 0x000F0806
  14116. #define GPIO_PR2_LCDLP 0x000F080F
  14117. #define GPIO_PR3_I2C2SDA 0x000F0C02
  14118. #define GPIO_PR3_M0PWM3 0x000F0C06
  14119. #define GPIO_PR3_LCDDATA03 0x000F0C0F
  14120. #define GPIO_PR4_I2C3SCL 0x000F1002
  14121. #define GPIO_PR4_T0CCP0 0x000F1003
  14122. #define GPIO_PR4_M0PWM4 0x000F1006
  14123. #define GPIO_PR4_LCDDATA00 0x000F100F
  14124. #define GPIO_PR5_U1RX 0x000F1401
  14125. #define GPIO_PR5_I2C3SDA 0x000F1402
  14126. #define GPIO_PR5_T0CCP1 0x000F1403
  14127. #define GPIO_PR5_M0PWM5 0x000F1406
  14128. #define GPIO_PR5_LCDDATA01 0x000F140F
  14129. #define GPIO_PR6_U1TX 0x000F1801
  14130. #define GPIO_PR6_I2C4SCL 0x000F1802
  14131. #define GPIO_PR6_T1CCP0 0x000F1803
  14132. #define GPIO_PR6_M0PWM6 0x000F1806
  14133. #define GPIO_PR6_LCDDATA04 0x000F180F
  14134. #define GPIO_PR7_I2C4SDA 0x000F1C02
  14135. #define GPIO_PR7_T1CCP1 0x000F1C03
  14136. #define GPIO_PR7_M0PWM7 0x000F1C06
  14137. #define GPIO_PR7_LCDDATA05 0x000F1C0F
  14138. #define GPIO_PS0_T2CCP0 0x00100003
  14139. #define GPIO_PS0_M0FAULT0 0x00100006
  14140. #define GPIO_PS0_LCDDATA20 0x0010000F
  14141. #define GPIO_PS1_T2CCP1 0x00100403
  14142. #define GPIO_PS1_M0FAULT1 0x00100406
  14143. #define GPIO_PS1_LCDDATA21 0x0010040F
  14144. #define GPIO_PS2_U1DSR 0x00100801
  14145. #define GPIO_PS2_T3CCP0 0x00100803
  14146. #define GPIO_PS2_M0FAULT2 0x00100806
  14147. #define GPIO_PS2_LCDDATA22 0x0010080F
  14148. #define GPIO_PS3_T3CCP1 0x00100C03
  14149. #define GPIO_PS3_M0FAULT3 0x00100C06
  14150. #define GPIO_PS3_LCDDATA23 0x00100C0F
  14151. #define GPIO_PS4_T4CCP0 0x00101003
  14152. #define GPIO_PS4_PHA0 0x00101006
  14153. #define GPIO_PS4_LCDDATA06 0x0010100F
  14154. #define GPIO_PS5_T4CCP1 0x00101403
  14155. #define GPIO_PS5_PHB0 0x00101406
  14156. #define GPIO_PS5_LCDDATA07 0x0010140F
  14157. #define GPIO_PS6_T5CCP0 0x00101803
  14158. #define GPIO_PS6_IDX0 0x00101806
  14159. #define GPIO_PS6_LCDDATA08 0x0010180F
  14160. #define GPIO_PS7_T5CCP1 0x00101C03
  14161. #define GPIO_PS7_LCDDATA09 0x00101C0F
  14162. #define GPIO_PT0_T6CCP0 0x00110003
  14163. #define GPIO_PT0_CAN0RX 0x00110007
  14164. #define GPIO_PT0_LCDDATA10 0x0011000F
  14165. #define GPIO_PT1_T6CCP1 0x00110403
  14166. #define GPIO_PT1_CAN0TX 0x00110407
  14167. #define GPIO_PT1_LCDDATA11 0x0011040F
  14168. #define GPIO_PT2_T7CCP0 0x00110803
  14169. #define GPIO_PT2_CAN1RX 0x00110807
  14170. #define GPIO_PT2_LCDDATA18 0x0011080F
  14171. #define GPIO_PT3_T7CCP1 0x00110C03
  14172. #define GPIO_PT3_CAN1TX 0x00110C07
  14173. #define GPIO_PT3_LCDDATA19 0x00110C0F
  14174. #endif // PART_TM4C129LNCZAD
  14175. //*****************************************************************************
  14176. //
  14177. // TM4C129XKCZAD Port/Pin Mapping Definitions
  14178. //
  14179. //*****************************************************************************
  14180. #ifdef PART_TM4C129XKCZAD
  14181. #define GPIO_PA0_U0RX 0x00000001
  14182. #define GPIO_PA0_I2C9SCL 0x00000002
  14183. #define GPIO_PA0_T0CCP0 0x00000003
  14184. #define GPIO_PA0_CAN0RX 0x00000007
  14185. #define GPIO_PA1_U0TX 0x00000401
  14186. #define GPIO_PA1_I2C9SDA 0x00000402
  14187. #define GPIO_PA1_T0CCP1 0x00000403
  14188. #define GPIO_PA1_CAN0TX 0x00000407
  14189. #define GPIO_PA2_U4RX 0x00000801
  14190. #define GPIO_PA2_I2C8SCL 0x00000802
  14191. #define GPIO_PA2_T1CCP0 0x00000803
  14192. #define GPIO_PA2_SSI0CLK 0x0000080F
  14193. #define GPIO_PA3_U4TX 0x00000C01
  14194. #define GPIO_PA3_I2C8SDA 0x00000C02
  14195. #define GPIO_PA3_T1CCP1 0x00000C03
  14196. #define GPIO_PA3_SSI0FSS 0x00000C0F
  14197. #define GPIO_PA4_U3RX 0x00001001
  14198. #define GPIO_PA4_T2CCP0 0x00001003
  14199. #define GPIO_PA4_I2C7SCL 0x00001002
  14200. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  14201. #define GPIO_PA5_U3TX 0x00001401
  14202. #define GPIO_PA5_T2CCP1 0x00001403
  14203. #define GPIO_PA5_I2C7SDA 0x00001402
  14204. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  14205. #define GPIO_PA6_U2RX 0x00001801
  14206. #define GPIO_PA6_I2C6SCL 0x00001802
  14207. #define GPIO_PA6_T3CCP0 0x00001803
  14208. #define GPIO_PA6_USB0EPEN 0x00001805
  14209. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  14210. #define GPIO_PA6_EN0RXCK 0x0000180E
  14211. #define GPIO_PA6_EPI0S8 0x0000180F
  14212. #define GPIO_PA7_U2TX 0x00001C01
  14213. #define GPIO_PA7_I2C6SDA 0x00001C02
  14214. #define GPIO_PA7_T3CCP1 0x00001C03
  14215. #define GPIO_PA7_USB0PFLT 0x00001C05
  14216. #define GPIO_PA7_USB0EPEN 0x00001C0B
  14217. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  14218. #define GPIO_PA7_EPI0S9 0x00001C0F
  14219. #define GPIO_PB0_U1RX 0x00010001
  14220. #define GPIO_PB0_I2C5SCL 0x00010002
  14221. #define GPIO_PB0_CAN1RX 0x00010007
  14222. #define GPIO_PB0_T4CCP0 0x00010003
  14223. #define GPIO_PB1_U1TX 0x00010401
  14224. #define GPIO_PB1_I2C5SDA 0x00010402
  14225. #define GPIO_PB1_CAN1TX 0x00010407
  14226. #define GPIO_PB1_T4CCP1 0x00010403
  14227. #define GPIO_PB2_T5CCP0 0x00010803
  14228. #define GPIO_PB2_I2C0SCL 0x00010802
  14229. #define GPIO_PB2_EN0MDC 0x00010805
  14230. #define GPIO_PB2_USB0STP 0x0001080E
  14231. #define GPIO_PB2_EPI0S27 0x0001080F
  14232. #define GPIO_PB3_I2C0SDA 0x00010C02
  14233. #define GPIO_PB3_T5CCP1 0x00010C03
  14234. #define GPIO_PB3_EN0MDIO 0x00010C05
  14235. #define GPIO_PB3_USB0CLK 0x00010C0E
  14236. #define GPIO_PB3_EPI0S28 0x00010C0F
  14237. #define GPIO_PB4_U0CTS 0x00011001
  14238. #define GPIO_PB4_I2C5SCL 0x00011002
  14239. #define GPIO_PB4_SSI1FSS 0x0001100F
  14240. #define GPIO_PB5_U0RTS 0x00011401
  14241. #define GPIO_PB5_I2C5SDA 0x00011402
  14242. #define GPIO_PB5_SSI1CLK 0x0001140F
  14243. #define GPIO_PB6_I2C6SCL 0x00011802
  14244. #define GPIO_PB6_T6CCP0 0x00011803
  14245. #define GPIO_PB7_I2C6SDA 0x00011C02
  14246. #define GPIO_PB7_T6CCP1 0x00011C03
  14247. #define GPIO_PC0_TCK 0x00020001
  14248. #define GPIO_PC0_SWCLK 0x00020001
  14249. #define GPIO_PC1_TMS 0x00020401
  14250. #define GPIO_PC1_SWDIO 0x00020401
  14251. #define GPIO_PC2_TDI 0x00020801
  14252. #define GPIO_PC3_SWO 0x00020C01
  14253. #define GPIO_PC3_TDO 0x00020C01
  14254. #define GPIO_PC4_U7RX 0x00021001
  14255. #define GPIO_PC4_T7CCP0 0x00021003
  14256. #define GPIO_PC4_EPI0S7 0x0002100F
  14257. #define GPIO_PC5_U7TX 0x00021401
  14258. #define GPIO_PC5_T7CCP1 0x00021403
  14259. #define GPIO_PC5_RTCCLK 0x00021407
  14260. #define GPIO_PC5_EPI0S6 0x0002140F
  14261. #define GPIO_PC6_U5RX 0x00021801
  14262. #define GPIO_PC6_EPI0S5 0x0002180F
  14263. #define GPIO_PC7_U5TX 0x00021C01
  14264. #define GPIO_PC7_EPI0S4 0x00021C0F
  14265. #define GPIO_PD0_I2C7SCL 0x00030002
  14266. #define GPIO_PD0_T0CCP0 0x00030003
  14267. #define GPIO_PD0_C0O 0x00030005
  14268. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  14269. #define GPIO_PD1_I2C7SDA 0x00030402
  14270. #define GPIO_PD1_T0CCP1 0x00030403
  14271. #define GPIO_PD1_C1O 0x00030405
  14272. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  14273. #define GPIO_PD2_I2C8SCL 0x00030802
  14274. #define GPIO_PD2_T1CCP0 0x00030803
  14275. #define GPIO_PD2_C2O 0x00030805
  14276. #define GPIO_PD2_SSI2FSS 0x0003080F
  14277. #define GPIO_PD3_I2C8SDA 0x00030C02
  14278. #define GPIO_PD3_T1CCP1 0x00030C03
  14279. #define GPIO_PD3_SSI2CLK 0x00030C0F
  14280. #define GPIO_PD4_U2RX 0x00031001
  14281. #define GPIO_PD4_T3CCP0 0x00031003
  14282. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  14283. #define GPIO_PD5_U2TX 0x00031401
  14284. #define GPIO_PD5_T3CCP1 0x00031403
  14285. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  14286. #define GPIO_PD6_U2RTS 0x00031801
  14287. #define GPIO_PD6_T4CCP0 0x00031803
  14288. #define GPIO_PD6_USB0EPEN 0x00031805
  14289. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  14290. #define GPIO_PD7_U2CTS 0x00031C01
  14291. #define GPIO_PD7_T4CCP1 0x00031C03
  14292. #define GPIO_PD7_USB0PFLT 0x00031C05
  14293. #define GPIO_PD7_NMI 0x00031C08
  14294. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  14295. #define GPIO_PE0_U1RTS 0x00040001
  14296. #define GPIO_PE1_U1DSR 0x00040401
  14297. #define GPIO_PE2_U1DCD 0x00040801
  14298. #define GPIO_PE3_U1DTR 0x00040C01
  14299. #define GPIO_PE3_OWIRE 0x00040C05
  14300. #define GPIO_PE4_U1RI 0x00041001
  14301. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  14302. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  14303. #define GPIO_PE6_U0CTS 0x00041801
  14304. #define GPIO_PE6_I2C9SCL 0x00041802
  14305. #define GPIO_PE7_U0RTS 0x00041C01
  14306. #define GPIO_PE7_I2C9SDA 0x00041C02
  14307. #define GPIO_PE7_NMI 0x00041C08
  14308. #define GPIO_PF0_EN0LED0 0x00050005
  14309. #define GPIO_PF0_M0PWM0 0x00050006
  14310. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  14311. #define GPIO_PF0_TRD2 0x0005000F
  14312. #define GPIO_PF1_EN0LED2 0x00050405
  14313. #define GPIO_PF1_M0PWM1 0x00050406
  14314. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  14315. #define GPIO_PF1_TRD1 0x0005040F
  14316. #define GPIO_PF2_EN0MDC 0x00050805
  14317. #define GPIO_PF2_M0PWM2 0x00050806
  14318. #define GPIO_PF2_SSI3FSS 0x0005080E
  14319. #define GPIO_PF2_TRD0 0x0005080F
  14320. #define GPIO_PF3_EN0MDIO 0x00050C05
  14321. #define GPIO_PF3_M0PWM3 0x00050C06
  14322. #define GPIO_PF3_SSI3CLK 0x00050C0E
  14323. #define GPIO_PF3_TRCLK 0x00050C0F
  14324. #define GPIO_PF4_EN0LED1 0x00051005
  14325. #define GPIO_PF4_M0FAULT0 0x00051006
  14326. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  14327. #define GPIO_PF4_TRD3 0x0005100F
  14328. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  14329. #define GPIO_PF6_LCDMCLK 0x0005180F
  14330. #define GPIO_PF7_LCDDATA02 0x00051C0F
  14331. #define GPIO_PG0_I2C1SCL 0x00060002
  14332. #define GPIO_PG0_EN0PPS 0x00060005
  14333. #define GPIO_PG0_M0PWM4 0x00060006
  14334. #define GPIO_PG0_EPI0S11 0x0006000F
  14335. #define GPIO_PG1_I2C1SDA 0x00060402
  14336. #define GPIO_PG1_M0PWM5 0x00060406
  14337. #define GPIO_PG1_EPI0S10 0x0006040F
  14338. #define GPIO_PG2_I2C2SCL 0x00060802
  14339. #define GPIO_PG2_EN0TXCK 0x0006080E
  14340. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  14341. #define GPIO_PG3_I2C2SDA 0x00060C02
  14342. #define GPIO_PG3_EN0TXEN 0x00060C0E
  14343. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  14344. #define GPIO_PG4_U0CTS 0x00061001
  14345. #define GPIO_PG4_I2C3SCL 0x00061002
  14346. #define GPIO_PG4_OWIRE 0x00061005
  14347. #define GPIO_PG4_EN0TXD0 0x0006100E
  14348. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  14349. #define GPIO_PG5_U0RTS 0x00061401
  14350. #define GPIO_PG5_I2C3SDA 0x00061402
  14351. #define GPIO_PG5_OWALT 0x00061405
  14352. #define GPIO_PG5_EN0TXD1 0x0006140E
  14353. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  14354. #define GPIO_PG6_I2C4SCL 0x00061802
  14355. #define GPIO_PG6_OWIRE 0x00061805
  14356. #define GPIO_PG6_EN0RXER 0x0006180E
  14357. #define GPIO_PG6_SSI2FSS 0x0006180F
  14358. #define GPIO_PG7_I2C4SDA 0x00061C02
  14359. #define GPIO_PG7_OWIRE 0x00061C05
  14360. #define GPIO_PG7_EN0RXDV 0x00061C0E
  14361. #define GPIO_PG7_SSI2CLK 0x00061C0F
  14362. #define GPIO_PH0_U0RTS 0x00070001
  14363. #define GPIO_PH0_EPI0S0 0x0007000F
  14364. #define GPIO_PH1_U0CTS 0x00070401
  14365. #define GPIO_PH1_EPI0S1 0x0007040F
  14366. #define GPIO_PH2_U0DCD 0x00070801
  14367. #define GPIO_PH2_EPI0S2 0x0007080F
  14368. #define GPIO_PH3_U0DSR 0x00070C01
  14369. #define GPIO_PH3_EPI0S3 0x00070C0F
  14370. #define GPIO_PH4_U0DTR 0x00071001
  14371. #define GPIO_PH5_U0RI 0x00071401
  14372. #define GPIO_PH5_EN0PPS 0x00071405
  14373. #define GPIO_PH6_U5RX 0x00071801
  14374. #define GPIO_PH6_U7RX 0x00071802
  14375. #define GPIO_PH7_U5TX 0x00071C01
  14376. #define GPIO_PH7_U7TX 0x00071C02
  14377. #define GPIO_PJ0_U3RX 0x00080001
  14378. #define GPIO_PJ0_EN0PPS 0x00080005
  14379. #define GPIO_PJ1_U3TX 0x00080401
  14380. #define GPIO_PJ2_U2RTS 0x00080801
  14381. #define GPIO_PJ2_LCDDATA14 0x0008080F
  14382. #define GPIO_PJ3_U2CTS 0x00080C01
  14383. #define GPIO_PJ3_LCDDATA15 0x00080C0F
  14384. #define GPIO_PJ4_U3RTS 0x00081001
  14385. #define GPIO_PJ4_LCDDATA16 0x0008100F
  14386. #define GPIO_PJ5_U3CTS 0x00081401
  14387. #define GPIO_PJ5_LCDDATA17 0x0008140F
  14388. #define GPIO_PJ6_U4RTS 0x00081801
  14389. #define GPIO_PJ6_LCDAC 0x0008180F
  14390. #define GPIO_PJ7_U4CTS 0x00081C01
  14391. #define GPIO_PK0_U4RX 0x00090001
  14392. #define GPIO_PK0_EPI0S0 0x0009000F
  14393. #define GPIO_PK1_U4TX 0x00090401
  14394. #define GPIO_PK1_EPI0S1 0x0009040F
  14395. #define GPIO_PK2_U4RTS 0x00090801
  14396. #define GPIO_PK2_EPI0S2 0x0009080F
  14397. #define GPIO_PK3_U4CTS 0x00090C01
  14398. #define GPIO_PK3_EPI0S3 0x00090C0F
  14399. #define GPIO_PK4_I2C3SCL 0x00091002
  14400. #define GPIO_PK4_EN0LED0 0x00091005
  14401. #define GPIO_PK4_M0PWM6 0x00091006
  14402. #define GPIO_PK4_EN0INTRN 0x00091007
  14403. #define GPIO_PK4_EN0RXD3 0x0009100E
  14404. #define GPIO_PK4_EPI0S32 0x0009100F
  14405. #define GPIO_PK5_I2C3SDA 0x00091402
  14406. #define GPIO_PK5_EN0LED2 0x00091405
  14407. #define GPIO_PK5_M0PWM7 0x00091406
  14408. #define GPIO_PK5_EN0RXD2 0x0009140E
  14409. #define GPIO_PK5_EPI0S31 0x0009140F
  14410. #define GPIO_PK6_I2C4SCL 0x00091802
  14411. #define GPIO_PK6_EN0LED1 0x00091805
  14412. #define GPIO_PK6_M0FAULT1 0x00091806
  14413. #define GPIO_PK6_EN0TXD2 0x0009180E
  14414. #define GPIO_PK6_EPI0S25 0x0009180F
  14415. #define GPIO_PK7_U0RI 0x00091C01
  14416. #define GPIO_PK7_I2C4SDA 0x00091C02
  14417. #define GPIO_PK7_RTCCLK 0x00091C05
  14418. #define GPIO_PK7_M0FAULT2 0x00091C06
  14419. #define GPIO_PK7_EN0TXD3 0x00091C0E
  14420. #define GPIO_PK7_EPI0S24 0x00091C0F
  14421. #define GPIO_PL0_I2C2SDA 0x000A0002
  14422. #define GPIO_PL0_M0FAULT3 0x000A0006
  14423. #define GPIO_PL0_USB0D0 0x000A000E
  14424. #define GPIO_PL0_EPI0S16 0x000A000F
  14425. #define GPIO_PL1_I2C2SCL 0x000A0402
  14426. #define GPIO_PL1_PHA0 0x000A0406
  14427. #define GPIO_PL1_USB0D1 0x000A040E
  14428. #define GPIO_PL1_EPI0S17 0x000A040F
  14429. #define GPIO_PL2_C0O 0x000A0805
  14430. #define GPIO_PL2_PHB0 0x000A0806
  14431. #define GPIO_PL2_USB0D2 0x000A080E
  14432. #define GPIO_PL2_EPI0S18 0x000A080F
  14433. #define GPIO_PL3_C1O 0x000A0C05
  14434. #define GPIO_PL3_IDX0 0x000A0C06
  14435. #define GPIO_PL3_USB0D3 0x000A0C0E
  14436. #define GPIO_PL3_EPI0S19 0x000A0C0F
  14437. #define GPIO_PL4_T0CCP0 0x000A1003
  14438. #define GPIO_PL4_USB0D4 0x000A100E
  14439. #define GPIO_PL4_EPI0S26 0x000A100F
  14440. #define GPIO_PL5_T0CCP1 0x000A1403
  14441. #define GPIO_PL5_EPI0S33 0x000A140F
  14442. #define GPIO_PL5_USB0D5 0x000A140E
  14443. #define GPIO_PL6_T1CCP0 0x000A1803
  14444. #define GPIO_PL7_T1CCP1 0x000A1C03
  14445. #define GPIO_PM0_T2CCP0 0x000B0003
  14446. #define GPIO_PM0_EPI0S15 0x000B000F
  14447. #define GPIO_PM1_T2CCP1 0x000B0403
  14448. #define GPIO_PM1_EPI0S14 0x000B040F
  14449. #define GPIO_PM2_T3CCP0 0x000B0803
  14450. #define GPIO_PM2_EPI0S13 0x000B080F
  14451. #define GPIO_PM3_T3CCP1 0x000B0C03
  14452. #define GPIO_PM3_EPI0S12 0x000B0C0F
  14453. #define GPIO_PM4_U0CTS 0x000B1001
  14454. #define GPIO_PM4_T4CCP0 0x000B1003
  14455. #define GPIO_PM4_EN0RREF_CLK 0x000B100E
  14456. #define GPIO_PM5_U0DCD 0x000B1401
  14457. #define GPIO_PM5_T4CCP1 0x000B1403
  14458. #define GPIO_PM6_U0DSR 0x000B1801
  14459. #define GPIO_PM6_T5CCP0 0x000B1803
  14460. #define GPIO_PM6_EN0CRS 0x000B180E
  14461. #define GPIO_PM7_U0RI 0x000B1C01
  14462. #define GPIO_PM7_T5CCP1 0x000B1C03
  14463. #define GPIO_PM7_EN0COL 0x000B1C0E
  14464. #define GPIO_PN0_U1RTS 0x000C0001
  14465. #define GPIO_PN1_U1CTS 0x000C0401
  14466. #define GPIO_PN2_U1DCD 0x000C0801
  14467. #define GPIO_PN2_U2RTS 0x000C0802
  14468. #define GPIO_PN2_EPI0S29 0x000C080F
  14469. #define GPIO_PN3_U1DSR 0x000C0C01
  14470. #define GPIO_PN3_U2CTS 0x000C0C02
  14471. #define GPIO_PN3_EPI0S30 0x000C0C0F
  14472. #define GPIO_PN4_U1DTR 0x000C1001
  14473. #define GPIO_PN4_U3RTS 0x000C1002
  14474. #define GPIO_PN4_I2C2SDA 0x000C1003
  14475. #define GPIO_PN4_EPI0S34 0x000C100F
  14476. #define GPIO_PN5_U1RI 0x000C1401
  14477. #define GPIO_PN5_U3CTS 0x000C1402
  14478. #define GPIO_PN5_I2C2SCL 0x000C1403
  14479. #define GPIO_PN5_EPI0S35 0x000C140F
  14480. #define GPIO_PN6_U4RTS 0x000C1802
  14481. #define GPIO_PN6_EN0TXER 0x000C180E
  14482. #define GPIO_PN6_LCDDATA13 0x000C180F
  14483. #define GPIO_PN7_U1RTS 0x000C1C01
  14484. #define GPIO_PN7_U4CTS 0x000C1C02
  14485. #define GPIO_PN7_LCDDATA12 0x000C1C0F
  14486. #define GPIO_PP0_U6RX 0x000D0001
  14487. #define GPIO_PP0_T6CCP0 0x000D0005
  14488. #define GPIO_PP0_EN0INTRN 0x000D0007
  14489. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  14490. #define GPIO_PP1_U6TX 0x000D0401
  14491. #define GPIO_PP1_T6CCP1 0x000D0405
  14492. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  14493. #define GPIO_PP2_U0DTR 0x000D0801
  14494. #define GPIO_PP2_USB0NXT 0x000D080E
  14495. #define GPIO_PP2_EPI0S29 0x000D080F
  14496. #define GPIO_PP3_U1CTS 0x000D0C01
  14497. #define GPIO_PP3_U0DCD 0x000D0C02
  14498. #define GPIO_PP3_RTCCLK 0x000D0C07
  14499. #define GPIO_PP3_USB0DIR 0x000D0C0E
  14500. #define GPIO_PP3_EPI0S30 0x000D0C0F
  14501. #define GPIO_PP4_U3RTS 0x000D1001
  14502. #define GPIO_PP4_U0DSR 0x000D1002
  14503. #define GPIO_PP4_OWIRE 0x000D1004
  14504. #define GPIO_PP4_USB0D7 0x000D100E
  14505. #define GPIO_PP5_U3CTS 0x000D1401
  14506. #define GPIO_PP5_I2C2SCL 0x000D1402
  14507. #define GPIO_PP5_OWALT 0x000D1404
  14508. #define GPIO_PP5_USB0D6 0x000D140E
  14509. #define GPIO_PP6_U1DCD 0x000D1801
  14510. #define GPIO_PP6_I2C2SDA 0x000D1802
  14511. #define GPIO_PP7_OWIRE 0x000D1C05
  14512. #define GPIO_PQ0_T6CCP0 0x000E0003
  14513. #define GPIO_PQ0_SSI3CLK 0x000E000E
  14514. #define GPIO_PQ0_EPI0S20 0x000E000F
  14515. #define GPIO_PQ1_T6CCP1 0x000E0403
  14516. #define GPIO_PQ1_SSI3FSS 0x000E040E
  14517. #define GPIO_PQ1_EPI0S21 0x000E040F
  14518. #define GPIO_PQ2_T7CCP0 0x000E0803
  14519. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  14520. #define GPIO_PQ2_EPI0S22 0x000E080F
  14521. #define GPIO_PQ3_T7CCP1 0x000E0C03
  14522. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  14523. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  14524. #define GPIO_PQ4_U1RX 0x000E1001
  14525. #define GPIO_PQ4_DIVSCLK 0x000E1007
  14526. #define GPIO_PQ5_U1TX 0x000E1401
  14527. #define GPIO_PQ5_EN0RXD0 0x000E140E
  14528. #define GPIO_PQ6_U1DTR 0x000E1801
  14529. #define GPIO_PQ6_EN0RXD1 0x000E180E
  14530. #define GPIO_PQ7_U1RI 0x000E1C01
  14531. #define GPIO_PR0_U4TX 0x000F0001
  14532. #define GPIO_PR0_I2C1SCL 0x000F0002
  14533. #define GPIO_PR0_M0PWM0 0x000F0006
  14534. #define GPIO_PR0_LCDCP 0x000F000F
  14535. #define GPIO_PR1_U4RX 0x000F0401
  14536. #define GPIO_PR1_I2C1SDA 0x000F0402
  14537. #define GPIO_PR1_M0PWM1 0x000F0406
  14538. #define GPIO_PR1_LCDFP 0x000F040F
  14539. #define GPIO_PR2_I2C2SCL 0x000F0802
  14540. #define GPIO_PR2_M0PWM2 0x000F0806
  14541. #define GPIO_PR2_LCDLP 0x000F080F
  14542. #define GPIO_PR3_I2C2SDA 0x000F0C02
  14543. #define GPIO_PR3_M0PWM3 0x000F0C06
  14544. #define GPIO_PR3_LCDDATA03 0x000F0C0F
  14545. #define GPIO_PR4_I2C3SCL 0x000F1002
  14546. #define GPIO_PR4_T0CCP0 0x000F1003
  14547. #define GPIO_PR4_M0PWM4 0x000F1006
  14548. #define GPIO_PR4_LCDDATA00 0x000F100F
  14549. #define GPIO_PR5_U1RX 0x000F1401
  14550. #define GPIO_PR5_I2C3SDA 0x000F1402
  14551. #define GPIO_PR5_T0CCP1 0x000F1403
  14552. #define GPIO_PR5_M0PWM5 0x000F1406
  14553. #define GPIO_PR5_LCDDATA01 0x000F140F
  14554. #define GPIO_PR6_U1TX 0x000F1801
  14555. #define GPIO_PR6_I2C4SCL 0x000F1802
  14556. #define GPIO_PR6_T1CCP0 0x000F1803
  14557. #define GPIO_PR6_M0PWM6 0x000F1806
  14558. #define GPIO_PR6_LCDDATA04 0x000F180F
  14559. #define GPIO_PR7_I2C4SDA 0x000F1C02
  14560. #define GPIO_PR7_T1CCP1 0x000F1C03
  14561. #define GPIO_PR7_M0PWM7 0x000F1C06
  14562. #define GPIO_PR7_EN0TXEN 0x000F1C0E
  14563. #define GPIO_PR7_LCDDATA05 0x000F1C0F
  14564. #define GPIO_PS0_T2CCP0 0x00100003
  14565. #define GPIO_PS0_M0FAULT0 0x00100006
  14566. #define GPIO_PS0_LCDDATA20 0x0010000F
  14567. #define GPIO_PS1_T2CCP1 0x00100403
  14568. #define GPIO_PS1_M0FAULT1 0x00100406
  14569. #define GPIO_PS1_LCDDATA21 0x0010040F
  14570. #define GPIO_PS2_U1DSR 0x00100801
  14571. #define GPIO_PS2_T3CCP0 0x00100803
  14572. #define GPIO_PS2_M0FAULT2 0x00100806
  14573. #define GPIO_PS2_LCDDATA22 0x0010080F
  14574. #define GPIO_PS3_T3CCP1 0x00100C03
  14575. #define GPIO_PS3_M0FAULT3 0x00100C06
  14576. #define GPIO_PS3_LCDDATA23 0x00100C0F
  14577. #define GPIO_PS4_T4CCP0 0x00101003
  14578. #define GPIO_PS4_PHA0 0x00101006
  14579. #define GPIO_PS4_EN0TXD0 0x0010100E
  14580. #define GPIO_PS4_LCDDATA06 0x0010100F
  14581. #define GPIO_PS5_T4CCP1 0x00101403
  14582. #define GPIO_PS5_PHB0 0x00101406
  14583. #define GPIO_PS5_EN0TXD1 0x0010140E
  14584. #define GPIO_PS5_LCDDATA07 0x0010140F
  14585. #define GPIO_PS6_T5CCP0 0x00101803
  14586. #define GPIO_PS6_IDX0 0x00101806
  14587. #define GPIO_PS6_EN0RXER 0x0010180E
  14588. #define GPIO_PS6_LCDDATA08 0x0010180F
  14589. #define GPIO_PS7_T5CCP1 0x00101C03
  14590. #define GPIO_PS7_EN0RXDV 0x00101C0E
  14591. #define GPIO_PS7_LCDDATA09 0x00101C0F
  14592. #define GPIO_PT0_T6CCP0 0x00110003
  14593. #define GPIO_PT0_CAN0RX 0x00110007
  14594. #define GPIO_PT0_EN0RXD0 0x0011000E
  14595. #define GPIO_PT0_LCDDATA10 0x0011000F
  14596. #define GPIO_PT1_T6CCP1 0x00110403
  14597. #define GPIO_PT1_CAN0TX 0x00110407
  14598. #define GPIO_PT1_EN0RXD1 0x0011040E
  14599. #define GPIO_PT1_LCDDATA11 0x0011040F
  14600. #define GPIO_PT2_T7CCP0 0x00110803
  14601. #define GPIO_PT2_CAN1RX 0x00110807
  14602. #define GPIO_PT2_LCDDATA18 0x0011080F
  14603. #define GPIO_PT3_T7CCP1 0x00110C03
  14604. #define GPIO_PT3_CAN1TX 0x00110C07
  14605. #define GPIO_PT3_LCDDATA19 0x00110C0F
  14606. #endif // PART_TM4C129XKCZAD
  14607. //*****************************************************************************
  14608. //
  14609. // TM4C129XNCZAD Port/Pin Mapping Definitions
  14610. //
  14611. //*****************************************************************************
  14612. #ifdef PART_TM4C129XNCZAD
  14613. #define GPIO_PA0_U0RX 0x00000001
  14614. #define GPIO_PA0_I2C9SCL 0x00000002
  14615. #define GPIO_PA0_T0CCP0 0x00000003
  14616. #define GPIO_PA0_CAN0RX 0x00000007
  14617. #define GPIO_PA1_U0TX 0x00000401
  14618. #define GPIO_PA1_I2C9SDA 0x00000402
  14619. #define GPIO_PA1_T0CCP1 0x00000403
  14620. #define GPIO_PA1_CAN0TX 0x00000407
  14621. #define GPIO_PA2_U4RX 0x00000801
  14622. #define GPIO_PA2_I2C8SCL 0x00000802
  14623. #define GPIO_PA2_T1CCP0 0x00000803
  14624. #define GPIO_PA2_SSI0CLK 0x0000080F
  14625. #define GPIO_PA3_U4TX 0x00000C01
  14626. #define GPIO_PA3_I2C8SDA 0x00000C02
  14627. #define GPIO_PA3_T1CCP1 0x00000C03
  14628. #define GPIO_PA3_SSI0FSS 0x00000C0F
  14629. #define GPIO_PA4_U3RX 0x00001001
  14630. #define GPIO_PA4_T2CCP0 0x00001003
  14631. #define GPIO_PA4_I2C7SCL 0x00001002
  14632. #define GPIO_PA4_SSI0XDAT0 0x0000100F
  14633. #define GPIO_PA5_U3TX 0x00001401
  14634. #define GPIO_PA5_T2CCP1 0x00001403
  14635. #define GPIO_PA5_I2C7SDA 0x00001402
  14636. #define GPIO_PA5_SSI0XDAT1 0x0000140F
  14637. #define GPIO_PA6_U2RX 0x00001801
  14638. #define GPIO_PA6_I2C6SCL 0x00001802
  14639. #define GPIO_PA6_T3CCP0 0x00001803
  14640. #define GPIO_PA6_USB0EPEN 0x00001805
  14641. #define GPIO_PA6_SSI0XDAT2 0x0000180D
  14642. #define GPIO_PA6_EN0RXCK 0x0000180E
  14643. #define GPIO_PA6_EPI0S8 0x0000180F
  14644. #define GPIO_PA7_U2TX 0x00001C01
  14645. #define GPIO_PA7_I2C6SDA 0x00001C02
  14646. #define GPIO_PA7_T3CCP1 0x00001C03
  14647. #define GPIO_PA7_USB0PFLT 0x00001C05
  14648. #define GPIO_PA7_USB0EPEN 0x00001C0B
  14649. #define GPIO_PA7_SSI0XDAT3 0x00001C0D
  14650. #define GPIO_PA7_EPI0S9 0x00001C0F
  14651. #define GPIO_PB0_U1RX 0x00010001
  14652. #define GPIO_PB0_I2C5SCL 0x00010002
  14653. #define GPIO_PB0_CAN1RX 0x00010007
  14654. #define GPIO_PB0_T4CCP0 0x00010003
  14655. #define GPIO_PB1_U1TX 0x00010401
  14656. #define GPIO_PB1_I2C5SDA 0x00010402
  14657. #define GPIO_PB1_CAN1TX 0x00010407
  14658. #define GPIO_PB1_T4CCP1 0x00010403
  14659. #define GPIO_PB2_T5CCP0 0x00010803
  14660. #define GPIO_PB2_I2C0SCL 0x00010802
  14661. #define GPIO_PB2_EN0MDC 0x00010805
  14662. #define GPIO_PB2_USB0STP 0x0001080E
  14663. #define GPIO_PB2_EPI0S27 0x0001080F
  14664. #define GPIO_PB3_I2C0SDA 0x00010C02
  14665. #define GPIO_PB3_T5CCP1 0x00010C03
  14666. #define GPIO_PB3_EN0MDIO 0x00010C05
  14667. #define GPIO_PB3_USB0CLK 0x00010C0E
  14668. #define GPIO_PB3_EPI0S28 0x00010C0F
  14669. #define GPIO_PB4_U0CTS 0x00011001
  14670. #define GPIO_PB4_I2C5SCL 0x00011002
  14671. #define GPIO_PB4_SSI1FSS 0x0001100F
  14672. #define GPIO_PB5_U0RTS 0x00011401
  14673. #define GPIO_PB5_I2C5SDA 0x00011402
  14674. #define GPIO_PB5_SSI1CLK 0x0001140F
  14675. #define GPIO_PB6_I2C6SCL 0x00011802
  14676. #define GPIO_PB6_T6CCP0 0x00011803
  14677. #define GPIO_PB7_I2C6SDA 0x00011C02
  14678. #define GPIO_PB7_T6CCP1 0x00011C03
  14679. #define GPIO_PC0_TCK 0x00020001
  14680. #define GPIO_PC0_SWCLK 0x00020001
  14681. #define GPIO_PC1_TMS 0x00020401
  14682. #define GPIO_PC1_SWDIO 0x00020401
  14683. #define GPIO_PC2_TDI 0x00020801
  14684. #define GPIO_PC3_SWO 0x00020C01
  14685. #define GPIO_PC3_TDO 0x00020C01
  14686. #define GPIO_PC4_U7RX 0x00021001
  14687. #define GPIO_PC4_T7CCP0 0x00021003
  14688. #define GPIO_PC4_EPI0S7 0x0002100F
  14689. #define GPIO_PC5_U7TX 0x00021401
  14690. #define GPIO_PC5_T7CCP1 0x00021403
  14691. #define GPIO_PC5_RTCCLK 0x00021407
  14692. #define GPIO_PC5_EPI0S6 0x0002140F
  14693. #define GPIO_PC6_U5RX 0x00021801
  14694. #define GPIO_PC6_EPI0S5 0x0002180F
  14695. #define GPIO_PC7_U5TX 0x00021C01
  14696. #define GPIO_PC7_EPI0S4 0x00021C0F
  14697. #define GPIO_PD0_I2C7SCL 0x00030002
  14698. #define GPIO_PD0_T0CCP0 0x00030003
  14699. #define GPIO_PD0_C0O 0x00030005
  14700. #define GPIO_PD0_SSI2XDAT1 0x0003000F
  14701. #define GPIO_PD1_I2C7SDA 0x00030402
  14702. #define GPIO_PD1_T0CCP1 0x00030403
  14703. #define GPIO_PD1_C1O 0x00030405
  14704. #define GPIO_PD1_SSI2XDAT0 0x0003040F
  14705. #define GPIO_PD2_I2C8SCL 0x00030802
  14706. #define GPIO_PD2_T1CCP0 0x00030803
  14707. #define GPIO_PD2_C2O 0x00030805
  14708. #define GPIO_PD2_SSI2FSS 0x0003080F
  14709. #define GPIO_PD3_I2C8SDA 0x00030C02
  14710. #define GPIO_PD3_T1CCP1 0x00030C03
  14711. #define GPIO_PD3_SSI2CLK 0x00030C0F
  14712. #define GPIO_PD4_U2RX 0x00031001
  14713. #define GPIO_PD4_T3CCP0 0x00031003
  14714. #define GPIO_PD4_SSI1XDAT2 0x0003100F
  14715. #define GPIO_PD5_U2TX 0x00031401
  14716. #define GPIO_PD5_T3CCP1 0x00031403
  14717. #define GPIO_PD5_SSI1XDAT3 0x0003140F
  14718. #define GPIO_PD6_U2RTS 0x00031801
  14719. #define GPIO_PD6_T4CCP0 0x00031803
  14720. #define GPIO_PD6_USB0EPEN 0x00031805
  14721. #define GPIO_PD6_SSI2XDAT3 0x0003180F
  14722. #define GPIO_PD7_U2CTS 0x00031C01
  14723. #define GPIO_PD7_T4CCP1 0x00031C03
  14724. #define GPIO_PD7_USB0PFLT 0x00031C05
  14725. #define GPIO_PD7_NMI 0x00031C08
  14726. #define GPIO_PD7_SSI2XDAT2 0x00031C0F
  14727. #define GPIO_PE0_U1RTS 0x00040001
  14728. #define GPIO_PE1_U1DSR 0x00040401
  14729. #define GPIO_PE2_U1DCD 0x00040801
  14730. #define GPIO_PE3_U1DTR 0x00040C01
  14731. #define GPIO_PE3_OWIRE 0x00040C05
  14732. #define GPIO_PE4_U1RI 0x00041001
  14733. #define GPIO_PE4_SSI1XDAT0 0x0004100F
  14734. #define GPIO_PE5_SSI1XDAT1 0x0004140F
  14735. #define GPIO_PE6_U0CTS 0x00041801
  14736. #define GPIO_PE6_I2C9SCL 0x00041802
  14737. #define GPIO_PE7_U0RTS 0x00041C01
  14738. #define GPIO_PE7_I2C9SDA 0x00041C02
  14739. #define GPIO_PE7_NMI 0x00041C08
  14740. #define GPIO_PF0_EN0LED0 0x00050005
  14741. #define GPIO_PF0_M0PWM0 0x00050006
  14742. #define GPIO_PF0_SSI3XDAT1 0x0005000E
  14743. #define GPIO_PF0_TRD2 0x0005000F
  14744. #define GPIO_PF1_EN0LED2 0x00050405
  14745. #define GPIO_PF1_M0PWM1 0x00050406
  14746. #define GPIO_PF1_SSI3XDAT0 0x0005040E
  14747. #define GPIO_PF1_TRD1 0x0005040F
  14748. #define GPIO_PF2_EN0MDC 0x00050805
  14749. #define GPIO_PF2_M0PWM2 0x00050806
  14750. #define GPIO_PF2_SSI3FSS 0x0005080E
  14751. #define GPIO_PF2_TRD0 0x0005080F
  14752. #define GPIO_PF3_EN0MDIO 0x00050C05
  14753. #define GPIO_PF3_M0PWM3 0x00050C06
  14754. #define GPIO_PF3_SSI3CLK 0x00050C0E
  14755. #define GPIO_PF3_TRCLK 0x00050C0F
  14756. #define GPIO_PF4_EN0LED1 0x00051005
  14757. #define GPIO_PF4_M0FAULT0 0x00051006
  14758. #define GPIO_PF4_SSI3XDAT2 0x0005100E
  14759. #define GPIO_PF4_TRD3 0x0005100F
  14760. #define GPIO_PF5_SSI3XDAT3 0x0005140E
  14761. #define GPIO_PF6_LCDMCLK 0x0005180F
  14762. #define GPIO_PF7_LCDDATA02 0x00051C0F
  14763. #define GPIO_PG0_I2C1SCL 0x00060002
  14764. #define GPIO_PG0_EN0PPS 0x00060005
  14765. #define GPIO_PG0_M0PWM4 0x00060006
  14766. #define GPIO_PG0_EPI0S11 0x0006000F
  14767. #define GPIO_PG1_I2C1SDA 0x00060402
  14768. #define GPIO_PG1_M0PWM5 0x00060406
  14769. #define GPIO_PG1_EPI0S10 0x0006040F
  14770. #define GPIO_PG2_I2C2SCL 0x00060802
  14771. #define GPIO_PG2_EN0TXCK 0x0006080E
  14772. #define GPIO_PG2_SSI2XDAT3 0x0006080F
  14773. #define GPIO_PG3_I2C2SDA 0x00060C02
  14774. #define GPIO_PG3_EN0TXEN 0x00060C0E
  14775. #define GPIO_PG3_SSI2XDAT2 0x00060C0F
  14776. #define GPIO_PG4_U0CTS 0x00061001
  14777. #define GPIO_PG4_I2C3SCL 0x00061002
  14778. #define GPIO_PG4_OWIRE 0x00061005
  14779. #define GPIO_PG4_EN0TXD0 0x0006100E
  14780. #define GPIO_PG4_SSI2XDAT1 0x0006100F
  14781. #define GPIO_PG5_U0RTS 0x00061401
  14782. #define GPIO_PG5_I2C3SDA 0x00061402
  14783. #define GPIO_PG5_OWALT 0x00061405
  14784. #define GPIO_PG5_EN0TXD1 0x0006140E
  14785. #define GPIO_PG5_SSI2XDAT0 0x0006140F
  14786. #define GPIO_PG6_I2C4SCL 0x00061802
  14787. #define GPIO_PG6_OWIRE 0x00061805
  14788. #define GPIO_PG6_EN0RXER 0x0006180E
  14789. #define GPIO_PG6_SSI2FSS 0x0006180F
  14790. #define GPIO_PG7_I2C4SDA 0x00061C02
  14791. #define GPIO_PG7_OWIRE 0x00061C05
  14792. #define GPIO_PG7_EN0RXDV 0x00061C0E
  14793. #define GPIO_PG7_SSI2CLK 0x00061C0F
  14794. #define GPIO_PH0_U0RTS 0x00070001
  14795. #define GPIO_PH0_EPI0S0 0x0007000F
  14796. #define GPIO_PH1_U0CTS 0x00070401
  14797. #define GPIO_PH1_EPI0S1 0x0007040F
  14798. #define GPIO_PH2_U0DCD 0x00070801
  14799. #define GPIO_PH2_EPI0S2 0x0007080F
  14800. #define GPIO_PH3_U0DSR 0x00070C01
  14801. #define GPIO_PH3_EPI0S3 0x00070C0F
  14802. #define GPIO_PH4_U0DTR 0x00071001
  14803. #define GPIO_PH5_U0RI 0x00071401
  14804. #define GPIO_PH5_EN0PPS 0x00071405
  14805. #define GPIO_PH6_U5RX 0x00071801
  14806. #define GPIO_PH6_U7RX 0x00071802
  14807. #define GPIO_PH7_U5TX 0x00071C01
  14808. #define GPIO_PH7_U7TX 0x00071C02
  14809. #define GPIO_PJ0_U3RX 0x00080001
  14810. #define GPIO_PJ0_EN0PPS 0x00080005
  14811. #define GPIO_PJ1_U3TX 0x00080401
  14812. #define GPIO_PJ2_U2RTS 0x00080801
  14813. #define GPIO_PJ2_LCDDATA14 0x0008080F
  14814. #define GPIO_PJ3_U2CTS 0x00080C01
  14815. #define GPIO_PJ3_LCDDATA15 0x00080C0F
  14816. #define GPIO_PJ4_U3RTS 0x00081001
  14817. #define GPIO_PJ4_LCDDATA16 0x0008100F
  14818. #define GPIO_PJ5_U3CTS 0x00081401
  14819. #define GPIO_PJ5_LCDDATA17 0x0008140F
  14820. #define GPIO_PJ6_U4RTS 0x00081801
  14821. #define GPIO_PJ6_LCDAC 0x0008180F
  14822. #define GPIO_PJ7_U4CTS 0x00081C01
  14823. #define GPIO_PK0_U4RX 0x00090001
  14824. #define GPIO_PK0_EPI0S0 0x0009000F
  14825. #define GPIO_PK1_U4TX 0x00090401
  14826. #define GPIO_PK1_EPI0S1 0x0009040F
  14827. #define GPIO_PK2_U4RTS 0x00090801
  14828. #define GPIO_PK2_EPI0S2 0x0009080F
  14829. #define GPIO_PK3_U4CTS 0x00090C01
  14830. #define GPIO_PK3_EPI0S3 0x00090C0F
  14831. #define GPIO_PK4_I2C3SCL 0x00091002
  14832. #define GPIO_PK4_EN0LED0 0x00091005
  14833. #define GPIO_PK4_M0PWM6 0x00091006
  14834. #define GPIO_PK4_EN0INTRN 0x00091007
  14835. #define GPIO_PK4_EN0RXD3 0x0009100E
  14836. #define GPIO_PK4_EPI0S32 0x0009100F
  14837. #define GPIO_PK5_I2C3SDA 0x00091402
  14838. #define GPIO_PK5_EN0LED2 0x00091405
  14839. #define GPIO_PK5_M0PWM7 0x00091406
  14840. #define GPIO_PK5_EN0RXD2 0x0009140E
  14841. #define GPIO_PK5_EPI0S31 0x0009140F
  14842. #define GPIO_PK6_I2C4SCL 0x00091802
  14843. #define GPIO_PK6_EN0LED1 0x00091805
  14844. #define GPIO_PK6_M0FAULT1 0x00091806
  14845. #define GPIO_PK6_EN0TXD2 0x0009180E
  14846. #define GPIO_PK6_EPI0S25 0x0009180F
  14847. #define GPIO_PK7_U0RI 0x00091C01
  14848. #define GPIO_PK7_I2C4SDA 0x00091C02
  14849. #define GPIO_PK7_RTCCLK 0x00091C05
  14850. #define GPIO_PK7_M0FAULT2 0x00091C06
  14851. #define GPIO_PK7_EN0TXD3 0x00091C0E
  14852. #define GPIO_PK7_EPI0S24 0x00091C0F
  14853. #define GPIO_PL0_I2C2SDA 0x000A0002
  14854. #define GPIO_PL0_M0FAULT3 0x000A0006
  14855. #define GPIO_PL0_USB0D0 0x000A000E
  14856. #define GPIO_PL0_EPI0S16 0x000A000F
  14857. #define GPIO_PL1_I2C2SCL 0x000A0402
  14858. #define GPIO_PL1_PHA0 0x000A0406
  14859. #define GPIO_PL1_USB0D1 0x000A040E
  14860. #define GPIO_PL1_EPI0S17 0x000A040F
  14861. #define GPIO_PL2_C0O 0x000A0805
  14862. #define GPIO_PL2_PHB0 0x000A0806
  14863. #define GPIO_PL2_USB0D2 0x000A080E
  14864. #define GPIO_PL2_EPI0S18 0x000A080F
  14865. #define GPIO_PL3_C1O 0x000A0C05
  14866. #define GPIO_PL3_IDX0 0x000A0C06
  14867. #define GPIO_PL3_USB0D3 0x000A0C0E
  14868. #define GPIO_PL3_EPI0S19 0x000A0C0F
  14869. #define GPIO_PL4_T0CCP0 0x000A1003
  14870. #define GPIO_PL4_USB0D4 0x000A100E
  14871. #define GPIO_PL4_EPI0S26 0x000A100F
  14872. #define GPIO_PL5_T0CCP1 0x000A1403
  14873. #define GPIO_PL5_EPI0S33 0x000A140F
  14874. #define GPIO_PL5_USB0D5 0x000A140E
  14875. #define GPIO_PL6_T1CCP0 0x000A1803
  14876. #define GPIO_PL7_T1CCP1 0x000A1C03
  14877. #define GPIO_PM0_T2CCP0 0x000B0003
  14878. #define GPIO_PM0_EPI0S15 0x000B000F
  14879. #define GPIO_PM1_T2CCP1 0x000B0403
  14880. #define GPIO_PM1_EPI0S14 0x000B040F
  14881. #define GPIO_PM2_T3CCP0 0x000B0803
  14882. #define GPIO_PM2_EPI0S13 0x000B080F
  14883. #define GPIO_PM3_T3CCP1 0x000B0C03
  14884. #define GPIO_PM3_EPI0S12 0x000B0C0F
  14885. #define GPIO_PM4_U0CTS 0x000B1001
  14886. #define GPIO_PM4_T4CCP0 0x000B1003
  14887. #define GPIO_PM4_EN0RREF_CLK 0x000B100E
  14888. #define GPIO_PM5_U0DCD 0x000B1401
  14889. #define GPIO_PM5_T4CCP1 0x000B1403
  14890. #define GPIO_PM6_U0DSR 0x000B1801
  14891. #define GPIO_PM6_T5CCP0 0x000B1803
  14892. #define GPIO_PM6_EN0CRS 0x000B180E
  14893. #define GPIO_PM7_U0RI 0x000B1C01
  14894. #define GPIO_PM7_T5CCP1 0x000B1C03
  14895. #define GPIO_PM7_EN0COL 0x000B1C0E
  14896. #define GPIO_PN0_U1RTS 0x000C0001
  14897. #define GPIO_PN1_U1CTS 0x000C0401
  14898. #define GPIO_PN2_U1DCD 0x000C0801
  14899. #define GPIO_PN2_U2RTS 0x000C0802
  14900. #define GPIO_PN2_EPI0S29 0x000C080F
  14901. #define GPIO_PN3_U1DSR 0x000C0C01
  14902. #define GPIO_PN3_U2CTS 0x000C0C02
  14903. #define GPIO_PN3_EPI0S30 0x000C0C0F
  14904. #define GPIO_PN4_U1DTR 0x000C1001
  14905. #define GPIO_PN4_U3RTS 0x000C1002
  14906. #define GPIO_PN4_I2C2SDA 0x000C1003
  14907. #define GPIO_PN4_EPI0S34 0x000C100F
  14908. #define GPIO_PN5_U1RI 0x000C1401
  14909. #define GPIO_PN5_U3CTS 0x000C1402
  14910. #define GPIO_PN5_I2C2SCL 0x000C1403
  14911. #define GPIO_PN5_EPI0S35 0x000C140F
  14912. #define GPIO_PN6_U4RTS 0x000C1802
  14913. #define GPIO_PN6_EN0TXER 0x000C180E
  14914. #define GPIO_PN6_LCDDATA13 0x000C180F
  14915. #define GPIO_PN7_U1RTS 0x000C1C01
  14916. #define GPIO_PN7_U4CTS 0x000C1C02
  14917. #define GPIO_PN7_LCDDATA12 0x000C1C0F
  14918. #define GPIO_PP0_U6RX 0x000D0001
  14919. #define GPIO_PP0_T6CCP0 0x000D0005
  14920. #define GPIO_PP0_EN0INTRN 0x000D0007
  14921. #define GPIO_PP0_SSI3XDAT2 0x000D000F
  14922. #define GPIO_PP1_U6TX 0x000D0401
  14923. #define GPIO_PP1_T6CCP1 0x000D0405
  14924. #define GPIO_PP1_SSI3XDAT3 0x000D040F
  14925. #define GPIO_PP2_U0DTR 0x000D0801
  14926. #define GPIO_PP2_USB0NXT 0x000D080E
  14927. #define GPIO_PP2_EPI0S29 0x000D080F
  14928. #define GPIO_PP3_U1CTS 0x000D0C01
  14929. #define GPIO_PP3_U0DCD 0x000D0C02
  14930. #define GPIO_PP3_RTCCLK 0x000D0C07
  14931. #define GPIO_PP3_USB0DIR 0x000D0C0E
  14932. #define GPIO_PP3_EPI0S30 0x000D0C0F
  14933. #define GPIO_PP4_U3RTS 0x000D1001
  14934. #define GPIO_PP4_U0DSR 0x000D1002
  14935. #define GPIO_PP4_OWIRE 0x000D1004
  14936. #define GPIO_PP4_USB0D7 0x000D100E
  14937. #define GPIO_PP5_U3CTS 0x000D1401
  14938. #define GPIO_PP5_I2C2SCL 0x000D1402
  14939. #define GPIO_PP5_OWALT 0x000D1404
  14940. #define GPIO_PP5_USB0D6 0x000D140E
  14941. #define GPIO_PP6_U1DCD 0x000D1801
  14942. #define GPIO_PP6_I2C2SDA 0x000D1802
  14943. #define GPIO_PP7_OWIRE 0x000D1C05
  14944. #define GPIO_PQ0_T6CCP0 0x000E0003
  14945. #define GPIO_PQ0_SSI3CLK 0x000E000E
  14946. #define GPIO_PQ0_EPI0S20 0x000E000F
  14947. #define GPIO_PQ1_T6CCP1 0x000E0403
  14948. #define GPIO_PQ1_SSI3FSS 0x000E040E
  14949. #define GPIO_PQ1_EPI0S21 0x000E040F
  14950. #define GPIO_PQ2_T7CCP0 0x000E0803
  14951. #define GPIO_PQ2_SSI3XDAT0 0x000E080E
  14952. #define GPIO_PQ2_EPI0S22 0x000E080F
  14953. #define GPIO_PQ3_T7CCP1 0x000E0C03
  14954. #define GPIO_PQ3_SSI3XDAT1 0x000E0C0E
  14955. #define GPIO_PQ3_EPI0S23 0x000E0C0F
  14956. #define GPIO_PQ4_U1RX 0x000E1001
  14957. #define GPIO_PQ4_DIVSCLK 0x000E1007
  14958. #define GPIO_PQ5_U1TX 0x000E1401
  14959. #define GPIO_PQ5_EN0RXD0 0x000E140E
  14960. #define GPIO_PQ6_U1DTR 0x000E1801
  14961. #define GPIO_PQ6_EN0RXD1 0x000E180E
  14962. #define GPIO_PQ7_U1RI 0x000E1C01
  14963. #define GPIO_PR0_U4TX 0x000F0001
  14964. #define GPIO_PR0_I2C1SCL 0x000F0002
  14965. #define GPIO_PR0_M0PWM0 0x000F0006
  14966. #define GPIO_PR0_LCDCP 0x000F000F
  14967. #define GPIO_PR1_U4RX 0x000F0401
  14968. #define GPIO_PR1_I2C1SDA 0x000F0402
  14969. #define GPIO_PR1_M0PWM1 0x000F0406
  14970. #define GPIO_PR1_LCDFP 0x000F040F
  14971. #define GPIO_PR2_I2C2SCL 0x000F0802
  14972. #define GPIO_PR2_M0PWM2 0x000F0806
  14973. #define GPIO_PR2_LCDLP 0x000F080F
  14974. #define GPIO_PR3_I2C2SDA 0x000F0C02
  14975. #define GPIO_PR3_M0PWM3 0x000F0C06
  14976. #define GPIO_PR3_LCDDATA03 0x000F0C0F
  14977. #define GPIO_PR4_I2C3SCL 0x000F1002
  14978. #define GPIO_PR4_T0CCP0 0x000F1003
  14979. #define GPIO_PR4_M0PWM4 0x000F1006
  14980. #define GPIO_PR4_LCDDATA00 0x000F100F
  14981. #define GPIO_PR5_U1RX 0x000F1401
  14982. #define GPIO_PR5_I2C3SDA 0x000F1402
  14983. #define GPIO_PR5_T0CCP1 0x000F1403
  14984. #define GPIO_PR5_M0PWM5 0x000F1406
  14985. #define GPIO_PR5_LCDDATA01 0x000F140F
  14986. #define GPIO_PR6_U1TX 0x000F1801
  14987. #define GPIO_PR6_I2C4SCL 0x000F1802
  14988. #define GPIO_PR6_T1CCP0 0x000F1803
  14989. #define GPIO_PR6_M0PWM6 0x000F1806
  14990. #define GPIO_PR6_LCDDATA04 0x000F180F
  14991. #define GPIO_PR7_I2C4SDA 0x000F1C02
  14992. #define GPIO_PR7_T1CCP1 0x000F1C03
  14993. #define GPIO_PR7_M0PWM7 0x000F1C06
  14994. #define GPIO_PR7_EN0TXEN 0x000F1C0E
  14995. #define GPIO_PR7_LCDDATA05 0x000F1C0F
  14996. #define GPIO_PS0_T2CCP0 0x00100003
  14997. #define GPIO_PS0_M0FAULT0 0x00100006
  14998. #define GPIO_PS0_LCDDATA20 0x0010000F
  14999. #define GPIO_PS1_T2CCP1 0x00100403
  15000. #define GPIO_PS1_M0FAULT1 0x00100406
  15001. #define GPIO_PS1_LCDDATA21 0x0010040F
  15002. #define GPIO_PS2_U1DSR 0x00100801
  15003. #define GPIO_PS2_T3CCP0 0x00100803
  15004. #define GPIO_PS2_M0FAULT2 0x00100806
  15005. #define GPIO_PS2_LCDDATA22 0x0010080F
  15006. #define GPIO_PS3_T3CCP1 0x00100C03
  15007. #define GPIO_PS3_M0FAULT3 0x00100C06
  15008. #define GPIO_PS3_LCDDATA23 0x00100C0F
  15009. #define GPIO_PS4_T4CCP0 0x00101003
  15010. #define GPIO_PS4_PHA0 0x00101006
  15011. #define GPIO_PS4_EN0TXD0 0x0010100E
  15012. #define GPIO_PS4_LCDDATA06 0x0010100F
  15013. #define GPIO_PS5_T4CCP1 0x00101403
  15014. #define GPIO_PS5_PHB0 0x00101406
  15015. #define GPIO_PS5_EN0TXD1 0x0010140E
  15016. #define GPIO_PS5_LCDDATA07 0x0010140F
  15017. #define GPIO_PS6_T5CCP0 0x00101803
  15018. #define GPIO_PS6_IDX0 0x00101806
  15019. #define GPIO_PS6_EN0RXER 0x0010180E
  15020. #define GPIO_PS6_LCDDATA08 0x0010180F
  15021. #define GPIO_PS7_T5CCP1 0x00101C03
  15022. #define GPIO_PS7_EN0RXDV 0x00101C0E
  15023. #define GPIO_PS7_LCDDATA09 0x00101C0F
  15024. #define GPIO_PT0_T6CCP0 0x00110003
  15025. #define GPIO_PT0_CAN0RX 0x00110007
  15026. #define GPIO_PT0_EN0RXD0 0x0011000E
  15027. #define GPIO_PT0_LCDDATA10 0x0011000F
  15028. #define GPIO_PT1_T6CCP1 0x00110403
  15029. #define GPIO_PT1_CAN0TX 0x00110407
  15030. #define GPIO_PT1_EN0RXD1 0x0011040E
  15031. #define GPIO_PT1_LCDDATA11 0x0011040F
  15032. #define GPIO_PT2_T7CCP0 0x00110803
  15033. #define GPIO_PT2_CAN1RX 0x00110807
  15034. #define GPIO_PT2_LCDDATA18 0x0011080F
  15035. #define GPIO_PT3_T7CCP1 0x00110C03
  15036. #define GPIO_PT3_CAN1TX 0x00110C07
  15037. #define GPIO_PT3_LCDDATA19 0x00110C0F
  15038. #endif // PART_TM4C129XNCZAD
  15039. #endif // __DRIVERLIB_PIN_MAP_H__