| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445 |
- //*****************************************************************************
- //
- // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
- //
- //
- // Redistribution and use in source and binary forms, with or without
- // modification, are permitted provided that the following conditions
- // are met:
- //
- // Redistributions of source code must retain the above copyright
- // notice, this list of conditions and the following disclaimer.
- //
- // Redistributions in binary form must reproduce the above copyright
- // notice, this list of conditions and the following disclaimer in the
- // documentation and/or other materials provided with the
- // distribution.
- //
- // Neither the name of Texas Instruments Incorporated nor the names of
- // its contributors may be used to endorse or promote products derived
- // from this software without specific prior written permission.
- //
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- //
- //*****************************************************************************
- #ifndef __HW_OCP_SHARED_H__
- #define __HW_OCP_SHARED_H__
- //*****************************************************************************
- //
- // The following are defines for the OCP_SHARED register offsets.
- //
- //*****************************************************************************
- #define OCP_SHARED_O_SEMAPHORE1 0x00000000
- #define OCP_SHARED_O_SEMAPHORE2 0x00000004
- #define OCP_SHARED_O_SEMAPHORE3 0x00000008
- #define OCP_SHARED_O_SEMAPHORE4 0x0000000C
- #define OCP_SHARED_O_SEMAPHORE5 0x00000010
- #define OCP_SHARED_O_SEMAPHORE6 0x00000014
- #define OCP_SHARED_O_SEMAPHORE7 0x00000018
- #define OCP_SHARED_O_SEMAPHORE8 0x0000001C
- #define OCP_SHARED_O_SEMAPHORE9 0x00000020
- #define OCP_SHARED_O_SEMAPHORE10 \
- 0x00000024
- #define OCP_SHARED_O_SEMAPHORE11 \
- 0x00000028
- #define OCP_SHARED_O_SEMAPHORE12 \
- 0x0000002C
- #define OCP_SHARED_O_IC_LOCKER_ID \
- 0x00000030
- #define OCP_SHARED_O_MCU_SEMAPHORE_PEND \
- 0x00000034
- #define OCP_SHARED_O_WL_SEMAPHORE_PEND \
- 0x00000038
- #define OCP_SHARED_O_PLATFORM_DETECTION_RD_ONLY \
- 0x0000003C
- #define OCP_SHARED_O_SEMAPHORES_STATUS_RD_ONLY \
- 0x00000040
- #define OCP_SHARED_O_CC3XX_CONFIG_CTRL \
- 0x00000044
- #define OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_LSB \
- 0x00000048
- #define OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_MSB \
- 0x0000004C
- #define OCP_SHARED_O_WLAN_ELP_WAKE_EN \
- 0x00000050
- #define OCP_SHARED_O_DEVINIT_ROM_START_ADDR \
- 0x00000054
- #define OCP_SHARED_O_DEVINIT_ROM_END_ADDR \
- 0x00000058
- #define OCP_SHARED_O_SSBD_SEED 0x0000005C
- #define OCP_SHARED_O_SSBD_CHK 0x00000060
- #define OCP_SHARED_O_SSBD_POLY_SEL \
- 0x00000064
- #define OCP_SHARED_O_SPARE_REG_0 \
- 0x00000068
- #define OCP_SHARED_O_SPARE_REG_1 \
- 0x0000006C
- #define OCP_SHARED_O_SPARE_REG_2 \
- 0x00000070
- #define OCP_SHARED_O_SPARE_REG_3 \
- 0x00000074
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_0 \
- 0x000000A0
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_1 \
- 0x000000A4
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_2 \
- 0x000000A8
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_3 \
- 0x000000AC
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_4 \
- 0x000000B0
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_5 \
- 0x000000B4
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_6 \
- 0x000000B8
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_7 \
- 0x000000BC
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_8 \
- 0x000000C0
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_9 \
- 0x000000C4
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_10 \
- 0x000000C8
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_11 \
- 0x000000CC
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_12 \
- 0x000000D0
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_13 \
- 0x000000D4
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_14 \
- 0x000000D8
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_15 \
- 0x000000DC
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_16 \
- 0x000000E0
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_17 \
- 0x000000E4
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_18 \
- 0x000000E8
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_19 \
- 0x000000EC
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_20 \
- 0x000000F0
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_21 \
- 0x000000F4
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_22 \
- 0x000000F8
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_23 \
- 0x000000FC
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_24 \
- 0x00000100
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_25 \
- 0x00000104
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_26 \
- 0x00000108
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_27 \
- 0x0000010C
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_28 \
- 0x00000110
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_29 \
- 0x00000114
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_30 \
- 0x00000118
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_31 \
- 0x0000011C
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_32 \
- 0x00000120
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_33 \
- 0x00000124
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_34 \
- 0x00000128
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_35 \
- 0x0000012C
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_36 \
- 0x00000130
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_37 \
- 0x00000134
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_38 \
- 0x00000138
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_39 \
- 0x0000013C
- #define OCP_SHARED_O_GPIO_PAD_CONFIG_40 \
- 0x00000140
- #define OCP_SHARED_O_GPIO_PAD_CMN_CONFIG \
- 0x00000144 // This register provide control to
- // GPIO_CC3XXV1 IO PAD. Common
- // control signals to all bottom Die
- // IO's are controlled via this.
- #define OCP_SHARED_O_D2D_DEV_PAD_CMN_CONFIG \
- 0x00000148
- #define OCP_SHARED_O_D2D_TOSTACK_PAD_CONF \
- 0x0000014C
- #define OCP_SHARED_O_D2D_MISC_PAD_CONF \
- 0x00000150
- #define OCP_SHARED_O_SOP_CONF_OVERRIDE \
- 0x00000154
- #define OCP_SHARED_O_CC3XX_DEBUGSS_STATUS \
- 0x00000158
- #define OCP_SHARED_O_CC3XX_DEBUGMUX_SEL \
- 0x0000015C
- #define OCP_SHARED_O_ALT_PC_VAL_NW \
- 0x00000160
- #define OCP_SHARED_O_ALT_PC_VAL_APPS \
- 0x00000164
- #define OCP_SHARED_O_SPARE_REG_4 \
- 0x00000168
- #define OCP_SHARED_O_SPARE_REG_5 \
- 0x0000016C
- #define OCP_SHARED_O_SH_SPI_CS_MASK \
- 0x00000170
- #define OCP_SHARED_O_CC3XX_DEVICE_TYPE \
- 0x00000174
- #define OCP_SHARED_O_MEM_TOPMUXCTRL_IFORCE \
- 0x00000178
- #define OCP_SHARED_O_CC3XX_DEV_PACKAGE_DETECT \
- 0x0000017C
- #define OCP_SHARED_O_AUTONMS_SPICLK_SEL \
- 0x00000180
- #define OCP_SHARED_O_CC3XX_DEV_PADCONF \
- 0x00000184
- #define OCP_SHARED_O_SPARE_REG_8 \
- 0x00000188
- #define OCP_SHARED_O_SPARE_REG_6 \
- 0x0000018C
- #define OCP_SHARED_O_SPARE_REG_7 \
- 0x00000190
- #define OCP_SHARED_O_APPS_WLAN_ORBIT \
- 0x00000194
- #define OCP_SHARED_O_APPS_WLAN_SCRATCH_PAD \
- 0x00000198
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE1 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE1_MEM_SEMAPHORE1_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE1_MEM_SEMAPHORE1_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE2 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE2_MEM_SEMAPHORE2_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE2_MEM_SEMAPHORE2_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE3 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE3_MEM_SEMAPHORE3_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE3_MEM_SEMAPHORE3_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE4 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE4_MEM_SEMAPHORE4_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE4_MEM_SEMAPHORE4_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE5 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE5_MEM_SEMAPHORE5_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE5_MEM_SEMAPHORE5_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE6 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE6_MEM_SEMAPHORE6_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE6_MEM_SEMAPHORE6_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE7 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE7_MEM_SEMAPHORE7_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE7_MEM_SEMAPHORE7_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE8 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE8_MEM_SEMAPHORE8_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE8_MEM_SEMAPHORE8_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE9 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE9_MEM_SEMAPHORE9_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE9_MEM_SEMAPHORE9_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE10 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE10_MEM_SEMAPHORE10_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE10_MEM_SEMAPHORE10_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE11 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE11_MEM_SEMAPHORE11_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE11_MEM_SEMAPHORE11_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORE12 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORE12_MEM_SEMAPHORE12_M \
- 0x00000003 // General Purpose Semaphore for SW
- // Usage. If any of the 2 bits of a
- // given register is set to 1, it
- // means that the semaphore is
- // locked by one of the masters.
- // Each bit represents a master IP
- // as follows: {WLAN,NWP}. The JTAG
- // cannot capture the semaphore but
- // it can release it. As a master IP
- // reads the semaphore, it will be
- // caputed and the masters
- // correlating bit will be set to 1
- // (set upon read). As any IP writes
- // to this address (independent of
- // the written data) the semaphore
- // will be set to 2'b00.
- #define OCP_SHARED_SEMAPHORE12_MEM_SEMAPHORE12_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_IC_LOCKER_ID register.
- //
- //******************************************************************************
- #define OCP_SHARED_IC_LOCKER_ID_MEM_IC_LOCKER_ID_M \
- 0x00000007 // This register is used for
- // allowing only one master OCP to
- // perform write transactions to the
- // OCP slaves. Each bit represents
- // an IP in the following format: {
- // JTAG,WLAN, NWP mcu}. As any of
- // the bits is set to one, the
- // correlating IP is preventing the
- // other IP's from performing write
- // transactions to the slaves. As
- // the Inter Connect is locked, the
- // only the locking IP can write to
- // the register and by that
- // releasing the lock. 3'b000 => IC
- // is not locked. 3'b001 => IC is
- // locked by NWP mcu. 3'b010 => IC
- // is locked by WLAN. 3'b100 => IC
- // is locked by JTAG.
- #define OCP_SHARED_IC_LOCKER_ID_MEM_IC_LOCKER_ID_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_MCU_SEMAPHORE_PEND register.
- //
- //******************************************************************************
- #define OCP_SHARED_MCU_SEMAPHORE_PEND_MEM_MCU_SEMAPHORE_PEND_M \
- 0x0000FFFF // This register specifies the
- // semaphore for which the NWP mcu
- // is waiting to be released. It is
- // set to the serial number of a
- // given locked semaphore after it
- // was read by the NWP mcu. Only
- // [11:0] is used.
- #define OCP_SHARED_MCU_SEMAPHORE_PEND_MEM_MCU_SEMAPHORE_PEND_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_WL_SEMAPHORE_PEND register.
- //
- //******************************************************************************
- #define OCP_SHARED_WL_SEMAPHORE_PEND_MEM_WL_SEMAPHORE_PEND_M \
- 0x0000FFFF // This register specifies the
- // semaphore for which the WLAN is
- // waiting to be released. It is set
- // to the serial number of a given
- // locked semaphore after it was
- // read by the WLAN. Only [11:0] is
- // used.
- #define OCP_SHARED_WL_SEMAPHORE_PEND_MEM_WL_SEMAPHORE_PEND_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_PLATFORM_DETECTION_RD_ONLY register.
- //
- //******************************************************************************
- #define OCP_SHARED_PLATFORM_DETECTION_RD_ONLY_PLATFORM_DETECTION_M \
- 0x0000FFFF // This information serves the IPs
- // for knowing in which platform are
- // they integrated at: 0 = CC31XX.
- #define OCP_SHARED_PLATFORM_DETECTION_RD_ONLY_PLATFORM_DETECTION_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SEMAPHORES_STATUS_RD_ONLY register.
- //
- //******************************************************************************
- #define OCP_SHARED_SEMAPHORES_STATUS_RD_ONLY_SEMAPHORES_STATUS_M \
- 0x00000FFF // Captured/released semaphores
- // status for the 12 semaphores.
- // Each bit of the 12 bits
- // represents a semaphore. 0 =>
- // Semaphore Free. 1 => Semaphore
- // Captured.
- #define OCP_SHARED_SEMAPHORES_STATUS_RD_ONLY_SEMAPHORES_STATUS_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_CONFIG_CTRL register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_IC_TO_EN \
- 0x00000010 // This bit is used to enable
- // timeout mechanism for top_ocp_ic
- // (for debug puropse). When 1 value
- // , in case any ocp slave doesn't
- // give sresponse within 16 cylcles
- // top_ic will give error response
- // itself to avoid bus hange.
- #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_ALT_PC_EN_APPS \
- 0x00000008 // 1 bit should be accessible only
- // in devinit. This will enable 0x4
- // hack for apps processor
- #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_ALT_PC_EN_NW \
- 0x00000004 // 1 bit, should be accessible only
- // in devinit. This will enable 0x4
- // hack for nw processor
- #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_EXTEND_NW_ROM \
- 0x00000002 // When set NW can take over apps
- // rom and flash via IDCODE bus.
- // Apps will able to access this
- // register only during devinit and
- // reset value should be 0.
- #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_WLAN_HOST_INTF_SEL \
- 0x00000001 // When this bit is set to 0 WPSI
- // host interface wil be selected,
- // when this bit is set to 1 , WLAN
- // host async bridge will be
- // selected.
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_LSB register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_LSB_MEM_SHARED_MEM_SEL_LSB_M \
- 0x3FFFFFFF // This register provides memss RAM
- // column configuration for column 0
- // to 9. 3 bits are allocated per
- // column. This register is required
- // to be configured before starting
- // RAM access. Changing register
- // setting while code is running
- // will result into unpredictable
- // memory behaviour. Register is
- // supported to configured ones
- // after core is booted up. 3 bit
- // encoding per column is as
- // follows: when 000 : WLAN, 001:
- // NWP, 010: APPS, 011: PHY, 100:
- // OCLA column 0 select: bit [2:0]
- // :when 000 -> WLAN,001 -> NWP,010
- // -> APPS, 011 -> PHY, 100 -> OCLA
- // column 1 select: bit [5:3]
- // :column 2 select: bit [8 : 6]:
- // column 3 select : bit [11: 9]
- // column 4 select : bit [14:12]
- // column 5 select : bit [17:15]
- // column 6 select : bit [20:18]
- // column 7 select : bit [23:21]
- // column 8 select : bit [26:24]
- // column 9 select : bit [29:27]
- // column 10 select
- #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_LSB_MEM_SHARED_MEM_SEL_LSB_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_MSB register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_MSB_MEM_SHARED_MEM_SEL_MSB_M \
- 0x00000FFF // This register provides memss RAM
- // column configuration for column
- // 10 to 15. 3 bits are allocated
- // per column. This register is
- // required to be configured before
- // starting RAM access. Changing
- // register setting while code is
- // running will result into
- // unpredictable memory behaviour.
- // Register is supported to
- // configured ones after core is
- // booted up. 3 bit encoding per
- // column is as follows: when 000 :
- // WLAN, 001: NWP, 010: APPS, 011:
- // PHY, 100: OCLA column 11 select :
- // bit [2:0] column 12 select : bit
- // [5:3] column 13 select : bit [8 :
- // 6] column 14 select :
- #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_MSB_MEM_SHARED_MEM_SEL_MSB_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_WLAN_ELP_WAKE_EN register.
- //
- //******************************************************************************
- #define OCP_SHARED_WLAN_ELP_WAKE_EN_MEM_WLAN_ELP_WAKE_EN \
- 0x00000001 // when '1' : signal will enabled
- // ELP power doamin when '0': ELP is
- // not powered up.
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_DEVINIT_ROM_START_ADDR register.
- //
- //******************************************************************************
- #define OCP_SHARED_DEVINIT_ROM_START_ADDR_MEM_DEVINIT_ROM_START_ADDR_M \
- 0xFFFFFFFF // 32 bit, Writable only during
- // devinit, and whole 32 bit should
- // be output of the config register
- // module. This register is not used
- // , similar register availble in
- // GPRCM space.
- #define OCP_SHARED_DEVINIT_ROM_START_ADDR_MEM_DEVINIT_ROM_START_ADDR_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_DEVINIT_ROM_END_ADDR register.
- //
- //******************************************************************************
- #define OCP_SHARED_DEVINIT_ROM_END_ADDR_MEM_DEVINIT_ROM_END_ADDR_M \
- 0xFFFFFFFF // 32 bit, Writable only during
- // devinit, and whole 32 bit should
- // be output of the config register
- // module.
- #define OCP_SHARED_DEVINIT_ROM_END_ADDR_MEM_DEVINIT_ROM_END_ADDR_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SSBD_SEED register.
- //
- //******************************************************************************
- #define OCP_SHARED_SSBD_SEED_MEM_SSBD_SEED_M \
- 0xFFFFFFFF // 32 bit, Writable only during
- // devinit, and whole 32 bit should
- // be output of the config register
- // module.
- #define OCP_SHARED_SSBD_SEED_MEM_SSBD_SEED_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SSBD_CHK register.
- //
- //******************************************************************************
- #define OCP_SHARED_SSBD_CHK_MEM_SSBD_CHK_M \
- 0xFFFFFFFF // 32 bit, Writable only during
- // devinit, and whole 32 bit should
- // be output of the config register
- // module.
- #define OCP_SHARED_SSBD_CHK_MEM_SSBD_CHK_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SSBD_POLY_SEL register.
- //
- //******************************************************************************
- #define OCP_SHARED_SSBD_POLY_SEL_MEM_SSBD_POLY_SEL_M \
- 0x00000003 // 2 bit, Writable only during
- // devinit, and whole 2 bit should
- // be output of the config register
- // module.
- #define OCP_SHARED_SSBD_POLY_SEL_MEM_SSBD_POLY_SEL_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_0 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_0_MEM_SPARE_REG_0_M \
- 0xFFFFFFFF // Devinit code should look for
- // whether corresponding fuse is
- // blown and if blown write to the
- // 11th bit of this register to
- // disable flshtst interface
- #define OCP_SHARED_SPARE_REG_0_MEM_SPARE_REG_0_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_1 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_1_MEM_SPARE_REG_1_M \
- 0xFFFFFFFF // NWP Software register
- #define OCP_SHARED_SPARE_REG_1_MEM_SPARE_REG_1_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_2 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_2_MEM_SPARE_REG_2_M \
- 0xFFFFFFFF // NWP Software register
- #define OCP_SHARED_SPARE_REG_2_MEM_SPARE_REG_2_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_3 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_3_MEM_SPARE_REG_3_M \
- 0xFFFFFFFF // APPS Software register
- #define OCP_SHARED_SPARE_REG_3_MEM_SPARE_REG_3_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_0 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_0_MEM_GPIO_PAD_CONFIG_0_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." "For example in
- // case of I2C Value gets latched at
- // rising edge of RET33.""" """ 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_0_MEM_GPIO_PAD_CONFIG_0_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_1 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_1_MEM_GPIO_PAD_CONFIG_1_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_1_MEM_GPIO_PAD_CONFIG_1_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_2 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_2_MEM_GPIO_PAD_CONFIG_2_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_2_MEM_GPIO_PAD_CONFIG_2_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_3 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_3_MEM_GPIO_PAD_CONFIG_3_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_3_MEM_GPIO_PAD_CONFIG_3_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_4 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_4_MEM_GPIO_PAD_CONFIG_4_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_4_MEM_GPIO_PAD_CONFIG_4_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_5 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_5_MEM_GPIO_PAD_CONFIG_5_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_5_MEM_GPIO_PAD_CONFIG_5_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_6 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_6_MEM_GPIO_PAD_CONFIG_6_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_6_MEM_GPIO_PAD_CONFIG_6_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_7 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_7_MEM_GPIO_PAD_CONFIG_7_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_7_MEM_GPIO_PAD_CONFIG_7_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_8 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_8_MEM_GPIO_PAD_CONFIG_8_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_8_MEM_GPIO_PAD_CONFIG_8_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_9 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_9_MEM_GPIO_PAD_CONFIG_9_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_9_MEM_GPIO_PAD_CONFIG_9_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_10 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_10_MEM_GPIO_PAD_CONFIG_10_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_10_MEM_GPIO_PAD_CONFIG_10_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_11 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_11_MEM_GPIO_PAD_CONFIG_11_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_11_MEM_GPIO_PAD_CONFIG_11_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_12 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_12_MEM_GPIO_PAD_CONFIG_12_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_12_MEM_GPIO_PAD_CONFIG_12_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_13 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_13_MEM_GPIO_PAD_CONFIG_13_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_13_MEM_GPIO_PAD_CONFIG_13_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_14 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_14_MEM_GPIO_PAD_CONFIG_14_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_14_MEM_GPIO_PAD_CONFIG_14_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_15 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_15_MEM_GPIO_PAD_CONFIG_15_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_15_MEM_GPIO_PAD_CONFIG_15_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_16 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_16_MEM_GPIO_PAD_CONFIG_16_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_16_MEM_GPIO_PAD_CONFIG_16_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_17 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_17_MEM_GPIO_PAD_CONFIG_17_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_17_MEM_GPIO_PAD_CONFIG_17_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_18 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_18_MEM_GPIO_PAD_CONFIG_18_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_18_MEM_GPIO_PAD_CONFIG_18_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_19 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_19_MEM_GPIO_PAD_CONFIG_19_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_19_MEM_GPIO_PAD_CONFIG_19_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_20 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_20_MEM_GPIO_PAD_CONFIG_20_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_20_MEM_GPIO_PAD_CONFIG_20_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_21 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_21_MEM_GPIO_PAD_CONFIG_21_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_21_MEM_GPIO_PAD_CONFIG_21_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_22 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_22_MEM_GPIO_PAD_CONFIG_22_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_22_MEM_GPIO_PAD_CONFIG_22_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_23 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_23_MEM_GPIO_PAD_CONFIG_23_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_23_MEM_GPIO_PAD_CONFIG_23_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_24 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_24_MEM_GPIO_PAD_CONFIG_24_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_24_MEM_GPIO_PAD_CONFIG_24_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_25 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_25_MEM_GPIO_PAD_CONFIG_25_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_25_MEM_GPIO_PAD_CONFIG_25_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_26 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_26_MEM_GPIO_PAD_CONFIG_26_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_26_MEM_GPIO_PAD_CONFIG_26_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_27 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_27_MEM_GPIO_PAD_CONFIG_27_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_27_MEM_GPIO_PAD_CONFIG_27_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_28 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_28_MEM_GPIO_PAD_CONFIG_28_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_28_MEM_GPIO_PAD_CONFIG_28_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_29 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_29_MEM_GPIO_PAD_CONFIG_29_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_29_MEM_GPIO_PAD_CONFIG_29_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_30 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_30_MEM_GPIO_PAD_CONFIG_30_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_30_MEM_GPIO_PAD_CONFIG_30_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_31 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_31_MEM_GPIO_PAD_CONFIG_31_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_31_MEM_GPIO_PAD_CONFIG_31_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_32 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_32_MEM_GPIO_PAD_CONFIG_32_M \
- 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." it can be used
- // for I2C type of peripherals. 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_32_MEM_GPIO_PAD_CONFIG_32_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_33 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_33_MEM_GPIO_PAD_CONFIG_33_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_33_MEM_GPIO_PAD_CONFIG_33_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_34 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_34_MEM_GPIO_PAD_CONFIG_34_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_34_MEM_GPIO_PAD_CONFIG_34_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_35 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_35_MEM_GPIO_PAD_CONFIG_35_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_35_MEM_GPIO_PAD_CONFIG_35_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_36 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_36_MEM_GPIO_PAD_CONFIG_36_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_36_MEM_GPIO_PAD_CONFIG_36_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_37 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_37_MEM_GPIO_PAD_CONFIG_37_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_37_MEM_GPIO_PAD_CONFIG_37_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_38 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_38_MEM_GPIO_PAD_CONFIG_38_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_38_MEM_GPIO_PAD_CONFIG_38_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_39 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_39_MEM_GPIO_PAD_CONFIG_39_M \
- 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 5 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'. IODEN and I8MAEN
- // is diesabled for all development
- // IO's. These signals are tied to
- // logic level '0'. common control
- // is implemented for I2MAEN,
- // I4MAEN, WKPU, WKPD control .
- // refer dev_pad_cmn_config register
- // bits.
- #define OCP_SHARED_GPIO_PAD_CONFIG_39_MEM_GPIO_PAD_CONFIG_39_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CONFIG_40 register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CONFIG_40_MEM_GPIO_PAD_CONFIG_40_M \
- 0x0007FFFF // GPIO 0 register: "Bit 0 - 3 is
- // used for PAD IO mode selection.
- // io_register={ "" 0 =>
- // """"CONFMODE[0]"""""" "" 1 =>
- // """"CONFMODE[1]"""""" "" 2 =>
- // """"CONFMODE[2]"""""" "" 3 =>
- // """"CONFMODE[3]"""" 4 =>
- // """"IODEN"""" --> When level ‘1’
- // this disables the PMOS xtors of
- // the output stages making them
- // open-drain type." "For example in
- // case of I2C Value gets latched at
- // rising edge of RET33.""" """ 5 =>
- // """"I2MAEN"""" --> Level ‘1’
- // enables the approx 2mA output
- // stage""" """ 6 => """"I4MAEN""""
- // --> Level ‘1’ enables the approx
- // 4mA output stage""" """ 7 =>
- // """"I8MAEN"""" --> Level ‘1’
- // enables the approx 8mA output
- // stage. Note: any drive strength
- // between 2mA and 14mA can be
- // obtained with combination of 2mA
- // 4mA and 8mA.""" """ 8 =>
- // """"IWKPUEN"""" --> 10uA pull up
- // (weak strength)""" """ 9 =>
- // """"IWKPDEN"""" --> 10uA pull
- // down (weak strength)""" """ 10 =>
- // """"IOE_N"""" --> output enable
- // value. level ‘0’ enables the IDO
- // to PAD path. Else PAD is
- // tristated (except for the PU/PD
- // which are independent)." "Value
- // gets latched at rising edge of
- // RET33""" """ 11 =>""""
- // IOE_N_OV"""" --> output enable
- // overirde. when bit is set to
- // logic '1' IOE_N (bit 4) value
- // will control IO IOE_N signal else
- // IOE_N is control via selected HW
- // logic. strong PULL UP and PULL
- // Down control is disabled for all
- // IO's. both controls are tied to
- // logic level '0'.
- #define OCP_SHARED_GPIO_PAD_CONFIG_40_MEM_GPIO_PAD_CONFIG_40_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_GPIO_PAD_CMN_CONFIG register.
- //
- //******************************************************************************
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_D2D_ISO_A_EN \
- 0x00000080 // when '1' enable ISO A control to
- // D2D Pads else ISO is disabled.
- // For these PADS to be functional
- // this signals should be set 0.
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_D2D_ISO_Y_EN \
- 0x00000040 // when '1' enable ISO Y control to
- // D2D Pads else ISO is disabled.
- // For these PADS to be functional
- // this signals should be set 0.
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_JTAG_IDIEN \
- 0x00000020 // If level ‘1’ enables the PAD to
- // ODI path for JTAG PADS [PAD 23,
- // 24, 28, 29]. Else ODI is pulled
- // ‘Low’ regardless of PAD level."
- // "Value gets latched at rising
- // edge of RET33.""" """
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_HYSTVAL_M \
- 0x00000018 // 00’: hysteriris = 10% of VDDS
- // (difference between upper and
- // lower threshold of the schmit
- // trigger) ‘01’: hysteriris = 20%
- // of VDDS (difference between upper
- // and lower threshold of the schmit
- // trigger) ‘10’: hysteriris = 30%
- // of VDDS (difference between upper
- // and lower threshold of the schmit
- // trigger) ‘11’: hysteriris = 40%
- // of VDDS (difference between upper
- // and lower threshold of the schmit
- // trigger)" """
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_HYSTVAL_S 3
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_HYSTEN \
- 0x00000004 // If logic ‘0’ there is no
- // hysteresis. Set to ‘1’ to enable
- // hysteresis. Leave the choice to
- // customers"""
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_IBIASEN \
- 0x00000002 // Normal functional operation set
- // this to logic ‘1’ to increase the
- // speed of the o/p buffer at the
- // cost of 0.2uA static current
- // consumption per IO. During IDDQ
- // test and during Hibernate this
- // would be forced to logic ‘0’.
- // Value is not latched at rising
- // edge of RET33.""
- #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_IDIEN \
- 0x00000001 // If level ‘1’ enables the PAD to
- // ODI path. Else ODI is pulled
- // ‘Low’ regardless of PAD level."
- // "Value gets latched at rising
- // edge of RET33.""" """
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_D2D_DEV_PAD_CMN_CONFIG register.
- //
- //******************************************************************************
- #define OCP_SHARED_D2D_DEV_PAD_CMN_CONFIG_MEM_DEV_PAD_CMN_CONF_M \
- 0x0000003F // this register implements common
- // IO control to all devement mode
- // PADs; these PADs are DEV_PAD33 to
- // DEV_PAD39. Bit [1:0] : Drive
- // strength control. These 2 bits
- // are connected to DEV PAD drive
- // strength control. possible drive
- // stregnths are 2MA, 4MA and 6 MA
- // for the these IO's. bit 0: when
- // set to logic value '1' enable 2MA
- // drive strength for DEVPAD01 to 07
- // bit 1: when set to logic value
- // '1' enable 4MA drive strength for
- // DEVPAD01 to 07. bit[3:2] : WK
- // PULL UP and PULL down control.
- // These 2 bits provide IWKPUEN and
- // IWKPDEN control for all DEV IO's.
- // bit 2: when set to logic value
- // '1' enable WKPU to DEVPAD01 to 07
- // bit 3: when set to logic value
- // '1' enable WKPD to DEVPAD01 to
- // 07. bit 4: WK PULL control for
- // DEV_PKG_DETECT pin. when '1'
- // pullup enabled else it is
- // disable. bit 5: when set to logic
- // value '1' enable 8MA drive
- // strength for DEVPAD01 to 07.
- #define OCP_SHARED_D2D_DEV_PAD_CMN_CONFIG_MEM_DEV_PAD_CMN_CONF_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_D2D_TOSTACK_PAD_CONF register.
- //
- //******************************************************************************
- #define OCP_SHARED_D2D_TOSTACK_PAD_CONF_MEM_D2D_TOSTACK_PAD_CONF_M \
- 0x1FFFFFFF // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- // this register control OEN2X pin
- // of D2D TOSTACK PAD: OEN1X and
- // OEN2X decoding is as follows:
- // "when ""00"" :" "when ""01"" :
- // dirve strength is '1' and output
- // buffer enabled." "when ""10"" :
- // drive strength is 2 and output
- // buffer is disabled." "when ""11""
- // : dirve strength is '3' and
- // output buffer enabled."
- #define OCP_SHARED_D2D_TOSTACK_PAD_CONF_MEM_D2D_TOSTACK_PAD_CONF_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_D2D_MISC_PAD_CONF register.
- //
- //******************************************************************************
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_POR_RESET_N \
- 0x00000200 // This register provide OEN2X
- // control to D2D PADS OEN/OEN2X
- // control. When 0 : Act as input
- // buffer else output buffer with
- // drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_RESET_N \
- 0x00000100 // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_HCLK \
- 0x00000080 // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_JTAG_TCK \
- 0x00000040 // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_JTAG_TMS \
- 0x00000020 // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_JTAG_TDI \
- 0x00000010 // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_PIOSC \
- 0x00000008 // OEN/OEN2X control. When 0 : Act
- // as input buffer else output
- // buffer with drive strength 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_SPARE_M \
- 0x00000007 // D2D SPARE PAD OEN/OEN2X control.
- // When 0: Act as input buffer else
- // output buffer with drive strength
- // 2.
- #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_SPARE_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SOP_CONF_OVERRIDE register.
- //
- //******************************************************************************
- #define OCP_SHARED_SOP_CONF_OVERRIDE_MEM_SOP_CONF_OVERRIDE \
- 0x00000001 // when '1' : signal will ovberride
- // SoP setting of JTAG PADS. when
- // '0': SoP setting will control
- // JTAG PADs [ TDI, TDO, TMS, TCK]
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_DEBUGSS_STATUS register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_APPS_MCU_JTAGNSW \
- 0x00000020 // This register contains debug
- // subsystem status bits From APPS
- // MCU status bit to indicates
- // whether serial wire or 4 pins
- // jtag select.
- #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_CJTAG_BYPASS_STATUS \
- 0x00000010 // cjtag bypass bit select
- #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_SW_INTERFACE_SEL_STATUS \
- 0x00000008 // serial wire interface bit select
- #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_APPS_TAP_ENABLE_STATUS \
- 0x00000004 // apps tap enable status
- #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_TAPS_ENABLE_STATUS \
- 0x00000002 // tap enable status
- #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_SSBD_UNLOCK \
- 0x00000001 // ssbd unlock status
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_DEBUGMUX_SEL register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_DEBUGMUX_SEL_MEM_CC3XX_DEBUGMUX_SEL_M \
- 0x0000FFFF // debug mux select register. Upper
- // 8 bits are used for debug module
- // selection. Lower 8 bit [7:0] used
- // inside debug module for selecting
- // module specific signals.
- // Bits[15:8: when set x"00" : GPRCM
- // debug bus. When "o1" : SDIO debug
- // debug bus when x"02" :
- // autonoumous SPI when x"03" :
- // TOPIC when x"04": memss when
- // x"25": mcu debug bus : APPS debug
- // when x"45": mcu debug bus : NWP
- // debug when x"65": mcu debug bus :
- // AHB2VBUS debug when x"85": mcu
- // debug bus : VBUS2HAB debug when
- // x"95": mcu debug bus : RCM debug
- // when x"A5": mcu debug bus :
- // crypto debug when x"06": WLAN
- // debug bus when x"07": debugss bus
- // when x"08": ADC debug when x"09":
- // SDIO PHY debug bus then "others"
- // : no debug is selected
- #define OCP_SHARED_CC3XX_DEBUGMUX_SEL_MEM_CC3XX_DEBUGMUX_SEL_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_ALT_PC_VAL_NW register.
- //
- //******************************************************************************
- #define OCP_SHARED_ALT_PC_VAL_NW_MEM_ALT_PC_VAL_NW_M \
- 0xFFFFFFFF // 32 bit. Program counter value
- // for 0x4 address when Alt_pc_en_nw
- // is set.
- #define OCP_SHARED_ALT_PC_VAL_NW_MEM_ALT_PC_VAL_NW_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_ALT_PC_VAL_APPS register.
- //
- //******************************************************************************
- #define OCP_SHARED_ALT_PC_VAL_APPS_MEM_ALT_PC_VAL_APPS_M \
- 0xFFFFFFFF // 32 bit. Program counter value
- // for 0x4 address when
- // Alt_pc_en_apps is set
- #define OCP_SHARED_ALT_PC_VAL_APPS_MEM_ALT_PC_VAL_APPS_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_4 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_4_MEM_SPARE_REG_4_M \
- 0xFFFFFFFE // HW register
- #define OCP_SHARED_SPARE_REG_4_MEM_SPARE_REG_4_S 1
- #define OCP_SHARED_SPARE_REG_4_INVERT_D2D_INTERFACE \
- 0x00000001 // Data to the top die launched at
- // negative edge instead of positive
- // edge.
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_5 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_5_MEM_SPARE_REG_5_M \
- 0xFFFFFFFF // HW register
- #define OCP_SHARED_SPARE_REG_5_MEM_SPARE_REG_5_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SH_SPI_CS_MASK register.
- //
- //******************************************************************************
- #define OCP_SHARED_SH_SPI_CS_MASK_MEM_SH_SPI_CS_MASK_M \
- 0x0000000F // ( chip select 0 is unmasked
- // after reset. When ‘1’ : CS is
- // unmasked or else masked. Valid
- // configurations are 1000, 0100,
- // 0010 or 0001. Any other setting
- // can lead to unpredictable
- // behavior.
- #define OCP_SHARED_SH_SPI_CS_MASK_MEM_SH_SPI_CS_MASK_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_DEVICE_TYPE register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_reserved_M \
- 0x00000060 // reserved bits tied off "00".
- #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_reserved_S 5
- #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_M \
- 0x0000001F // CC3XX Device type information.
- #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_MEM_TOPMUXCTRL_IFORCE register.
- //
- //******************************************************************************
- #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE1_M \
- 0x000000F0 // [4] 1: switch between
- // WLAN_I2C_SCL and
- // TOP_GPIO_PORT4_I2C closes 0:
- // switch opens [5] 1: switch
- // between WLAN_I2C_SCL and
- // TOP_VSENSE_PORT closes 0: switch
- // opens [6] 1: switch between
- // WLAN_I2C_SCL and WLAN_ANA_TP4
- // closes 0: switch opens [7]
- // Reserved
- #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE1_S 4
- #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE_M \
- 0x0000000F // [0] 1: switch between
- // WLAN_I2C_SDA and
- // TOP_GPIO_PORT3_I2C closes 0:
- // switch opens [1] 1: switch
- // between WLAN_I2C_SDA and
- // TOP_IFORCE_PORT closes 0: switch
- // opens [2] 1: switch between
- // WLAN_I2C_SDA and WLAN_ANA_TP3
- // closes 0: switch opens [3]
- // Reserved
- #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_DEV_PACKAGE_DETECT register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_DEV_PACKAGE_DETECT_DEV_PKG_DETECT \
- 0x00000001 // when '0' indicates package type
- // is development.
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_AUTONMS_SPICLK_SEL register.
- //
- //******************************************************************************
- #define OCP_SHARED_AUTONMS_SPICLK_SEL_MEM_AUTONOMOUS_BYPASS \
- 0x00000002 // This bit is used to bypass MCPSI
- // autonomous mode .if this bit is 1
- // autonomous MCSPI logic will be
- // bypassed and it will act as link
- // SPI
- #define OCP_SHARED_AUTONMS_SPICLK_SEL_MEM_AUTONMS_SPICLK_SEL \
- 0x00000001 // This bit is used in SPI
- // Autonomous mode to switch clock
- // from system clock to SPI clk that
- // is coming from PAD. When value 1
- // PAD SPI clk is used as system
- // clock in LPDS mode by SPI as well
- // as autonomous wrapper logic.
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_CC3XX_DEV_PADCONF register.
- //
- //******************************************************************************
- #define OCP_SHARED_CC3XX_DEV_PADCONF_MEM_CC3XX_DEV_PADCONF_M \
- 0x0000FFFF
- #define OCP_SHARED_CC3XX_DEV_PADCONF_MEM_CC3XX_DEV_PADCONF_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_IDMEM_TIM_UPDATE register.
- //
- //******************************************************************************
- #define OCP_SHARED_IDMEM_TIM_UPDATE_MEM_IDMEM_TIM_UPDATE_M \
- 0xFFFFFFFF
- #define OCP_SHARED_IDMEM_TIM_UPDATE_MEM_IDMEM_TIM_UPDATE_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_6 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_6_MEM_SPARE_REG_6_M \
- 0xFFFFFFFF // NWP Software register
- #define OCP_SHARED_SPARE_REG_6_MEM_SPARE_REG_6_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_SPARE_REG_7 register.
- //
- //******************************************************************************
- #define OCP_SHARED_SPARE_REG_7_MEM_SPARE_REG_7_M \
- 0xFFFFFFFF // NWP Software register
- #define OCP_SHARED_SPARE_REG_7_MEM_SPARE_REG_7_S 0
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_APPS_WLAN_ORBIT register.
- //
- //******************************************************************************
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_spare_M \
- 0xFFFFFC00 // Spare bit
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_spare_S 10
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_status \
- 0x00000200 // A rising edge on this bit
- // indicates that the test case
- // passes. This bit would be brought
- // out on the pin interface during
- // ORBIT.
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_exec \
- 0x00000100 // This register bit is writable by
- // the FW and when set to 1 it
- // indicates the start of a test
- // execution. A failing edge on this
- // bit indicates that the test
- // execution is complete. This bit
- // would be brought out on the pin
- // interface during ORBIT.
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_id_M \
- 0x000000FC // Implies the test case ID that
- // needs to run.
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_id_S 2
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_halt_proc \
- 0x00000002 // This bit is used to trigger the
- // execution of test cases within
- // the (ROM based) IP.
- #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_mode \
- 0x00000001 // When this bit is 1 it implies
- // ORBIT mode of operation and the
- // (ROM based) IP start the
- // execution from a test case
- // perspective
- //******************************************************************************
- //
- // The following are defines for the bit fields in the
- // OCP_SHARED_O_APPS_WLAN_SCRATCH_PAD register.
- //
- //******************************************************************************
- #define OCP_SHARED_APPS_WLAN_SCRATCH_PAD_MEM_APPS_WLAN_SCRATCH_PAD_M \
- 0xFFFFFFFF // scratch pad register.
- #define OCP_SHARED_APPS_WLAN_SCRATCH_PAD_MEM_APPS_WLAN_SCRATCH_PAD_S 0
- #endif // __HW_OCP_SHARED_H__
|