12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704 |
- //*****************************************************************************
- //
- // hw_sysctl.h - Macros used when accessing the system control hardware.
- //
- // Copyright (c) 2005-2014 Texas Instruments Incorporated. All rights reserved.
- // Software License Agreement
- //
- // Redistribution and use in source and binary forms, with or without
- // modification, are permitted provided that the following conditions
- // are met:
- //
- // Redistributions of source code must retain the above copyright
- // notice, this list of conditions and the following disclaimer.
- //
- // Redistributions in binary form must reproduce the above copyright
- // notice, this list of conditions and the following disclaimer in the
- // documentation and/or other materials provided with the
- // distribution.
- //
- // Neither the name of Texas Instruments Incorporated nor the names of
- // its contributors may be used to endorse or promote products derived
- // from this software without specific prior written permission.
- //
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- //
- // This is part of revision 2.1.0.12573 of the Tiva Firmware Development Package.
- //
- //*****************************************************************************
- #ifndef __HW_SYSCTL_H__
- #define __HW_SYSCTL_H__
- //*****************************************************************************
- //
- // The following are defines for the System Control register addresses.
- //
- //*****************************************************************************
- #define SYSCTL_DID0 0x400FE000 // Device Identification 0
- #define SYSCTL_DID1 0x400FE004 // Device Identification 1
- #define SYSCTL_DC0 0x400FE008 // Device Capabilities 0
- #define SYSCTL_DC1 0x400FE010 // Device Capabilities 1
- #define SYSCTL_DC2 0x400FE014 // Device Capabilities 2
- #define SYSCTL_DC3 0x400FE018 // Device Capabilities 3
- #define SYSCTL_DC4 0x400FE01C // Device Capabilities 4
- #define SYSCTL_DC5 0x400FE020 // Device Capabilities 5
- #define SYSCTL_DC6 0x400FE024 // Device Capabilities 6
- #define SYSCTL_DC7 0x400FE028 // Device Capabilities 7
- #define SYSCTL_DC8 0x400FE02C // Device Capabilities 8
- #define SYSCTL_PBORCTL 0x400FE030 // Brown-Out Reset Control
- #define SYSCTL_PTBOCTL 0x400FE038 // Power-Temp Brown Out Control
- #define SYSCTL_SRCR0 0x400FE040 // Software Reset Control 0
- #define SYSCTL_SRCR1 0x400FE044 // Software Reset Control 1
- #define SYSCTL_SRCR2 0x400FE048 // Software Reset Control 2
- #define SYSCTL_RIS 0x400FE050 // Raw Interrupt Status
- #define SYSCTL_IMC 0x400FE054 // Interrupt Mask Control
- #define SYSCTL_MISC 0x400FE058 // Masked Interrupt Status and
- // Clear
- #define SYSCTL_RESC 0x400FE05C // Reset Cause
- #define SYSCTL_PWRTC 0x400FE060 // Power-Temperature Cause
- #define SYSCTL_RCC 0x400FE060 // Run-Mode Clock Configuration
- #define SYSCTL_NMIC 0x400FE064 // NMI Cause Register
- #define SYSCTL_GPIOHBCTL 0x400FE06C // GPIO High-Performance Bus
- // Control
- #define SYSCTL_RCC2 0x400FE070 // Run-Mode Clock Configuration 2
- #define SYSCTL_MOSCCTL 0x400FE07C // Main Oscillator Control
- #define SYSCTL_RSCLKCFG 0x400FE0B0 // Run and Sleep Mode Configuration
- // Register
- #define SYSCTL_MEMTIM0 0x400FE0C0 // Memory Timing Parameter Register
- // 0 for Main Flash and EEPROM
- #define SYSCTL_RCGC0 0x400FE100 // Run Mode Clock Gating Control
- // Register 0
- #define SYSCTL_RCGC1 0x400FE104 // Run Mode Clock Gating Control
- // Register 1
- #define SYSCTL_RCGC2 0x400FE108 // Run Mode Clock Gating Control
- // Register 2
- #define SYSCTL_SCGC0 0x400FE110 // Sleep Mode Clock Gating Control
- // Register 0
- #define SYSCTL_SCGC1 0x400FE114 // Sleep Mode Clock Gating Control
- // Register 1
- #define SYSCTL_SCGC2 0x400FE118 // Sleep Mode Clock Gating Control
- // Register 2
- #define SYSCTL_DCGC0 0x400FE120 // Deep Sleep Mode Clock Gating
- // Control Register 0
- #define SYSCTL_DCGC1 0x400FE124 // Deep-Sleep Mode Clock Gating
- // Control Register 1
- #define SYSCTL_DCGC2 0x400FE128 // Deep Sleep Mode Clock Gating
- // Control Register 2
- #define SYSCTL_ALTCLKCFG 0x400FE138 // Alternate Clock Configuration
- #define SYSCTL_DSLPCLKCFG 0x400FE144 // Deep Sleep Clock Configuration
- #define SYSCTL_DSCLKCFG 0x400FE144 // Deep Sleep Clock Configuration
- // Register
- #define SYSCTL_DIVSCLK 0x400FE148 // Divisor and Source Clock
- // Configuration
- #define SYSCTL_SYSPROP 0x400FE14C // System Properties
- #define SYSCTL_PIOSCCAL 0x400FE150 // Precision Internal Oscillator
- // Calibration
- #define SYSCTL_PIOSCSTAT 0x400FE154 // Precision Internal Oscillator
- // Statistics
- #define SYSCTL_PLLFREQ0 0x400FE160 // PLL Frequency 0
- #define SYSCTL_PLLFREQ1 0x400FE164 // PLL Frequency 1
- #define SYSCTL_PLLSTAT 0x400FE168 // PLL Status
- #define SYSCTL_SLPPWRCFG 0x400FE188 // Sleep Power Configuration
- #define SYSCTL_DSLPPWRCFG 0x400FE18C // Deep-Sleep Power Configuration
- #define SYSCTL_DC9 0x400FE190 // Device Capabilities 9
- #define SYSCTL_NVMSTAT 0x400FE1A0 // Non-Volatile Memory Information
- #define SYSCTL_LDOSPCTL 0x400FE1B4 // LDO Sleep Power Control
- #define SYSCTL_LDODPCTL 0x400FE1BC // LDO Deep-Sleep Power Control
- #define SYSCTL_RESBEHAVCTL 0x400FE1D8 // Reset Behavior Control Register
- #define SYSCTL_HSSR 0x400FE1F4 // Hardware System Service Request
- #define SYSCTL_USBPDS 0x400FE280 // USB Power Domain Status
- #define SYSCTL_USBMPC 0x400FE284 // USB Memory Power Control
- #define SYSCTL_EMACPDS 0x400FE288 // Ethernet MAC Power Domain Status
- #define SYSCTL_EMACMPC 0x400FE28C // Ethernet MAC Memory Power
- // Control
- #define SYSCTL_LCDMPC 0x400FE294 // LCD Memory Power Control
- #define SYSCTL_PPWD 0x400FE300 // Watchdog Timer Peripheral
- // Present
- #define SYSCTL_PPTIMER 0x400FE304 // 16/32-Bit General-Purpose Timer
- // Peripheral Present
- #define SYSCTL_PPGPIO 0x400FE308 // General-Purpose Input/Output
- // Peripheral Present
- #define SYSCTL_PPDMA 0x400FE30C // Micro Direct Memory Access
- // Peripheral Present
- #define SYSCTL_PPEPI 0x400FE310 // EPI Peripheral Present
- #define SYSCTL_PPHIB 0x400FE314 // Hibernation Peripheral Present
- #define SYSCTL_PPUART 0x400FE318 // Universal Asynchronous
- // Receiver/Transmitter Peripheral
- // Present
- #define SYSCTL_PPSSI 0x400FE31C // Synchronous Serial Interface
- // Peripheral Present
- #define SYSCTL_PPI2C 0x400FE320 // Inter-Integrated Circuit
- // Peripheral Present
- #define SYSCTL_PPUSB 0x400FE328 // Universal Serial Bus Peripheral
- // Present
- #define SYSCTL_PPEPHY 0x400FE330 // Ethernet PHY Peripheral Present
- #define SYSCTL_PPCAN 0x400FE334 // Controller Area Network
- // Peripheral Present
- #define SYSCTL_PPADC 0x400FE338 // Analog-to-Digital Converter
- // Peripheral Present
- #define SYSCTL_PPACMP 0x400FE33C // Analog Comparator Peripheral
- // Present
- #define SYSCTL_PPPWM 0x400FE340 // Pulse Width Modulator Peripheral
- // Present
- #define SYSCTL_PPQEI 0x400FE344 // Quadrature Encoder Interface
- // Peripheral Present
- #define SYSCTL_PPLPC 0x400FE348 // Low Pin Count Interface
- // Peripheral Present
- #define SYSCTL_PPPECI 0x400FE350 // Platform Environment Control
- // Interface Peripheral Present
- #define SYSCTL_PPFAN 0x400FE354 // Fan Control Peripheral Present
- #define SYSCTL_PPEEPROM 0x400FE358 // EEPROM Peripheral Present
- #define SYSCTL_PPWTIMER 0x400FE35C // 32/64-Bit Wide General-Purpose
- // Timer Peripheral Present
- #define SYSCTL_PPRTS 0x400FE370 // Remote Temperature Sensor
- // Peripheral Present
- #define SYSCTL_PPCCM 0x400FE374 // CRC and Cryptographic Modules
- // Peripheral Present
- #define SYSCTL_PPLCD 0x400FE390 // LCD Peripheral Present
- #define SYSCTL_PPOWIRE 0x400FE398 // 1-Wire Peripheral Present
- #define SYSCTL_PPEMAC 0x400FE39C // Ethernet MAC Peripheral Present
- #define SYSCTL_PPHIM 0x400FE3A4 // Human Interface Master
- // Peripheral Present
- #define SYSCTL_SRWD 0x400FE500 // Watchdog Timer Software Reset
- #define SYSCTL_SRTIMER 0x400FE504 // 16/32-Bit General-Purpose Timer
- // Software Reset
- #define SYSCTL_SRGPIO 0x400FE508 // General-Purpose Input/Output
- // Software Reset
- #define SYSCTL_SRDMA 0x400FE50C // Micro Direct Memory Access
- // Software Reset
- #define SYSCTL_SREPI 0x400FE510 // EPI Software Reset
- #define SYSCTL_SRHIB 0x400FE514 // Hibernation Software Reset
- #define SYSCTL_SRUART 0x400FE518 // Universal Asynchronous
- // Receiver/Transmitter Software
- // Reset
- #define SYSCTL_SRSSI 0x400FE51C // Synchronous Serial Interface
- // Software Reset
- #define SYSCTL_SRI2C 0x400FE520 // Inter-Integrated Circuit
- // Software Reset
- #define SYSCTL_SRUSB 0x400FE528 // Universal Serial Bus Software
- // Reset
- #define SYSCTL_SREPHY 0x400FE530 // Ethernet PHY Software Reset
- #define SYSCTL_SRCAN 0x400FE534 // Controller Area Network Software
- // Reset
- #define SYSCTL_SRADC 0x400FE538 // Analog-to-Digital Converter
- // Software Reset
- #define SYSCTL_SRACMP 0x400FE53C // Analog Comparator Software Reset
- #define SYSCTL_SRPWM 0x400FE540 // Pulse Width Modulator Software
- // Reset
- #define SYSCTL_SRQEI 0x400FE544 // Quadrature Encoder Interface
- // Software Reset
- #define SYSCTL_SREEPROM 0x400FE558 // EEPROM Software Reset
- #define SYSCTL_SRWTIMER 0x400FE55C // 32/64-Bit Wide General-Purpose
- // Timer Software Reset
- #define SYSCTL_SRCCM 0x400FE574 // CRC and Cryptographic Modules
- // Software Reset
- #define SYSCTL_SRLCD 0x400FE590 // LCD Controller Software Reset
- #define SYSCTL_SROWIRE 0x400FE598 // 1-Wire Software Reset
- #define SYSCTL_SREMAC 0x400FE59C // Ethernet MAC Software Reset
- #define SYSCTL_RCGCWD 0x400FE600 // Watchdog Timer Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCTIMER 0x400FE604 // 16/32-Bit General-Purpose Timer
- // Run Mode Clock Gating Control
- #define SYSCTL_RCGCGPIO 0x400FE608 // General-Purpose Input/Output Run
- // Mode Clock Gating Control
- #define SYSCTL_RCGCDMA 0x400FE60C // Micro Direct Memory Access Run
- // Mode Clock Gating Control
- #define SYSCTL_RCGCEPI 0x400FE610 // EPI Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCHIB 0x400FE614 // Hibernation Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART 0x400FE618 // Universal Asynchronous
- // Receiver/Transmitter Run Mode
- // Clock Gating Control
- #define SYSCTL_RCGCSSI 0x400FE61C // Synchronous Serial Interface Run
- // Mode Clock Gating Control
- #define SYSCTL_RCGCI2C 0x400FE620 // Inter-Integrated Circuit Run
- // Mode Clock Gating Control
- #define SYSCTL_RCGCUSB 0x400FE628 // Universal Serial Bus Run Mode
- // Clock Gating Control
- #define SYSCTL_RCGCEPHY 0x400FE630 // Ethernet PHY Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCCAN 0x400FE634 // Controller Area Network Run Mode
- // Clock Gating Control
- #define SYSCTL_RCGCADC 0x400FE638 // Analog-to-Digital Converter Run
- // Mode Clock Gating Control
- #define SYSCTL_RCGCACMP 0x400FE63C // Analog Comparator Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCPWM 0x400FE640 // Pulse Width Modulator Run Mode
- // Clock Gating Control
- #define SYSCTL_RCGCQEI 0x400FE644 // Quadrature Encoder Interface Run
- // Mode Clock Gating Control
- #define SYSCTL_RCGCEEPROM 0x400FE658 // EEPROM Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCWTIMER 0x400FE65C // 32/64-Bit Wide General-Purpose
- // Timer Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCCCM 0x400FE674 // CRC and Cryptographic Modules
- // Run Mode Clock Gating Control
- #define SYSCTL_RCGCLCD 0x400FE690 // LCD Controller Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCOWIRE 0x400FE698 // 1-Wire Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCEMAC 0x400FE69C // Ethernet MAC Run Mode Clock
- // Gating Control
- #define SYSCTL_SCGCWD 0x400FE700 // Watchdog Timer Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCTIMER 0x400FE704 // 16/32-Bit General-Purpose Timer
- // Sleep Mode Clock Gating Control
- #define SYSCTL_SCGCGPIO 0x400FE708 // General-Purpose Input/Output
- // Sleep Mode Clock Gating Control
- #define SYSCTL_SCGCDMA 0x400FE70C // Micro Direct Memory Access Sleep
- // Mode Clock Gating Control
- #define SYSCTL_SCGCEPI 0x400FE710 // EPI Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCHIB 0x400FE714 // Hibernation Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART 0x400FE718 // Universal Asynchronous
- // Receiver/Transmitter Sleep Mode
- // Clock Gating Control
- #define SYSCTL_SCGCSSI 0x400FE71C // Synchronous Serial Interface
- // Sleep Mode Clock Gating Control
- #define SYSCTL_SCGCI2C 0x400FE720 // Inter-Integrated Circuit Sleep
- // Mode Clock Gating Control
- #define SYSCTL_SCGCUSB 0x400FE728 // Universal Serial Bus Sleep Mode
- // Clock Gating Control
- #define SYSCTL_SCGCEPHY 0x400FE730 // Ethernet PHY Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCCAN 0x400FE734 // Controller Area Network Sleep
- // Mode Clock Gating Control
- #define SYSCTL_SCGCADC 0x400FE738 // Analog-to-Digital Converter
- // Sleep Mode Clock Gating Control
- #define SYSCTL_SCGCACMP 0x400FE73C // Analog Comparator Sleep Mode
- // Clock Gating Control
- #define SYSCTL_SCGCPWM 0x400FE740 // Pulse Width Modulator Sleep Mode
- // Clock Gating Control
- #define SYSCTL_SCGCQEI 0x400FE744 // Quadrature Encoder Interface
- // Sleep Mode Clock Gating Control
- #define SYSCTL_SCGCEEPROM 0x400FE758 // EEPROM Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCWTIMER 0x400FE75C // 32/64-Bit Wide General-Purpose
- // Timer Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCCCM 0x400FE774 // CRC and Cryptographic Modules
- // Sleep Mode Clock Gating Control
- #define SYSCTL_SCGCLCD 0x400FE790 // LCD Controller Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCOWIRE 0x400FE798 // 1-Wire Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCEMAC 0x400FE79C // Ethernet MAC Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWD 0x400FE800 // Watchdog Timer Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCTIMER 0x400FE804 // 16/32-Bit General-Purpose Timer
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCGPIO 0x400FE808 // General-Purpose Input/Output
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCDMA 0x400FE80C // Micro Direct Memory Access
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCEPI 0x400FE810 // EPI Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCHIB 0x400FE814 // Hibernation Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART 0x400FE818 // Universal Asynchronous
- // Receiver/Transmitter Deep-Sleep
- // Mode Clock Gating Control
- #define SYSCTL_DCGCSSI 0x400FE81C // Synchronous Serial Interface
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCI2C 0x400FE820 // Inter-Integrated Circuit
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCUSB 0x400FE828 // Universal Serial Bus Deep-Sleep
- // Mode Clock Gating Control
- #define SYSCTL_DCGCEPHY 0x400FE830 // Ethernet PHY Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCCAN 0x400FE834 // Controller Area Network
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCADC 0x400FE838 // Analog-to-Digital Converter
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCACMP 0x400FE83C // Analog Comparator Deep-Sleep
- // Mode Clock Gating Control
- #define SYSCTL_DCGCPWM 0x400FE840 // Pulse Width Modulator Deep-Sleep
- // Mode Clock Gating Control
- #define SYSCTL_DCGCQEI 0x400FE844 // Quadrature Encoder Interface
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCEEPROM 0x400FE858 // EEPROM Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWTIMER 0x400FE85C // 32/64-Bit Wide General-Purpose
- // Timer Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCCCM 0x400FE874 // CRC and Cryptographic Modules
- // Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCLCD 0x400FE890 // LCD Controller Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCOWIRE 0x400FE898 // 1-Wire Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCEMAC 0x400FE89C // Ethernet MAC Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_PCWD 0x400FE900 // Watchdog Timer Power Control
- #define SYSCTL_PCTIMER 0x400FE904 // 16/32-Bit General-Purpose Timer
- // Power Control
- #define SYSCTL_PCGPIO 0x400FE908 // General-Purpose Input/Output
- // Power Control
- #define SYSCTL_PCDMA 0x400FE90C // Micro Direct Memory Access Power
- // Control
- #define SYSCTL_PCEPI 0x400FE910 // External Peripheral Interface
- // Power Control
- #define SYSCTL_PCHIB 0x400FE914 // Hibernation Power Control
- #define SYSCTL_PCUART 0x400FE918 // Universal Asynchronous
- // Receiver/Transmitter Power
- // Control
- #define SYSCTL_PCSSI 0x400FE91C // Synchronous Serial Interface
- // Power Control
- #define SYSCTL_PCI2C 0x400FE920 // Inter-Integrated Circuit Power
- // Control
- #define SYSCTL_PCUSB 0x400FE928 // Universal Serial Bus Power
- // Control
- #define SYSCTL_PCEPHY 0x400FE930 // Ethernet PHY Power Control
- #define SYSCTL_PCCAN 0x400FE934 // Controller Area Network Power
- // Control
- #define SYSCTL_PCADC 0x400FE938 // Analog-to-Digital Converter
- // Power Control
- #define SYSCTL_PCACMP 0x400FE93C // Analog Comparator Power Control
- #define SYSCTL_PCPWM 0x400FE940 // Pulse Width Modulator Power
- // Control
- #define SYSCTL_PCQEI 0x400FE944 // Quadrature Encoder Interface
- // Power Control
- #define SYSCTL_PCEEPROM 0x400FE958 // EEPROM Power Control
- #define SYSCTL_PCCCM 0x400FE974 // CRC and Cryptographic Modules
- // Power Control
- #define SYSCTL_PCLCD 0x400FE990 // LCD Controller Power Control
- #define SYSCTL_PCOWIRE 0x400FE998 // 1-Wire Power Control
- #define SYSCTL_PCEMAC 0x400FE99C // Ethernet MAC Power Control
- #define SYSCTL_PRWD 0x400FEA00 // Watchdog Timer Peripheral Ready
- #define SYSCTL_PRTIMER 0x400FEA04 // 16/32-Bit General-Purpose Timer
- // Peripheral Ready
- #define SYSCTL_PRGPIO 0x400FEA08 // General-Purpose Input/Output
- // Peripheral Ready
- #define SYSCTL_PRDMA 0x400FEA0C // Micro Direct Memory Access
- // Peripheral Ready
- #define SYSCTL_PREPI 0x400FEA10 // EPI Peripheral Ready
- #define SYSCTL_PRHIB 0x400FEA14 // Hibernation Peripheral Ready
- #define SYSCTL_PRUART 0x400FEA18 // Universal Asynchronous
- // Receiver/Transmitter Peripheral
- // Ready
- #define SYSCTL_PRSSI 0x400FEA1C // Synchronous Serial Interface
- // Peripheral Ready
- #define SYSCTL_PRI2C 0x400FEA20 // Inter-Integrated Circuit
- // Peripheral Ready
- #define SYSCTL_PRUSB 0x400FEA28 // Universal Serial Bus Peripheral
- // Ready
- #define SYSCTL_PREPHY 0x400FEA30 // Ethernet PHY Peripheral Ready
- #define SYSCTL_PRCAN 0x400FEA34 // Controller Area Network
- // Peripheral Ready
- #define SYSCTL_PRADC 0x400FEA38 // Analog-to-Digital Converter
- // Peripheral Ready
- #define SYSCTL_PRACMP 0x400FEA3C // Analog Comparator Peripheral
- // Ready
- #define SYSCTL_PRPWM 0x400FEA40 // Pulse Width Modulator Peripheral
- // Ready
- #define SYSCTL_PRQEI 0x400FEA44 // Quadrature Encoder Interface
- // Peripheral Ready
- #define SYSCTL_PREEPROM 0x400FEA58 // EEPROM Peripheral Ready
- #define SYSCTL_PRWTIMER 0x400FEA5C // 32/64-Bit Wide General-Purpose
- // Timer Peripheral Ready
- #define SYSCTL_PRCCM 0x400FEA74 // CRC and Cryptographic Modules
- // Peripheral Ready
- #define SYSCTL_PRLCD 0x400FEA90 // LCD Controller Peripheral Ready
- #define SYSCTL_PROWIRE 0x400FEA98 // 1-Wire Peripheral Ready
- #define SYSCTL_PREMAC 0x400FEA9C // Ethernet MAC Peripheral Ready
- #define SYSCTL_CCMCGREQ 0x44030204 // Cryptographic Modules Clock
- // Gating Request
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DID0 register.
- //
- //*****************************************************************************
- #define SYSCTL_DID0_VER_M 0x70000000 // DID0 Version
- #define SYSCTL_DID0_VER_1 0x10000000 // Second version of the DID0
- // register format.
- #define SYSCTL_DID0_CLASS_M 0x00FF0000 // Device Class
- #define SYSCTL_DID0_CLASS_TM4C123 \
- 0x00050000 // Tiva TM4C123x and TM4E123x
- // microcontrollers
- #define SYSCTL_DID0_CLASS_TM4C129 \
- 0x000A0000 // Tiva(TM) TM4C129-class
- // microcontrollers
- #define SYSCTL_DID0_MAJ_M 0x0000FF00 // Major Revision
- #define SYSCTL_DID0_MAJ_REVA 0x00000000 // Revision A (initial device)
- #define SYSCTL_DID0_MAJ_REVB 0x00000100 // Revision B (first base layer
- // revision)
- #define SYSCTL_DID0_MAJ_REVC 0x00000200 // Revision C (second base layer
- // revision)
- #define SYSCTL_DID0_MIN_M 0x000000FF // Minor Revision
- #define SYSCTL_DID0_MIN_0 0x00000000 // Initial device, or a major
- // revision update
- #define SYSCTL_DID0_MIN_1 0x00000001 // First metal layer change
- #define SYSCTL_DID0_MIN_2 0x00000002 // Second metal layer change
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DID1 register.
- //
- //*****************************************************************************
- #define SYSCTL_DID1_VER_M 0xF0000000 // DID1 Version
- #define SYSCTL_DID1_VER_1 0x10000000 // fury_ib
- #define SYSCTL_DID1_FAM_M 0x0F000000 // Family
- #define SYSCTL_DID1_FAM_TIVA 0x00000000 // Tiva family of microcontollers
- #define SYSCTL_DID1_PRTNO_M 0x00FF0000 // Part Number
- #define SYSCTL_DID1_PRTNO_TM4C1230C3PM \
- 0x00220000 // TM4C1230C3PM
- #define SYSCTL_DID1_PRTNO_TM4C1230D5PM \
- 0x00230000 // TM4C1230D5PM
- #define SYSCTL_DID1_PRTNO_TM4C1230E6PM \
- 0x00200000 // TM4C1230E6PM
- #define SYSCTL_DID1_PRTNO_TM4C1230H6PM \
- 0x00210000 // TM4C1230H6PM
- #define SYSCTL_DID1_PRTNO_TM4C1231C3PM \
- 0x00180000 // TM4C1231C3PM
- #define SYSCTL_DID1_PRTNO_TM4C1231D5PM \
- 0x00190000 // TM4C1231D5PM
- #define SYSCTL_DID1_PRTNO_TM4C1231D5PZ \
- 0x00360000 // TM4C1231D5PZ
- #define SYSCTL_DID1_PRTNO_TM4C1231E6PM \
- 0x00100000 // TM4C1231E6PM
- #define SYSCTL_DID1_PRTNO_TM4C1231E6PZ \
- 0x00300000 // TM4C1231E6PZ
- #define SYSCTL_DID1_PRTNO_TM4C1231H6PGE \
- 0x00350000 // TM4C1231H6PGE
- #define SYSCTL_DID1_PRTNO_TM4C1231H6PM \
- 0x00110000 // TM4C1231H6PM
- #define SYSCTL_DID1_PRTNO_TM4C1231H6PZ \
- 0x00310000 // TM4C1231H6PZ
- #define SYSCTL_DID1_PRTNO_TM4C1232C3PM \
- 0x00080000 // TM4C1232C3PM
- #define SYSCTL_DID1_PRTNO_TM4C1232D5PM \
- 0x00090000 // TM4C1232D5PM
- #define SYSCTL_DID1_PRTNO_TM4C1232E6PM \
- 0x000A0000 // TM4C1232E6PM
- #define SYSCTL_DID1_PRTNO_TM4C1232H6PM \
- 0x000B0000 // TM4C1232H6PM
- #define SYSCTL_DID1_PRTNO_TM4C1233C3PM \
- 0x00010000 // TM4C1233C3PM
- #define SYSCTL_DID1_PRTNO_TM4C1233D5PM \
- 0x00020000 // TM4C1233D5PM
- #define SYSCTL_DID1_PRTNO_TM4C1233D5PZ \
- 0x00D00000 // TM4C1233D5PZ
- #define SYSCTL_DID1_PRTNO_TM4C1233E6PM \
- 0x00030000 // TM4C1233E6PM
- #define SYSCTL_DID1_PRTNO_TM4C1233E6PZ \
- 0x00D10000 // TM4C1233E6PZ
- #define SYSCTL_DID1_PRTNO_TM4C1233H6PGE \
- 0x00D60000 // TM4C1233H6PGE
- #define SYSCTL_DID1_PRTNO_TM4C1233H6PM \
- 0x00040000 // TM4C1233H6PM
- #define SYSCTL_DID1_PRTNO_TM4C1233H6PZ \
- 0x00D20000 // TM4C1233H6PZ
- #define SYSCTL_DID1_PRTNO_TM4C1236D5PM \
- 0x00520000 // TM4C1236D5PM
- #define SYSCTL_DID1_PRTNO_TM4C1236E6PM \
- 0x00500000 // TM4C1236E6PM
- #define SYSCTL_DID1_PRTNO_TM4C1236H6PM \
- 0x00510000 // TM4C1236H6PM
- #define SYSCTL_DID1_PRTNO_TM4C1237D5PM \
- 0x00480000 // TM4C1237D5PM
- #define SYSCTL_DID1_PRTNO_TM4C1237D5PZ \
- 0x00660000 // TM4C1237D5PZ
- #define SYSCTL_DID1_PRTNO_TM4C1237E6PM \
- 0x00400000 // TM4C1237E6PM
- #define SYSCTL_DID1_PRTNO_TM4C1237E6PZ \
- 0x00600000 // TM4C1237E6PZ
- #define SYSCTL_DID1_PRTNO_TM4C1237H6PGE \
- 0x00650000 // TM4C1237H6PGE
- #define SYSCTL_DID1_PRTNO_TM4C1237H6PM \
- 0x00410000 // TM4C1237H6PM
- #define SYSCTL_DID1_PRTNO_TM4C1237H6PZ \
- 0x00610000 // TM4C1237H6PZ
- #define SYSCTL_DID1_PRTNO_TM4C123AE6PM \
- 0x00800000 // TM4C123AE6PM
- #define SYSCTL_DID1_PRTNO_TM4C123AH6PM \
- 0x00830000 // TM4C123AH6PM
- #define SYSCTL_DID1_PRTNO_TM4C123BE6PM \
- 0x00700000 // TM4C123BE6PM
- #define SYSCTL_DID1_PRTNO_TM4C123BE6PZ \
- 0x00C30000 // TM4C123BE6PZ
- #define SYSCTL_DID1_PRTNO_TM4C123BH6PGE \
- 0x00C60000 // TM4C123BH6PGE
- #define SYSCTL_DID1_PRTNO_TM4C123BH6PM \
- 0x00730000 // TM4C123BH6PM
- #define SYSCTL_DID1_PRTNO_TM4C123BH6PZ \
- 0x00C40000 // TM4C123BH6PZ
- #define SYSCTL_DID1_PRTNO_TM4C123BH6ZRB \
- 0x00E90000 // TM4C123BH6ZRB
- #define SYSCTL_DID1_PRTNO_TM4C123FE6PM \
- 0x00B00000 // TM4C123FE6PM
- #define SYSCTL_DID1_PRTNO_TM4C123FH6PM \
- 0x00B10000 // TM4C123FH6PM
- #define SYSCTL_DID1_PRTNO_TM4C123GE6PM \
- 0x00A00000 // TM4C123GE6PM
- #define SYSCTL_DID1_PRTNO_TM4C123GE6PZ \
- 0x00C00000 // TM4C123GE6PZ
- #define SYSCTL_DID1_PRTNO_TM4C123GH6PGE \
- 0x00C50000 // TM4C123GH6PGE
- #define SYSCTL_DID1_PRTNO_TM4C123GH6PM \
- 0x00A10000 // TM4C123GH6PM
- #define SYSCTL_DID1_PRTNO_TM4C123GH6PZ \
- 0x00C10000 // TM4C123GH6PZ
- #define SYSCTL_DID1_PRTNO_TM4C123GH6ZRB \
- 0x00E30000 // TM4C123GH6ZRB
- #define SYSCTL_DID1_PRTNO_TM4C1290NCPDT \
- 0x00190000 // TM4C1290NCPDT
- #define SYSCTL_DID1_PRTNO_TM4C1290NCZAD \
- 0x001B0000 // TM4C1290NCZAD
- #define SYSCTL_DID1_PRTNO_TM4C1292NCPDT \
- 0x001C0000 // TM4C1292NCPDT
- #define SYSCTL_DID1_PRTNO_TM4C1292NCZAD \
- 0x001E0000 // TM4C1292NCZAD
- #define SYSCTL_DID1_PRTNO_TM4C1294KCPDT \
- 0x00340000 // TM4C1294KCPDT
- #define SYSCTL_DID1_PRTNO_TM4C1294NCPDT \
- 0x001F0000 // TM4C1294NCPDT
- #define SYSCTL_DID1_PRTNO_TM4C1294NCZAD \
- 0x00210000 // TM4C1294NCZAD
- #define SYSCTL_DID1_PRTNO_TM4C1297NCZAD \
- 0x00220000 // TM4C1297NCZAD
- #define SYSCTL_DID1_PRTNO_TM4C1299KCZAD \
- 0x00360000 // TM4C1299KCZAD
- #define SYSCTL_DID1_PRTNO_TM4C1299NCZAD \
- 0x00230000 // TM4C1299NCZAD
- #define SYSCTL_DID1_PRTNO_TM4C129CNCPDT \
- 0x00240000 // TM4C129CNCPDT
- #define SYSCTL_DID1_PRTNO_TM4C129CNCZAD \
- 0x00260000 // TM4C129CNCZAD
- #define SYSCTL_DID1_PRTNO_TM4C129DNCPDT \
- 0x00270000 // TM4C129DNCPDT
- #define SYSCTL_DID1_PRTNO_TM4C129DNCZAD \
- 0x00290000 // TM4C129DNCZAD
- #define SYSCTL_DID1_PRTNO_TM4C129EKCPDT \
- 0x00350000 // TM4C129EKCPDT
- #define SYSCTL_DID1_PRTNO_TM4C129ENCPDT \
- 0x002D0000 // TM4C129ENCPDT
- #define SYSCTL_DID1_PRTNO_TM4C129ENCZAD \
- 0x002F0000 // TM4C129ENCZAD
- #define SYSCTL_DID1_PRTNO_TM4C129LNCZAD \
- 0x00300000 // TM4C129LNCZAD
- #define SYSCTL_DID1_PRTNO_TM4C129XKCZAD \
- 0x00370000 // TM4C129XKCZAD
- #define SYSCTL_DID1_PRTNO_TM4C129XNCZAD \
- 0x00320000 // TM4C129XNCZAD
- #define SYSCTL_DID1_PINCNT_M 0x0000E000 // Package Pin Count
- #define SYSCTL_DID1_PINCNT_100 0x00004000 // 100-pin LQFP package
- #define SYSCTL_DID1_PINCNT_64 0x00006000 // 64-pin LQFP package
- #define SYSCTL_DID1_PINCNT_144 0x00008000 // 144-pin LQFP package
- #define SYSCTL_DID1_PINCNT_157 0x0000A000 // 157-pin BGA package
- #define SYSCTL_DID1_PINCNT_128 0x0000C000 // 128-pin TQFP package
- #define SYSCTL_DID1_TEMP_M 0x000000E0 // Temperature Range
- #define SYSCTL_DID1_TEMP_C 0x00000000 // Commercial temperature range
- #define SYSCTL_DID1_TEMP_I 0x00000020 // Industrial temperature range
- #define SYSCTL_DID1_TEMP_E 0x00000040 // Extended temperature range
- #define SYSCTL_DID1_TEMP_IE 0x00000060 // Available in both industrial
- // temperature range (-40C to 85C)
- // and extended temperature range
- // (-40C to 105C) devices. See
- #define SYSCTL_DID1_PKG_M 0x00000018 // Package Type
- #define SYSCTL_DID1_PKG_QFP 0x00000008 // QFP package
- #define SYSCTL_DID1_PKG_BGA 0x00000010 // BGA package
- #define SYSCTL_DID1_ROHS 0x00000004 // RoHS-Compliance
- #define SYSCTL_DID1_QUAL_M 0x00000003 // Qualification Status
- #define SYSCTL_DID1_QUAL_ES 0x00000000 // Engineering Sample (unqualified)
- #define SYSCTL_DID1_QUAL_PP 0x00000001 // Pilot Production (unqualified)
- #define SYSCTL_DID1_QUAL_FQ 0x00000002 // Fully Qualified
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC0 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC0_SRAMSZ_M 0xFFFF0000 // SRAM Size
- #define SYSCTL_DC0_SRAMSZ_2KB 0x00070000 // 2 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_4KB 0x000F0000 // 4 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_6KB 0x00170000 // 6 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_8KB 0x001F0000 // 8 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_12KB 0x002F0000 // 12 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_16KB 0x003F0000 // 16 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_20KB 0x004F0000 // 20 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_24KB 0x005F0000 // 24 KB of SRAM
- #define SYSCTL_DC0_SRAMSZ_32KB 0x007F0000 // 32 KB of SRAM
- #define SYSCTL_DC0_FLASHSZ_M 0x0000FFFF // Flash Size
- #define SYSCTL_DC0_FLASHSZ_8KB 0x00000003 // 8 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_16KB 0x00000007 // 16 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_32KB 0x0000000F // 32 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_64KB 0x0000001F // 64 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_96KB 0x0000002F // 96 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_128K 0x0000003F // 128 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_192K 0x0000005F // 192 KB of Flash
- #define SYSCTL_DC0_FLASHSZ_256K 0x0000007F // 256 KB of Flash
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC1 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC1_WDT1 0x10000000 // Watchdog Timer1 Present
- #define SYSCTL_DC1_CAN1 0x02000000 // CAN Module 1 Present
- #define SYSCTL_DC1_CAN0 0x01000000 // CAN Module 0 Present
- #define SYSCTL_DC1_PWM1 0x00200000 // PWM Module 1 Present
- #define SYSCTL_DC1_PWM0 0x00100000 // PWM Module 0 Present
- #define SYSCTL_DC1_ADC1 0x00020000 // ADC Module 1 Present
- #define SYSCTL_DC1_ADC0 0x00010000 // ADC Module 0 Present
- #define SYSCTL_DC1_MINSYSDIV_M 0x0000F000 // System Clock Divider
- #define SYSCTL_DC1_MINSYSDIV_80 0x00001000 // Specifies an 80-MHz CPU clock
- // with a PLL divider of 2.5
- #define SYSCTL_DC1_MINSYSDIV_66 0x00002000 // Specifies a 66-MHz CPU clock
- // with a PLL divider of 3
- #define SYSCTL_DC1_MINSYSDIV_50 0x00003000 // Specifies a 50-MHz CPU clock
- // with a PLL divider of 4
- #define SYSCTL_DC1_MINSYSDIV_40 0x00004000 // Specifies a 40-MHz CPU clock
- // with a PLL divider of 5
- #define SYSCTL_DC1_MINSYSDIV_25 0x00007000 // Specifies a 25-MHz clock with a
- // PLL divider of 8
- #define SYSCTL_DC1_MINSYSDIV_20 0x00009000 // Specifies a 20-MHz clock with a
- // PLL divider of 10
- #define SYSCTL_DC1_ADC1SPD_M 0x00000C00 // Max ADC1 Speed
- #define SYSCTL_DC1_ADC1SPD_125K 0x00000000 // 125K samples/second
- #define SYSCTL_DC1_ADC1SPD_250K 0x00000400 // 250K samples/second
- #define SYSCTL_DC1_ADC1SPD_500K 0x00000800 // 500K samples/second
- #define SYSCTL_DC1_ADC1SPD_1M 0x00000C00 // 1M samples/second
- #define SYSCTL_DC1_ADC0SPD_M 0x00000300 // Max ADC0 Speed
- #define SYSCTL_DC1_ADC0SPD_125K 0x00000000 // 125K samples/second
- #define SYSCTL_DC1_ADC0SPD_250K 0x00000100 // 250K samples/second
- #define SYSCTL_DC1_ADC0SPD_500K 0x00000200 // 500K samples/second
- #define SYSCTL_DC1_ADC0SPD_1M 0x00000300 // 1M samples/second
- #define SYSCTL_DC1_MPU 0x00000080 // MPU Present
- #define SYSCTL_DC1_HIB 0x00000040 // Hibernation Module Present
- #define SYSCTL_DC1_TEMP 0x00000020 // Temp Sensor Present
- #define SYSCTL_DC1_PLL 0x00000010 // PLL Present
- #define SYSCTL_DC1_WDT0 0x00000008 // Watchdog Timer 0 Present
- #define SYSCTL_DC1_SWO 0x00000004 // SWO Trace Port Present
- #define SYSCTL_DC1_SWD 0x00000002 // SWD Present
- #define SYSCTL_DC1_JTAG 0x00000001 // JTAG Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC2 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC2_EPI0 0x40000000 // EPI Module 0 Present
- #define SYSCTL_DC2_I2S0 0x10000000 // I2S Module 0 Present
- #define SYSCTL_DC2_COMP2 0x04000000 // Analog Comparator 2 Present
- #define SYSCTL_DC2_COMP1 0x02000000 // Analog Comparator 1 Present
- #define SYSCTL_DC2_COMP0 0x01000000 // Analog Comparator 0 Present
- #define SYSCTL_DC2_TIMER3 0x00080000 // Timer Module 3 Present
- #define SYSCTL_DC2_TIMER2 0x00040000 // Timer Module 2 Present
- #define SYSCTL_DC2_TIMER1 0x00020000 // Timer Module 1 Present
- #define SYSCTL_DC2_TIMER0 0x00010000 // Timer Module 0 Present
- #define SYSCTL_DC2_I2C1HS 0x00008000 // I2C Module 1 Speed
- #define SYSCTL_DC2_I2C1 0x00004000 // I2C Module 1 Present
- #define SYSCTL_DC2_I2C0HS 0x00002000 // I2C Module 0 Speed
- #define SYSCTL_DC2_I2C0 0x00001000 // I2C Module 0 Present
- #define SYSCTL_DC2_QEI1 0x00000200 // QEI Module 1 Present
- #define SYSCTL_DC2_QEI0 0x00000100 // QEI Module 0 Present
- #define SYSCTL_DC2_SSI1 0x00000020 // SSI Module 1 Present
- #define SYSCTL_DC2_SSI0 0x00000010 // SSI Module 0 Present
- #define SYSCTL_DC2_UART2 0x00000004 // UART Module 2 Present
- #define SYSCTL_DC2_UART1 0x00000002 // UART Module 1 Present
- #define SYSCTL_DC2_UART0 0x00000001 // UART Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC3 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC3_32KHZ 0x80000000 // 32KHz Input Clock Available
- #define SYSCTL_DC3_CCP5 0x20000000 // T2CCP1 Pin Present
- #define SYSCTL_DC3_CCP4 0x10000000 // T2CCP0 Pin Present
- #define SYSCTL_DC3_CCP3 0x08000000 // T1CCP1 Pin Present
- #define SYSCTL_DC3_CCP2 0x04000000 // T1CCP0 Pin Present
- #define SYSCTL_DC3_CCP1 0x02000000 // T0CCP1 Pin Present
- #define SYSCTL_DC3_CCP0 0x01000000 // T0CCP0 Pin Present
- #define SYSCTL_DC3_ADC0AIN7 0x00800000 // ADC Module 0 AIN7 Pin Present
- #define SYSCTL_DC3_ADC0AIN6 0x00400000 // ADC Module 0 AIN6 Pin Present
- #define SYSCTL_DC3_ADC0AIN5 0x00200000 // ADC Module 0 AIN5 Pin Present
- #define SYSCTL_DC3_ADC0AIN4 0x00100000 // ADC Module 0 AIN4 Pin Present
- #define SYSCTL_DC3_ADC0AIN3 0x00080000 // ADC Module 0 AIN3 Pin Present
- #define SYSCTL_DC3_ADC0AIN2 0x00040000 // ADC Module 0 AIN2 Pin Present
- #define SYSCTL_DC3_ADC0AIN1 0x00020000 // ADC Module 0 AIN1 Pin Present
- #define SYSCTL_DC3_ADC0AIN0 0x00010000 // ADC Module 0 AIN0 Pin Present
- #define SYSCTL_DC3_PWMFAULT 0x00008000 // PWM Fault Pin Present
- #define SYSCTL_DC3_C2O 0x00004000 // C2o Pin Present
- #define SYSCTL_DC3_C2PLUS 0x00002000 // C2+ Pin Present
- #define SYSCTL_DC3_C2MINUS 0x00001000 // C2- Pin Present
- #define SYSCTL_DC3_C1O 0x00000800 // C1o Pin Present
- #define SYSCTL_DC3_C1PLUS 0x00000400 // C1+ Pin Present
- #define SYSCTL_DC3_C1MINUS 0x00000200 // C1- Pin Present
- #define SYSCTL_DC3_C0O 0x00000100 // C0o Pin Present
- #define SYSCTL_DC3_C0PLUS 0x00000080 // C0+ Pin Present
- #define SYSCTL_DC3_C0MINUS 0x00000040 // C0- Pin Present
- #define SYSCTL_DC3_PWM5 0x00000020 // PWM5 Pin Present
- #define SYSCTL_DC3_PWM4 0x00000010 // PWM4 Pin Present
- #define SYSCTL_DC3_PWM3 0x00000008 // PWM3 Pin Present
- #define SYSCTL_DC3_PWM2 0x00000004 // PWM2 Pin Present
- #define SYSCTL_DC3_PWM1 0x00000002 // PWM1 Pin Present
- #define SYSCTL_DC3_PWM0 0x00000001 // PWM0 Pin Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC4 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC4_EPHY0 0x40000000 // Ethernet PHY Layer 0 Present
- #define SYSCTL_DC4_EMAC0 0x10000000 // Ethernet MAC Layer 0 Present
- #define SYSCTL_DC4_E1588 0x01000000 // 1588 Capable
- #define SYSCTL_DC4_PICAL 0x00040000 // PIOSC Calibrate
- #define SYSCTL_DC4_CCP7 0x00008000 // T3CCP1 Pin Present
- #define SYSCTL_DC4_CCP6 0x00004000 // T3CCP0 Pin Present
- #define SYSCTL_DC4_UDMA 0x00002000 // Micro-DMA Module Present
- #define SYSCTL_DC4_ROM 0x00001000 // Internal Code ROM Present
- #define SYSCTL_DC4_GPIOJ 0x00000100 // GPIO Port J Present
- #define SYSCTL_DC4_GPIOH 0x00000080 // GPIO Port H Present
- #define SYSCTL_DC4_GPIOG 0x00000040 // GPIO Port G Present
- #define SYSCTL_DC4_GPIOF 0x00000020 // GPIO Port F Present
- #define SYSCTL_DC4_GPIOE 0x00000010 // GPIO Port E Present
- #define SYSCTL_DC4_GPIOD 0x00000008 // GPIO Port D Present
- #define SYSCTL_DC4_GPIOC 0x00000004 // GPIO Port C Present
- #define SYSCTL_DC4_GPIOB 0x00000002 // GPIO Port B Present
- #define SYSCTL_DC4_GPIOA 0x00000001 // GPIO Port A Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC5 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC5_PWMFAULT3 0x08000000 // PWM Fault 3 Pin Present
- #define SYSCTL_DC5_PWMFAULT2 0x04000000 // PWM Fault 2 Pin Present
- #define SYSCTL_DC5_PWMFAULT1 0x02000000 // PWM Fault 1 Pin Present
- #define SYSCTL_DC5_PWMFAULT0 0x01000000 // PWM Fault 0 Pin Present
- #define SYSCTL_DC5_PWMEFLT 0x00200000 // PWM Extended Fault Active
- #define SYSCTL_DC5_PWMESYNC 0x00100000 // PWM Extended SYNC Active
- #define SYSCTL_DC5_PWM7 0x00000080 // PWM7 Pin Present
- #define SYSCTL_DC5_PWM6 0x00000040 // PWM6 Pin Present
- #define SYSCTL_DC5_PWM5 0x00000020 // PWM5 Pin Present
- #define SYSCTL_DC5_PWM4 0x00000010 // PWM4 Pin Present
- #define SYSCTL_DC5_PWM3 0x00000008 // PWM3 Pin Present
- #define SYSCTL_DC5_PWM2 0x00000004 // PWM2 Pin Present
- #define SYSCTL_DC5_PWM1 0x00000002 // PWM1 Pin Present
- #define SYSCTL_DC5_PWM0 0x00000001 // PWM0 Pin Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC6 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC6_USB0PHY 0x00000010 // USB Module 0 PHY Present
- #define SYSCTL_DC6_USB0_M 0x00000003 // USB Module 0 Present
- #define SYSCTL_DC6_USB0_DEV 0x00000001 // USB0 is Device Only
- #define SYSCTL_DC6_USB0_HOSTDEV 0x00000002 // USB is Device or Host
- #define SYSCTL_DC6_USB0_OTG 0x00000003 // USB0 is OTG
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC7 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC7_DMACH30 0x40000000 // DMA Channel 30
- #define SYSCTL_DC7_DMACH29 0x20000000 // DMA Channel 29
- #define SYSCTL_DC7_DMACH28 0x10000000 // DMA Channel 28
- #define SYSCTL_DC7_DMACH27 0x08000000 // DMA Channel 27
- #define SYSCTL_DC7_DMACH26 0x04000000 // DMA Channel 26
- #define SYSCTL_DC7_DMACH25 0x02000000 // DMA Channel 25
- #define SYSCTL_DC7_DMACH24 0x01000000 // DMA Channel 24
- #define SYSCTL_DC7_DMACH23 0x00800000 // DMA Channel 23
- #define SYSCTL_DC7_DMACH22 0x00400000 // DMA Channel 22
- #define SYSCTL_DC7_DMACH21 0x00200000 // DMA Channel 21
- #define SYSCTL_DC7_DMACH20 0x00100000 // DMA Channel 20
- #define SYSCTL_DC7_DMACH19 0x00080000 // DMA Channel 19
- #define SYSCTL_DC7_DMACH18 0x00040000 // DMA Channel 18
- #define SYSCTL_DC7_DMACH17 0x00020000 // DMA Channel 17
- #define SYSCTL_DC7_DMACH16 0x00010000 // DMA Channel 16
- #define SYSCTL_DC7_DMACH15 0x00008000 // DMA Channel 15
- #define SYSCTL_DC7_DMACH14 0x00004000 // DMA Channel 14
- #define SYSCTL_DC7_DMACH13 0x00002000 // DMA Channel 13
- #define SYSCTL_DC7_DMACH12 0x00001000 // DMA Channel 12
- #define SYSCTL_DC7_DMACH11 0x00000800 // DMA Channel 11
- #define SYSCTL_DC7_DMACH10 0x00000400 // DMA Channel 10
- #define SYSCTL_DC7_DMACH9 0x00000200 // DMA Channel 9
- #define SYSCTL_DC7_DMACH8 0x00000100 // DMA Channel 8
- #define SYSCTL_DC7_DMACH7 0x00000080 // DMA Channel 7
- #define SYSCTL_DC7_DMACH6 0x00000040 // DMA Channel 6
- #define SYSCTL_DC7_DMACH5 0x00000020 // DMA Channel 5
- #define SYSCTL_DC7_DMACH4 0x00000010 // DMA Channel 4
- #define SYSCTL_DC7_DMACH3 0x00000008 // DMA Channel 3
- #define SYSCTL_DC7_DMACH2 0x00000004 // DMA Channel 2
- #define SYSCTL_DC7_DMACH1 0x00000002 // DMA Channel 1
- #define SYSCTL_DC7_DMACH0 0x00000001 // DMA Channel 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC8 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC8_ADC1AIN15 0x80000000 // ADC Module 1 AIN15 Pin Present
- #define SYSCTL_DC8_ADC1AIN14 0x40000000 // ADC Module 1 AIN14 Pin Present
- #define SYSCTL_DC8_ADC1AIN13 0x20000000 // ADC Module 1 AIN13 Pin Present
- #define SYSCTL_DC8_ADC1AIN12 0x10000000 // ADC Module 1 AIN12 Pin Present
- #define SYSCTL_DC8_ADC1AIN11 0x08000000 // ADC Module 1 AIN11 Pin Present
- #define SYSCTL_DC8_ADC1AIN10 0x04000000 // ADC Module 1 AIN10 Pin Present
- #define SYSCTL_DC8_ADC1AIN9 0x02000000 // ADC Module 1 AIN9 Pin Present
- #define SYSCTL_DC8_ADC1AIN8 0x01000000 // ADC Module 1 AIN8 Pin Present
- #define SYSCTL_DC8_ADC1AIN7 0x00800000 // ADC Module 1 AIN7 Pin Present
- #define SYSCTL_DC8_ADC1AIN6 0x00400000 // ADC Module 1 AIN6 Pin Present
- #define SYSCTL_DC8_ADC1AIN5 0x00200000 // ADC Module 1 AIN5 Pin Present
- #define SYSCTL_DC8_ADC1AIN4 0x00100000 // ADC Module 1 AIN4 Pin Present
- #define SYSCTL_DC8_ADC1AIN3 0x00080000 // ADC Module 1 AIN3 Pin Present
- #define SYSCTL_DC8_ADC1AIN2 0x00040000 // ADC Module 1 AIN2 Pin Present
- #define SYSCTL_DC8_ADC1AIN1 0x00020000 // ADC Module 1 AIN1 Pin Present
- #define SYSCTL_DC8_ADC1AIN0 0x00010000 // ADC Module 1 AIN0 Pin Present
- #define SYSCTL_DC8_ADC0AIN15 0x00008000 // ADC Module 0 AIN15 Pin Present
- #define SYSCTL_DC8_ADC0AIN14 0x00004000 // ADC Module 0 AIN14 Pin Present
- #define SYSCTL_DC8_ADC0AIN13 0x00002000 // ADC Module 0 AIN13 Pin Present
- #define SYSCTL_DC8_ADC0AIN12 0x00001000 // ADC Module 0 AIN12 Pin Present
- #define SYSCTL_DC8_ADC0AIN11 0x00000800 // ADC Module 0 AIN11 Pin Present
- #define SYSCTL_DC8_ADC0AIN10 0x00000400 // ADC Module 0 AIN10 Pin Present
- #define SYSCTL_DC8_ADC0AIN9 0x00000200 // ADC Module 0 AIN9 Pin Present
- #define SYSCTL_DC8_ADC0AIN8 0x00000100 // ADC Module 0 AIN8 Pin Present
- #define SYSCTL_DC8_ADC0AIN7 0x00000080 // ADC Module 0 AIN7 Pin Present
- #define SYSCTL_DC8_ADC0AIN6 0x00000040 // ADC Module 0 AIN6 Pin Present
- #define SYSCTL_DC8_ADC0AIN5 0x00000020 // ADC Module 0 AIN5 Pin Present
- #define SYSCTL_DC8_ADC0AIN4 0x00000010 // ADC Module 0 AIN4 Pin Present
- #define SYSCTL_DC8_ADC0AIN3 0x00000008 // ADC Module 0 AIN3 Pin Present
- #define SYSCTL_DC8_ADC0AIN2 0x00000004 // ADC Module 0 AIN2 Pin Present
- #define SYSCTL_DC8_ADC0AIN1 0x00000002 // ADC Module 0 AIN1 Pin Present
- #define SYSCTL_DC8_ADC0AIN0 0x00000001 // ADC Module 0 AIN0 Pin Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PBORCTL register.
- //
- //*****************************************************************************
- #define SYSCTL_PBORCTL_BOR0 0x00000004 // VDD under BOR0 Event Action
- #define SYSCTL_PBORCTL_BOR1 0x00000002 // VDD under BOR1 Event Action
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PTBOCTL register.
- //
- //*****************************************************************************
- #define SYSCTL_PTBOCTL_VDDA_UBOR_M \
- 0x00000300 // VDDA under BOR Event Action
- #define SYSCTL_PTBOCTL_VDDA_UBOR_NONE \
- 0x00000000 // No Action
- #define SYSCTL_PTBOCTL_VDDA_UBOR_SYSINT \
- 0x00000100 // System control interrupt
- #define SYSCTL_PTBOCTL_VDDA_UBOR_NMI \
- 0x00000200 // NMI
- #define SYSCTL_PTBOCTL_VDDA_UBOR_RST \
- 0x00000300 // Reset
- #define SYSCTL_PTBOCTL_VDD_UBOR_M \
- 0x00000003 // VDD (VDDS) under BOR Event
- // Action
- #define SYSCTL_PTBOCTL_VDD_UBOR_NONE \
- 0x00000000 // No Action
- #define SYSCTL_PTBOCTL_VDD_UBOR_SYSINT \
- 0x00000001 // System control interrupt
- #define SYSCTL_PTBOCTL_VDD_UBOR_NMI \
- 0x00000002 // NMI
- #define SYSCTL_PTBOCTL_VDD_UBOR_RST \
- 0x00000003 // Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRCR0 register.
- //
- //*****************************************************************************
- #define SYSCTL_SRCR0_WDT1 0x10000000 // WDT1 Reset Control
- #define SYSCTL_SRCR0_CAN1 0x02000000 // CAN1 Reset Control
- #define SYSCTL_SRCR0_CAN0 0x01000000 // CAN0 Reset Control
- #define SYSCTL_SRCR0_PWM0 0x00100000 // PWM Reset Control
- #define SYSCTL_SRCR0_ADC1 0x00020000 // ADC1 Reset Control
- #define SYSCTL_SRCR0_ADC0 0x00010000 // ADC0 Reset Control
- #define SYSCTL_SRCR0_HIB 0x00000040 // HIB Reset Control
- #define SYSCTL_SRCR0_WDT0 0x00000008 // WDT0 Reset Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRCR1 register.
- //
- //*****************************************************************************
- #define SYSCTL_SRCR1_COMP2 0x04000000 // Analog Comp 2 Reset Control
- #define SYSCTL_SRCR1_COMP1 0x02000000 // Analog Comp 1 Reset Control
- #define SYSCTL_SRCR1_COMP0 0x01000000 // Analog Comp 0 Reset Control
- #define SYSCTL_SRCR1_TIMER3 0x00080000 // Timer 3 Reset Control
- #define SYSCTL_SRCR1_TIMER2 0x00040000 // Timer 2 Reset Control
- #define SYSCTL_SRCR1_TIMER1 0x00020000 // Timer 1 Reset Control
- #define SYSCTL_SRCR1_TIMER0 0x00010000 // Timer 0 Reset Control
- #define SYSCTL_SRCR1_I2C1 0x00004000 // I2C1 Reset Control
- #define SYSCTL_SRCR1_I2C0 0x00001000 // I2C0 Reset Control
- #define SYSCTL_SRCR1_QEI1 0x00000200 // QEI1 Reset Control
- #define SYSCTL_SRCR1_QEI0 0x00000100 // QEI0 Reset Control
- #define SYSCTL_SRCR1_SSI1 0x00000020 // SSI1 Reset Control
- #define SYSCTL_SRCR1_SSI0 0x00000010 // SSI0 Reset Control
- #define SYSCTL_SRCR1_UART2 0x00000004 // UART2 Reset Control
- #define SYSCTL_SRCR1_UART1 0x00000002 // UART1 Reset Control
- #define SYSCTL_SRCR1_UART0 0x00000001 // UART0 Reset Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRCR2 register.
- //
- //*****************************************************************************
- #define SYSCTL_SRCR2_USB0 0x00010000 // USB0 Reset Control
- #define SYSCTL_SRCR2_UDMA 0x00002000 // Micro-DMA Reset Control
- #define SYSCTL_SRCR2_GPIOJ 0x00000100 // Port J Reset Control
- #define SYSCTL_SRCR2_GPIOH 0x00000080 // Port H Reset Control
- #define SYSCTL_SRCR2_GPIOG 0x00000040 // Port G Reset Control
- #define SYSCTL_SRCR2_GPIOF 0x00000020 // Port F Reset Control
- #define SYSCTL_SRCR2_GPIOE 0x00000010 // Port E Reset Control
- #define SYSCTL_SRCR2_GPIOD 0x00000008 // Port D Reset Control
- #define SYSCTL_SRCR2_GPIOC 0x00000004 // Port C Reset Control
- #define SYSCTL_SRCR2_GPIOB 0x00000002 // Port B Reset Control
- #define SYSCTL_SRCR2_GPIOA 0x00000001 // Port A Reset Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RIS register.
- //
- //*****************************************************************************
- #define SYSCTL_RIS_BOR0RIS 0x00000800 // VDD under BOR0 Raw Interrupt
- // Status
- #define SYSCTL_RIS_VDDARIS 0x00000400 // VDDA Power OK Event Raw
- // Interrupt Status
- #define SYSCTL_RIS_MOSCPUPRIS 0x00000100 // MOSC Power Up Raw Interrupt
- // Status
- #define SYSCTL_RIS_USBPLLLRIS 0x00000080 // USB PLL Lock Raw Interrupt
- // Status
- #define SYSCTL_RIS_PLLLRIS 0x00000040 // PLL Lock Raw Interrupt Status
- #define SYSCTL_RIS_MOFRIS 0x00000008 // Main Oscillator Failure Raw
- // Interrupt Status
- #define SYSCTL_RIS_BOR1RIS 0x00000002 // VDD under BOR1 Raw Interrupt
- // Status
- #define SYSCTL_RIS_BORRIS 0x00000002 // Brown-Out Reset Raw Interrupt
- // Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_IMC register.
- //
- //*****************************************************************************
- #define SYSCTL_IMC_BOR0IM 0x00000800 // VDD under BOR0 Interrupt Mask
- #define SYSCTL_IMC_VDDAIM 0x00000400 // VDDA Power OK Interrupt Mask
- #define SYSCTL_IMC_MOSCPUPIM 0x00000100 // MOSC Power Up Interrupt Mask
- #define SYSCTL_IMC_USBPLLLIM 0x00000080 // USB PLL Lock Interrupt Mask
- #define SYSCTL_IMC_PLLLIM 0x00000040 // PLL Lock Interrupt Mask
- #define SYSCTL_IMC_MOFIM 0x00000008 // Main Oscillator Failure
- // Interrupt Mask
- #define SYSCTL_IMC_BORIM 0x00000002 // Brown-Out Reset Interrupt Mask
- #define SYSCTL_IMC_BOR1IM 0x00000002 // VDD under BOR1 Interrupt Mask
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_MISC register.
- //
- //*****************************************************************************
- #define SYSCTL_MISC_BOR0MIS 0x00000800 // VDD under BOR0 Masked Interrupt
- // Status
- #define SYSCTL_MISC_VDDAMIS 0x00000400 // VDDA Power OK Masked Interrupt
- // Status
- #define SYSCTL_MISC_MOSCPUPMIS 0x00000100 // MOSC Power Up Masked Interrupt
- // Status
- #define SYSCTL_MISC_USBPLLLMIS 0x00000080 // USB PLL Lock Masked Interrupt
- // Status
- #define SYSCTL_MISC_PLLLMIS 0x00000040 // PLL Lock Masked Interrupt Status
- #define SYSCTL_MISC_MOFMIS 0x00000008 // Main Oscillator Failure Masked
- // Interrupt Status
- #define SYSCTL_MISC_BORMIS 0x00000002 // BOR Masked Interrupt Status
- #define SYSCTL_MISC_BOR1MIS 0x00000002 // VDD under BOR1 Masked Interrupt
- // Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RESC register.
- //
- //*****************************************************************************
- #define SYSCTL_RESC_MOSCFAIL 0x00010000 // MOSC Failure Reset
- #define SYSCTL_RESC_HSSR 0x00001000 // HSSR Reset
- #define SYSCTL_RESC_HIB 0x00000040 // HIB Reset
- #define SYSCTL_RESC_WDT1 0x00000020 // Watchdog Timer 1 Reset
- #define SYSCTL_RESC_SW 0x00000010 // Software Reset
- #define SYSCTL_RESC_WDT0 0x00000008 // Watchdog Timer 0 Reset
- #define SYSCTL_RESC_BOR 0x00000004 // Brown-Out Reset
- #define SYSCTL_RESC_POR 0x00000002 // Power-On Reset
- #define SYSCTL_RESC_EXT 0x00000001 // External Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PWRTC register.
- //
- //*****************************************************************************
- #define SYSCTL_PWRTC_VDDA_UBOR 0x00000010 // VDDA Under BOR Status
- #define SYSCTL_PWRTC_VDD_UBOR 0x00000001 // VDD Under BOR Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCC register.
- //
- //*****************************************************************************
- #define SYSCTL_RCC_ACG 0x08000000 // Auto Clock Gating
- #define SYSCTL_RCC_SYSDIV_M 0x07800000 // System Clock Divisor
- #define SYSCTL_RCC_USESYSDIV 0x00400000 // Enable System Clock Divider
- #define SYSCTL_RCC_USEPWMDIV 0x00100000 // Enable PWM Clock Divisor
- #define SYSCTL_RCC_PWMDIV_M 0x000E0000 // PWM Unit Clock Divisor
- #define SYSCTL_RCC_PWMDIV_2 0x00000000 // PWM clock /2
- #define SYSCTL_RCC_PWMDIV_4 0x00020000 // PWM clock /4
- #define SYSCTL_RCC_PWMDIV_8 0x00040000 // PWM clock /8
- #define SYSCTL_RCC_PWMDIV_16 0x00060000 // PWM clock /16
- #define SYSCTL_RCC_PWMDIV_32 0x00080000 // PWM clock /32
- #define SYSCTL_RCC_PWMDIV_64 0x000A0000 // PWM clock /64
- #define SYSCTL_RCC_PWRDN 0x00002000 // PLL Power Down
- #define SYSCTL_RCC_BYPASS 0x00000800 // PLL Bypass
- #define SYSCTL_RCC_XTAL_M 0x000007C0 // Crystal Value
- #define SYSCTL_RCC_XTAL_4MHZ 0x00000180 // 4 MHz
- #define SYSCTL_RCC_XTAL_4_09MHZ 0x000001C0 // 4.096 MHz
- #define SYSCTL_RCC_XTAL_4_91MHZ 0x00000200 // 4.9152 MHz
- #define SYSCTL_RCC_XTAL_5MHZ 0x00000240 // 5 MHz
- #define SYSCTL_RCC_XTAL_5_12MHZ 0x00000280 // 5.12 MHz
- #define SYSCTL_RCC_XTAL_6MHZ 0x000002C0 // 6 MHz
- #define SYSCTL_RCC_XTAL_6_14MHZ 0x00000300 // 6.144 MHz
- #define SYSCTL_RCC_XTAL_7_37MHZ 0x00000340 // 7.3728 MHz
- #define SYSCTL_RCC_XTAL_8MHZ 0x00000380 // 8 MHz
- #define SYSCTL_RCC_XTAL_8_19MHZ 0x000003C0 // 8.192 MHz
- #define SYSCTL_RCC_XTAL_10MHZ 0x00000400 // 10 MHz
- #define SYSCTL_RCC_XTAL_12MHZ 0x00000440 // 12 MHz
- #define SYSCTL_RCC_XTAL_12_2MHZ 0x00000480 // 12.288 MHz
- #define SYSCTL_RCC_XTAL_13_5MHZ 0x000004C0 // 13.56 MHz
- #define SYSCTL_RCC_XTAL_14_3MHZ 0x00000500 // 14.31818 MHz
- #define SYSCTL_RCC_XTAL_16MHZ 0x00000540 // 16 MHz
- #define SYSCTL_RCC_XTAL_16_3MHZ 0x00000580 // 16.384 MHz
- #define SYSCTL_RCC_XTAL_18MHZ 0x000005C0 // 18.0 MHz (USB)
- #define SYSCTL_RCC_XTAL_20MHZ 0x00000600 // 20.0 MHz (USB)
- #define SYSCTL_RCC_XTAL_24MHZ 0x00000640 // 24.0 MHz (USB)
- #define SYSCTL_RCC_XTAL_25MHZ 0x00000680 // 25.0 MHz (USB)
- #define SYSCTL_RCC_OSCSRC_M 0x00000030 // Oscillator Source
- #define SYSCTL_RCC_OSCSRC_MAIN 0x00000000 // MOSC
- #define SYSCTL_RCC_OSCSRC_INT 0x00000010 // IOSC
- #define SYSCTL_RCC_OSCSRC_INT4 0x00000020 // IOSC/4
- #define SYSCTL_RCC_OSCSRC_30 0x00000030 // LFIOSC
- #define SYSCTL_RCC_MOSCDIS 0x00000001 // Main Oscillator Disable
- #define SYSCTL_RCC_SYSDIV_S 23
- #define SYSCTL_RCC_XTAL_S 6 // Shift to the XTAL field
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_NMIC register.
- //
- //*****************************************************************************
- #define SYSCTL_NMIC_MOSCFAIL 0x00010000 // MOSC Failure NMI
- #define SYSCTL_NMIC_TAMPER 0x00000200 // Tamper Event NMI
- #define SYSCTL_NMIC_WDT1 0x00000020 // Watch Dog Timer (WDT) 1 NMI
- #define SYSCTL_NMIC_WDT0 0x00000008 // Watch Dog Timer (WDT) 0 NMI
- #define SYSCTL_NMIC_POWER 0x00000004 // Power/Brown Out Event NMI
- #define SYSCTL_NMIC_EXTERNAL 0x00000001 // External Pin NMI
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_GPIOHBCTL
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_GPIOHBCTL_PORTJ 0x00000100 // Port J Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTH 0x00000080 // Port H Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTG 0x00000040 // Port G Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTF 0x00000020 // Port F Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTE 0x00000010 // Port E Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTD 0x00000008 // Port D Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTC 0x00000004 // Port C Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTB 0x00000002 // Port B Advanced High-Performance
- // Bus
- #define SYSCTL_GPIOHBCTL_PORTA 0x00000001 // Port A Advanced High-Performance
- // Bus
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCC2 register.
- //
- //*****************************************************************************
- #define SYSCTL_RCC2_USERCC2 0x80000000 // Use RCC2
- #define SYSCTL_RCC2_DIV400 0x40000000 // Divide PLL as 400 MHz vs. 200
- // MHz
- #define SYSCTL_RCC2_SYSDIV2_M 0x1F800000 // System Clock Divisor 2
- #define SYSCTL_RCC2_SYSDIV2LSB 0x00400000 // Additional LSB for SYSDIV2
- #define SYSCTL_RCC2_USBPWRDN 0x00004000 // Power-Down USB PLL
- #define SYSCTL_RCC2_PWRDN2 0x00002000 // Power-Down PLL 2
- #define SYSCTL_RCC2_BYPASS2 0x00000800 // PLL Bypass 2
- #define SYSCTL_RCC2_OSCSRC2_M 0x00000070 // Oscillator Source 2
- #define SYSCTL_RCC2_OSCSRC2_MO 0x00000000 // MOSC
- #define SYSCTL_RCC2_OSCSRC2_IO 0x00000010 // PIOSC
- #define SYSCTL_RCC2_OSCSRC2_IO4 0x00000020 // PIOSC/4
- #define SYSCTL_RCC2_OSCSRC2_30 0x00000030 // LFIOSC
- #define SYSCTL_RCC2_OSCSRC2_32 0x00000070 // 32.768 kHz
- #define SYSCTL_RCC2_SYSDIV2_S 23
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_MOSCCTL register.
- //
- //*****************************************************************************
- #define SYSCTL_MOSCCTL_OSCRNG 0x00000010 // Oscillator Range
- #define SYSCTL_MOSCCTL_PWRDN 0x00000008 // Power Down
- #define SYSCTL_MOSCCTL_NOXTAL 0x00000004 // No Crystal Connected
- #define SYSCTL_MOSCCTL_MOSCIM 0x00000002 // MOSC Failure Action
- #define SYSCTL_MOSCCTL_CVAL 0x00000001 // Clock Validation for MOSC
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RSCLKCFG
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RSCLKCFG_MEMTIMU 0x80000000 // Memory Timing Register Update
- #define SYSCTL_RSCLKCFG_NEWFREQ 0x40000000 // New PLLFREQ Accept
- #define SYSCTL_RSCLKCFG_ACG 0x20000000 // Auto Clock Gating
- #define SYSCTL_RSCLKCFG_USEPLL 0x10000000 // Use PLL
- #define SYSCTL_RSCLKCFG_PLLSRC_M \
- 0x0F000000 // PLL Source
- #define SYSCTL_RSCLKCFG_PLLSRC_PIOSC \
- 0x00000000 // PIOSC is PLL input clock source
- #define SYSCTL_RSCLKCFG_PLLSRC_MOSC \
- 0x03000000 // MOSC is the PLL input clock
- // source
- #define SYSCTL_RSCLKCFG_OSCSRC_M \
- 0x00F00000 // Oscillator Source
- #define SYSCTL_RSCLKCFG_OSCSRC_PIOSC \
- 0x00000000 // PIOSC is oscillator source
- #define SYSCTL_RSCLKCFG_OSCSRC_LFIOSC \
- 0x00200000 // LFIOSC is oscillator source
- #define SYSCTL_RSCLKCFG_OSCSRC_MOSC \
- 0x00300000 // MOSC is oscillator source
- #define SYSCTL_RSCLKCFG_OSCSRC_RTC \
- 0x00400000 // Hibernation Module RTC
- // Oscillator (RTCOSC)
- #define SYSCTL_RSCLKCFG_OSYSDIV_M \
- 0x000FFC00 // Oscillator System Clock Divisor
- #define SYSCTL_RSCLKCFG_PSYSDIV_M \
- 0x000003FF // PLL System Clock Divisor
- #define SYSCTL_RSCLKCFG_OSYSDIV_S \
- 10
- #define SYSCTL_RSCLKCFG_PSYSDIV_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_MEMTIM0 register.
- //
- //*****************************************************************************
- #define SYSCTL_MEMTIM0_EBCHT_M 0x03C00000 // EEPROM Clock High Time
- #define SYSCTL_MEMTIM0_EBCHT_0_5 \
- 0x00000000 // 1/2 system clock period
- #define SYSCTL_MEMTIM0_EBCHT_1 0x00400000 // 1 system clock period
- #define SYSCTL_MEMTIM0_EBCHT_1_5 \
- 0x00800000 // 1.5 system clock periods
- #define SYSCTL_MEMTIM0_EBCHT_2 0x00C00000 // 2 system clock periods
- #define SYSCTL_MEMTIM0_EBCHT_2_5 \
- 0x01000000 // 2.5 system clock periods
- #define SYSCTL_MEMTIM0_EBCHT_3 0x01400000 // 3 system clock periods
- #define SYSCTL_MEMTIM0_EBCHT_3_5 \
- 0x01800000 // 3.5 system clock periods
- #define SYSCTL_MEMTIM0_EBCHT_4 0x01C00000 // 4 system clock periods
- #define SYSCTL_MEMTIM0_EBCHT_4_5 \
- 0x02000000 // 4.5 system clock periods
- #define SYSCTL_MEMTIM0_EBCE 0x00200000 // EEPROM Bank Clock Edge
- #define SYSCTL_MEMTIM0_MB1 0x00100010 // Must be one
- #define SYSCTL_MEMTIM0_EWS_M 0x000F0000 // EEPROM Wait States
- #define SYSCTL_MEMTIM0_FBCHT_M 0x000003C0 // Flash Bank Clock High Time
- #define SYSCTL_MEMTIM0_FBCHT_0_5 \
- 0x00000000 // 1/2 system clock period
- #define SYSCTL_MEMTIM0_FBCHT_1 0x00000040 // 1 system clock period
- #define SYSCTL_MEMTIM0_FBCHT_1_5 \
- 0x00000080 // 1.5 system clock periods
- #define SYSCTL_MEMTIM0_FBCHT_2 0x000000C0 // 2 system clock periods
- #define SYSCTL_MEMTIM0_FBCHT_2_5 \
- 0x00000100 // 2.5 system clock periods
- #define SYSCTL_MEMTIM0_FBCHT_3 0x00000140 // 3 system clock periods
- #define SYSCTL_MEMTIM0_FBCHT_3_5 \
- 0x00000180 // 3.5 system clock periods
- #define SYSCTL_MEMTIM0_FBCHT_4 0x000001C0 // 4 system clock periods
- #define SYSCTL_MEMTIM0_FBCHT_4_5 \
- 0x00000200 // 4.5 system clock periods
- #define SYSCTL_MEMTIM0_FBCE 0x00000020 // Flash Bank Clock Edge
- #define SYSCTL_MEMTIM0_FWS_M 0x0000000F // Flash Wait State
- #define SYSCTL_MEMTIM0_EWS_S 16
- #define SYSCTL_MEMTIM0_FWS_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGC0 register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGC0_WDT1 0x10000000 // WDT1 Clock Gating Control
- #define SYSCTL_RCGC0_CAN1 0x02000000 // CAN1 Clock Gating Control
- #define SYSCTL_RCGC0_CAN0 0x01000000 // CAN0 Clock Gating Control
- #define SYSCTL_RCGC0_PWM0 0x00100000 // PWM Clock Gating Control
- #define SYSCTL_RCGC0_ADC1 0x00020000 // ADC1 Clock Gating Control
- #define SYSCTL_RCGC0_ADC0 0x00010000 // ADC0 Clock Gating Control
- #define SYSCTL_RCGC0_ADC1SPD_M 0x00000C00 // ADC1 Sample Speed
- #define SYSCTL_RCGC0_ADC1SPD_125K \
- 0x00000000 // 125K samples/second
- #define SYSCTL_RCGC0_ADC1SPD_250K \
- 0x00000400 // 250K samples/second
- #define SYSCTL_RCGC0_ADC1SPD_500K \
- 0x00000800 // 500K samples/second
- #define SYSCTL_RCGC0_ADC1SPD_1M 0x00000C00 // 1M samples/second
- #define SYSCTL_RCGC0_ADC0SPD_M 0x00000300 // ADC0 Sample Speed
- #define SYSCTL_RCGC0_ADC0SPD_125K \
- 0x00000000 // 125K samples/second
- #define SYSCTL_RCGC0_ADC0SPD_250K \
- 0x00000100 // 250K samples/second
- #define SYSCTL_RCGC0_ADC0SPD_500K \
- 0x00000200 // 500K samples/second
- #define SYSCTL_RCGC0_ADC0SPD_1M 0x00000300 // 1M samples/second
- #define SYSCTL_RCGC0_HIB 0x00000040 // HIB Clock Gating Control
- #define SYSCTL_RCGC0_WDT0 0x00000008 // WDT0 Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGC1 register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGC1_COMP2 0x04000000 // Analog Comparator 2 Clock Gating
- #define SYSCTL_RCGC1_COMP1 0x02000000 // Analog Comparator 1 Clock Gating
- #define SYSCTL_RCGC1_COMP0 0x01000000 // Analog Comparator 0 Clock Gating
- #define SYSCTL_RCGC1_TIMER3 0x00080000 // Timer 3 Clock Gating Control
- #define SYSCTL_RCGC1_TIMER2 0x00040000 // Timer 2 Clock Gating Control
- #define SYSCTL_RCGC1_TIMER1 0x00020000 // Timer 1 Clock Gating Control
- #define SYSCTL_RCGC1_TIMER0 0x00010000 // Timer 0 Clock Gating Control
- #define SYSCTL_RCGC1_I2C1 0x00004000 // I2C1 Clock Gating Control
- #define SYSCTL_RCGC1_I2C0 0x00001000 // I2C0 Clock Gating Control
- #define SYSCTL_RCGC1_QEI1 0x00000200 // QEI1 Clock Gating Control
- #define SYSCTL_RCGC1_QEI0 0x00000100 // QEI0 Clock Gating Control
- #define SYSCTL_RCGC1_SSI1 0x00000020 // SSI1 Clock Gating Control
- #define SYSCTL_RCGC1_SSI0 0x00000010 // SSI0 Clock Gating Control
- #define SYSCTL_RCGC1_UART2 0x00000004 // UART2 Clock Gating Control
- #define SYSCTL_RCGC1_UART1 0x00000002 // UART1 Clock Gating Control
- #define SYSCTL_RCGC1_UART0 0x00000001 // UART0 Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGC2 register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGC2_USB0 0x00010000 // USB0 Clock Gating Control
- #define SYSCTL_RCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control
- #define SYSCTL_RCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control
- #define SYSCTL_RCGC2_GPIOH 0x00000080 // Port H Clock Gating Control
- #define SYSCTL_RCGC2_GPIOG 0x00000040 // Port G Clock Gating Control
- #define SYSCTL_RCGC2_GPIOF 0x00000020 // Port F Clock Gating Control
- #define SYSCTL_RCGC2_GPIOE 0x00000010 // Port E Clock Gating Control
- #define SYSCTL_RCGC2_GPIOD 0x00000008 // Port D Clock Gating Control
- #define SYSCTL_RCGC2_GPIOC 0x00000004 // Port C Clock Gating Control
- #define SYSCTL_RCGC2_GPIOB 0x00000002 // Port B Clock Gating Control
- #define SYSCTL_RCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGC0 register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGC0_WDT1 0x10000000 // WDT1 Clock Gating Control
- #define SYSCTL_SCGC0_CAN1 0x02000000 // CAN1 Clock Gating Control
- #define SYSCTL_SCGC0_CAN0 0x01000000 // CAN0 Clock Gating Control
- #define SYSCTL_SCGC0_PWM0 0x00100000 // PWM Clock Gating Control
- #define SYSCTL_SCGC0_ADC1 0x00020000 // ADC1 Clock Gating Control
- #define SYSCTL_SCGC0_ADC0 0x00010000 // ADC0 Clock Gating Control
- #define SYSCTL_SCGC0_ADCSPD_M 0x00000F00 // ADC Sample Speed
- #define SYSCTL_SCGC0_HIB 0x00000040 // HIB Clock Gating Control
- #define SYSCTL_SCGC0_WDT0 0x00000008 // WDT0 Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGC1 register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGC1_COMP2 0x04000000 // Analog Comparator 2 Clock Gating
- #define SYSCTL_SCGC1_COMP1 0x02000000 // Analog Comparator 1 Clock Gating
- #define SYSCTL_SCGC1_COMP0 0x01000000 // Analog Comparator 0 Clock Gating
- #define SYSCTL_SCGC1_TIMER3 0x00080000 // Timer 3 Clock Gating Control
- #define SYSCTL_SCGC1_TIMER2 0x00040000 // Timer 2 Clock Gating Control
- #define SYSCTL_SCGC1_TIMER1 0x00020000 // Timer 1 Clock Gating Control
- #define SYSCTL_SCGC1_TIMER0 0x00010000 // Timer 0 Clock Gating Control
- #define SYSCTL_SCGC1_I2C1 0x00004000 // I2C1 Clock Gating Control
- #define SYSCTL_SCGC1_I2C0 0x00001000 // I2C0 Clock Gating Control
- #define SYSCTL_SCGC1_QEI1 0x00000200 // QEI1 Clock Gating Control
- #define SYSCTL_SCGC1_QEI0 0x00000100 // QEI0 Clock Gating Control
- #define SYSCTL_SCGC1_SSI1 0x00000020 // SSI1 Clock Gating Control
- #define SYSCTL_SCGC1_SSI0 0x00000010 // SSI0 Clock Gating Control
- #define SYSCTL_SCGC1_UART2 0x00000004 // UART2 Clock Gating Control
- #define SYSCTL_SCGC1_UART1 0x00000002 // UART1 Clock Gating Control
- #define SYSCTL_SCGC1_UART0 0x00000001 // UART0 Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGC2 register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGC2_USB0 0x00010000 // USB0 Clock Gating Control
- #define SYSCTL_SCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control
- #define SYSCTL_SCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control
- #define SYSCTL_SCGC2_GPIOH 0x00000080 // Port H Clock Gating Control
- #define SYSCTL_SCGC2_GPIOG 0x00000040 // Port G Clock Gating Control
- #define SYSCTL_SCGC2_GPIOF 0x00000020 // Port F Clock Gating Control
- #define SYSCTL_SCGC2_GPIOE 0x00000010 // Port E Clock Gating Control
- #define SYSCTL_SCGC2_GPIOD 0x00000008 // Port D Clock Gating Control
- #define SYSCTL_SCGC2_GPIOC 0x00000004 // Port C Clock Gating Control
- #define SYSCTL_SCGC2_GPIOB 0x00000002 // Port B Clock Gating Control
- #define SYSCTL_SCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGC0 register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGC0_WDT1 0x10000000 // WDT1 Clock Gating Control
- #define SYSCTL_DCGC0_CAN1 0x02000000 // CAN1 Clock Gating Control
- #define SYSCTL_DCGC0_CAN0 0x01000000 // CAN0 Clock Gating Control
- #define SYSCTL_DCGC0_PWM0 0x00100000 // PWM Clock Gating Control
- #define SYSCTL_DCGC0_ADC1 0x00020000 // ADC1 Clock Gating Control
- #define SYSCTL_DCGC0_ADC0 0x00010000 // ADC0 Clock Gating Control
- #define SYSCTL_DCGC0_HIB 0x00000040 // HIB Clock Gating Control
- #define SYSCTL_DCGC0_WDT0 0x00000008 // WDT0 Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGC1 register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGC1_COMP2 0x04000000 // Analog Comparator 2 Clock Gating
- #define SYSCTL_DCGC1_COMP1 0x02000000 // Analog Comparator 1 Clock Gating
- #define SYSCTL_DCGC1_COMP0 0x01000000 // Analog Comparator 0 Clock Gating
- #define SYSCTL_DCGC1_TIMER3 0x00080000 // Timer 3 Clock Gating Control
- #define SYSCTL_DCGC1_TIMER2 0x00040000 // Timer 2 Clock Gating Control
- #define SYSCTL_DCGC1_TIMER1 0x00020000 // Timer 1 Clock Gating Control
- #define SYSCTL_DCGC1_TIMER0 0x00010000 // Timer 0 Clock Gating Control
- #define SYSCTL_DCGC1_I2C1 0x00004000 // I2C1 Clock Gating Control
- #define SYSCTL_DCGC1_I2C0 0x00001000 // I2C0 Clock Gating Control
- #define SYSCTL_DCGC1_QEI1 0x00000200 // QEI1 Clock Gating Control
- #define SYSCTL_DCGC1_QEI0 0x00000100 // QEI0 Clock Gating Control
- #define SYSCTL_DCGC1_SSI1 0x00000020 // SSI1 Clock Gating Control
- #define SYSCTL_DCGC1_SSI0 0x00000010 // SSI0 Clock Gating Control
- #define SYSCTL_DCGC1_UART2 0x00000004 // UART2 Clock Gating Control
- #define SYSCTL_DCGC1_UART1 0x00000002 // UART1 Clock Gating Control
- #define SYSCTL_DCGC1_UART0 0x00000001 // UART0 Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGC2 register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGC2_USB0 0x00010000 // USB0 Clock Gating Control
- #define SYSCTL_DCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control
- #define SYSCTL_DCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control
- #define SYSCTL_DCGC2_GPIOH 0x00000080 // Port H Clock Gating Control
- #define SYSCTL_DCGC2_GPIOG 0x00000040 // Port G Clock Gating Control
- #define SYSCTL_DCGC2_GPIOF 0x00000020 // Port F Clock Gating Control
- #define SYSCTL_DCGC2_GPIOE 0x00000010 // Port E Clock Gating Control
- #define SYSCTL_DCGC2_GPIOD 0x00000008 // Port D Clock Gating Control
- #define SYSCTL_DCGC2_GPIOC 0x00000004 // Port C Clock Gating Control
- #define SYSCTL_DCGC2_GPIOB 0x00000002 // Port B Clock Gating Control
- #define SYSCTL_DCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_ALTCLKCFG
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_ALTCLKCFG_ALTCLK_M \
- 0x0000000F // Alternate Clock Source
- #define SYSCTL_ALTCLKCFG_ALTCLK_PIOSC \
- 0x00000000 // PIOSC
- #define SYSCTL_ALTCLKCFG_ALTCLK_RTCOSC \
- 0x00000003 // Hibernation Module Real-time
- // clock output (RTCOSC)
- #define SYSCTL_ALTCLKCFG_ALTCLK_LFIOSC \
- 0x00000004 // Low-frequency internal
- // oscillator (LFIOSC)
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DSLPCLKCFG
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DSLPCLKCFG_D_M 0x1F800000 // Divider Field Override
- #define SYSCTL_DSLPCLKCFG_O_M 0x00000070 // Clock Source
- #define SYSCTL_DSLPCLKCFG_O_IGN 0x00000000 // MOSC
- #define SYSCTL_DSLPCLKCFG_O_IO 0x00000010 // PIOSC
- #define SYSCTL_DSLPCLKCFG_O_30 0x00000030 // LFIOSC
- #define SYSCTL_DSLPCLKCFG_O_32 0x00000070 // 32.768 kHz
- #define SYSCTL_DSLPCLKCFG_PIOSCPD \
- 0x00000002 // PIOSC Power Down Request
- #define SYSCTL_DSLPCLKCFG_D_S 23
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DSCLKCFG
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DSCLKCFG_PIOSCPD 0x80000000 // PIOSC Power Down
- #define SYSCTL_DSCLKCFG_MOSCDPD 0x40000000 // MOSC Disable Power Down
- #define SYSCTL_DSCLKCFG_DSOSCSRC_M \
- 0x00F00000 // Deep Sleep Oscillator Source
- #define SYSCTL_DSCLKCFG_DSOSCSRC_PIOSC \
- 0x00000000 // PIOSC
- #define SYSCTL_DSCLKCFG_DSOSCSRC_LFIOSC \
- 0x00200000 // LFIOSC
- #define SYSCTL_DSCLKCFG_DSOSCSRC_MOSC \
- 0x00300000 // MOSC
- #define SYSCTL_DSCLKCFG_DSOSCSRC_RTC \
- 0x00400000 // Hibernation Module RTCOSC
- #define SYSCTL_DSCLKCFG_DSSYSDIV_M \
- 0x000003FF // Deep Sleep Clock Divisor
- #define SYSCTL_DSCLKCFG_DSSYSDIV_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DIVSCLK register.
- //
- //*****************************************************************************
- #define SYSCTL_DIVSCLK_EN 0x80000000 // DIVSCLK Enable
- #define SYSCTL_DIVSCLK_SRC_M 0x00030000 // Clock Source
- #define SYSCTL_DIVSCLK_SRC_SYSCLK \
- 0x00000000 // System Clock
- #define SYSCTL_DIVSCLK_SRC_PIOSC \
- 0x00010000 // PIOSC
- #define SYSCTL_DIVSCLK_SRC_MOSC 0x00020000 // MOSC
- #define SYSCTL_DIVSCLK_DIV_M 0x000000FF // Divisor Value
- #define SYSCTL_DIVSCLK_DIV_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SYSPROP register.
- //
- //*****************************************************************************
- #define SYSCTL_SYSPROP_FPU 0x00000001 // FPU Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PIOSCCAL
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PIOSCCAL_UTEN 0x80000000 // Use User Trim Value
- #define SYSCTL_PIOSCCAL_CAL 0x00000200 // Start Calibration
- #define SYSCTL_PIOSCCAL_UPDATE 0x00000100 // Update Trim
- #define SYSCTL_PIOSCCAL_UT_M 0x0000007F // User Trim Value
- #define SYSCTL_PIOSCCAL_UT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PIOSCSTAT
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PIOSCSTAT_DT_M 0x007F0000 // Default Trim Value
- #define SYSCTL_PIOSCSTAT_CR_M 0x00000300 // Calibration Result
- #define SYSCTL_PIOSCSTAT_CRNONE 0x00000000 // Calibration has not been
- // attempted
- #define SYSCTL_PIOSCSTAT_CRPASS 0x00000100 // The last calibration operation
- // completed to meet 1% accuracy
- #define SYSCTL_PIOSCSTAT_CRFAIL 0x00000200 // The last calibration operation
- // failed to meet 1% accuracy
- #define SYSCTL_PIOSCSTAT_CT_M 0x0000007F // Calibration Trim Value
- #define SYSCTL_PIOSCSTAT_DT_S 16
- #define SYSCTL_PIOSCSTAT_CT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PLLFREQ0
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PLLFREQ0_PLLPWR 0x00800000 // PLL Power
- #define SYSCTL_PLLFREQ0_MFRAC_M 0x000FFC00 // PLL M Fractional Value
- #define SYSCTL_PLLFREQ0_MINT_M 0x000003FF // PLL M Integer Value
- #define SYSCTL_PLLFREQ0_MFRAC_S 10
- #define SYSCTL_PLLFREQ0_MINT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PLLFREQ1
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PLLFREQ1_Q_M 0x00001F00 // PLL Q Value
- #define SYSCTL_PLLFREQ1_N_M 0x0000001F // PLL N Value
- #define SYSCTL_PLLFREQ1_Q_S 8
- #define SYSCTL_PLLFREQ1_N_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PLLSTAT register.
- //
- //*****************************************************************************
- #define SYSCTL_PLLSTAT_LOCK 0x00000001 // PLL Lock
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SLPPWRCFG
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SLPPWRCFG_FLASHPM_M \
- 0x00000030 // Flash Power Modes
- #define SYSCTL_SLPPWRCFG_FLASHPM_NRM \
- 0x00000000 // Active Mode
- #define SYSCTL_SLPPWRCFG_FLASHPM_SLP \
- 0x00000020 // Low Power Mode
- #define SYSCTL_SLPPWRCFG_SRAMPM_M \
- 0x00000003 // SRAM Power Modes
- #define SYSCTL_SLPPWRCFG_SRAMPM_NRM \
- 0x00000000 // Active Mode
- #define SYSCTL_SLPPWRCFG_SRAMPM_SBY \
- 0x00000001 // Standby Mode
- #define SYSCTL_SLPPWRCFG_SRAMPM_LP \
- 0x00000003 // Low Power Mode
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DSLPPWRCFG
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DSLPPWRCFG_LDOSM 0x00000200 // LDO Sleep Mode
- #define SYSCTL_DSLPPWRCFG_TSPD 0x00000100 // Temperature Sense Power Down
- #define SYSCTL_DSLPPWRCFG_FLASHPM_M \
- 0x00000030 // Flash Power Modes
- #define SYSCTL_DSLPPWRCFG_FLASHPM_NRM \
- 0x00000000 // Active Mode
- #define SYSCTL_DSLPPWRCFG_FLASHPM_SLP \
- 0x00000020 // Low Power Mode
- #define SYSCTL_DSLPPWRCFG_SRAMPM_M \
- 0x00000003 // SRAM Power Modes
- #define SYSCTL_DSLPPWRCFG_SRAMPM_NRM \
- 0x00000000 // Active Mode
- #define SYSCTL_DSLPPWRCFG_SRAMPM_SBY \
- 0x00000001 // Standby Mode
- #define SYSCTL_DSLPPWRCFG_SRAMPM_LP \
- 0x00000003 // Low Power Mode
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DC9 register.
- //
- //*****************************************************************************
- #define SYSCTL_DC9_ADC1DC7 0x00800000 // ADC1 DC7 Present
- #define SYSCTL_DC9_ADC1DC6 0x00400000 // ADC1 DC6 Present
- #define SYSCTL_DC9_ADC1DC5 0x00200000 // ADC1 DC5 Present
- #define SYSCTL_DC9_ADC1DC4 0x00100000 // ADC1 DC4 Present
- #define SYSCTL_DC9_ADC1DC3 0x00080000 // ADC1 DC3 Present
- #define SYSCTL_DC9_ADC1DC2 0x00040000 // ADC1 DC2 Present
- #define SYSCTL_DC9_ADC1DC1 0x00020000 // ADC1 DC1 Present
- #define SYSCTL_DC9_ADC1DC0 0x00010000 // ADC1 DC0 Present
- #define SYSCTL_DC9_ADC0DC7 0x00000080 // ADC0 DC7 Present
- #define SYSCTL_DC9_ADC0DC6 0x00000040 // ADC0 DC6 Present
- #define SYSCTL_DC9_ADC0DC5 0x00000020 // ADC0 DC5 Present
- #define SYSCTL_DC9_ADC0DC4 0x00000010 // ADC0 DC4 Present
- #define SYSCTL_DC9_ADC0DC3 0x00000008 // ADC0 DC3 Present
- #define SYSCTL_DC9_ADC0DC2 0x00000004 // ADC0 DC2 Present
- #define SYSCTL_DC9_ADC0DC1 0x00000002 // ADC0 DC1 Present
- #define SYSCTL_DC9_ADC0DC0 0x00000001 // ADC0 DC0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_NVMSTAT register.
- //
- //*****************************************************************************
- #define SYSCTL_NVMSTAT_FWB 0x00000001 // 32 Word Flash Write Buffer
- // Available
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_LDOSPCTL
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_LDOSPCTL_VADJEN 0x80000000 // Voltage Adjust Enable
- #define SYSCTL_LDOSPCTL_VLDO_M 0x000000FF // LDO Output Voltage
- #define SYSCTL_LDOSPCTL_VLDO_0_90V \
- 0x00000012 // 0.90 V
- #define SYSCTL_LDOSPCTL_VLDO_0_95V \
- 0x00000013 // 0.95 V
- #define SYSCTL_LDOSPCTL_VLDO_1_00V \
- 0x00000014 // 1.00 V
- #define SYSCTL_LDOSPCTL_VLDO_1_05V \
- 0x00000015 // 1.05 V
- #define SYSCTL_LDOSPCTL_VLDO_1_10V \
- 0x00000016 // 1.10 V
- #define SYSCTL_LDOSPCTL_VLDO_1_15V \
- 0x00000017 // 1.15 V
- #define SYSCTL_LDOSPCTL_VLDO_1_20V \
- 0x00000018 // 1.20 V
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_LDODPCTL
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_LDODPCTL_VADJEN 0x80000000 // Voltage Adjust Enable
- #define SYSCTL_LDODPCTL_VLDO_M 0x000000FF // LDO Output Voltage
- #define SYSCTL_LDODPCTL_VLDO_0_90V \
- 0x00000012 // 0.90 V
- #define SYSCTL_LDODPCTL_VLDO_0_95V \
- 0x00000013 // 0.95 V
- #define SYSCTL_LDODPCTL_VLDO_1_00V \
- 0x00000014 // 1.00 V
- #define SYSCTL_LDODPCTL_VLDO_1_05V \
- 0x00000015 // 1.05 V
- #define SYSCTL_LDODPCTL_VLDO_1_10V \
- 0x00000016 // 1.10 V
- #define SYSCTL_LDODPCTL_VLDO_1_15V \
- 0x00000017 // 1.15 V
- #define SYSCTL_LDODPCTL_VLDO_1_20V \
- 0x00000018 // 1.20 V
- #define SYSCTL_LDODPCTL_VLDO_1_25V \
- 0x00000019 // 1.25 V
- #define SYSCTL_LDODPCTL_VLDO_1_30V \
- 0x0000001A // 1.30 V
- #define SYSCTL_LDODPCTL_VLDO_1_35V \
- 0x0000001B // 1.35 V
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RESBEHAVCTL
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RESBEHAVCTL_WDOG1_M \
- 0x000000C0 // Watchdog 1 Reset Operation
- #define SYSCTL_RESBEHAVCTL_WDOG1_SYSRST \
- 0x00000080 // Watchdog 1 issues a system
- // reset. The application starts
- // within 10 us
- #define SYSCTL_RESBEHAVCTL_WDOG1_POR \
- 0x000000C0 // Watchdog 1 issues a simulated
- // POR sequence. Application starts
- // less than 500 us after
- // deassertion (Default)
- #define SYSCTL_RESBEHAVCTL_WDOG0_M \
- 0x00000030 // Watchdog 0 Reset Operation
- #define SYSCTL_RESBEHAVCTL_WDOG0_SYSRST \
- 0x00000020 // Watchdog 0 issues a system
- // reset. The application starts
- // within 10 us
- #define SYSCTL_RESBEHAVCTL_WDOG0_POR \
- 0x00000030 // Watchdog 0 issues a simulated
- // POR sequence. Application starts
- // less than 500 us after
- // deassertion (Default)
- #define SYSCTL_RESBEHAVCTL_BOR_M \
- 0x0000000C // BOR Reset operation
- #define SYSCTL_RESBEHAVCTL_BOR_SYSRST \
- 0x00000008 // Brown Out Reset issues system
- // reset. The application starts
- // within 10 us
- #define SYSCTL_RESBEHAVCTL_BOR_POR \
- 0x0000000C // Brown Out Reset issues a
- // simulated POR sequence. The
- // application starts less than 500
- // us after deassertion (Default)
- #define SYSCTL_RESBEHAVCTL_EXTRES_M \
- 0x00000003 // External RST Pin Operation
- #define SYSCTL_RESBEHAVCTL_EXTRES_SYSRST \
- 0x00000002 // External RST assertion issues a
- // system reset. The application
- // starts within 10 us
- #define SYSCTL_RESBEHAVCTL_EXTRES_POR \
- 0x00000003 // External RST assertion issues a
- // simulated POR sequence.
- // Application starts less than 500
- // us after deassertion (Default)
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_HSSR register.
- //
- //*****************************************************************************
- #define SYSCTL_HSSR_KEY_M 0xFF000000 // Write Key
- #define SYSCTL_HSSR_CDOFF_M 0x00FFFFFF // Command Descriptor Pointer
- #define SYSCTL_HSSR_KEY_S 24
- #define SYSCTL_HSSR_CDOFF_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_USBPDS register.
- //
- //*****************************************************************************
- #define SYSCTL_USBPDS_MEMSTAT_M 0x0000000C // Memory Array Power Status
- #define SYSCTL_USBPDS_MEMSTAT_OFF \
- 0x00000000 // Array OFF
- #define SYSCTL_USBPDS_MEMSTAT_RETAIN \
- 0x00000004 // SRAM Retention
- #define SYSCTL_USBPDS_MEMSTAT_ON \
- 0x0000000C // Array On
- #define SYSCTL_USBPDS_PWRSTAT_M 0x00000003 // Power Domain Status
- #define SYSCTL_USBPDS_PWRSTAT_OFF \
- 0x00000000 // OFF
- #define SYSCTL_USBPDS_PWRSTAT_ON \
- 0x00000003 // ON
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_USBMPC register.
- //
- //*****************************************************************************
- #define SYSCTL_USBMPC_PWRCTL_M 0x00000003 // Memory Array Power Control
- #define SYSCTL_USBMPC_PWRCTL_OFF \
- 0x00000000 // Array OFF
- #define SYSCTL_USBMPC_PWRCTL_RETAIN \
- 0x00000001 // SRAM Retention
- #define SYSCTL_USBMPC_PWRCTL_ON 0x00000003 // Array On
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_EMACPDS register.
- //
- //*****************************************************************************
- #define SYSCTL_EMACPDS_MEMSTAT_M \
- 0x0000000C // Memory Array Power Status
- #define SYSCTL_EMACPDS_MEMSTAT_OFF \
- 0x00000000 // Array OFF
- #define SYSCTL_EMACPDS_MEMSTAT_ON \
- 0x0000000C // Array On
- #define SYSCTL_EMACPDS_PWRSTAT_M \
- 0x00000003 // Power Domain Status
- #define SYSCTL_EMACPDS_PWRSTAT_OFF \
- 0x00000000 // OFF
- #define SYSCTL_EMACPDS_PWRSTAT_ON \
- 0x00000003 // ON
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_EMACMPC register.
- //
- //*****************************************************************************
- #define SYSCTL_EMACMPC_PWRCTL_M 0x00000003 // Memory Array Power Control
- #define SYSCTL_EMACMPC_PWRCTL_OFF \
- 0x00000000 // Array OFF
- #define SYSCTL_EMACMPC_PWRCTL_ON \
- 0x00000003 // Array On
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_LCDMPC register.
- //
- //*****************************************************************************
- #define SYSCTL_LCDMPC_PWRCTL_M 0x00000003 // Memory Array Power Control
- #define SYSCTL_LCDMPC_PWRCTL_OFF \
- 0x00000000 // Array OFF
- #define SYSCTL_LCDMPC_PWRCTL_ON 0x00000003 // Array On
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPWD register.
- //
- //*****************************************************************************
- #define SYSCTL_PPWD_P1 0x00000002 // Watchdog Timer 1 Present
- #define SYSCTL_PPWD_P0 0x00000001 // Watchdog Timer 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPTIMER register.
- //
- //*****************************************************************************
- #define SYSCTL_PPTIMER_P7 0x00000080 // 16/32-Bit General-Purpose Timer
- // 7 Present
- #define SYSCTL_PPTIMER_P6 0x00000040 // 16/32-Bit General-Purpose Timer
- // 6 Present
- #define SYSCTL_PPTIMER_P5 0x00000020 // 16/32-Bit General-Purpose Timer
- // 5 Present
- #define SYSCTL_PPTIMER_P4 0x00000010 // 16/32-Bit General-Purpose Timer
- // 4 Present
- #define SYSCTL_PPTIMER_P3 0x00000008 // 16/32-Bit General-Purpose Timer
- // 3 Present
- #define SYSCTL_PPTIMER_P2 0x00000004 // 16/32-Bit General-Purpose Timer
- // 2 Present
- #define SYSCTL_PPTIMER_P1 0x00000002 // 16/32-Bit General-Purpose Timer
- // 1 Present
- #define SYSCTL_PPTIMER_P0 0x00000001 // 16/32-Bit General-Purpose Timer
- // 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPGPIO register.
- //
- //*****************************************************************************
- #define SYSCTL_PPGPIO_P17 0x00020000 // GPIO Port T Present
- #define SYSCTL_PPGPIO_P16 0x00010000 // GPIO Port S Present
- #define SYSCTL_PPGPIO_P15 0x00008000 // GPIO Port R Present
- #define SYSCTL_PPGPIO_P14 0x00004000 // GPIO Port Q Present
- #define SYSCTL_PPGPIO_P13 0x00002000 // GPIO Port P Present
- #define SYSCTL_PPGPIO_P12 0x00001000 // GPIO Port N Present
- #define SYSCTL_PPGPIO_P11 0x00000800 // GPIO Port M Present
- #define SYSCTL_PPGPIO_P10 0x00000400 // GPIO Port L Present
- #define SYSCTL_PPGPIO_P9 0x00000200 // GPIO Port K Present
- #define SYSCTL_PPGPIO_P8 0x00000100 // GPIO Port J Present
- #define SYSCTL_PPGPIO_P7 0x00000080 // GPIO Port H Present
- #define SYSCTL_PPGPIO_P6 0x00000040 // GPIO Port G Present
- #define SYSCTL_PPGPIO_P5 0x00000020 // GPIO Port F Present
- #define SYSCTL_PPGPIO_P4 0x00000010 // GPIO Port E Present
- #define SYSCTL_PPGPIO_P3 0x00000008 // GPIO Port D Present
- #define SYSCTL_PPGPIO_P2 0x00000004 // GPIO Port C Present
- #define SYSCTL_PPGPIO_P1 0x00000002 // GPIO Port B Present
- #define SYSCTL_PPGPIO_P0 0x00000001 // GPIO Port A Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_PPDMA_P0 0x00000001 // uDMA Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPEPI register.
- //
- //*****************************************************************************
- #define SYSCTL_PPEPI_P0 0x00000001 // EPI Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_PPHIB_P0 0x00000001 // Hibernation Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPUART register.
- //
- //*****************************************************************************
- #define SYSCTL_PPUART_P7 0x00000080 // UART Module 7 Present
- #define SYSCTL_PPUART_P6 0x00000040 // UART Module 6 Present
- #define SYSCTL_PPUART_P5 0x00000020 // UART Module 5 Present
- #define SYSCTL_PPUART_P4 0x00000010 // UART Module 4 Present
- #define SYSCTL_PPUART_P3 0x00000008 // UART Module 3 Present
- #define SYSCTL_PPUART_P2 0x00000004 // UART Module 2 Present
- #define SYSCTL_PPUART_P1 0x00000002 // UART Module 1 Present
- #define SYSCTL_PPUART_P0 0x00000001 // UART Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_PPSSI_P3 0x00000008 // SSI Module 3 Present
- #define SYSCTL_PPSSI_P2 0x00000004 // SSI Module 2 Present
- #define SYSCTL_PPSSI_P1 0x00000002 // SSI Module 1 Present
- #define SYSCTL_PPSSI_P0 0x00000001 // SSI Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_PPI2C_P9 0x00000200 // I2C Module 9 Present
- #define SYSCTL_PPI2C_P8 0x00000100 // I2C Module 8 Present
- #define SYSCTL_PPI2C_P7 0x00000080 // I2C Module 7 Present
- #define SYSCTL_PPI2C_P6 0x00000040 // I2C Module 6 Present
- #define SYSCTL_PPI2C_P5 0x00000020 // I2C Module 5 Present
- #define SYSCTL_PPI2C_P4 0x00000010 // I2C Module 4 Present
- #define SYSCTL_PPI2C_P3 0x00000008 // I2C Module 3 Present
- #define SYSCTL_PPI2C_P2 0x00000004 // I2C Module 2 Present
- #define SYSCTL_PPI2C_P1 0x00000002 // I2C Module 1 Present
- #define SYSCTL_PPI2C_P0 0x00000001 // I2C Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_PPUSB_P0 0x00000001 // USB Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPEPHY register.
- //
- //*****************************************************************************
- #define SYSCTL_PPEPHY_P0 0x00000001 // Ethernet PHY Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_PPCAN_P1 0x00000002 // CAN Module 1 Present
- #define SYSCTL_PPCAN_P0 0x00000001 // CAN Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPADC register.
- //
- //*****************************************************************************
- #define SYSCTL_PPADC_P1 0x00000002 // ADC Module 1 Present
- #define SYSCTL_PPADC_P0 0x00000001 // ADC Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPACMP register.
- //
- //*****************************************************************************
- #define SYSCTL_PPACMP_P0 0x00000001 // Analog Comparator Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_PPPWM_P1 0x00000002 // PWM Module 1 Present
- #define SYSCTL_PPPWM_P0 0x00000001 // PWM Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_PPQEI_P1 0x00000002 // QEI Module 1 Present
- #define SYSCTL_PPQEI_P0 0x00000001 // QEI Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPLPC register.
- //
- //*****************************************************************************
- #define SYSCTL_PPLPC_P0 0x00000001 // LPC Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPPECI register.
- //
- //*****************************************************************************
- #define SYSCTL_PPPECI_P0 0x00000001 // PECI Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPFAN register.
- //
- //*****************************************************************************
- #define SYSCTL_PPFAN_P0 0x00000001 // FAN Module 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPEEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PPEEPROM_P0 0x00000001 // EEPROM Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPWTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PPWTIMER_P5 0x00000020 // 32/64-Bit Wide General-Purpose
- // Timer 5 Present
- #define SYSCTL_PPWTIMER_P4 0x00000010 // 32/64-Bit Wide General-Purpose
- // Timer 4 Present
- #define SYSCTL_PPWTIMER_P3 0x00000008 // 32/64-Bit Wide General-Purpose
- // Timer 3 Present
- #define SYSCTL_PPWTIMER_P2 0x00000004 // 32/64-Bit Wide General-Purpose
- // Timer 2 Present
- #define SYSCTL_PPWTIMER_P1 0x00000002 // 32/64-Bit Wide General-Purpose
- // Timer 1 Present
- #define SYSCTL_PPWTIMER_P0 0x00000001 // 32/64-Bit Wide General-Purpose
- // Timer 0 Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPRTS register.
- //
- //*****************************************************************************
- #define SYSCTL_PPRTS_P0 0x00000001 // RTS Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_PPCCM_P0 0x00000001 // CRC and Cryptographic Modules
- // Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_PPLCD_P0 0x00000001 // LCD Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPOWIRE register.
- //
- //*****************************************************************************
- #define SYSCTL_PPOWIRE_P0 0x00000001 // 1-Wire Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPEMAC register.
- //
- //*****************************************************************************
- #define SYSCTL_PPEMAC_P0 0x00000001 // Ethernet Controller Module
- // Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PPHIM register.
- //
- //*****************************************************************************
- #define SYSCTL_PPHIM_P0 0x00000001 // HIM Module Present
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRWD register.
- //
- //*****************************************************************************
- #define SYSCTL_SRWD_R1 0x00000002 // Watchdog Timer 1 Software Reset
- #define SYSCTL_SRWD_R0 0x00000001 // Watchdog Timer 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRTIMER register.
- //
- //*****************************************************************************
- #define SYSCTL_SRTIMER_R7 0x00000080 // 16/32-Bit General-Purpose Timer
- // 7 Software Reset
- #define SYSCTL_SRTIMER_R6 0x00000040 // 16/32-Bit General-Purpose Timer
- // 6 Software Reset
- #define SYSCTL_SRTIMER_R5 0x00000020 // 16/32-Bit General-Purpose Timer
- // 5 Software Reset
- #define SYSCTL_SRTIMER_R4 0x00000010 // 16/32-Bit General-Purpose Timer
- // 4 Software Reset
- #define SYSCTL_SRTIMER_R3 0x00000008 // 16/32-Bit General-Purpose Timer
- // 3 Software Reset
- #define SYSCTL_SRTIMER_R2 0x00000004 // 16/32-Bit General-Purpose Timer
- // 2 Software Reset
- #define SYSCTL_SRTIMER_R1 0x00000002 // 16/32-Bit General-Purpose Timer
- // 1 Software Reset
- #define SYSCTL_SRTIMER_R0 0x00000001 // 16/32-Bit General-Purpose Timer
- // 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRGPIO register.
- //
- //*****************************************************************************
- #define SYSCTL_SRGPIO_R17 0x00020000 // GPIO Port T Software Reset
- #define SYSCTL_SRGPIO_R16 0x00010000 // GPIO Port S Software Reset
- #define SYSCTL_SRGPIO_R15 0x00008000 // GPIO Port R Software Reset
- #define SYSCTL_SRGPIO_R14 0x00004000 // GPIO Port Q Software Reset
- #define SYSCTL_SRGPIO_R13 0x00002000 // GPIO Port P Software Reset
- #define SYSCTL_SRGPIO_R12 0x00001000 // GPIO Port N Software Reset
- #define SYSCTL_SRGPIO_R11 0x00000800 // GPIO Port M Software Reset
- #define SYSCTL_SRGPIO_R10 0x00000400 // GPIO Port L Software Reset
- #define SYSCTL_SRGPIO_R9 0x00000200 // GPIO Port K Software Reset
- #define SYSCTL_SRGPIO_R8 0x00000100 // GPIO Port J Software Reset
- #define SYSCTL_SRGPIO_R7 0x00000080 // GPIO Port H Software Reset
- #define SYSCTL_SRGPIO_R6 0x00000040 // GPIO Port G Software Reset
- #define SYSCTL_SRGPIO_R5 0x00000020 // GPIO Port F Software Reset
- #define SYSCTL_SRGPIO_R4 0x00000010 // GPIO Port E Software Reset
- #define SYSCTL_SRGPIO_R3 0x00000008 // GPIO Port D Software Reset
- #define SYSCTL_SRGPIO_R2 0x00000004 // GPIO Port C Software Reset
- #define SYSCTL_SRGPIO_R1 0x00000002 // GPIO Port B Software Reset
- #define SYSCTL_SRGPIO_R0 0x00000001 // GPIO Port A Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_SRDMA_R0 0x00000001 // uDMA Module Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SREPI register.
- //
- //*****************************************************************************
- #define SYSCTL_SREPI_R0 0x00000001 // EPI Module Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_SRHIB_R0 0x00000001 // Hibernation Module Software
- // Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRUART register.
- //
- //*****************************************************************************
- #define SYSCTL_SRUART_R7 0x00000080 // UART Module 7 Software Reset
- #define SYSCTL_SRUART_R6 0x00000040 // UART Module 6 Software Reset
- #define SYSCTL_SRUART_R5 0x00000020 // UART Module 5 Software Reset
- #define SYSCTL_SRUART_R4 0x00000010 // UART Module 4 Software Reset
- #define SYSCTL_SRUART_R3 0x00000008 // UART Module 3 Software Reset
- #define SYSCTL_SRUART_R2 0x00000004 // UART Module 2 Software Reset
- #define SYSCTL_SRUART_R1 0x00000002 // UART Module 1 Software Reset
- #define SYSCTL_SRUART_R0 0x00000001 // UART Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_SRSSI_R3 0x00000008 // SSI Module 3 Software Reset
- #define SYSCTL_SRSSI_R2 0x00000004 // SSI Module 2 Software Reset
- #define SYSCTL_SRSSI_R1 0x00000002 // SSI Module 1 Software Reset
- #define SYSCTL_SRSSI_R0 0x00000001 // SSI Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_SRI2C_R9 0x00000200 // I2C Module 9 Software Reset
- #define SYSCTL_SRI2C_R8 0x00000100 // I2C Module 8 Software Reset
- #define SYSCTL_SRI2C_R7 0x00000080 // I2C Module 7 Software Reset
- #define SYSCTL_SRI2C_R6 0x00000040 // I2C Module 6 Software Reset
- #define SYSCTL_SRI2C_R5 0x00000020 // I2C Module 5 Software Reset
- #define SYSCTL_SRI2C_R4 0x00000010 // I2C Module 4 Software Reset
- #define SYSCTL_SRI2C_R3 0x00000008 // I2C Module 3 Software Reset
- #define SYSCTL_SRI2C_R2 0x00000004 // I2C Module 2 Software Reset
- #define SYSCTL_SRI2C_R1 0x00000002 // I2C Module 1 Software Reset
- #define SYSCTL_SRI2C_R0 0x00000001 // I2C Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_SRUSB_R0 0x00000001 // USB Module Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SREPHY register.
- //
- //*****************************************************************************
- #define SYSCTL_SREPHY_R0 0x00000001 // Ethernet PHY Module Software
- // Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_SRCAN_R1 0x00000002 // CAN Module 1 Software Reset
- #define SYSCTL_SRCAN_R0 0x00000001 // CAN Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRADC register.
- //
- //*****************************************************************************
- #define SYSCTL_SRADC_R1 0x00000002 // ADC Module 1 Software Reset
- #define SYSCTL_SRADC_R0 0x00000001 // ADC Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRACMP register.
- //
- //*****************************************************************************
- #define SYSCTL_SRACMP_R0 0x00000001 // Analog Comparator Module 0
- // Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_SRPWM_R1 0x00000002 // PWM Module 1 Software Reset
- #define SYSCTL_SRPWM_R0 0x00000001 // PWM Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_SRQEI_R1 0x00000002 // QEI Module 1 Software Reset
- #define SYSCTL_SRQEI_R0 0x00000001 // QEI Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SREEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SREEPROM_R0 0x00000001 // EEPROM Module Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRWTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SRWTIMER_R5 0x00000020 // 32/64-Bit Wide General-Purpose
- // Timer 5 Software Reset
- #define SYSCTL_SRWTIMER_R4 0x00000010 // 32/64-Bit Wide General-Purpose
- // Timer 4 Software Reset
- #define SYSCTL_SRWTIMER_R3 0x00000008 // 32/64-Bit Wide General-Purpose
- // Timer 3 Software Reset
- #define SYSCTL_SRWTIMER_R2 0x00000004 // 32/64-Bit Wide General-Purpose
- // Timer 2 Software Reset
- #define SYSCTL_SRWTIMER_R1 0x00000002 // 32/64-Bit Wide General-Purpose
- // Timer 1 Software Reset
- #define SYSCTL_SRWTIMER_R0 0x00000001 // 32/64-Bit Wide General-Purpose
- // Timer 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_SRCCM_R0 0x00000001 // CRC and Cryptographic Modules
- // Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SRLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_SRLCD_R0 0x00000001 // LCD Module 0 Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SROWIRE register.
- //
- //*****************************************************************************
- #define SYSCTL_SROWIRE_R0 0x00000001 // 1-Wire Module Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SREMAC register.
- //
- //*****************************************************************************
- #define SYSCTL_SREMAC_R0 0x00000001 // Ethernet Controller MAC Module 0
- // Software Reset
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCWD register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCWD_R1 0x00000002 // Watchdog Timer 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCWD_R0 0x00000001 // Watchdog Timer 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCTIMER_R7 0x00000080 // 16/32-Bit General-Purpose Timer
- // 7 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R6 0x00000040 // 16/32-Bit General-Purpose Timer
- // 6 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R5 0x00000020 // 16/32-Bit General-Purpose Timer
- // 5 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R4 0x00000010 // 16/32-Bit General-Purpose Timer
- // 4 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R3 0x00000008 // 16/32-Bit General-Purpose Timer
- // 3 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R2 0x00000004 // 16/32-Bit General-Purpose Timer
- // 2 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R1 0x00000002 // 16/32-Bit General-Purpose Timer
- // 1 Run Mode Clock Gating Control
- #define SYSCTL_RCGCTIMER_R0 0x00000001 // 16/32-Bit General-Purpose Timer
- // 0 Run Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCGPIO
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCGPIO_R17 0x00020000 // GPIO Port T Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R16 0x00010000 // GPIO Port S Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R15 0x00008000 // GPIO Port R Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R14 0x00004000 // GPIO Port Q Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R13 0x00002000 // GPIO Port P Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R12 0x00001000 // GPIO Port N Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R11 0x00000800 // GPIO Port M Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R10 0x00000400 // GPIO Port L Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R9 0x00000200 // GPIO Port K Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R8 0x00000100 // GPIO Port J Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R7 0x00000080 // GPIO Port H Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R6 0x00000040 // GPIO Port G Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R5 0x00000020 // GPIO Port F Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R4 0x00000010 // GPIO Port E Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R3 0x00000008 // GPIO Port D Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R2 0x00000004 // GPIO Port C Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R1 0x00000002 // GPIO Port B Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCGPIO_R0 0x00000001 // GPIO Port A Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCDMA_R0 0x00000001 // uDMA Module Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCEPI register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCEPI_R0 0x00000001 // EPI Module Run Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCHIB_R0 0x00000001 // Hibernation Module Run Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCUART
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCUART_R7 0x00000080 // UART Module 7 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R6 0x00000040 // UART Module 6 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R5 0x00000020 // UART Module 5 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R4 0x00000010 // UART Module 4 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R3 0x00000008 // UART Module 3 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R2 0x00000004 // UART Module 2 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R1 0x00000002 // UART Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCUART_R0 0x00000001 // UART Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCSSI_R3 0x00000008 // SSI Module 3 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCSSI_R2 0x00000004 // SSI Module 2 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCSSI_R1 0x00000002 // SSI Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCSSI_R0 0x00000001 // SSI Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCI2C_R9 0x00000200 // I2C Module 9 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R8 0x00000100 // I2C Module 8 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R7 0x00000080 // I2C Module 7 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R6 0x00000040 // I2C Module 6 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R5 0x00000020 // I2C Module 5 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R4 0x00000010 // I2C Module 4 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R3 0x00000008 // I2C Module 3 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R2 0x00000004 // I2C Module 2 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R1 0x00000002 // I2C Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCI2C_R0 0x00000001 // I2C Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCUSB_R0 0x00000001 // USB Module Run Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCEPHY
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCEPHY_R0 0x00000001 // Ethernet PHY Module Run Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCCAN_R1 0x00000002 // CAN Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCCAN_R0 0x00000001 // CAN Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCADC register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCADC_R1 0x00000002 // ADC Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCADC_R0 0x00000001 // ADC Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCACMP
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCACMP_R0 0x00000001 // Analog Comparator Module 0 Run
- // Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCPWM_R1 0x00000002 // PWM Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCPWM_R0 0x00000001 // PWM Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCQEI_R1 0x00000002 // QEI Module 1 Run Mode Clock
- // Gating Control
- #define SYSCTL_RCGCQEI_R0 0x00000001 // QEI Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCEEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCEEPROM_R0 0x00000001 // EEPROM Module Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCWTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCWTIMER_R5 0x00000020 // 32/64-Bit Wide General-Purpose
- // Timer 5 Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCWTIMER_R4 0x00000010 // 32/64-Bit Wide General-Purpose
- // Timer 4 Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCWTIMER_R3 0x00000008 // 32/64-Bit Wide General-Purpose
- // Timer 3 Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCWTIMER_R2 0x00000004 // 32/64-Bit Wide General-Purpose
- // Timer 2 Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCWTIMER_R1 0x00000002 // 32/64-Bit Wide General-Purpose
- // Timer 1 Run Mode Clock Gating
- // Control
- #define SYSCTL_RCGCWTIMER_R0 0x00000001 // 32/64-Bit Wide General-Purpose
- // Timer 0 Run Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCCCM_R0 0x00000001 // CRC and Cryptographic Modules
- // Run Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCLCD_R0 0x00000001 // LCD Controller Module 0 Run Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCOWIRE
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCOWIRE_R0 0x00000001 // 1-Wire Module 0 Run Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_RCGCEMAC
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_RCGCEMAC_R0 0x00000001 // Ethernet MAC Module 0 Run Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCWD register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCWD_S1 0x00000002 // Watchdog Timer 1 Sleep Mode
- // Clock Gating Control
- #define SYSCTL_SCGCWD_S0 0x00000001 // Watchdog Timer 0 Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCTIMER_S7 0x00000080 // 16/32-Bit General-Purpose Timer
- // 7 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S6 0x00000040 // 16/32-Bit General-Purpose Timer
- // 6 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S5 0x00000020 // 16/32-Bit General-Purpose Timer
- // 5 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S4 0x00000010 // 16/32-Bit General-Purpose Timer
- // 4 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S3 0x00000008 // 16/32-Bit General-Purpose Timer
- // 3 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S2 0x00000004 // 16/32-Bit General-Purpose Timer
- // 2 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S1 0x00000002 // 16/32-Bit General-Purpose Timer
- // 1 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCTIMER_S0 0x00000001 // 16/32-Bit General-Purpose Timer
- // 0 Sleep Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCGPIO
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCGPIO_S17 0x00020000 // GPIO Port T Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S16 0x00010000 // GPIO Port S Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S15 0x00008000 // GPIO Port R Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S14 0x00004000 // GPIO Port Q Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S13 0x00002000 // GPIO Port P Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S12 0x00001000 // GPIO Port N Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S11 0x00000800 // GPIO Port M Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S10 0x00000400 // GPIO Port L Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S9 0x00000200 // GPIO Port K Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S8 0x00000100 // GPIO Port J Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S7 0x00000080 // GPIO Port H Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S6 0x00000040 // GPIO Port G Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S5 0x00000020 // GPIO Port F Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S4 0x00000010 // GPIO Port E Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S3 0x00000008 // GPIO Port D Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S2 0x00000004 // GPIO Port C Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S1 0x00000002 // GPIO Port B Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCGPIO_S0 0x00000001 // GPIO Port A Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCDMA_S0 0x00000001 // uDMA Module Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCEPI register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCEPI_S0 0x00000001 // EPI Module Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCHIB_S0 0x00000001 // Hibernation Module Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCUART
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCUART_S7 0x00000080 // UART Module 7 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S6 0x00000040 // UART Module 6 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S5 0x00000020 // UART Module 5 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S4 0x00000010 // UART Module 4 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S3 0x00000008 // UART Module 3 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S2 0x00000004 // UART Module 2 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S1 0x00000002 // UART Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCUART_S0 0x00000001 // UART Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCSSI_S3 0x00000008 // SSI Module 3 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCSSI_S2 0x00000004 // SSI Module 2 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCSSI_S1 0x00000002 // SSI Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCSSI_S0 0x00000001 // SSI Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCI2C_S9 0x00000200 // I2C Module 9 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S8 0x00000100 // I2C Module 8 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S7 0x00000080 // I2C Module 7 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S6 0x00000040 // I2C Module 6 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S5 0x00000020 // I2C Module 5 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S4 0x00000010 // I2C Module 4 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S3 0x00000008 // I2C Module 3 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S2 0x00000004 // I2C Module 2 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S1 0x00000002 // I2C Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCI2C_S0 0x00000001 // I2C Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCUSB_S0 0x00000001 // USB Module Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCEPHY
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCEPHY_S0 0x00000001 // PHY Module Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCCAN_S1 0x00000002 // CAN Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCCAN_S0 0x00000001 // CAN Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCADC register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCADC_S1 0x00000002 // ADC Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCADC_S0 0x00000001 // ADC Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCACMP
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCACMP_S0 0x00000001 // Analog Comparator Module 0 Sleep
- // Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCPWM_S1 0x00000002 // PWM Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCPWM_S0 0x00000001 // PWM Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCQEI_S1 0x00000002 // QEI Module 1 Sleep Mode Clock
- // Gating Control
- #define SYSCTL_SCGCQEI_S0 0x00000001 // QEI Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCEEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCEEPROM_S0 0x00000001 // EEPROM Module Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCWTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCWTIMER_S5 0x00000020 // 32/64-Bit Wide General-Purpose
- // Timer 5 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCWTIMER_S4 0x00000010 // 32/64-Bit Wide General-Purpose
- // Timer 4 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCWTIMER_S3 0x00000008 // 32/64-Bit Wide General-Purpose
- // Timer 3 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCWTIMER_S2 0x00000004 // 32/64-Bit Wide General-Purpose
- // Timer 2 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCWTIMER_S1 0x00000002 // 32/64-Bit Wide General-Purpose
- // Timer 1 Sleep Mode Clock Gating
- // Control
- #define SYSCTL_SCGCWTIMER_S0 0x00000001 // 32/64-Bit Wide General-Purpose
- // Timer 0 Sleep Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCCCM_S0 0x00000001 // CRC and Cryptographic Modules
- // Sleep Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCLCD_S0 0x00000001 // LCD Controller Module 0 Sleep
- // Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCOWIRE
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCOWIRE_S0 0x00000001 // 1-Wire Module 0 Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_SCGCEMAC
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_SCGCEMAC_S0 0x00000001 // Ethernet MAC Module 0 Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCWD register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCWD_D1 0x00000002 // Watchdog Timer 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCWD_D0 0x00000001 // Watchdog Timer 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCTIMER_D7 0x00000080 // 16/32-Bit General-Purpose Timer
- // 7 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D6 0x00000040 // 16/32-Bit General-Purpose Timer
- // 6 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D5 0x00000020 // 16/32-Bit General-Purpose Timer
- // 5 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D4 0x00000010 // 16/32-Bit General-Purpose Timer
- // 4 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D3 0x00000008 // 16/32-Bit General-Purpose Timer
- // 3 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D2 0x00000004 // 16/32-Bit General-Purpose Timer
- // 2 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D1 0x00000002 // 16/32-Bit General-Purpose Timer
- // 1 Deep-Sleep Mode Clock Gating
- // Control
- #define SYSCTL_DCGCTIMER_D0 0x00000001 // 16/32-Bit General-Purpose Timer
- // 0 Deep-Sleep Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCGPIO
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCGPIO_D17 0x00020000 // GPIO Port T Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D16 0x00010000 // GPIO Port S Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D15 0x00008000 // GPIO Port R Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D14 0x00004000 // GPIO Port Q Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D13 0x00002000 // GPIO Port P Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D12 0x00001000 // GPIO Port N Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D11 0x00000800 // GPIO Port M Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D10 0x00000400 // GPIO Port L Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D9 0x00000200 // GPIO Port K Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D8 0x00000100 // GPIO Port J Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D7 0x00000080 // GPIO Port H Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D6 0x00000040 // GPIO Port G Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D5 0x00000020 // GPIO Port F Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D4 0x00000010 // GPIO Port E Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D3 0x00000008 // GPIO Port D Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D2 0x00000004 // GPIO Port C Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D1 0x00000002 // GPIO Port B Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCGPIO_D0 0x00000001 // GPIO Port A Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCDMA_D0 0x00000001 // uDMA Module Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCEPI register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCEPI_D0 0x00000001 // EPI Module Deep-Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCHIB_D0 0x00000001 // Hibernation Module Deep-Sleep
- // Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCUART
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCUART_D7 0x00000080 // UART Module 7 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D6 0x00000040 // UART Module 6 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D5 0x00000020 // UART Module 5 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D4 0x00000010 // UART Module 4 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D3 0x00000008 // UART Module 3 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D2 0x00000004 // UART Module 2 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D1 0x00000002 // UART Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCUART_D0 0x00000001 // UART Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCSSI_D3 0x00000008 // SSI Module 3 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCSSI_D2 0x00000004 // SSI Module 2 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCSSI_D1 0x00000002 // SSI Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCSSI_D0 0x00000001 // SSI Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCI2C_D9 0x00000200 // I2C Module 9 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D8 0x00000100 // I2C Module 8 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D7 0x00000080 // I2C Module 7 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D6 0x00000040 // I2C Module 6 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D5 0x00000020 // I2C Module 5 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D4 0x00000010 // I2C Module 4 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D3 0x00000008 // I2C Module 3 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D2 0x00000004 // I2C Module 2 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D1 0x00000002 // I2C Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCI2C_D0 0x00000001 // I2C Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCUSB_D0 0x00000001 // USB Module Deep-Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCEPHY
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCEPHY_D0 0x00000001 // PHY Module Deep-Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCCAN_D1 0x00000002 // CAN Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCCAN_D0 0x00000001 // CAN Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCADC register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCADC_D1 0x00000002 // ADC Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCADC_D0 0x00000001 // ADC Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCACMP
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCACMP_D0 0x00000001 // Analog Comparator Module 0
- // Deep-Sleep Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCPWM_D1 0x00000002 // PWM Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCPWM_D0 0x00000001 // PWM Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCQEI_D1 0x00000002 // QEI Module 1 Deep-Sleep Mode
- // Clock Gating Control
- #define SYSCTL_DCGCQEI_D0 0x00000001 // QEI Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCEEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCEEPROM_D0 0x00000001 // EEPROM Module Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCWTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCWTIMER_D5 0x00000020 // 32/64-Bit Wide General-Purpose
- // Timer 5 Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWTIMER_D4 0x00000010 // 32/64-Bit Wide General-Purpose
- // Timer 4 Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWTIMER_D3 0x00000008 // 32/64-Bit Wide General-Purpose
- // Timer 3 Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWTIMER_D2 0x00000004 // 32/64-Bit Wide General-Purpose
- // Timer 2 Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWTIMER_D1 0x00000002 // 32/64-Bit Wide General-Purpose
- // Timer 1 Deep-Sleep Mode Clock
- // Gating Control
- #define SYSCTL_DCGCWTIMER_D0 0x00000001 // 32/64-Bit Wide General-Purpose
- // Timer 0 Deep-Sleep Mode Clock
- // Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCCCM_D0 0x00000001 // CRC and Cryptographic Modules
- // Deep-Sleep Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCLCD_D0 0x00000001 // LCD Controller Module 0
- // Deep-Sleep Mode Clock Gating
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCOWIRE
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCOWIRE_D0 0x00000001 // 1-Wire Module 0 Deep-Sleep Mode
- // Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_DCGCEMAC
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DCGCEMAC_D0 0x00000001 // Ethernet MAC Module 0 Deep-Sleep
- // Mode Clock Gating Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCWD register.
- //
- //*****************************************************************************
- #define SYSCTL_PCWD_P1 0x00000002 // Watchdog Timer 1 Power Control
- #define SYSCTL_PCWD_P0 0x00000001 // Watchdog Timer 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCTIMER register.
- //
- //*****************************************************************************
- #define SYSCTL_PCTIMER_P7 0x00000080 // General-Purpose Timer 7 Power
- // Control
- #define SYSCTL_PCTIMER_P6 0x00000040 // General-Purpose Timer 6 Power
- // Control
- #define SYSCTL_PCTIMER_P5 0x00000020 // General-Purpose Timer 5 Power
- // Control
- #define SYSCTL_PCTIMER_P4 0x00000010 // General-Purpose Timer 4 Power
- // Control
- #define SYSCTL_PCTIMER_P3 0x00000008 // General-Purpose Timer 3 Power
- // Control
- #define SYSCTL_PCTIMER_P2 0x00000004 // General-Purpose Timer 2 Power
- // Control
- #define SYSCTL_PCTIMER_P1 0x00000002 // General-Purpose Timer 1 Power
- // Control
- #define SYSCTL_PCTIMER_P0 0x00000001 // General-Purpose Timer 0 Power
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCGPIO register.
- //
- //*****************************************************************************
- #define SYSCTL_PCGPIO_P17 0x00020000 // GPIO Port T Power Control
- #define SYSCTL_PCGPIO_P16 0x00010000 // GPIO Port S Power Control
- #define SYSCTL_PCGPIO_P15 0x00008000 // GPIO Port R Power Control
- #define SYSCTL_PCGPIO_P14 0x00004000 // GPIO Port Q Power Control
- #define SYSCTL_PCGPIO_P13 0x00002000 // GPIO Port P Power Control
- #define SYSCTL_PCGPIO_P12 0x00001000 // GPIO Port N Power Control
- #define SYSCTL_PCGPIO_P11 0x00000800 // GPIO Port M Power Control
- #define SYSCTL_PCGPIO_P10 0x00000400 // GPIO Port L Power Control
- #define SYSCTL_PCGPIO_P9 0x00000200 // GPIO Port K Power Control
- #define SYSCTL_PCGPIO_P8 0x00000100 // GPIO Port J Power Control
- #define SYSCTL_PCGPIO_P7 0x00000080 // GPIO Port H Power Control
- #define SYSCTL_PCGPIO_P6 0x00000040 // GPIO Port G Power Control
- #define SYSCTL_PCGPIO_P5 0x00000020 // GPIO Port F Power Control
- #define SYSCTL_PCGPIO_P4 0x00000010 // GPIO Port E Power Control
- #define SYSCTL_PCGPIO_P3 0x00000008 // GPIO Port D Power Control
- #define SYSCTL_PCGPIO_P2 0x00000004 // GPIO Port C Power Control
- #define SYSCTL_PCGPIO_P1 0x00000002 // GPIO Port B Power Control
- #define SYSCTL_PCGPIO_P0 0x00000001 // GPIO Port A Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_PCDMA_P0 0x00000001 // uDMA Module Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCEPI register.
- //
- //*****************************************************************************
- #define SYSCTL_PCEPI_P0 0x00000001 // EPI Module Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_PCHIB_P0 0x00000001 // Hibernation Module Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCUART register.
- //
- //*****************************************************************************
- #define SYSCTL_PCUART_P7 0x00000080 // UART Module 7 Power Control
- #define SYSCTL_PCUART_P6 0x00000040 // UART Module 6 Power Control
- #define SYSCTL_PCUART_P5 0x00000020 // UART Module 5 Power Control
- #define SYSCTL_PCUART_P4 0x00000010 // UART Module 4 Power Control
- #define SYSCTL_PCUART_P3 0x00000008 // UART Module 3 Power Control
- #define SYSCTL_PCUART_P2 0x00000004 // UART Module 2 Power Control
- #define SYSCTL_PCUART_P1 0x00000002 // UART Module 1 Power Control
- #define SYSCTL_PCUART_P0 0x00000001 // UART Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_PCSSI_P3 0x00000008 // SSI Module 3 Power Control
- #define SYSCTL_PCSSI_P2 0x00000004 // SSI Module 2 Power Control
- #define SYSCTL_PCSSI_P1 0x00000002 // SSI Module 1 Power Control
- #define SYSCTL_PCSSI_P0 0x00000001 // SSI Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_PCI2C_P9 0x00000200 // I2C Module 9 Power Control
- #define SYSCTL_PCI2C_P8 0x00000100 // I2C Module 8 Power Control
- #define SYSCTL_PCI2C_P7 0x00000080 // I2C Module 7 Power Control
- #define SYSCTL_PCI2C_P6 0x00000040 // I2C Module 6 Power Control
- #define SYSCTL_PCI2C_P5 0x00000020 // I2C Module 5 Power Control
- #define SYSCTL_PCI2C_P4 0x00000010 // I2C Module 4 Power Control
- #define SYSCTL_PCI2C_P3 0x00000008 // I2C Module 3 Power Control
- #define SYSCTL_PCI2C_P2 0x00000004 // I2C Module 2 Power Control
- #define SYSCTL_PCI2C_P1 0x00000002 // I2C Module 1 Power Control
- #define SYSCTL_PCI2C_P0 0x00000001 // I2C Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_PCUSB_P0 0x00000001 // USB Module Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCEPHY register.
- //
- //*****************************************************************************
- #define SYSCTL_PCEPHY_P0 0x00000001 // Ethernet PHY Module Power
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_PCCAN_P1 0x00000002 // CAN Module 1 Power Control
- #define SYSCTL_PCCAN_P0 0x00000001 // CAN Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCADC register.
- //
- //*****************************************************************************
- #define SYSCTL_PCADC_P1 0x00000002 // ADC Module 1 Power Control
- #define SYSCTL_PCADC_P0 0x00000001 // ADC Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCACMP register.
- //
- //*****************************************************************************
- #define SYSCTL_PCACMP_P0 0x00000001 // Analog Comparator Module 0 Power
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_PCPWM_P0 0x00000001 // PWM Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_PCQEI_P0 0x00000001 // QEI Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCEEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PCEEPROM_P0 0x00000001 // EEPROM Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_PCCCM_P0 0x00000001 // CRC and Cryptographic Modules
- // Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_PCLCD_P0 0x00000001 // LCD Controller Module 0 Power
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCOWIRE register.
- //
- //*****************************************************************************
- #define SYSCTL_PCOWIRE_P0 0x00000001 // 1-Wire Module 0 Power Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PCEMAC register.
- //
- //*****************************************************************************
- #define SYSCTL_PCEMAC_P0 0x00000001 // Ethernet MAC Module 0 Power
- // Control
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRWD register.
- //
- //*****************************************************************************
- #define SYSCTL_PRWD_R1 0x00000002 // Watchdog Timer 1 Peripheral
- // Ready
- #define SYSCTL_PRWD_R0 0x00000001 // Watchdog Timer 0 Peripheral
- // Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRTIMER register.
- //
- //*****************************************************************************
- #define SYSCTL_PRTIMER_R7 0x00000080 // 16/32-Bit General-Purpose Timer
- // 7 Peripheral Ready
- #define SYSCTL_PRTIMER_R6 0x00000040 // 16/32-Bit General-Purpose Timer
- // 6 Peripheral Ready
- #define SYSCTL_PRTIMER_R5 0x00000020 // 16/32-Bit General-Purpose Timer
- // 5 Peripheral Ready
- #define SYSCTL_PRTIMER_R4 0x00000010 // 16/32-Bit General-Purpose Timer
- // 4 Peripheral Ready
- #define SYSCTL_PRTIMER_R3 0x00000008 // 16/32-Bit General-Purpose Timer
- // 3 Peripheral Ready
- #define SYSCTL_PRTIMER_R2 0x00000004 // 16/32-Bit General-Purpose Timer
- // 2 Peripheral Ready
- #define SYSCTL_PRTIMER_R1 0x00000002 // 16/32-Bit General-Purpose Timer
- // 1 Peripheral Ready
- #define SYSCTL_PRTIMER_R0 0x00000001 // 16/32-Bit General-Purpose Timer
- // 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRGPIO register.
- //
- //*****************************************************************************
- #define SYSCTL_PRGPIO_R17 0x00020000 // GPIO Port T Peripheral Ready
- #define SYSCTL_PRGPIO_R16 0x00010000 // GPIO Port S Peripheral Ready
- #define SYSCTL_PRGPIO_R15 0x00008000 // GPIO Port R Peripheral Ready
- #define SYSCTL_PRGPIO_R14 0x00004000 // GPIO Port Q Peripheral Ready
- #define SYSCTL_PRGPIO_R13 0x00002000 // GPIO Port P Peripheral Ready
- #define SYSCTL_PRGPIO_R12 0x00001000 // GPIO Port N Peripheral Ready
- #define SYSCTL_PRGPIO_R11 0x00000800 // GPIO Port M Peripheral Ready
- #define SYSCTL_PRGPIO_R10 0x00000400 // GPIO Port L Peripheral Ready
- #define SYSCTL_PRGPIO_R9 0x00000200 // GPIO Port K Peripheral Ready
- #define SYSCTL_PRGPIO_R8 0x00000100 // GPIO Port J Peripheral Ready
- #define SYSCTL_PRGPIO_R7 0x00000080 // GPIO Port H Peripheral Ready
- #define SYSCTL_PRGPIO_R6 0x00000040 // GPIO Port G Peripheral Ready
- #define SYSCTL_PRGPIO_R5 0x00000020 // GPIO Port F Peripheral Ready
- #define SYSCTL_PRGPIO_R4 0x00000010 // GPIO Port E Peripheral Ready
- #define SYSCTL_PRGPIO_R3 0x00000008 // GPIO Port D Peripheral Ready
- #define SYSCTL_PRGPIO_R2 0x00000004 // GPIO Port C Peripheral Ready
- #define SYSCTL_PRGPIO_R1 0x00000002 // GPIO Port B Peripheral Ready
- #define SYSCTL_PRGPIO_R0 0x00000001 // GPIO Port A Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRDMA register.
- //
- //*****************************************************************************
- #define SYSCTL_PRDMA_R0 0x00000001 // uDMA Module Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PREPI register.
- //
- //*****************************************************************************
- #define SYSCTL_PREPI_R0 0x00000001 // EPI Module Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRHIB register.
- //
- //*****************************************************************************
- #define SYSCTL_PRHIB_R0 0x00000001 // Hibernation Module Peripheral
- // Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRUART register.
- //
- //*****************************************************************************
- #define SYSCTL_PRUART_R7 0x00000080 // UART Module 7 Peripheral Ready
- #define SYSCTL_PRUART_R6 0x00000040 // UART Module 6 Peripheral Ready
- #define SYSCTL_PRUART_R5 0x00000020 // UART Module 5 Peripheral Ready
- #define SYSCTL_PRUART_R4 0x00000010 // UART Module 4 Peripheral Ready
- #define SYSCTL_PRUART_R3 0x00000008 // UART Module 3 Peripheral Ready
- #define SYSCTL_PRUART_R2 0x00000004 // UART Module 2 Peripheral Ready
- #define SYSCTL_PRUART_R1 0x00000002 // UART Module 1 Peripheral Ready
- #define SYSCTL_PRUART_R0 0x00000001 // UART Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRSSI register.
- //
- //*****************************************************************************
- #define SYSCTL_PRSSI_R3 0x00000008 // SSI Module 3 Peripheral Ready
- #define SYSCTL_PRSSI_R2 0x00000004 // SSI Module 2 Peripheral Ready
- #define SYSCTL_PRSSI_R1 0x00000002 // SSI Module 1 Peripheral Ready
- #define SYSCTL_PRSSI_R0 0x00000001 // SSI Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRI2C register.
- //
- //*****************************************************************************
- #define SYSCTL_PRI2C_R9 0x00000200 // I2C Module 9 Peripheral Ready
- #define SYSCTL_PRI2C_R8 0x00000100 // I2C Module 8 Peripheral Ready
- #define SYSCTL_PRI2C_R7 0x00000080 // I2C Module 7 Peripheral Ready
- #define SYSCTL_PRI2C_R6 0x00000040 // I2C Module 6 Peripheral Ready
- #define SYSCTL_PRI2C_R5 0x00000020 // I2C Module 5 Peripheral Ready
- #define SYSCTL_PRI2C_R4 0x00000010 // I2C Module 4 Peripheral Ready
- #define SYSCTL_PRI2C_R3 0x00000008 // I2C Module 3 Peripheral Ready
- #define SYSCTL_PRI2C_R2 0x00000004 // I2C Module 2 Peripheral Ready
- #define SYSCTL_PRI2C_R1 0x00000002 // I2C Module 1 Peripheral Ready
- #define SYSCTL_PRI2C_R0 0x00000001 // I2C Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRUSB register.
- //
- //*****************************************************************************
- #define SYSCTL_PRUSB_R0 0x00000001 // USB Module Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PREPHY register.
- //
- //*****************************************************************************
- #define SYSCTL_PREPHY_R0 0x00000001 // Ethernet PHY Module Peripheral
- // Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRCAN register.
- //
- //*****************************************************************************
- #define SYSCTL_PRCAN_R1 0x00000002 // CAN Module 1 Peripheral Ready
- #define SYSCTL_PRCAN_R0 0x00000001 // CAN Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRADC register.
- //
- //*****************************************************************************
- #define SYSCTL_PRADC_R1 0x00000002 // ADC Module 1 Peripheral Ready
- #define SYSCTL_PRADC_R0 0x00000001 // ADC Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRACMP register.
- //
- //*****************************************************************************
- #define SYSCTL_PRACMP_R0 0x00000001 // Analog Comparator Module 0
- // Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRPWM register.
- //
- //*****************************************************************************
- #define SYSCTL_PRPWM_R1 0x00000002 // PWM Module 1 Peripheral Ready
- #define SYSCTL_PRPWM_R0 0x00000001 // PWM Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRQEI register.
- //
- //*****************************************************************************
- #define SYSCTL_PRQEI_R1 0x00000002 // QEI Module 1 Peripheral Ready
- #define SYSCTL_PRQEI_R0 0x00000001 // QEI Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PREEPROM
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PREEPROM_R0 0x00000001 // EEPROM Module Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRWTIMER
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PRWTIMER_R5 0x00000020 // 32/64-Bit Wide General-Purpose
- // Timer 5 Peripheral Ready
- #define SYSCTL_PRWTIMER_R4 0x00000010 // 32/64-Bit Wide General-Purpose
- // Timer 4 Peripheral Ready
- #define SYSCTL_PRWTIMER_R3 0x00000008 // 32/64-Bit Wide General-Purpose
- // Timer 3 Peripheral Ready
- #define SYSCTL_PRWTIMER_R2 0x00000004 // 32/64-Bit Wide General-Purpose
- // Timer 2 Peripheral Ready
- #define SYSCTL_PRWTIMER_R1 0x00000002 // 32/64-Bit Wide General-Purpose
- // Timer 1 Peripheral Ready
- #define SYSCTL_PRWTIMER_R0 0x00000001 // 32/64-Bit Wide General-Purpose
- // Timer 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRCCM register.
- //
- //*****************************************************************************
- #define SYSCTL_PRCCM_R0 0x00000001 // CRC and Cryptographic Modules
- // Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PRLCD register.
- //
- //*****************************************************************************
- #define SYSCTL_PRLCD_R0 0x00000001 // LCD Controller Module 0
- // Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PROWIRE register.
- //
- //*****************************************************************************
- #define SYSCTL_PROWIRE_R0 0x00000001 // 1-Wire Module 0 Peripheral Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_PREMAC register.
- //
- //*****************************************************************************
- #define SYSCTL_PREMAC_R0 0x00000001 // Ethernet MAC Module 0 Peripheral
- // Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the SYSCTL_CCMCGREQ
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_CCMCGREQ_DESCFG 0x00000004 // DES Clock Gating Request
- #define SYSCTL_CCMCGREQ_AESCFG 0x00000002 // AES Clock Gating Request
- #define SYSCTL_CCMCGREQ_SHACFG 0x00000001 // SHA/MD5 Clock Gating Request
- //*****************************************************************************
- //
- // The following definitions are deprecated.
- //
- //*****************************************************************************
- #ifndef DEPRECATED
- //*****************************************************************************
- //
- // The following are deprecated defines for the bit fields in the SYSCTL_DID0
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_DID0_CLASS_BLIZZARD \
- 0x00050000 // Tiva(TM) C Series TM4C123-class
- // microcontrollers
- #define SYSCTL_DID0_CLASS_SNOWFLAKE \
- 0x000A0000 // Tiva(TM) C Series TM4C129-class
- // microcontrollers
- //*****************************************************************************
- //
- // The following are deprecated defines for the bit fields in the SYSCTL_PWRTC
- // register.
- //
- //*****************************************************************************
- #define SYSCTL_PWRTC_VDDA_UBOR0 0x00000010 // VDDA Under BOR0 Status
- #define SYSCTL_PWRTC_VDD_UBOR0 0x00000001 // VDD Under BOR0 Status
- #endif
- #endif // __HW_SYSCTL_H__
|