1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639 |
- //*****************************************************************************
- //
- // hw_usb.h - Macros for use in accessing the USB registers.
- //
- // Copyright (c) 2007-2011 Texas Instruments Incorporated. All rights reserved.
- // Software License Agreement
- //
- // Texas Instruments (TI) is supplying this software for use solely and
- // exclusively on TI's microcontroller products. The software is owned by
- // TI and/or its suppliers, and is protected under applicable copyright
- // laws. You may not combine this software with "viral" open-source
- // software in order to form a larger program.
- //
- // THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
- // NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
- // NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- // A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
- // CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
- // DAMAGES, FOR ANY REASON WHATSOEVER.
- //
- // This is part of revision 8264 of the Stellaris Firmware Development Package.
- //
- //*****************************************************************************
- #ifndef __HW_USB_H__
- #define __HW_USB_H__
- //*****************************************************************************
- //
- // The following are defines for the Univeral Serial Bus register offsets.
- //
- //*****************************************************************************
- #define USB_O_FADDR 0x00000000 // USB Device Functional Address
- #define USB_O_POWER 0x00000001 // USB Power
- #define USB_O_TXIS 0x00000002 // USB Transmit Interrupt Status
- #define USB_O_RXIS 0x00000004 // USB Receive Interrupt Status
- #define USB_O_TXIE 0x00000006 // USB Transmit Interrupt Enable
- #define USB_O_RXIE 0x00000008 // USB Receive Interrupt Enable
- #define USB_O_IS 0x0000000A // USB General Interrupt Status
- #define USB_O_IE 0x0000000B // USB Interrupt Enable
- #define USB_O_FRAME 0x0000000C // USB Frame Value
- #define USB_O_EPIDX 0x0000000E // USB Endpoint Index
- #define USB_O_TEST 0x0000000F // USB Test Mode
- #define USB_O_FIFO0 0x00000020 // USB FIFO Endpoint 0
- #define USB_O_FIFO1 0x00000024 // USB FIFO Endpoint 1
- #define USB_O_FIFO2 0x00000028 // USB FIFO Endpoint 2
- #define USB_O_FIFO3 0x0000002C // USB FIFO Endpoint 3
- #define USB_O_FIFO4 0x00000030 // USB FIFO Endpoint 4
- #define USB_O_FIFO5 0x00000034 // USB FIFO Endpoint 5
- #define USB_O_FIFO6 0x00000038 // USB FIFO Endpoint 6
- #define USB_O_FIFO7 0x0000003C // USB FIFO Endpoint 7
- #define USB_O_FIFO8 0x00000040 // USB FIFO Endpoint 8
- #define USB_O_FIFO9 0x00000044 // USB FIFO Endpoint 9
- #define USB_O_FIFO10 0x00000048 // USB FIFO Endpoint 10
- #define USB_O_FIFO11 0x0000004C // USB FIFO Endpoint 11
- #define USB_O_FIFO12 0x00000050 // USB FIFO Endpoint 12
- #define USB_O_FIFO13 0x00000054 // USB FIFO Endpoint 13
- #define USB_O_FIFO14 0x00000058 // USB FIFO Endpoint 14
- #define USB_O_FIFO15 0x0000005C // USB FIFO Endpoint 15
- #define USB_O_DEVCTL 0x00000060 // USB Device Control
- #define USB_O_TXFIFOSZ 0x00000062 // USB Transmit Dynamic FIFO Sizing
- #define USB_O_RXFIFOSZ 0x00000063 // USB Receive Dynamic FIFO Sizing
- #define USB_O_TXFIFOADD 0x00000064 // USB Transmit FIFO Start Address
- #define USB_O_RXFIFOADD 0x00000066 // USB Receive FIFO Start Address
- #define USB_O_CONTIM 0x0000007A // USB Connect Timing
- #define USB_O_VPLEN 0x0000007B // USB OTG VBUS Pulse Timing
- #define USB_O_FSEOF 0x0000007D // USB Full-Speed Last Transaction
- // to End of Frame Timing
- #define USB_O_LSEOF 0x0000007E // USB Low-Speed Last Transaction
- // to End of Frame Timing
- #define USB_O_TXFUNCADDR0 0x00000080 // USB Transmit Functional Address
- // Endpoint 0
- #define USB_O_TXHUBADDR0 0x00000082 // USB Transmit Hub Address
- // Endpoint 0
- #define USB_O_TXHUBPORT0 0x00000083 // USB Transmit Hub Port Endpoint 0
- #define USB_O_TXFUNCADDR1 0x00000088 // USB Transmit Functional Address
- // Endpoint 1
- #define USB_O_TXHUBADDR1 0x0000008A // USB Transmit Hub Address
- // Endpoint 1
- #define USB_O_TXHUBPORT1 0x0000008B // USB Transmit Hub Port Endpoint 1
- #define USB_O_RXFUNCADDR1 0x0000008C // USB Receive Functional Address
- // Endpoint 1
- #define USB_O_RXHUBADDR1 0x0000008E // USB Receive Hub Address Endpoint
- // 1
- #define USB_O_RXHUBPORT1 0x0000008F // USB Receive Hub Port Endpoint 1
- #define USB_O_TXFUNCADDR2 0x00000090 // USB Transmit Functional Address
- // Endpoint 2
- #define USB_O_TXHUBADDR2 0x00000092 // USB Transmit Hub Address
- // Endpoint 2
- #define USB_O_TXHUBPORT2 0x00000093 // USB Transmit Hub Port Endpoint 2
- #define USB_O_RXFUNCADDR2 0x00000094 // USB Receive Functional Address
- // Endpoint 2
- #define USB_O_RXHUBADDR2 0x00000096 // USB Receive Hub Address Endpoint
- // 2
- #define USB_O_RXHUBPORT2 0x00000097 // USB Receive Hub Port Endpoint 2
- #define USB_O_TXFUNCADDR3 0x00000098 // USB Transmit Functional Address
- // Endpoint 3
- #define USB_O_TXHUBADDR3 0x0000009A // USB Transmit Hub Address
- // Endpoint 3
- #define USB_O_TXHUBPORT3 0x0000009B // USB Transmit Hub Port Endpoint 3
- #define USB_O_RXFUNCADDR3 0x0000009C // USB Receive Functional Address
- // Endpoint 3
- #define USB_O_RXHUBADDR3 0x0000009E // USB Receive Hub Address Endpoint
- // 3
- #define USB_O_RXHUBPORT3 0x0000009F // USB Receive Hub Port Endpoint 3
- #define USB_O_TXFUNCADDR4 0x000000A0 // USB Transmit Functional Address
- // Endpoint 4
- #define USB_O_TXHUBADDR4 0x000000A2 // USB Transmit Hub Address
- // Endpoint 4
- #define USB_O_TXHUBPORT4 0x000000A3 // USB Transmit Hub Port Endpoint 4
- #define USB_O_RXFUNCADDR4 0x000000A4 // USB Receive Functional Address
- // Endpoint 4
- #define USB_O_RXHUBADDR4 0x000000A6 // USB Receive Hub Address Endpoint
- // 4
- #define USB_O_RXHUBPORT4 0x000000A7 // USB Receive Hub Port Endpoint 4
- #define USB_O_TXFUNCADDR5 0x000000A8 // USB Transmit Functional Address
- // Endpoint 5
- #define USB_O_TXHUBADDR5 0x000000AA // USB Transmit Hub Address
- // Endpoint 5
- #define USB_O_TXHUBPORT5 0x000000AB // USB Transmit Hub Port Endpoint 5
- #define USB_O_RXFUNCADDR5 0x000000AC // USB Receive Functional Address
- // Endpoint 5
- #define USB_O_RXHUBADDR5 0x000000AE // USB Receive Hub Address Endpoint
- // 5
- #define USB_O_RXHUBPORT5 0x000000AF // USB Receive Hub Port Endpoint 5
- #define USB_O_TXFUNCADDR6 0x000000B0 // USB Transmit Functional Address
- // Endpoint 6
- #define USB_O_TXHUBADDR6 0x000000B2 // USB Transmit Hub Address
- // Endpoint 6
- #define USB_O_TXHUBPORT6 0x000000B3 // USB Transmit Hub Port Endpoint 6
- #define USB_O_RXFUNCADDR6 0x000000B4 // USB Receive Functional Address
- // Endpoint 6
- #define USB_O_RXHUBADDR6 0x000000B6 // USB Receive Hub Address Endpoint
- // 6
- #define USB_O_RXHUBPORT6 0x000000B7 // USB Receive Hub Port Endpoint 6
- #define USB_O_TXFUNCADDR7 0x000000B8 // USB Transmit Functional Address
- // Endpoint 7
- #define USB_O_TXHUBADDR7 0x000000BA // USB Transmit Hub Address
- // Endpoint 7
- #define USB_O_TXHUBPORT7 0x000000BB // USB Transmit Hub Port Endpoint 7
- #define USB_O_RXFUNCADDR7 0x000000BC // USB Receive Functional Address
- // Endpoint 7
- #define USB_O_RXHUBADDR7 0x000000BE // USB Receive Hub Address Endpoint
- // 7
- #define USB_O_RXHUBPORT7 0x000000BF // USB Receive Hub Port Endpoint 7
- #define USB_O_TXFUNCADDR8 0x000000C0 // USB Transmit Functional Address
- // Endpoint 8
- #define USB_O_TXHUBADDR8 0x000000C2 // USB Transmit Hub Address
- // Endpoint 8
- #define USB_O_TXHUBPORT8 0x000000C3 // USB Transmit Hub Port Endpoint 8
- #define USB_O_RXFUNCADDR8 0x000000C4 // USB Receive Functional Address
- // Endpoint 8
- #define USB_O_RXHUBADDR8 0x000000C6 // USB Receive Hub Address Endpoint
- // 8
- #define USB_O_RXHUBPORT8 0x000000C7 // USB Receive Hub Port Endpoint 8
- #define USB_O_TXFUNCADDR9 0x000000C8 // USB Transmit Functional Address
- // Endpoint 9
- #define USB_O_TXHUBADDR9 0x000000CA // USB Transmit Hub Address
- // Endpoint 9
- #define USB_O_TXHUBPORT9 0x000000CB // USB Transmit Hub Port Endpoint 9
- #define USB_O_RXFUNCADDR9 0x000000CC // USB Receive Functional Address
- // Endpoint 9
- #define USB_O_RXHUBADDR9 0x000000CE // USB Receive Hub Address Endpoint
- // 9
- #define USB_O_RXHUBPORT9 0x000000CF // USB Receive Hub Port Endpoint 9
- #define USB_O_TXFUNCADDR10 0x000000D0 // USB Transmit Functional Address
- // Endpoint 10
- #define USB_O_TXHUBADDR10 0x000000D2 // USB Transmit Hub Address
- // Endpoint 10
- #define USB_O_TXHUBPORT10 0x000000D3 // USB Transmit Hub Port Endpoint
- // 10
- #define USB_O_RXFUNCADDR10 0x000000D4 // USB Receive Functional Address
- // Endpoint 10
- #define USB_O_RXHUBADDR10 0x000000D6 // USB Receive Hub Address Endpoint
- // 10
- #define USB_O_RXHUBPORT10 0x000000D7 // USB Receive Hub Port Endpoint 10
- #define USB_O_TXFUNCADDR11 0x000000D8 // USB Transmit Functional Address
- // Endpoint 11
- #define USB_O_TXHUBADDR11 0x000000DA // USB Transmit Hub Address
- // Endpoint 11
- #define USB_O_TXHUBPORT11 0x000000DB // USB Transmit Hub Port Endpoint
- // 11
- #define USB_O_RXFUNCADDR11 0x000000DC // USB Receive Functional Address
- // Endpoint 11
- #define USB_O_RXHUBADDR11 0x000000DE // USB Receive Hub Address Endpoint
- // 11
- #define USB_O_RXHUBPORT11 0x000000DF // USB Receive Hub Port Endpoint 11
- #define USB_O_TXFUNCADDR12 0x000000E0 // USB Transmit Functional Address
- // Endpoint 12
- #define USB_O_TXHUBADDR12 0x000000E2 // USB Transmit Hub Address
- // Endpoint 12
- #define USB_O_TXHUBPORT12 0x000000E3 // USB Transmit Hub Port Endpoint
- // 12
- #define USB_O_RXFUNCADDR12 0x000000E4 // USB Receive Functional Address
- // Endpoint 12
- #define USB_O_RXHUBADDR12 0x000000E6 // USB Receive Hub Address Endpoint
- // 12
- #define USB_O_RXHUBPORT12 0x000000E7 // USB Receive Hub Port Endpoint 12
- #define USB_O_TXFUNCADDR13 0x000000E8 // USB Transmit Functional Address
- // Endpoint 13
- #define USB_O_TXHUBADDR13 0x000000EA // USB Transmit Hub Address
- // Endpoint 13
- #define USB_O_TXHUBPORT13 0x000000EB // USB Transmit Hub Port Endpoint
- // 13
- #define USB_O_RXFUNCADDR13 0x000000EC // USB Receive Functional Address
- // Endpoint 13
- #define USB_O_RXHUBADDR13 0x000000EE // USB Receive Hub Address Endpoint
- // 13
- #define USB_O_RXHUBPORT13 0x000000EF // USB Receive Hub Port Endpoint 13
- #define USB_O_TXFUNCADDR14 0x000000F0 // USB Transmit Functional Address
- // Endpoint 14
- #define USB_O_TXHUBADDR14 0x000000F2 // USB Transmit Hub Address
- // Endpoint 14
- #define USB_O_TXHUBPORT14 0x000000F3 // USB Transmit Hub Port Endpoint
- // 14
- #define USB_O_RXFUNCADDR14 0x000000F4 // USB Receive Functional Address
- // Endpoint 14
- #define USB_O_RXHUBADDR14 0x000000F6 // USB Receive Hub Address Endpoint
- // 14
- #define USB_O_RXHUBPORT14 0x000000F7 // USB Receive Hub Port Endpoint 14
- #define USB_O_TXFUNCADDR15 0x000000F8 // USB Transmit Functional Address
- // Endpoint 15
- #define USB_O_TXHUBADDR15 0x000000FA // USB Transmit Hub Address
- // Endpoint 15
- #define USB_O_TXHUBPORT15 0x000000FB // USB Transmit Hub Port Endpoint
- // 15
- #define USB_O_RXFUNCADDR15 0x000000FC // USB Receive Functional Address
- // Endpoint 15
- #define USB_O_RXHUBADDR15 0x000000FE // USB Receive Hub Address Endpoint
- // 15
- #define USB_O_RXHUBPORT15 0x000000FF // USB Receive Hub Port Endpoint 15
- #define USB_O_CSRL0 0x00000102 // USB Control and Status Endpoint
- // 0 Low
- #define USB_O_CSRH0 0x00000103 // USB Control and Status Endpoint
- // 0 High
- #define USB_O_COUNT0 0x00000108 // USB Receive Byte Count Endpoint
- // 0
- #define USB_O_TYPE0 0x0000010A // USB Type Endpoint 0
- #define USB_O_NAKLMT 0x0000010B // USB NAK Limit
- #define USB_O_TXMAXP1 0x00000110 // USB Maximum Transmit Data
- // Endpoint 1
- #define USB_O_TXCSRL1 0x00000112 // USB Transmit Control and Status
- // Endpoint 1 Low
- #define USB_O_TXCSRH1 0x00000113 // USB Transmit Control and Status
- // Endpoint 1 High
- #define USB_O_RXMAXP1 0x00000114 // USB Maximum Receive Data
- // Endpoint 1
- #define USB_O_RXCSRL1 0x00000116 // USB Receive Control and Status
- // Endpoint 1 Low
- #define USB_O_RXCSRH1 0x00000117 // USB Receive Control and Status
- // Endpoint 1 High
- #define USB_O_RXCOUNT1 0x00000118 // USB Receive Byte Count Endpoint
- // 1
- #define USB_O_TXTYPE1 0x0000011A // USB Host Transmit Configure Type
- // Endpoint 1
- #define USB_O_TXINTERVAL1 0x0000011B // USB Host Transmit Interval
- // Endpoint 1
- #define USB_O_RXTYPE1 0x0000011C // USB Host Configure Receive Type
- // Endpoint 1
- #define USB_O_RXINTERVAL1 0x0000011D // USB Host Receive Polling
- // Interval Endpoint 1
- #define USB_O_TXMAXP2 0x00000120 // USB Maximum Transmit Data
- // Endpoint 2
- #define USB_O_TXCSRL2 0x00000122 // USB Transmit Control and Status
- // Endpoint 2 Low
- #define USB_O_TXCSRH2 0x00000123 // USB Transmit Control and Status
- // Endpoint 2 High
- #define USB_O_RXMAXP2 0x00000124 // USB Maximum Receive Data
- // Endpoint 2
- #define USB_O_RXCSRL2 0x00000126 // USB Receive Control and Status
- // Endpoint 2 Low
- #define USB_O_RXCSRH2 0x00000127 // USB Receive Control and Status
- // Endpoint 2 High
- #define USB_O_RXCOUNT2 0x00000128 // USB Receive Byte Count Endpoint
- // 2
- #define USB_O_TXTYPE2 0x0000012A // USB Host Transmit Configure Type
- // Endpoint 2
- #define USB_O_TXINTERVAL2 0x0000012B // USB Host Transmit Interval
- // Endpoint 2
- #define USB_O_RXTYPE2 0x0000012C // USB Host Configure Receive Type
- // Endpoint 2
- #define USB_O_RXINTERVAL2 0x0000012D // USB Host Receive Polling
- // Interval Endpoint 2
- #define USB_O_TXMAXP3 0x00000130 // USB Maximum Transmit Data
- // Endpoint 3
- #define USB_O_TXCSRL3 0x00000132 // USB Transmit Control and Status
- // Endpoint 3 Low
- #define USB_O_TXCSRH3 0x00000133 // USB Transmit Control and Status
- // Endpoint 3 High
- #define USB_O_RXMAXP3 0x00000134 // USB Maximum Receive Data
- // Endpoint 3
- #define USB_O_RXCSRL3 0x00000136 // USB Receive Control and Status
- // Endpoint 3 Low
- #define USB_O_RXCSRH3 0x00000137 // USB Receive Control and Status
- // Endpoint 3 High
- #define USB_O_RXCOUNT3 0x00000138 // USB Receive Byte Count Endpoint
- // 3
- #define USB_O_TXTYPE3 0x0000013A // USB Host Transmit Configure Type
- // Endpoint 3
- #define USB_O_TXINTERVAL3 0x0000013B // USB Host Transmit Interval
- // Endpoint 3
- #define USB_O_RXTYPE3 0x0000013C // USB Host Configure Receive Type
- // Endpoint 3
- #define USB_O_RXINTERVAL3 0x0000013D // USB Host Receive Polling
- // Interval Endpoint 3
- #define USB_O_TXMAXP4 0x00000140 // USB Maximum Transmit Data
- // Endpoint 4
- #define USB_O_TXCSRL4 0x00000142 // USB Transmit Control and Status
- // Endpoint 4 Low
- #define USB_O_TXCSRH4 0x00000143 // USB Transmit Control and Status
- // Endpoint 4 High
- #define USB_O_RXMAXP4 0x00000144 // USB Maximum Receive Data
- // Endpoint 4
- #define USB_O_RXCSRL4 0x00000146 // USB Receive Control and Status
- // Endpoint 4 Low
- #define USB_O_RXCSRH4 0x00000147 // USB Receive Control and Status
- // Endpoint 4 High
- #define USB_O_RXCOUNT4 0x00000148 // USB Receive Byte Count Endpoint
- // 4
- #define USB_O_TXTYPE4 0x0000014A // USB Host Transmit Configure Type
- // Endpoint 4
- #define USB_O_TXINTERVAL4 0x0000014B // USB Host Transmit Interval
- // Endpoint 4
- #define USB_O_RXTYPE4 0x0000014C // USB Host Configure Receive Type
- // Endpoint 4
- #define USB_O_RXINTERVAL4 0x0000014D // USB Host Receive Polling
- // Interval Endpoint 4
- #define USB_O_TXMAXP5 0x00000150 // USB Maximum Transmit Data
- // Endpoint 5
- #define USB_O_TXCSRL5 0x00000152 // USB Transmit Control and Status
- // Endpoint 5 Low
- #define USB_O_TXCSRH5 0x00000153 // USB Transmit Control and Status
- // Endpoint 5 High
- #define USB_O_RXMAXP5 0x00000154 // USB Maximum Receive Data
- // Endpoint 5
- #define USB_O_RXCSRL5 0x00000156 // USB Receive Control and Status
- // Endpoint 5 Low
- #define USB_O_RXCSRH5 0x00000157 // USB Receive Control and Status
- // Endpoint 5 High
- #define USB_O_RXCOUNT5 0x00000158 // USB Receive Byte Count Endpoint
- // 5
- #define USB_O_TXTYPE5 0x0000015A // USB Host Transmit Configure Type
- // Endpoint 5
- #define USB_O_TXINTERVAL5 0x0000015B // USB Host Transmit Interval
- // Endpoint 5
- #define USB_O_RXTYPE5 0x0000015C // USB Host Configure Receive Type
- // Endpoint 5
- #define USB_O_RXINTERVAL5 0x0000015D // USB Host Receive Polling
- // Interval Endpoint 5
- #define USB_O_TXMAXP6 0x00000160 // USB Maximum Transmit Data
- // Endpoint 6
- #define USB_O_TXCSRL6 0x00000162 // USB Transmit Control and Status
- // Endpoint 6 Low
- #define USB_O_TXCSRH6 0x00000163 // USB Transmit Control and Status
- // Endpoint 6 High
- #define USB_O_RXMAXP6 0x00000164 // USB Maximum Receive Data
- // Endpoint 6
- #define USB_O_RXCSRL6 0x00000166 // USB Receive Control and Status
- // Endpoint 6 Low
- #define USB_O_RXCSRH6 0x00000167 // USB Receive Control and Status
- // Endpoint 6 High
- #define USB_O_RXCOUNT6 0x00000168 // USB Receive Byte Count Endpoint
- // 6
- #define USB_O_TXTYPE6 0x0000016A // USB Host Transmit Configure Type
- // Endpoint 6
- #define USB_O_TXINTERVAL6 0x0000016B // USB Host Transmit Interval
- // Endpoint 6
- #define USB_O_RXTYPE6 0x0000016C // USB Host Configure Receive Type
- // Endpoint 6
- #define USB_O_RXINTERVAL6 0x0000016D // USB Host Receive Polling
- // Interval Endpoint 6
- #define USB_O_TXMAXP7 0x00000170 // USB Maximum Transmit Data
- // Endpoint 7
- #define USB_O_TXCSRL7 0x00000172 // USB Transmit Control and Status
- // Endpoint 7 Low
- #define USB_O_TXCSRH7 0x00000173 // USB Transmit Control and Status
- // Endpoint 7 High
- #define USB_O_RXMAXP7 0x00000174 // USB Maximum Receive Data
- // Endpoint 7
- #define USB_O_RXCSRL7 0x00000176 // USB Receive Control and Status
- // Endpoint 7 Low
- #define USB_O_RXCSRH7 0x00000177 // USB Receive Control and Status
- // Endpoint 7 High
- #define USB_O_RXCOUNT7 0x00000178 // USB Receive Byte Count Endpoint
- // 7
- #define USB_O_TXTYPE7 0x0000017A // USB Host Transmit Configure Type
- // Endpoint 7
- #define USB_O_TXINTERVAL7 0x0000017B // USB Host Transmit Interval
- // Endpoint 7
- #define USB_O_RXTYPE7 0x0000017C // USB Host Configure Receive Type
- // Endpoint 7
- #define USB_O_RXINTERVAL7 0x0000017D // USB Host Receive Polling
- // Interval Endpoint 7
- #define USB_O_TXMAXP8 0x00000180 // USB Maximum Transmit Data
- // Endpoint 8
- #define USB_O_TXCSRL8 0x00000182 // USB Transmit Control and Status
- // Endpoint 8 Low
- #define USB_O_TXCSRH8 0x00000183 // USB Transmit Control and Status
- // Endpoint 8 High
- #define USB_O_RXMAXP8 0x00000184 // USB Maximum Receive Data
- // Endpoint 8
- #define USB_O_RXCSRL8 0x00000186 // USB Receive Control and Status
- // Endpoint 8 Low
- #define USB_O_RXCSRH8 0x00000187 // USB Receive Control and Status
- // Endpoint 8 High
- #define USB_O_RXCOUNT8 0x00000188 // USB Receive Byte Count Endpoint
- // 8
- #define USB_O_TXTYPE8 0x0000018A // USB Host Transmit Configure Type
- // Endpoint 8
- #define USB_O_TXINTERVAL8 0x0000018B // USB Host Transmit Interval
- // Endpoint 8
- #define USB_O_RXTYPE8 0x0000018C // USB Host Configure Receive Type
- // Endpoint 8
- #define USB_O_RXINTERVAL8 0x0000018D // USB Host Receive Polling
- // Interval Endpoint 8
- #define USB_O_TXMAXP9 0x00000190 // USB Maximum Transmit Data
- // Endpoint 9
- #define USB_O_TXCSRL9 0x00000192 // USB Transmit Control and Status
- // Endpoint 9 Low
- #define USB_O_TXCSRH9 0x00000193 // USB Transmit Control and Status
- // Endpoint 9 High
- #define USB_O_RXMAXP9 0x00000194 // USB Maximum Receive Data
- // Endpoint 9
- #define USB_O_RXCSRL9 0x00000196 // USB Receive Control and Status
- // Endpoint 9 Low
- #define USB_O_RXCSRH9 0x00000197 // USB Receive Control and Status
- // Endpoint 9 High
- #define USB_O_RXCOUNT9 0x00000198 // USB Receive Byte Count Endpoint
- // 9
- #define USB_O_TXTYPE9 0x0000019A // USB Host Transmit Configure Type
- // Endpoint 9
- #define USB_O_TXINTERVAL9 0x0000019B // USB Host Transmit Interval
- // Endpoint 9
- #define USB_O_RXTYPE9 0x0000019C // USB Host Configure Receive Type
- // Endpoint 9
- #define USB_O_RXINTERVAL9 0x0000019D // USB Host Receive Polling
- // Interval Endpoint 9
- #define USB_O_TXMAXP10 0x000001A0 // USB Maximum Transmit Data
- // Endpoint 10
- #define USB_O_TXCSRL10 0x000001A2 // USB Transmit Control and Status
- // Endpoint 10 Low
- #define USB_O_TXCSRH10 0x000001A3 // USB Transmit Control and Status
- // Endpoint 10 High
- #define USB_O_RXMAXP10 0x000001A4 // USB Maximum Receive Data
- // Endpoint 10
- #define USB_O_RXCSRL10 0x000001A6 // USB Receive Control and Status
- // Endpoint 10 Low
- #define USB_O_RXCSRH10 0x000001A7 // USB Receive Control and Status
- // Endpoint 10 High
- #define USB_O_RXCOUNT10 0x000001A8 // USB Receive Byte Count Endpoint
- // 10
- #define USB_O_TXTYPE10 0x000001AA // USB Host Transmit Configure Type
- // Endpoint 10
- #define USB_O_TXINTERVAL10 0x000001AB // USB Host Transmit Interval
- // Endpoint 10
- #define USB_O_RXTYPE10 0x000001AC // USB Host Configure Receive Type
- // Endpoint 10
- #define USB_O_RXINTERVAL10 0x000001AD // USB Host Receive Polling
- // Interval Endpoint 10
- #define USB_O_TXMAXP11 0x000001B0 // USB Maximum Transmit Data
- // Endpoint 11
- #define USB_O_TXCSRL11 0x000001B2 // USB Transmit Control and Status
- // Endpoint 11 Low
- #define USB_O_TXCSRH11 0x000001B3 // USB Transmit Control and Status
- // Endpoint 11 High
- #define USB_O_RXMAXP11 0x000001B4 // USB Maximum Receive Data
- // Endpoint 11
- #define USB_O_RXCSRL11 0x000001B6 // USB Receive Control and Status
- // Endpoint 11 Low
- #define USB_O_RXCSRH11 0x000001B7 // USB Receive Control and Status
- // Endpoint 11 High
- #define USB_O_RXCOUNT11 0x000001B8 // USB Receive Byte Count Endpoint
- // 11
- #define USB_O_TXTYPE11 0x000001BA // USB Host Transmit Configure Type
- // Endpoint 11
- #define USB_O_TXINTERVAL11 0x000001BB // USB Host Transmit Interval
- // Endpoint 11
- #define USB_O_RXTYPE11 0x000001BC // USB Host Configure Receive Type
- // Endpoint 11
- #define USB_O_RXINTERVAL11 0x000001BD // USB Host Receive Polling
- // Interval Endpoint 11
- #define USB_O_TXMAXP12 0x000001C0 // USB Maximum Transmit Data
- // Endpoint 12
- #define USB_O_TXCSRL12 0x000001C2 // USB Transmit Control and Status
- // Endpoint 12 Low
- #define USB_O_TXCSRH12 0x000001C3 // USB Transmit Control and Status
- // Endpoint 12 High
- #define USB_O_RXMAXP12 0x000001C4 // USB Maximum Receive Data
- // Endpoint 12
- #define USB_O_RXCSRL12 0x000001C6 // USB Receive Control and Status
- // Endpoint 12 Low
- #define USB_O_RXCSRH12 0x000001C7 // USB Receive Control and Status
- // Endpoint 12 High
- #define USB_O_RXCOUNT12 0x000001C8 // USB Receive Byte Count Endpoint
- // 12
- #define USB_O_TXTYPE12 0x000001CA // USB Host Transmit Configure Type
- // Endpoint 12
- #define USB_O_TXINTERVAL12 0x000001CB // USB Host Transmit Interval
- // Endpoint 12
- #define USB_O_RXTYPE12 0x000001CC // USB Host Configure Receive Type
- // Endpoint 12
- #define USB_O_RXINTERVAL12 0x000001CD // USB Host Receive Polling
- // Interval Endpoint 12
- #define USB_O_TXMAXP13 0x000001D0 // USB Maximum Transmit Data
- // Endpoint 13
- #define USB_O_TXCSRL13 0x000001D2 // USB Transmit Control and Status
- // Endpoint 13 Low
- #define USB_O_TXCSRH13 0x000001D3 // USB Transmit Control and Status
- // Endpoint 13 High
- #define USB_O_RXMAXP13 0x000001D4 // USB Maximum Receive Data
- // Endpoint 13
- #define USB_O_RXCSRL13 0x000001D6 // USB Receive Control and Status
- // Endpoint 13 Low
- #define USB_O_RXCSRH13 0x000001D7 // USB Receive Control and Status
- // Endpoint 13 High
- #define USB_O_RXCOUNT13 0x000001D8 // USB Receive Byte Count Endpoint
- // 13
- #define USB_O_TXTYPE13 0x000001DA // USB Host Transmit Configure Type
- // Endpoint 13
- #define USB_O_TXINTERVAL13 0x000001DB // USB Host Transmit Interval
- // Endpoint 13
- #define USB_O_RXTYPE13 0x000001DC // USB Host Configure Receive Type
- // Endpoint 13
- #define USB_O_RXINTERVAL13 0x000001DD // USB Host Receive Polling
- // Interval Endpoint 13
- #define USB_O_TXMAXP14 0x000001E0 // USB Maximum Transmit Data
- // Endpoint 14
- #define USB_O_TXCSRL14 0x000001E2 // USB Transmit Control and Status
- // Endpoint 14 Low
- #define USB_O_TXCSRH14 0x000001E3 // USB Transmit Control and Status
- // Endpoint 14 High
- #define USB_O_RXMAXP14 0x000001E4 // USB Maximum Receive Data
- // Endpoint 14
- #define USB_O_RXCSRL14 0x000001E6 // USB Receive Control and Status
- // Endpoint 14 Low
- #define USB_O_RXCSRH14 0x000001E7 // USB Receive Control and Status
- // Endpoint 14 High
- #define USB_O_RXCOUNT14 0x000001E8 // USB Receive Byte Count Endpoint
- // 14
- #define USB_O_TXTYPE14 0x000001EA // USB Host Transmit Configure Type
- // Endpoint 14
- #define USB_O_TXINTERVAL14 0x000001EB // USB Host Transmit Interval
- // Endpoint 14
- #define USB_O_RXTYPE14 0x000001EC // USB Host Configure Receive Type
- // Endpoint 14
- #define USB_O_RXINTERVAL14 0x000001ED // USB Host Receive Polling
- // Interval Endpoint 14
- #define USB_O_TXMAXP15 0x000001F0 // USB Maximum Transmit Data
- // Endpoint 15
- #define USB_O_TXCSRL15 0x000001F2 // USB Transmit Control and Status
- // Endpoint 15 Low
- #define USB_O_TXCSRH15 0x000001F3 // USB Transmit Control and Status
- // Endpoint 15 High
- #define USB_O_RXMAXP15 0x000001F4 // USB Maximum Receive Data
- // Endpoint 15
- #define USB_O_RXCSRL15 0x000001F6 // USB Receive Control and Status
- // Endpoint 15 Low
- #define USB_O_RXCSRH15 0x000001F7 // USB Receive Control and Status
- // Endpoint 15 High
- #define USB_O_RXCOUNT15 0x000001F8 // USB Receive Byte Count Endpoint
- // 15
- #define USB_O_TXTYPE15 0x000001FA // USB Host Transmit Configure Type
- // Endpoint 15
- #define USB_O_TXINTERVAL15 0x000001FB // USB Host Transmit Interval
- // Endpoint 15
- #define USB_O_RXTYPE15 0x000001FC // USB Host Configure Receive Type
- // Endpoint 15
- #define USB_O_RXINTERVAL15 0x000001FD // USB Host Receive Polling
- // Interval Endpoint 15
- #define USB_O_RQPKTCOUNT1 0x00000304 // USB Request Packet Count in
- // Block Transfer Endpoint 1
- #define USB_O_RQPKTCOUNT2 0x00000308 // USB Request Packet Count in
- // Block Transfer Endpoint 2
- #define USB_O_RQPKTCOUNT3 0x0000030C // USB Request Packet Count in
- // Block Transfer Endpoint 3
- #define USB_O_RQPKTCOUNT4 0x00000310 // USB Request Packet Count in
- // Block Transfer Endpoint 4
- #define USB_O_RQPKTCOUNT5 0x00000314 // USB Request Packet Count in
- // Block Transfer Endpoint 5
- #define USB_O_RQPKTCOUNT6 0x00000318 // USB Request Packet Count in
- // Block Transfer Endpoint 6
- #define USB_O_RQPKTCOUNT7 0x0000031C // USB Request Packet Count in
- // Block Transfer Endpoint 7
- #define USB_O_RQPKTCOUNT8 0x00000320 // USB Request Packet Count in
- // Block Transfer Endpoint 8
- #define USB_O_RQPKTCOUNT9 0x00000324 // USB Request Packet Count in
- // Block Transfer Endpoint 9
- #define USB_O_RQPKTCOUNT10 0x00000328 // USB Request Packet Count in
- // Block Transfer Endpoint 10
- #define USB_O_RQPKTCOUNT11 0x0000032C // USB Request Packet Count in
- // Block Transfer Endpoint 11
- #define USB_O_RQPKTCOUNT12 0x00000330 // USB Request Packet Count in
- // Block Transfer Endpoint 12
- #define USB_O_RQPKTCOUNT13 0x00000334 // USB Request Packet Count in
- // Block Transfer Endpoint 13
- #define USB_O_RQPKTCOUNT14 0x00000338 // USB Request Packet Count in
- // Block Transfer Endpoint 14
- #define USB_O_RQPKTCOUNT15 0x0000033C // USB Request Packet Count in
- // Block Transfer Endpoint 15
- #define USB_O_RXDPKTBUFDIS 0x00000340 // USB Receive Double Packet Buffer
- // Disable
- #define USB_O_TXDPKTBUFDIS 0x00000342 // USB Transmit Double Packet
- // Buffer Disable
- #define USB_O_EPC 0x00000400 // USB External Power Control
- #define USB_O_EPCRIS 0x00000404 // USB External Power Control Raw
- // Interrupt Status
- #define USB_O_EPCIM 0x00000408 // USB External Power Control
- // Interrupt Mask
- #define USB_O_EPCISC 0x0000040C // USB External Power Control
- // Interrupt Status and Clear
- #define USB_O_DRRIS 0x00000410 // USB Device RESUME Raw Interrupt
- // Status
- #define USB_O_DRIM 0x00000414 // USB Device RESUME Interrupt Mask
- #define USB_O_DRISC 0x00000418 // USB Device RESUME Interrupt
- // Status and Clear
- #define USB_O_GPCS 0x0000041C // USB General-Purpose Control and
- // Status
- #define USB_O_VDC 0x00000430 // USB VBUS Droop Control
- #define USB_O_VDCRIS 0x00000434 // USB VBUS Droop Control Raw
- // Interrupt Status
- #define USB_O_VDCIM 0x00000438 // USB VBUS Droop Control Interrupt
- // Mask
- #define USB_O_VDCISC 0x0000043C // USB VBUS Droop Control Interrupt
- // Status and Clear
- #define USB_O_IDVRIS 0x00000444 // USB ID Valid Detect Raw
- // Interrupt Status
- #define USB_O_IDVIM 0x00000448 // USB ID Valid Detect Interrupt
- // Mask
- #define USB_O_IDVISC 0x0000044C // USB ID Valid Detect Interrupt
- // Status and Clear
- #define USB_O_DMASEL 0x00000450 // USB DMA Select
- #define USB_O_PP 0x00000FC0 // USB Peripheral Properties
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FADDR register.
- //
- //*****************************************************************************
- #define USB_FADDR_M 0x0000007F // Function Address
- #define USB_FADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_POWER register.
- //
- //*****************************************************************************
- #define USB_POWER_ISOUP 0x00000080 // Isochronous Update
- #define USB_POWER_SOFTCONN 0x00000040 // Soft Connect/Disconnect
- #define USB_POWER_RESET 0x00000008 // RESET Signaling
- #define USB_POWER_RESUME 0x00000004 // RESUME Signaling
- #define USB_POWER_SUSPEND 0x00000002 // SUSPEND Mode
- #define USB_POWER_PWRDNPHY 0x00000001 // Power Down PHY
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXIS register.
- //
- //*****************************************************************************
- #define USB_TXIS_EP15 0x00008000 // TX Endpoint 15 Interrupt
- #define USB_TXIS_EP14 0x00004000 // TX Endpoint 14 Interrupt
- #define USB_TXIS_EP13 0x00002000 // TX Endpoint 13 Interrupt
- #define USB_TXIS_EP12 0x00001000 // TX Endpoint 12 Interrupt
- #define USB_TXIS_EP11 0x00000800 // TX Endpoint 11 Interrupt
- #define USB_TXIS_EP10 0x00000400 // TX Endpoint 10 Interrupt
- #define USB_TXIS_EP9 0x00000200 // TX Endpoint 9 Interrupt
- #define USB_TXIS_EP8 0x00000100 // TX Endpoint 8 Interrupt
- #define USB_TXIS_EP7 0x00000080 // TX Endpoint 7 Interrupt
- #define USB_TXIS_EP6 0x00000040 // TX Endpoint 6 Interrupt
- #define USB_TXIS_EP5 0x00000020 // TX Endpoint 5 Interrupt
- #define USB_TXIS_EP4 0x00000010 // TX Endpoint 4 Interrupt
- #define USB_TXIS_EP3 0x00000008 // TX Endpoint 3 Interrupt
- #define USB_TXIS_EP2 0x00000004 // TX Endpoint 2 Interrupt
- #define USB_TXIS_EP1 0x00000002 // TX Endpoint 1 Interrupt
- #define USB_TXIS_EP0 0x00000001 // TX and RX Endpoint 0 Interrupt
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXIS register.
- //
- //*****************************************************************************
- #define USB_RXIS_EP15 0x00008000 // RX Endpoint 15 Interrupt
- #define USB_RXIS_EP14 0x00004000 // RX Endpoint 14 Interrupt
- #define USB_RXIS_EP13 0x00002000 // RX Endpoint 13 Interrupt
- #define USB_RXIS_EP12 0x00001000 // RX Endpoint 12 Interrupt
- #define USB_RXIS_EP11 0x00000800 // RX Endpoint 11 Interrupt
- #define USB_RXIS_EP10 0x00000400 // RX Endpoint 10 Interrupt
- #define USB_RXIS_EP9 0x00000200 // RX Endpoint 9 Interrupt
- #define USB_RXIS_EP8 0x00000100 // RX Endpoint 8 Interrupt
- #define USB_RXIS_EP7 0x00000080 // RX Endpoint 7 Interrupt
- #define USB_RXIS_EP6 0x00000040 // RX Endpoint 6 Interrupt
- #define USB_RXIS_EP5 0x00000020 // RX Endpoint 5 Interrupt
- #define USB_RXIS_EP4 0x00000010 // RX Endpoint 4 Interrupt
- #define USB_RXIS_EP3 0x00000008 // RX Endpoint 3 Interrupt
- #define USB_RXIS_EP2 0x00000004 // RX Endpoint 2 Interrupt
- #define USB_RXIS_EP1 0x00000002 // RX Endpoint 1 Interrupt
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXIE register.
- //
- //*****************************************************************************
- #define USB_TXIE_EP15 0x00008000 // TX Endpoint 15 Interrupt Enable
- #define USB_TXIE_EP14 0x00004000 // TX Endpoint 14 Interrupt Enable
- #define USB_TXIE_EP13 0x00002000 // TX Endpoint 13 Interrupt Enable
- #define USB_TXIE_EP12 0x00001000 // TX Endpoint 12 Interrupt Enable
- #define USB_TXIE_EP11 0x00000800 // TX Endpoint 11 Interrupt Enable
- #define USB_TXIE_EP10 0x00000400 // TX Endpoint 10 Interrupt Enable
- #define USB_TXIE_EP9 0x00000200 // TX Endpoint 9 Interrupt Enable
- #define USB_TXIE_EP8 0x00000100 // TX Endpoint 8 Interrupt Enable
- #define USB_TXIE_EP7 0x00000080 // TX Endpoint 7 Interrupt Enable
- #define USB_TXIE_EP6 0x00000040 // TX Endpoint 6 Interrupt Enable
- #define USB_TXIE_EP5 0x00000020 // TX Endpoint 5 Interrupt Enable
- #define USB_TXIE_EP4 0x00000010 // TX Endpoint 4 Interrupt Enable
- #define USB_TXIE_EP3 0x00000008 // TX Endpoint 3 Interrupt Enable
- #define USB_TXIE_EP2 0x00000004 // TX Endpoint 2 Interrupt Enable
- #define USB_TXIE_EP1 0x00000002 // TX Endpoint 1 Interrupt Enable
- #define USB_TXIE_EP0 0x00000001 // TX and RX Endpoint 0 Interrupt
- // Enable
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXIE register.
- //
- //*****************************************************************************
- #define USB_RXIE_EP15 0x00008000 // RX Endpoint 15 Interrupt Enable
- #define USB_RXIE_EP14 0x00004000 // RX Endpoint 14 Interrupt Enable
- #define USB_RXIE_EP13 0x00002000 // RX Endpoint 13 Interrupt Enable
- #define USB_RXIE_EP12 0x00001000 // RX Endpoint 12 Interrupt Enable
- #define USB_RXIE_EP11 0x00000800 // RX Endpoint 11 Interrupt Enable
- #define USB_RXIE_EP10 0x00000400 // RX Endpoint 10 Interrupt Enable
- #define USB_RXIE_EP9 0x00000200 // RX Endpoint 9 Interrupt Enable
- #define USB_RXIE_EP8 0x00000100 // RX Endpoint 8 Interrupt Enable
- #define USB_RXIE_EP7 0x00000080 // RX Endpoint 7 Interrupt Enable
- #define USB_RXIE_EP6 0x00000040 // RX Endpoint 6 Interrupt Enable
- #define USB_RXIE_EP5 0x00000020 // RX Endpoint 5 Interrupt Enable
- #define USB_RXIE_EP4 0x00000010 // RX Endpoint 4 Interrupt Enable
- #define USB_RXIE_EP3 0x00000008 // RX Endpoint 3 Interrupt Enable
- #define USB_RXIE_EP2 0x00000004 // RX Endpoint 2 Interrupt Enable
- #define USB_RXIE_EP1 0x00000002 // RX Endpoint 1 Interrupt Enable
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_IS register.
- //
- //*****************************************************************************
- #define USB_IS_VBUSERR 0x00000080 // VBUS Error
- #define USB_IS_SESREQ 0x00000040 // SESSION REQUEST
- #define USB_IS_DISCON 0x00000020 // Session Disconnect
- #define USB_IS_CONN 0x00000010 // Session Connect
- #define USB_IS_SOF 0x00000008 // Start of Frame
- #define USB_IS_BABBLE 0x00000004 // Babble Detected
- #define USB_IS_RESET 0x00000004 // RESET Signaling Detected
- #define USB_IS_RESUME 0x00000002 // RESUME Signaling Detected
- #define USB_IS_SUSPEND 0x00000001 // SUSPEND Signaling Detected
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_IE register.
- //
- //*****************************************************************************
- #define USB_IE_VBUSERR 0x00000080 // Enable VBUS Error Interrupt
- #define USB_IE_SESREQ 0x00000040 // Enable Session Request
- #define USB_IE_DISCON 0x00000020 // Enable Disconnect Interrupt
- #define USB_IE_CONN 0x00000010 // Enable Connect Interrupt
- #define USB_IE_SOF 0x00000008 // Enable Start-of-Frame Interrupt
- #define USB_IE_BABBLE 0x00000004 // Enable Babble Interrupt
- #define USB_IE_RESET 0x00000004 // Enable RESET Interrupt
- #define USB_IE_RESUME 0x00000002 // Enable RESUME Interrupt
- #define USB_IE_SUSPND 0x00000001 // Enable SUSPEND Interrupt
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FRAME register.
- //
- //*****************************************************************************
- #define USB_FRAME_M 0x000007FF // Frame Number
- #define USB_FRAME_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_EPIDX register.
- //
- //*****************************************************************************
- #define USB_EPIDX_EPIDX_M 0x0000000F // Endpoint Index
- #define USB_EPIDX_EPIDX_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TEST register.
- //
- //*****************************************************************************
- #define USB_TEST_FORCEH 0x00000080 // Force Host Mode
- #define USB_TEST_FIFOACC 0x00000040 // FIFO Access
- #define USB_TEST_FORCEFS 0x00000020 // Force Full-Speed Mode
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO0 register.
- //
- //*****************************************************************************
- #define USB_FIFO0_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO0_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO1 register.
- //
- //*****************************************************************************
- #define USB_FIFO1_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO1_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO2 register.
- //
- //*****************************************************************************
- #define USB_FIFO2_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO2_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO3 register.
- //
- //*****************************************************************************
- #define USB_FIFO3_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO3_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO4 register.
- //
- //*****************************************************************************
- #define USB_FIFO4_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO4_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO5 register.
- //
- //*****************************************************************************
- #define USB_FIFO5_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO5_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO6 register.
- //
- //*****************************************************************************
- #define USB_FIFO6_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO6_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO7 register.
- //
- //*****************************************************************************
- #define USB_FIFO7_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO7_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO8 register.
- //
- //*****************************************************************************
- #define USB_FIFO8_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO8_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO9 register.
- //
- //*****************************************************************************
- #define USB_FIFO9_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO9_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO10 register.
- //
- //*****************************************************************************
- #define USB_FIFO10_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO10_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO11 register.
- //
- //*****************************************************************************
- #define USB_FIFO11_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO11_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO12 register.
- //
- //*****************************************************************************
- #define USB_FIFO12_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO12_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO13 register.
- //
- //*****************************************************************************
- #define USB_FIFO13_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO13_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO14 register.
- //
- //*****************************************************************************
- #define USB_FIFO14_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO14_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FIFO15 register.
- //
- //*****************************************************************************
- #define USB_FIFO15_EPDATA_M 0xFFFFFFFF // Endpoint Data
- #define USB_FIFO15_EPDATA_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_DEVCTL register.
- //
- //*****************************************************************************
- #define USB_DEVCTL_DEV 0x00000080 // Device Mode
- #define USB_DEVCTL_FSDEV 0x00000040 // Full-Speed Device Detected
- #define USB_DEVCTL_LSDEV 0x00000020 // Low-Speed Device Detected
- #define USB_DEVCTL_VBUS_M 0x00000018 // VBUS Level
- #define USB_DEVCTL_VBUS_NONE 0x00000000 // Below SessionEnd
- #define USB_DEVCTL_VBUS_SEND 0x00000008 // Above SessionEnd, below AValid
- #define USB_DEVCTL_VBUS_AVALID 0x00000010 // Above AValid, below VBUSValid
- #define USB_DEVCTL_VBUS_VALID 0x00000018 // Above VBUSValid
- #define USB_DEVCTL_HOST 0x00000004 // Host Mode
- #define USB_DEVCTL_HOSTREQ 0x00000002 // Host Request
- #define USB_DEVCTL_SESSION 0x00000001 // Session Start/End
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFIFOSZ register.
- //
- //*****************************************************************************
- #define USB_TXFIFOSZ_DPB 0x00000010 // Double Packet Buffer Support
- #define USB_TXFIFOSZ_SIZE_M 0x0000000F // Max Packet Size
- #define USB_TXFIFOSZ_SIZE_8 0x00000000 // 8
- #define USB_TXFIFOSZ_SIZE_16 0x00000001 // 16
- #define USB_TXFIFOSZ_SIZE_32 0x00000002 // 32
- #define USB_TXFIFOSZ_SIZE_64 0x00000003 // 64
- #define USB_TXFIFOSZ_SIZE_128 0x00000004 // 128
- #define USB_TXFIFOSZ_SIZE_256 0x00000005 // 256
- #define USB_TXFIFOSZ_SIZE_512 0x00000006 // 512
- #define USB_TXFIFOSZ_SIZE_1024 0x00000007 // 1024
- #define USB_TXFIFOSZ_SIZE_2048 0x00000008 // 2048
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFIFOSZ register.
- //
- //*****************************************************************************
- #define USB_RXFIFOSZ_DPB 0x00000010 // Double Packet Buffer Support
- #define USB_RXFIFOSZ_SIZE_M 0x0000000F // Max Packet Size
- #define USB_RXFIFOSZ_SIZE_8 0x00000000 // 8
- #define USB_RXFIFOSZ_SIZE_16 0x00000001 // 16
- #define USB_RXFIFOSZ_SIZE_32 0x00000002 // 32
- #define USB_RXFIFOSZ_SIZE_64 0x00000003 // 64
- #define USB_RXFIFOSZ_SIZE_128 0x00000004 // 128
- #define USB_RXFIFOSZ_SIZE_256 0x00000005 // 256
- #define USB_RXFIFOSZ_SIZE_512 0x00000006 // 512
- #define USB_RXFIFOSZ_SIZE_1024 0x00000007 // 1024
- #define USB_RXFIFOSZ_SIZE_2048 0x00000008 // 2048
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFIFOADD
- // register.
- //
- //*****************************************************************************
- #define USB_TXFIFOADD_ADDR_M 0x000001FF // Transmit/Receive Start Address
- #define USB_TXFIFOADD_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFIFOADD
- // register.
- //
- //*****************************************************************************
- #define USB_RXFIFOADD_ADDR_M 0x000001FF // Transmit/Receive Start Address
- #define USB_RXFIFOADD_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_CONTIM register.
- //
- //*****************************************************************************
- #define USB_CONTIM_WTCON_M 0x000000F0 // Connect Wait
- #define USB_CONTIM_WTID_M 0x0000000F // Wait ID
- #define USB_CONTIM_WTCON_S 4
- #define USB_CONTIM_WTID_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_VPLEN register.
- //
- //*****************************************************************************
- #define USB_VPLEN_VPLEN_M 0x000000FF // VBUS Pulse Length
- #define USB_VPLEN_VPLEN_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_FSEOF register.
- //
- //*****************************************************************************
- #define USB_FSEOF_FSEOFG_M 0x000000FF // Full-Speed End-of-Frame Gap
- #define USB_FSEOF_FSEOFG_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_LSEOF register.
- //
- //*****************************************************************************
- #define USB_LSEOF_LSEOFG_M 0x000000FF // Low-Speed End-of-Frame Gap
- #define USB_LSEOF_LSEOFG_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR0
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR0_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR0_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR0
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR0_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR0_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR0_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT0
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT0_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT0_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR1
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR1_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR1_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR1
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR1_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR1_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR1_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT1
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT1_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT1_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR1
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR1_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR1_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR1
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR1_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR1_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR1_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT1
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT1_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT1_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR2
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR2_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR2_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR2
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR2_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR2_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR2_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT2
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT2_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT2_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR2
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR2_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR2_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR2
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR2_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR2_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR2_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT2
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT2_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT2_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR3
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR3_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR3_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR3
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR3_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR3_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR3_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT3
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT3_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT3_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR3
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR3_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR3_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR3
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR3_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR3_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR3_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT3
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT3_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT3_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR4
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR4_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR4_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR4
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR4_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR4_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR4_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT4
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT4_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT4_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR4
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR4_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR4_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR4
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR4_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR4_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR4_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT4
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT4_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT4_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR5
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR5_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR5_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR5
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR5_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR5_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR5_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT5
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT5_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT5_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR5
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR5_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR5_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR5
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR5_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR5_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR5_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT5
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT5_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT5_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR6
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR6_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR6_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR6
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR6_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR6_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR6_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT6
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT6_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT6_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR6
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR6_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR6_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR6
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR6_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR6_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR6_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT6
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT6_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT6_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR7
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR7_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR7_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR7
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR7_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR7_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR7_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT7
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT7_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT7_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR7
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR7_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR7_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR7
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR7_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR7_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR7_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT7
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT7_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT7_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR8
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR8_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR8_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR8
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR8_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR8_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR8_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT8
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT8_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT8_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR8
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR8_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR8_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR8
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR8_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR8_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR8_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT8
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT8_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT8_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR9
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR9_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR9_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR9
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR9_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR9_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR9_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT9
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT9_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT9_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR9
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR9_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR9_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR9
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR9_MULTTRAN 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR9_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR9_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT9
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT9_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT9_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR10
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR10_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR10_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR10
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR10_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR10_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR10_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT10
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT10_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT10_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR10
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR10_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR10_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR10
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR10_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR10_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR10_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT10
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT10_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT10_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR11
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR11_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR11_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR11
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR11_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR11_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR11_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT11
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT11_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT11_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR11
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR11_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR11_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR11
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR11_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR11_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR11_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT11
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT11_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT11_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR12
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR12_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR12_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR12
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR12_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR12_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR12_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT12
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT12_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT12_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR12
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR12_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR12_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR12
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR12_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR12_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR12_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT12
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT12_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT12_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR13
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR13_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR13_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR13
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR13_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR13_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR13_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT13
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT13_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT13_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR13
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR13_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR13_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR13
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR13_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR13_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR13_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT13
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT13_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT13_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR14
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR14_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR14_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR14
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR14_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR14_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR14_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT14
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT14_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT14_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR14
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR14_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR14_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR14
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR14_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR14_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR14_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT14
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT14_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT14_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXFUNCADDR15
- // register.
- //
- //*****************************************************************************
- #define USB_TXFUNCADDR15_ADDR_M 0x0000007F // Device Address
- #define USB_TXFUNCADDR15_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBADDR15
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBADDR15_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_TXHUBADDR15_ADDR_M 0x0000007F // Hub Address
- #define USB_TXHUBADDR15_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXHUBPORT15
- // register.
- //
- //*****************************************************************************
- #define USB_TXHUBPORT15_PORT_M 0x0000007F // Hub Port
- #define USB_TXHUBPORT15_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXFUNCADDR15
- // register.
- //
- //*****************************************************************************
- #define USB_RXFUNCADDR15_ADDR_M 0x0000007F // Device Address
- #define USB_RXFUNCADDR15_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBADDR15
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBADDR15_MULTTRAN \
- 0x00000080 // Multiple Translators
- #define USB_RXHUBADDR15_ADDR_M 0x0000007F // Hub Address
- #define USB_RXHUBADDR15_ADDR_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXHUBPORT15
- // register.
- //
- //*****************************************************************************
- #define USB_RXHUBPORT15_PORT_M 0x0000007F // Hub Port
- #define USB_RXHUBPORT15_PORT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_CSRL0 register.
- //
- //*****************************************************************************
- #define USB_CSRL0_NAKTO 0x00000080 // NAK Timeout
- #define USB_CSRL0_SETENDC 0x00000080 // Setup End Clear
- #define USB_CSRL0_STATUS 0x00000040 // STATUS Packet
- #define USB_CSRL0_RXRDYC 0x00000040 // RXRDY Clear
- #define USB_CSRL0_REQPKT 0x00000020 // Request Packet
- #define USB_CSRL0_STALL 0x00000020 // Send Stall
- #define USB_CSRL0_SETEND 0x00000010 // Setup End
- #define USB_CSRL0_ERROR 0x00000010 // Error
- #define USB_CSRL0_DATAEND 0x00000008 // Data End
- #define USB_CSRL0_SETUP 0x00000008 // Setup Packet
- #define USB_CSRL0_STALLED 0x00000004 // Endpoint Stalled
- #define USB_CSRL0_TXRDY 0x00000002 // Transmit Packet Ready
- #define USB_CSRL0_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_CSRH0 register.
- //
- //*****************************************************************************
- #define USB_CSRH0_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_CSRH0_DT 0x00000002 // Data Toggle
- #define USB_CSRH0_FLUSH 0x00000001 // Flush FIFO
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_COUNT0 register.
- //
- //*****************************************************************************
- #define USB_COUNT0_COUNT_M 0x0000007F // FIFO Count
- #define USB_COUNT0_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TYPE0 register.
- //
- //*****************************************************************************
- #define USB_TYPE0_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TYPE0_SPEED_FULL 0x00000080 // Full
- #define USB_TYPE0_SPEED_LOW 0x000000C0 // Low
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_NAKLMT register.
- //
- //*****************************************************************************
- #define USB_NAKLMT_NAKLMT_M 0x0000001F // EP0 NAK Limit
- #define USB_NAKLMT_NAKLMT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP1 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP1_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP1_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL1 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL1_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL1_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL1_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL1_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL1_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL1_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL1_ERROR 0x00000004 // Error
- #define USB_TXCSRL1_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL1_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL1_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH1 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH1_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH1_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH1_MODE 0x00000020 // Mode
- #define USB_TXCSRH1_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH1_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH1_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH1_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH1_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP1 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP1_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP1_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL1 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL1_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL1_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL1_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL1_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL1_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL1_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL1_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL1_OVER 0x00000004 // Overrun
- #define USB_RXCSRL1_ERROR 0x00000004 // Error
- #define USB_RXCSRL1_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL1_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH1 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH1_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH1_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH1_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH1_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH1_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH1_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH1_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH1_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH1_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT1 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT1_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT1_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE1 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE1_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE1_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE1_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE1_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE1_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE1_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE1_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE1_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE1_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE1_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE1_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL1
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL1_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL1_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL1_TXPOLL_S \
- 0
- #define USB_TXINTERVAL1_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE1 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE1_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE1_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE1_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE1_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE1_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE1_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE1_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE1_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE1_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE1_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE1_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL1
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL1_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL1_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL1_TXPOLL_S \
- 0
- #define USB_RXINTERVAL1_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP2 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP2_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP2_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL2 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL2_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL2_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL2_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL2_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL2_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL2_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL2_ERROR 0x00000004 // Error
- #define USB_TXCSRL2_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL2_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL2_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH2 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH2_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH2_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH2_MODE 0x00000020 // Mode
- #define USB_TXCSRH2_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH2_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH2_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH2_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH2_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP2 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP2_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP2_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL2 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL2_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL2_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL2_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL2_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL2_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL2_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL2_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL2_ERROR 0x00000004 // Error
- #define USB_RXCSRL2_OVER 0x00000004 // Overrun
- #define USB_RXCSRL2_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL2_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH2 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH2_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH2_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH2_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH2_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH2_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH2_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH2_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH2_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH2_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT2 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT2_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT2_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE2 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE2_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE2_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE2_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE2_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE2_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE2_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE2_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE2_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE2_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE2_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE2_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL2
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL2_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL2_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL2_NAKLMT_S \
- 0
- #define USB_TXINTERVAL2_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE2 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE2_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE2_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE2_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE2_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE2_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE2_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE2_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE2_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE2_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE2_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE2_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL2
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL2_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL2_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL2_TXPOLL_S \
- 0
- #define USB_RXINTERVAL2_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP3 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP3_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP3_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL3 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL3_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL3_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL3_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL3_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL3_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL3_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL3_ERROR 0x00000004 // Error
- #define USB_TXCSRL3_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL3_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL3_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH3 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH3_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH3_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH3_MODE 0x00000020 // Mode
- #define USB_TXCSRH3_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH3_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH3_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH3_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH3_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP3 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP3_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP3_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL3 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL3_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL3_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL3_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL3_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL3_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL3_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL3_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL3_ERROR 0x00000004 // Error
- #define USB_RXCSRL3_OVER 0x00000004 // Overrun
- #define USB_RXCSRL3_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL3_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH3 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH3_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH3_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH3_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH3_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH3_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH3_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH3_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH3_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH3_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT3 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT3_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT3_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE3 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE3_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE3_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE3_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE3_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE3_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE3_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE3_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE3_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE3_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE3_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE3_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL3
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL3_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL3_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL3_TXPOLL_S \
- 0
- #define USB_TXINTERVAL3_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE3 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE3_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE3_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE3_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE3_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE3_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE3_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE3_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE3_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE3_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE3_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE3_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL3
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL3_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL3_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL3_TXPOLL_S \
- 0
- #define USB_RXINTERVAL3_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP4 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP4_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP4_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL4 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL4_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL4_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL4_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL4_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL4_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL4_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL4_ERROR 0x00000004 // Error
- #define USB_TXCSRL4_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL4_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL4_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH4 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH4_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH4_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH4_MODE 0x00000020 // Mode
- #define USB_TXCSRH4_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH4_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH4_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH4_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH4_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP4 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP4_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP4_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL4 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL4_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL4_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL4_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL4_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL4_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL4_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL4_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL4_OVER 0x00000004 // Overrun
- #define USB_RXCSRL4_ERROR 0x00000004 // Error
- #define USB_RXCSRL4_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL4_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH4 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH4_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH4_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH4_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH4_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH4_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH4_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH4_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH4_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH4_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT4 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT4_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT4_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE4 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE4_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE4_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE4_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE4_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE4_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE4_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE4_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE4_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE4_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE4_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE4_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL4
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL4_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL4_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL4_NAKLMT_S \
- 0
- #define USB_TXINTERVAL4_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE4 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE4_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE4_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE4_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE4_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE4_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE4_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE4_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE4_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE4_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE4_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE4_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL4
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL4_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL4_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL4_NAKLMT_S \
- 0
- #define USB_RXINTERVAL4_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP5 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP5_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP5_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL5 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL5_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL5_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL5_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL5_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL5_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL5_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL5_ERROR 0x00000004 // Error
- #define USB_TXCSRL5_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL5_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL5_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH5 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH5_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH5_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH5_MODE 0x00000020 // Mode
- #define USB_TXCSRH5_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH5_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH5_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH5_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH5_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP5 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP5_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP5_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL5 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL5_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL5_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL5_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL5_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL5_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL5_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL5_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL5_ERROR 0x00000004 // Error
- #define USB_RXCSRL5_OVER 0x00000004 // Overrun
- #define USB_RXCSRL5_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL5_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH5 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH5_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH5_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH5_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH5_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH5_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH5_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH5_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH5_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH5_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT5 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT5_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT5_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE5 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE5_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE5_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE5_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE5_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE5_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE5_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE5_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE5_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE5_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE5_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE5_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL5
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL5_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL5_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL5_NAKLMT_S \
- 0
- #define USB_TXINTERVAL5_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE5 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE5_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE5_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE5_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE5_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE5_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE5_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE5_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE5_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE5_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE5_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE5_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL5
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL5_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL5_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL5_TXPOLL_S \
- 0
- #define USB_RXINTERVAL5_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP6 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP6_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP6_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL6 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL6_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL6_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL6_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL6_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL6_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL6_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL6_ERROR 0x00000004 // Error
- #define USB_TXCSRL6_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL6_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL6_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH6 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH6_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH6_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH6_MODE 0x00000020 // Mode
- #define USB_TXCSRH6_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH6_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH6_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH6_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH6_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP6 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP6_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP6_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL6 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL6_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL6_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL6_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL6_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL6_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL6_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL6_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL6_ERROR 0x00000004 // Error
- #define USB_RXCSRL6_OVER 0x00000004 // Overrun
- #define USB_RXCSRL6_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL6_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH6 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH6_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH6_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH6_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH6_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH6_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH6_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH6_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH6_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH6_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT6 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT6_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT6_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE6 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE6_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE6_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE6_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE6_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE6_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE6_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE6_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE6_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE6_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE6_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE6_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL6
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL6_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL6_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL6_TXPOLL_S \
- 0
- #define USB_TXINTERVAL6_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE6 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE6_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE6_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE6_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE6_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE6_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE6_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE6_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE6_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE6_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE6_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE6_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL6
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL6_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL6_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL6_NAKLMT_S \
- 0
- #define USB_RXINTERVAL6_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP7 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP7_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP7_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL7 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL7_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL7_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL7_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL7_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL7_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL7_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL7_ERROR 0x00000004 // Error
- #define USB_TXCSRL7_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL7_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL7_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH7 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH7_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH7_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH7_MODE 0x00000020 // Mode
- #define USB_TXCSRH7_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH7_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH7_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH7_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH7_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP7 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP7_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP7_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL7 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL7_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL7_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL7_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL7_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL7_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL7_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL7_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL7_ERROR 0x00000004 // Error
- #define USB_RXCSRL7_OVER 0x00000004 // Overrun
- #define USB_RXCSRL7_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL7_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH7 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH7_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH7_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH7_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH7_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH7_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH7_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH7_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH7_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH7_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT7 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT7_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT7_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE7 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE7_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE7_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE7_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE7_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE7_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE7_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE7_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE7_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE7_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE7_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE7_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL7
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL7_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL7_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL7_NAKLMT_S \
- 0
- #define USB_TXINTERVAL7_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE7 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE7_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE7_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE7_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE7_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE7_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE7_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE7_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE7_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE7_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE7_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE7_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL7
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL7_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL7_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL7_NAKLMT_S \
- 0
- #define USB_RXINTERVAL7_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP8 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP8_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP8_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL8 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL8_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL8_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL8_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL8_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL8_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL8_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL8_ERROR 0x00000004 // Error
- #define USB_TXCSRL8_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL8_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL8_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH8 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH8_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH8_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH8_MODE 0x00000020 // Mode
- #define USB_TXCSRH8_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH8_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH8_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH8_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH8_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP8 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP8_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP8_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL8 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL8_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL8_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL8_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL8_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL8_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL8_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL8_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL8_OVER 0x00000004 // Overrun
- #define USB_RXCSRL8_ERROR 0x00000004 // Error
- #define USB_RXCSRL8_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL8_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH8 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH8_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH8_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH8_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH8_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH8_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH8_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH8_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH8_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH8_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT8 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT8_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT8_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE8 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE8_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE8_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE8_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE8_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE8_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE8_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE8_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE8_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE8_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE8_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE8_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL8
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL8_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL8_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL8_NAKLMT_S \
- 0
- #define USB_TXINTERVAL8_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE8 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE8_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE8_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE8_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE8_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE8_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE8_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE8_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE8_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE8_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE8_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE8_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL8
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL8_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL8_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL8_NAKLMT_S \
- 0
- #define USB_RXINTERVAL8_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP9 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP9_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP9_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL9 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL9_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL9_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL9_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL9_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL9_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL9_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL9_ERROR 0x00000004 // Error
- #define USB_TXCSRL9_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL9_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL9_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH9 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH9_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH9_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH9_MODE 0x00000020 // Mode
- #define USB_TXCSRH9_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH9_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH9_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH9_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH9_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP9 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP9_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP9_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL9 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL9_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL9_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL9_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL9_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL9_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL9_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL9_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL9_ERROR 0x00000004 // Error
- #define USB_RXCSRL9_OVER 0x00000004 // Overrun
- #define USB_RXCSRL9_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL9_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH9 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH9_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH9_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH9_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH9_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH9_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH9_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH9_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH9_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH9_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT9 register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT9_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT9_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE9 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE9_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE9_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE9_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE9_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE9_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE9_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE9_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE9_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE9_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE9_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE9_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL9
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL9_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL9_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL9_TXPOLL_S \
- 0
- #define USB_TXINTERVAL9_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE9 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE9_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE9_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE9_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE9_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE9_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE9_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE9_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE9_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE9_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE9_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE9_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL9
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL9_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL9_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL9_NAKLMT_S \
- 0
- #define USB_RXINTERVAL9_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP10 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP10_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP10_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL10 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL10_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL10_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL10_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL10_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL10_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL10_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL10_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL10_ERROR 0x00000004 // Error
- #define USB_TXCSRL10_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL10_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH10 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH10_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH10_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH10_MODE 0x00000020 // Mode
- #define USB_TXCSRH10_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH10_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH10_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH10_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH10_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP10 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP10_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP10_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL10 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL10_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL10_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL10_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL10_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL10_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL10_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL10_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL10_OVER 0x00000004 // Overrun
- #define USB_RXCSRL10_ERROR 0x00000004 // Error
- #define USB_RXCSRL10_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL10_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH10 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH10_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH10_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH10_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH10_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH10_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH10_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH10_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH10_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH10_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT10
- // register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT10_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT10_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE10 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE10_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE10_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE10_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE10_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE10_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE10_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE10_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE10_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE10_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE10_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE10_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL10
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL10_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL10_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL10_TXPOLL_S \
- 0
- #define USB_TXINTERVAL10_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE10 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE10_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE10_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE10_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE10_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE10_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE10_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE10_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE10_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE10_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE10_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE10_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL10
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL10_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL10_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL10_TXPOLL_S \
- 0
- #define USB_RXINTERVAL10_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP11 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP11_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP11_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL11 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL11_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL11_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL11_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL11_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL11_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL11_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL11_ERROR 0x00000004 // Error
- #define USB_TXCSRL11_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL11_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL11_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH11 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH11_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH11_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH11_MODE 0x00000020 // Mode
- #define USB_TXCSRH11_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH11_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH11_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH11_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH11_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP11 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP11_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP11_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL11 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL11_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL11_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL11_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL11_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL11_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL11_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL11_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL11_OVER 0x00000004 // Overrun
- #define USB_RXCSRL11_ERROR 0x00000004 // Error
- #define USB_RXCSRL11_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL11_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH11 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH11_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH11_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH11_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH11_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH11_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH11_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH11_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH11_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH11_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT11
- // register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT11_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT11_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE11 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE11_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE11_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE11_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE11_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE11_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE11_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE11_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE11_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE11_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE11_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE11_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL11
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL11_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL11_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL11_NAKLMT_S \
- 0
- #define USB_TXINTERVAL11_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE11 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE11_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE11_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE11_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE11_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE11_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE11_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE11_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE11_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE11_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE11_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE11_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL11
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL11_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL11_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL11_TXPOLL_S \
- 0
- #define USB_RXINTERVAL11_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP12 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP12_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP12_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL12 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL12_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL12_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL12_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL12_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL12_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL12_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL12_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL12_ERROR 0x00000004 // Error
- #define USB_TXCSRL12_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL12_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH12 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH12_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH12_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH12_MODE 0x00000020 // Mode
- #define USB_TXCSRH12_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH12_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH12_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH12_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH12_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP12 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP12_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP12_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL12 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL12_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL12_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL12_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL12_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL12_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL12_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL12_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL12_ERROR 0x00000004 // Error
- #define USB_RXCSRL12_OVER 0x00000004 // Overrun
- #define USB_RXCSRL12_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL12_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH12 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH12_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH12_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH12_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH12_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH12_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH12_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH12_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH12_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH12_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT12
- // register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT12_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT12_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE12 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE12_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE12_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE12_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE12_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE12_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE12_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE12_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE12_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE12_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE12_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE12_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL12
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL12_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL12_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL12_TXPOLL_S \
- 0
- #define USB_TXINTERVAL12_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE12 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE12_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE12_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE12_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE12_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE12_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE12_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE12_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE12_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE12_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE12_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE12_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL12
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL12_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL12_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL12_NAKLMT_S \
- 0
- #define USB_RXINTERVAL12_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP13 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP13_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP13_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL13 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL13_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL13_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL13_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL13_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL13_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL13_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL13_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL13_ERROR 0x00000004 // Error
- #define USB_TXCSRL13_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL13_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH13 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH13_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH13_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH13_MODE 0x00000020 // Mode
- #define USB_TXCSRH13_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH13_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH13_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH13_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH13_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP13 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP13_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP13_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL13 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL13_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL13_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL13_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL13_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL13_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL13_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL13_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL13_OVER 0x00000004 // Overrun
- #define USB_RXCSRL13_ERROR 0x00000004 // Error
- #define USB_RXCSRL13_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL13_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH13 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH13_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH13_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH13_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH13_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH13_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH13_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH13_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH13_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH13_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT13
- // register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT13_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT13_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE13 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE13_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE13_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE13_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE13_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE13_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE13_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE13_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE13_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE13_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE13_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE13_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL13
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL13_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL13_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL13_TXPOLL_S \
- 0
- #define USB_TXINTERVAL13_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE13 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE13_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE13_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE13_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE13_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE13_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE13_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE13_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE13_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE13_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE13_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE13_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL13
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL13_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL13_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL13_TXPOLL_S \
- 0
- #define USB_RXINTERVAL13_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP14 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP14_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP14_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL14 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL14_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL14_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL14_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL14_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL14_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL14_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL14_ERROR 0x00000004 // Error
- #define USB_TXCSRL14_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL14_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL14_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH14 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH14_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH14_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH14_MODE 0x00000020 // Mode
- #define USB_TXCSRH14_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH14_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH14_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH14_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH14_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP14 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP14_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP14_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL14 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL14_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL14_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL14_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL14_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL14_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL14_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL14_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL14_OVER 0x00000004 // Overrun
- #define USB_RXCSRL14_ERROR 0x00000004 // Error
- #define USB_RXCSRL14_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL14_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH14 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH14_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH14_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH14_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH14_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH14_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH14_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH14_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH14_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH14_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT14
- // register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT14_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT14_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE14 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE14_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE14_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE14_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE14_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE14_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE14_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE14_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE14_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE14_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE14_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE14_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL14
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL14_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL14_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL14_TXPOLL_S \
- 0
- #define USB_TXINTERVAL14_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE14 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE14_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE14_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE14_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE14_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE14_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE14_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE14_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE14_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE14_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE14_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE14_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL14
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL14_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL14_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL14_TXPOLL_S \
- 0
- #define USB_RXINTERVAL14_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXMAXP15 register.
- //
- //*****************************************************************************
- #define USB_TXMAXP15_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_TXMAXP15_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRL15 register.
- //
- //*****************************************************************************
- #define USB_TXCSRL15_NAKTO 0x00000080 // NAK Timeout
- #define USB_TXCSRL15_CLRDT 0x00000040 // Clear Data Toggle
- #define USB_TXCSRL15_STALLED 0x00000020 // Endpoint Stalled
- #define USB_TXCSRL15_SETUP 0x00000010 // Setup Packet
- #define USB_TXCSRL15_STALL 0x00000010 // Send STALL
- #define USB_TXCSRL15_FLUSH 0x00000008 // Flush FIFO
- #define USB_TXCSRL15_UNDRN 0x00000004 // Underrun
- #define USB_TXCSRL15_ERROR 0x00000004 // Error
- #define USB_TXCSRL15_FIFONE 0x00000002 // FIFO Not Empty
- #define USB_TXCSRL15_TXRDY 0x00000001 // Transmit Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXCSRH15 register.
- //
- //*****************************************************************************
- #define USB_TXCSRH15_AUTOSET 0x00000080 // Auto Set
- #define USB_TXCSRH15_ISO 0x00000040 // Isochronous Transfers
- #define USB_TXCSRH15_MODE 0x00000020 // Mode
- #define USB_TXCSRH15_DMAEN 0x00000010 // DMA Request Enable
- #define USB_TXCSRH15_FDT 0x00000008 // Force Data Toggle
- #define USB_TXCSRH15_DMAMOD 0x00000004 // DMA Request Mode
- #define USB_TXCSRH15_DTWE 0x00000002 // Data Toggle Write Enable
- #define USB_TXCSRH15_DT 0x00000001 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXMAXP15 register.
- //
- //*****************************************************************************
- #define USB_RXMAXP15_MAXLOAD_M 0x000007FF // Maximum Payload
- #define USB_RXMAXP15_MAXLOAD_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRL15 register.
- //
- //*****************************************************************************
- #define USB_RXCSRL15_CLRDT 0x00000080 // Clear Data Toggle
- #define USB_RXCSRL15_STALLED 0x00000040 // Endpoint Stalled
- #define USB_RXCSRL15_STALL 0x00000020 // Send STALL
- #define USB_RXCSRL15_REQPKT 0x00000020 // Request Packet
- #define USB_RXCSRL15_FLUSH 0x00000010 // Flush FIFO
- #define USB_RXCSRL15_DATAERR 0x00000008 // Data Error
- #define USB_RXCSRL15_NAKTO 0x00000008 // NAK Timeout
- #define USB_RXCSRL15_ERROR 0x00000004 // Error
- #define USB_RXCSRL15_OVER 0x00000004 // Overrun
- #define USB_RXCSRL15_FULL 0x00000002 // FIFO Full
- #define USB_RXCSRL15_RXRDY 0x00000001 // Receive Packet Ready
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCSRH15 register.
- //
- //*****************************************************************************
- #define USB_RXCSRH15_AUTOCL 0x00000080 // Auto Clear
- #define USB_RXCSRH15_AUTORQ 0x00000040 // Auto Request
- #define USB_RXCSRH15_ISO 0x00000040 // Isochronous Transfers
- #define USB_RXCSRH15_DMAEN 0x00000020 // DMA Request Enable
- #define USB_RXCSRH15_PIDERR 0x00000010 // PID Error
- #define USB_RXCSRH15_DISNYET 0x00000010 // Disable NYET
- #define USB_RXCSRH15_DMAMOD 0x00000008 // DMA Request Mode
- #define USB_RXCSRH15_DTWE 0x00000004 // Data Toggle Write Enable
- #define USB_RXCSRH15_DT 0x00000002 // Data Toggle
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXCOUNT15
- // register.
- //
- //*****************************************************************************
- #define USB_RXCOUNT15_COUNT_M 0x00001FFF // Receive Packet Count
- #define USB_RXCOUNT15_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXTYPE15 register.
- //
- //*****************************************************************************
- #define USB_TXTYPE15_SPEED_M 0x000000C0 // Operating Speed
- #define USB_TXTYPE15_SPEED_DFLT 0x00000000 // Default
- #define USB_TXTYPE15_SPEED_FULL 0x00000080 // Full
- #define USB_TXTYPE15_SPEED_LOW 0x000000C0 // Low
- #define USB_TXTYPE15_PROTO_M 0x00000030 // Protocol
- #define USB_TXTYPE15_PROTO_CTRL 0x00000000 // Control
- #define USB_TXTYPE15_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_TXTYPE15_PROTO_BULK 0x00000020 // Bulk
- #define USB_TXTYPE15_PROTO_INT 0x00000030 // Interrupt
- #define USB_TXTYPE15_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_TXTYPE15_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXINTERVAL15
- // register.
- //
- //*****************************************************************************
- #define USB_TXINTERVAL15_TXPOLL_M \
- 0x000000FF // TX Polling
- #define USB_TXINTERVAL15_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_TXINTERVAL15_NAKLMT_S \
- 0
- #define USB_TXINTERVAL15_TXPOLL_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXTYPE15 register.
- //
- //*****************************************************************************
- #define USB_RXTYPE15_SPEED_M 0x000000C0 // Operating Speed
- #define USB_RXTYPE15_SPEED_DFLT 0x00000000 // Default
- #define USB_RXTYPE15_SPEED_FULL 0x00000080 // Full
- #define USB_RXTYPE15_SPEED_LOW 0x000000C0 // Low
- #define USB_RXTYPE15_PROTO_M 0x00000030 // Protocol
- #define USB_RXTYPE15_PROTO_CTRL 0x00000000 // Control
- #define USB_RXTYPE15_PROTO_ISOC 0x00000010 // Isochronous
- #define USB_RXTYPE15_PROTO_BULK 0x00000020 // Bulk
- #define USB_RXTYPE15_PROTO_INT 0x00000030 // Interrupt
- #define USB_RXTYPE15_TEP_M 0x0000000F // Target Endpoint Number
- #define USB_RXTYPE15_TEP_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXINTERVAL15
- // register.
- //
- //*****************************************************************************
- #define USB_RXINTERVAL15_TXPOLL_M \
- 0x000000FF // RX Polling
- #define USB_RXINTERVAL15_NAKLMT_M \
- 0x000000FF // NAK Limit
- #define USB_RXINTERVAL15_TXPOLL_S \
- 0
- #define USB_RXINTERVAL15_NAKLMT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT1
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT1_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT1_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT2
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT2_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT2_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT3
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT3_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT3_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT4
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT4_COUNT_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT4_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT5
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT5_COUNT_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT5_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT6
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT6_COUNT_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT6_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT7
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT7_COUNT_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT7_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT8
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT8_COUNT_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT8_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT9
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT9_COUNT_M 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT9_COUNT_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT10
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT10_COUNT_M \
- 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT10_COUNT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT11
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT11_COUNT_M \
- 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT11_COUNT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT12
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT12_COUNT_M \
- 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT12_COUNT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT13
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT13_COUNT_M \
- 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT13_COUNT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT14
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT14_COUNT_M \
- 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT14_COUNT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RQPKTCOUNT15
- // register.
- //
- //*****************************************************************************
- #define USB_RQPKTCOUNT15_COUNT_M \
- 0x0000FFFF // Block Transfer Packet Count
- #define USB_RQPKTCOUNT15_COUNT_S \
- 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_RXDPKTBUFDIS
- // register.
- //
- //*****************************************************************************
- #define USB_RXDPKTBUFDIS_EP15 0x00008000 // EP15 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP14 0x00004000 // EP14 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP13 0x00002000 // EP13 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP12 0x00001000 // EP12 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP11 0x00000800 // EP11 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP10 0x00000400 // EP10 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP9 0x00000200 // EP9 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP8 0x00000100 // EP8 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP7 0x00000080 // EP7 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP6 0x00000040 // EP6 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP5 0x00000020 // EP5 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP4 0x00000010 // EP4 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP3 0x00000008 // EP3 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP2 0x00000004 // EP2 RX Double-Packet Buffer
- // Disable
- #define USB_RXDPKTBUFDIS_EP1 0x00000002 // EP1 RX Double-Packet Buffer
- // Disable
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_TXDPKTBUFDIS
- // register.
- //
- //*****************************************************************************
- #define USB_TXDPKTBUFDIS_EP15 0x00008000 // EP15 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP14 0x00004000 // EP14 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP13 0x00002000 // EP13 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP12 0x00001000 // EP12 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP11 0x00000800 // EP11 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP10 0x00000400 // EP10 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP9 0x00000200 // EP9 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP8 0x00000100 // EP8 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP7 0x00000080 // EP7 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP6 0x00000040 // EP6 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP5 0x00000020 // EP5 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP4 0x00000010 // EP4 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP3 0x00000008 // EP3 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP2 0x00000004 // EP2 TX Double-Packet Buffer
- // Disable
- #define USB_TXDPKTBUFDIS_EP1 0x00000002 // EP1 TX Double-Packet Buffer
- // Disable
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_EPC register.
- //
- //*****************************************************************************
- #define USB_EPC_PFLTACT_M 0x00000300 // Power Fault Action
- #define USB_EPC_PFLTACT_UNCHG 0x00000000 // Unchanged
- #define USB_EPC_PFLTACT_TRIS 0x00000100 // Tristate
- #define USB_EPC_PFLTACT_LOW 0x00000200 // Low
- #define USB_EPC_PFLTACT_HIGH 0x00000300 // High
- #define USB_EPC_PFLTAEN 0x00000040 // Power Fault Action Enable
- #define USB_EPC_PFLTSEN_HIGH 0x00000020 // Power Fault Sense
- #define USB_EPC_PFLTEN 0x00000010 // Power Fault Input Enable
- #define USB_EPC_EPENDE 0x00000004 // EPEN Drive Enable
- #define USB_EPC_EPEN_M 0x00000003 // External Power Supply Enable
- // Configuration
- #define USB_EPC_EPEN_LOW 0x00000000 // Power Enable Active Low
- #define USB_EPC_EPEN_HIGH 0x00000001 // Power Enable Active High
- #define USB_EPC_EPEN_VBLOW 0x00000002 // Power Enable High if VBUS Low
- #define USB_EPC_EPEN_VBHIGH 0x00000003 // Power Enable High if VBUS High
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_EPCRIS register.
- //
- //*****************************************************************************
- #define USB_EPCRIS_PF 0x00000001 // USB Power Fault Interrupt Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_EPCIM register.
- //
- //*****************************************************************************
- #define USB_EPCIM_PF 0x00000001 // USB Power Fault Interrupt Mask
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_EPCISC register.
- //
- //*****************************************************************************
- #define USB_EPCISC_PF 0x00000001 // USB Power Fault Interrupt Status
- // and Clear
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_DRRIS register.
- //
- //*****************************************************************************
- #define USB_DRRIS_RESUME 0x00000001 // RESUME Interrupt Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_DRIM register.
- //
- //*****************************************************************************
- #define USB_DRIM_RESUME 0x00000001 // RESUME Interrupt Mask
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_DRISC register.
- //
- //*****************************************************************************
- #define USB_DRISC_RESUME 0x00000001 // RESUME Interrupt Status and
- // Clear
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_GPCS register.
- //
- //*****************************************************************************
- #define USB_GPCS_DEVMODOTG 0x00000002 // Enable Device Mode
- #define USB_GPCS_DEVMOD 0x00000001 // Device Mode
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_VDC register.
- //
- //*****************************************************************************
- #define USB_VDC_VBDEN 0x00000001 // VBUS Droop Enable
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_VDCRIS register.
- //
- //*****************************************************************************
- #define USB_VDCRIS_VD 0x00000001 // VBUS Droop Raw Interrupt Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_VDCIM register.
- //
- //*****************************************************************************
- #define USB_VDCIM_VD 0x00000001 // VBUS Droop Interrupt Mask
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_VDCISC register.
- //
- //*****************************************************************************
- #define USB_VDCISC_VD 0x00000001 // VBUS Droop Interrupt Status and
- // Clear
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_IDVRIS register.
- //
- //*****************************************************************************
- #define USB_IDVRIS_ID 0x00000001 // ID Valid Detect Raw Interrupt
- // Status
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_IDVIM register.
- //
- //*****************************************************************************
- #define USB_IDVIM_ID 0x00000001 // ID Valid Detect Interrupt Mask
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_IDVISC register.
- //
- //*****************************************************************************
- #define USB_IDVISC_ID 0x00000001 // ID Valid Detect Interrupt Status
- // and Clear
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_DMASEL register.
- //
- //*****************************************************************************
- #define USB_DMASEL_DMACTX_M 0x00F00000 // DMA C TX Select
- #define USB_DMASEL_DMACRX_M 0x000F0000 // DMA C RX Select
- #define USB_DMASEL_DMABTX_M 0x0000F000 // DMA B TX Select
- #define USB_DMASEL_DMABRX_M 0x00000F00 // DMA B RX Select
- #define USB_DMASEL_DMAATX_M 0x000000F0 // DMA A TX Select
- #define USB_DMASEL_DMAARX_M 0x0000000F // DMA A RX Select
- #define USB_DMASEL_DMACTX_S 20
- #define USB_DMASEL_DMACRX_S 16
- #define USB_DMASEL_DMABTX_S 12
- #define USB_DMASEL_DMABRX_S 8
- #define USB_DMASEL_DMAATX_S 4
- #define USB_DMASEL_DMAARX_S 0
- //*****************************************************************************
- //
- // The following are defines for the bit fields in the USB_O_PP register.
- //
- //*****************************************************************************
- #define USB_PP_ECNT_M 0x0000FF00 // Endpoint Count
- #define USB_PP_USB_M 0x000000C0 // USB Capability
- #define USB_PP_USB_DEVICE 0x00000040 // DEVICE
- #define USB_PP_USB_HOSTDEVICE 0x00000080 // HOST
- #define USB_PP_USB_OTG 0x000000C0 // OTG
- #define USB_PP_PHY 0x00000010 // PHY Present
- #define USB_PP_TYPE_M 0x0000000F // Controller Type
- #define USB_PP_TYPE_0 0x00000000 // The first-generation USB
- // controller
- #define USB_PP_ECNT_S 8
- //*****************************************************************************
- //
- // The following definitions are deprecated.
- //
- //*****************************************************************************
- #ifndef DEPRECATED
- //*****************************************************************************
- //
- // The following are deprecated defines for the bit fields in the
- // USB_O_TXFIFOADD register.
- //
- //*****************************************************************************
- #define USB_TXFIFOADD_ADDR_2048 0x00000009 // 2048
- #define USB_TXFIFOADD_ADDR_1024 0x00000008 // 1024
- #define USB_TXFIFOADD_ADDR_512 0x00000007 // 512
- #define USB_TXFIFOADD_ADDR_256 0x00000006 // 256
- #define USB_TXFIFOADD_ADDR_128 0x00000005 // 128
- #define USB_TXFIFOADD_ADDR_64 0x00000004 // 64
- #define USB_TXFIFOADD_ADDR_32 0x00000003 // 32
- #define USB_TXFIFOADD_ADDR_16 0x00000002 // 16
- #define USB_TXFIFOADD_ADDR_8 0x00000001 // 8
- #define USB_TXFIFOADD_ADDR_0 0x00000000 // 0
- //*****************************************************************************
- //
- // The following are deprecated defines for the bit fields in the
- // USB_O_RXFIFOADD register.
- //
- //*****************************************************************************
- #define USB_RXFIFOADD_ADDR_2048 0x00000009 // 2048
- #define USB_RXFIFOADD_ADDR_1024 0x00000008 // 1024
- #define USB_RXFIFOADD_ADDR_512 0x00000007 // 512
- #define USB_RXFIFOADD_ADDR_256 0x00000006 // 256
- #define USB_RXFIFOADD_ADDR_128 0x00000005 // 128
- #define USB_RXFIFOADD_ADDR_64 0x00000004 // 64
- #define USB_RXFIFOADD_ADDR_32 0x00000003 // 32
- #define USB_RXFIFOADD_ADDR_16 0x00000002 // 16
- #define USB_RXFIFOADD_ADDR_8 0x00000001 // 8
- #define USB_RXFIFOADD_ADDR_0 0x00000000 // 0
- #endif
- #endif // __HW_USB_H__
|