12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239 |
- /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
- * All rights reserved.
- *
- * This software is supplied "AS IS" without any warranties.
- * RDA assumes no responsibility or liability for the use of the software,
- * conveys no license or title under any patent, copyright, or mask work
- * right to the product. RDA reserves the right to make changes in the
- * software without notification. RDA also make no representation or
- * warranty that such application will be suitable for the specified use
- * without further testing or modification.
- */
- #ifndef _IDDET_H_
- #define _IDDET_H_
- // Auto generated by dtools(see dtools.txt for its version).
- // Don't edit it manually!
- #define REG_IDDET_BASE (0x18600000)
- typedef volatile struct
- {
- uint32_t iddet_start; // 0x00000000
- uint32_t pss1_ctrl; // 0x00000004
- uint32_t pss2_ctrl; // 0x00000008
- uint32_t sss_ctrl; // 0x0000000c
- uint32_t freqitm_idident_ctrl; // 0x00000010
- uint32_t resync_ctrl; // 0x00000014
- uint32_t shift_ctrl0; // 0x00000018
- uint32_t shift_ctrl1; // 0x0000001c
- uint32_t shift_ctrl2; // 0x00000020
- uint32_t int_ctrl; // 0x00000024
- uint32_t pos_offset; // 0x00000028
- uint32_t sam_num_ctrl1; // 0x0000002c
- uint32_t sam_num_ctrl2; // 0x00000030
- uint32_t sam_num_ctrl3; // 0x00000034
- uint32_t sam_num_ctrl4; // 0x00000038
- uint32_t sam_num_ctrl5; // 0x0000003c
- uint32_t sam_num_ctrl6; // 0x00000040
- uint32_t sam_num_ctrl7; // 0x00000044
- uint32_t sam_num_ctrl8; // 0x00000048
- uint32_t sam_num_ctrl9; // 0x0000004c
- uint32_t sam_num_ctrl10; // 0x00000050
- uint32_t end_threshold1; // 0x00000054
- uint32_t end_threshold2; // 0x00000058
- uint32_t end_threshold3; // 0x0000005c
- uint32_t end_threshold4; // 0x00000060
- uint32_t end_threshold5; // 0x00000064
- uint32_t end_threshold6; // 0x00000068
- uint32_t end_threshold7; // 0x0000006c
- uint32_t end_threshold8; // 0x00000070
- uint32_t end_threshold9; // 0x00000074
- uint32_t end_threshold10; // 0x00000078
- uint32_t pssitm_id_para1; // 0x0000007c
- uint32_t pssitm_id_para2; // 0x00000080
- uint32_t pssitm_id_para3; // 0x00000084
- uint32_t pssitm_id_para4; // 0x00000088
- uint32_t pssitm_id_para5; // 0x0000008c
- uint32_t pssitm_id_para6; // 0x00000090
- uint32_t pssitm_id_para7; // 0x00000094
- uint32_t pssitm_id_para8; // 0x00000098
- uint32_t pssitm_id_para9; // 0x0000009c
- uint32_t pssitm_id_para10; // 0x000000a0
- uint32_t pssitm_id_para11; // 0x000000a4
- uint32_t pssitm_id_para12; // 0x000000a8
- uint32_t sss_id_para1; // 0x000000ac
- uint32_t sss_id_para2; // 0x000000b0
- uint32_t sss_id_para3; // 0x000000b4
- uint32_t sss_id_para4; // 0x000000b8
- uint32_t sss_id_para5; // 0x000000bc
- uint32_t sss_id_para6; // 0x000000c0
- uint32_t sss_id_para7; // 0x000000c4
- uint32_t sss_id_para8; // 0x000000c8
- uint32_t sss_id_para9; // 0x000000cc
- uint32_t sss_id_para10; // 0x000000d0
- uint32_t sss_id_para11; // 0x000000d4
- uint32_t sss_id_para12; // 0x000000d8
- uint32_t freqitm_idident_para1; // 0x000000dc
- uint32_t freqitm_idident_para2; // 0x000000e0
- uint32_t freqitm_idident_para3; // 0x000000e4
- uint32_t freqitm_idident_para4; // 0x000000e8
- uint32_t freqitm_idident_para5; // 0x000000ec
- uint32_t freqitm_idident_para6; // 0x000000f0
- uint32_t freqitm_idident_para7; // 0x000000f4
- uint32_t freqitm_idident_para8; // 0x000000f8
- uint32_t freqitm_idident_para9; // 0x000000fc
- uint32_t freqitm_idident_para10; // 0x00000100
- uint32_t freqitm_idident_para11; // 0x00000104
- uint32_t freqitm_idident_para12; // 0x00000108
- uint32_t id_postion1; // 0x0000010c
- uint32_t id_postion2; // 0x00000110
- uint32_t id_postion3; // 0x00000114
- uint32_t id_postion4; // 0x00000118
- uint32_t id_postion5; // 0x0000011c
- uint32_t id_postion6; // 0x00000120
- uint32_t id_postion7; // 0x00000124
- uint32_t id_postion8; // 0x00000128
- uint32_t id_postion9; // 0x0000012c
- uint32_t id_postion10; // 0x00000130
- uint32_t id_postion11; // 0x00000134
- uint32_t id_postion12; // 0x00000138
- uint32_t pss_sss_find; // 0x0000013c
- uint32_t freq_pssgru1; // 0x00000140
- uint32_t freq_pssgru2; // 0x00000144
- uint32_t freq_pssitm1; // 0x00000148
- uint32_t freq_pssitm2; // 0x0000014c
- uint32_t freq_pssitm3; // 0x00000150
- uint32_t freq_pssitm4; // 0x00000154
- uint32_t rssi_target; // 0x00000158
- uint32_t ppm_gru_cfg1; // 0x0000015c
- uint32_t ppm_gru_cfg2; // 0x00000160
- uint32_t ppm_gru_cfg3; // 0x00000164
- uint32_t ppm_gru_cfg4; // 0x00000168
- uint32_t ppm_gru_cfg5; // 0x0000016c
- uint32_t ppm_delt_cfg; // 0x00000170
- uint32_t fft_cut; // 0x00000174
- uint32_t ic_id_para; // 0x00000178
- uint32_t ic_cfg; // 0x0000017c
- uint32_t freqitm_out0; // 0x00000180
- uint32_t valid_node; // 0x00000184
- uint32_t sample_sum; // 0x00000188
- uint32_t rssi; // 0x0000018c
- uint32_t id_power_noise1; // 0x00000190
- uint32_t id_power_noise2; // 0x00000194
- uint32_t id_power_noise3; // 0x00000198
- uint32_t id_power_noise4; // 0x0000019c
- uint32_t id_power_noise5; // 0x000001a0
- uint32_t id_power_noise6; // 0x000001a4
- uint32_t id_power_noise7; // 0x000001a8
- uint32_t id_power_noise8; // 0x000001ac
- uint32_t id_power_noise9; // 0x000001b0
- uint32_t id_power_noise10; // 0x000001b4
- uint32_t id_power_noise11; // 0x000001b8
- uint32_t id_power_noise12; // 0x000001bc
- uint32_t id_position_freq1; // 0x000001c0
- uint32_t id_position_freq2; // 0x000001c4
- uint32_t id_position_freq3; // 0x000001c8
- uint32_t id_position_freq4; // 0x000001cc
- uint32_t id_position_freq5; // 0x000001d0
- uint32_t id_position_freq6; // 0x000001d4
- uint32_t id_position_freq7; // 0x000001d8
- uint32_t id_position_freq8; // 0x000001dc
- uint32_t id_position_freq9; // 0x000001e0
- uint32_t id_position_freq10; // 0x000001e4
- uint32_t id_position_freq11; // 0x000001e8
- uint32_t id_position_freq12; // 0x000001ec
- uint32_t id_info1; // 0x000001f0
- uint32_t id_info2; // 0x000001f4
- uint32_t id_info3; // 0x000001f8
- uint32_t id_info4; // 0x000001fc
- uint32_t id_info5; // 0x00000200
- uint32_t id_info6; // 0x00000204
- uint32_t id_info7; // 0x00000208
- uint32_t id_info8; // 0x0000020c
- uint32_t id_info9; // 0x00000210
- uint32_t id_info10; // 0x00000214
- uint32_t id_info11; // 0x00000218
- uint32_t id_info12; // 0x0000021c
- uint32_t assist_id_power_noise1; // 0x00000220
- uint32_t assist_id_power_noise2; // 0x00000224
- uint32_t assist_id_power_noise3; // 0x00000228
- uint32_t assist_id_power_noise4; // 0x0000022c
- uint32_t assist_id_position_freq1; // 0x00000230
- uint32_t assist_id_position_freq2; // 0x00000234
- uint32_t assist_id_position_freq3; // 0x00000238
- uint32_t assist_id_position_freq4; // 0x0000023c
- uint32_t assist_id_info1; // 0x00000240
- uint32_t assist_id_info2; // 0x00000244
- uint32_t assist_id_info3; // 0x00000248
- uint32_t assist_id_info4; // 0x0000024c
- uint32_t int_flag; // 0x00000250
- uint32_t sta_flag; // 0x00000254
- uint32_t soft_use; // 0x00000258
- uint32_t pre_sample_count; // 0x0000025c
- uint32_t freq_search_ctrl; // 0x00000260
- uint32_t freq_search_config1; // 0x00000264
- uint32_t freq_search_config2; // 0x00000268
- uint32_t band_win_start_conf1; // 0x0000026c
- uint32_t band_win_start_conf2; // 0x00000270
- uint32_t band_win_end_conf1; // 0x00000274
- uint32_t band_win_end_conf2; // 0x00000278
- uint32_t agc_conf; // 0x0000027c
- uint32_t sbi_sum__len; // 0x00000280
- uint32_t target_agc; // 0x00000284
- uint32_t freqitm_out1; // 0x00000288
- uint32_t pss1_resyn_rssi_range; // 0x0000028c
- uint32_t pss1_max_rssi0; // 0x00000290
- uint32_t pss1_max_rssi1; // 0x00000294
- uint32_t pss1_max_rssi2; // 0x00000298
- uint32_t pss1_max_rssi3; // 0x0000029c
- uint32_t pss1_max_rssi4; // 0x000002a0
- uint32_t pss1_max_rssi5; // 0x000002a4
- uint32_t pss1_max_rssi6; // 0x000002a8
- uint32_t pss1_max_rssi7; // 0x000002ac
- uint32_t pss1_max_rssi8; // 0x000002b0
- uint32_t pss1_max_rssi9; // 0x000002b4
- uint32_t pss1_max_rssi10; // 0x000002b8
- uint32_t pss1_max_rssi11; // 0x000002bc
- uint32_t __704[848]; // 0x000002c0
- uint32_t mem8_9_mem10_11; // 0x00001000
- uint32_t __4100[1023]; // 0x00001004
- uint32_t mem12; // 0x00002000
- uint32_t __8196[1023]; // 0x00002004
- uint32_t mem15; // 0x00003000
- uint32_t __12292[1023]; // 0x00003004
- uint32_t memqf; // 0x00004000
- uint32_t __16388[4095]; // 0x00004004
- uint32_t mem1_8_mem1_11; // 0x00008000
- uint32_t __32772[4095]; // 0x00008004
- uint32_t mem_freq_pwr_before_agc; // 0x0000c000
- uint32_t __49156[1023]; // 0x0000c004
- uint32_t mem_freq_len_agc; // 0x0000d000
- } HWP_IDDET_T;
- #define hwp_iddet ((HWP_IDDET_T *)REG_ACCESS_ADDRESS(REG_IDDET_BASE))
- // iddet_start
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t iddet_start : 1; // [0]
- uint32_t iddet_stop : 1; // [1]
- uint32_t data_move_out : 1; // [2]
- uint32_t txrx_offset_en : 1; // [3]
- uint32_t flow_sel : 3; // [6:4]
- uint32_t rec_continuity : 1; // [7]
- uint32_t sample_num : 4; // [11:8]
- uint32_t sample_len : 14; // [25:12]
- uint32_t save_last_pwr : 1; // [26]
- uint32_t rd_pre_pwr : 1; // [27]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_IDDET_START_T;
- // pss1_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t dc_en : 1; // [0]
- uint32_t dagc_en : 1; // [1]
- uint32_t localpss_freq_en : 2; // [3:2]
- uint32_t id_mode_sel : 2; // [5:4]
- uint32_t ppm_en : 1; // [6]
- uint32_t flow_mode_sel : 1; // [7]
- uint32_t max_num : 3; // [10:8]
- uint32_t __11_11 : 1; // [11]
- uint32_t output_num : 4; // [15:12]
- uint32_t rssi_en : 1; // [16]
- uint32_t __31_17 : 15; // [31:17]
- } b;
- } REG_IDDET_PSS1_CTRL_T;
- // pss2_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t dc_en : 1; // [0]
- uint32_t dagc_en : 1; // [1]
- uint32_t localpss_freq_en : 1; // [2]
- uint32_t ppm_en : 1; // [3]
- uint32_t pos_num : 4; // [7:4]
- uint32_t rssi_en : 1; // [8]
- uint32_t __31_9 : 23; // [31:9]
- } b;
- } REG_IDDET_PSS2_CTRL_T;
- // sss_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t dc_en : 1; // [0]
- uint32_t dagc_en : 1; // [1]
- uint32_t freq_en : 1; // [2]
- uint32_t ic_en : 1; // [3]
- uint32_t fdd_tdd_sel : 1; // [4]
- uint32_t id_mode_sel : 1; // [5]
- uint32_t flow_mode_sel : 1; // [6]
- uint32_t ppm_en : 1; // [7]
- uint32_t pos_num : 4; // [11:8]
- uint32_t nid1 : 8; // [19:12]
- uint32_t normalsort_num : 4; // [23:20]
- uint32_t sort_sel : 1; // [24]
- uint32_t pos_slide_num : 2; // [26:25]
- uint32_t rssi_en : 1; // [27]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_CTRL_T;
- // freqitm_idident_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t dc_en : 1; // [0]
- uint32_t dagc_en : 1; // [1]
- uint32_t ppm_en : 1; // [2]
- uint32_t freqitm_en : 1; // [3]
- uint32_t freq_en : 1; // [4]
- uint32_t fdd_tdd_sel : 1; // [5]
- uint32_t __7_6 : 2; // [7:6]
- uint32_t slide_num : 3; // [10:8]
- uint32_t __11_11 : 1; // [11]
- uint32_t pos_num : 4; // [15:12]
- uint32_t pos_slide_num : 2; // [17:16]
- uint32_t rssi_en : 1; // [18]
- uint32_t __31_19 : 13; // [31:19]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_CTRL_T;
- // resync_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t dc_en : 1; // [0]
- uint32_t dagc_en : 1; // [1]
- uint32_t id2 : 2; // [3:2]
- uint32_t id1 : 8; // [11:4]
- uint32_t max_num : 3; // [14:12]
- uint32_t __15_15 : 1; // [15]
- uint32_t sfnum : 2; // [17:16]
- uint32_t data_len : 3; // [20:18]
- uint32_t rssi_en : 1; // [21]
- uint32_t __31_22 : 10; // [31:22]
- } b;
- } REG_IDDET_RESYNC_CTRL_T;
- // shift_ctrl0
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t rssi_s0 : 4; // [3:0]
- uint32_t pwr_acc_s0 : 4; // [7:4]
- uint32_t rssi_s1 : 4; // [11:8]
- uint32_t pwr_acc_s1 : 4; // [15:12]
- uint32_t rssi_s2 : 4; // [19:16]
- uint32_t pwr_acc_s2 : 4; // [23:20]
- uint32_t rssi_s3 : 4; // [27:24]
- uint32_t pwr_acc_s3 : 4; // [31:28]
- } b;
- } REG_IDDET_SHIFT_CTRL0_T;
- // shift_ctrl1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t rssi_s4 : 4; // [3:0]
- uint32_t pwr_acc_s4 : 4; // [7:4]
- uint32_t rssi_s5 : 4; // [11:8]
- uint32_t pwr_acc_s5 : 4; // [15:12]
- uint32_t rssi_s6 : 4; // [19:16]
- uint32_t pwr_acc_s6 : 4; // [23:20]
- uint32_t rssi_s7 : 4; // [27:24]
- uint32_t pwr_acc_s7 : 4; // [31:28]
- } b;
- } REG_IDDET_SHIFT_CTRL1_T;
- // shift_ctrl2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t rssi_s8 : 4; // [3:0]
- uint32_t pwr_acc_s8 : 4; // [7:4]
- uint32_t rssi_s9 : 4; // [11:8]
- uint32_t pwr_acc_s9 : 4; // [15:12]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_SHIFT_CTRL2_T;
- // int_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pssgru_fin_irq_en : 1; // [0]
- uint32_t pssitm_fin_irq_en : 1; // [1]
- uint32_t sss_fin_irq_en : 1; // [2]
- uint32_t freq_idident_fin_irq_en : 1; // [3]
- uint32_t resync_fin_irq_en : 1; // [4]
- uint32_t txrx_suspend_irq_en : 1; // [5]
- uint32_t error_irq_en : 1; // [6]
- uint32_t stop : 1; // [7]
- uint32_t rssi_en : 1; // [8]
- uint32_t freq_search_irq_en : 1; // [9]
- uint32_t discon_section_fin_irq_en : 1; // [10]
- uint32_t __31_11 : 21; // [31:11]
- } b;
- } REG_IDDET_INT_CTRL_T;
- // pos_offset
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pssitm_sss_offset_pos : 15; // [14:0]
- uint32_t __15_15 : 1; // [15]
- uint32_t pss1_rssi_th : 16; // [31:16]
- } b;
- } REG_IDDET_POS_OFFSET_T;
- // sam_num_ctrl1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL1_T;
- // sam_num_ctrl2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL2_T;
- // sam_num_ctrl3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL3_T;
- // sam_num_ctrl4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL4_T;
- // sam_num_ctrl5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL5_T;
- // sam_num_ctrl6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL6_T;
- // sam_num_ctrl7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL7_T;
- // sam_num_ctrl8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL8_T;
- // sam_num_ctrl9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL9_T;
- // sam_num_ctrl10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sam_num : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAM_NUM_CTRL10_T;
- // end_threshold1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD1_T;
- // end_threshold2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD2_T;
- // end_threshold3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD3_T;
- // end_threshold4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD4_T;
- // end_threshold5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD5_T;
- // end_threshold6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD6_T;
- // end_threshold7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD7_T;
- // end_threshold8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD8_T;
- // end_threshold9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD9_T;
- // end_threshold10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t end_threshold0 : 16; // [15:0]
- uint32_t end_threshold1 : 16; // [31:16]
- } b;
- } REG_IDDET_END_THRESHOLD10_T;
- // pssitm_id_para1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA1_T;
- // pssitm_id_para2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA2_T;
- // pssitm_id_para3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA3_T;
- // pssitm_id_para4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA4_T;
- // pssitm_id_para5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA5_T;
- // pssitm_id_para6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA6_T;
- // pssitm_id_para7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA7_T;
- // pssitm_id_para8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA8_T;
- // pssitm_id_para9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA9_T;
- // pssitm_id_para10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA10_T;
- // pssitm_id_para11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA11_T;
- // pssitm_id_para12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t __3_2 : 2; // [3:2]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSSITM_ID_PARA12_T;
- // sss_id_para1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA1_T;
- // sss_id_para2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA2_T;
- // sss_id_para3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA3_T;
- // sss_id_para4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA4_T;
- // sss_id_para5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA5_T;
- // sss_id_para6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA6_T;
- // sss_id_para7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA7_T;
- // sss_id_para8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA8_T;
- // sss_id_para9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA9_T;
- // sss_id_para10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA10_T;
- // sss_id_para11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA11_T;
- // sss_id_para12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0]
- uint32_t sfnum : 1; // [2]
- uint32_t cptype : 1; // [3]
- uint32_t pssgru_ppm : 6; // [9:4]
- uint32_t __11_10 : 2; // [11:10]
- uint32_t pssgru_freqoff : 16; // [27:12]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_SSS_ID_PARA12_T;
- // freqitm_idident_para1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA1_T;
- // freqitm_idident_para2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA2_T;
- // freqitm_idident_para3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA3_T;
- // freqitm_idident_para4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA4_T;
- // freqitm_idident_para5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA5_T;
- // freqitm_idident_para6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA6_T;
- // freqitm_idident_para7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA7_T;
- // freqitm_idident_para8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA8_T;
- // freqitm_idident_para9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA9_T;
- // freqitm_idident_para10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA10_T;
- // freqitm_idident_para11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA11_T;
- // freqitm_idident_para12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FREQITM_IDIDENT_PARA12_T;
- // id_postion1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION1_T;
- // id_postion2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION2_T;
- // id_postion3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION3_T;
- // id_postion4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION4_T;
- // id_postion5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION5_T;
- // id_postion6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION6_T;
- // id_postion7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION7_T;
- // id_postion8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION8_T;
- // id_postion9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION9_T;
- // id_postion10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION10_T;
- // id_postion11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION11_T;
- // id_postion12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t id_pos : 14; // [13:0]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_ID_POSTION12_T;
- // pss_sss_find
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nois_th : 8; // [7:0]
- uint32_t noisth_en : 1; // [8]
- uint32_t p2p_win : 7; // [15:9]
- uint32_t wipe_win : 2; // [17:16]
- uint32_t assist_win : 2; // [19:18]
- uint32_t nois_win : 2; // [21:20]
- uint32_t __23_22 : 2; // [23:22]
- uint32_t find_win : 4; // [27:24]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_PSS_SSS_FIND_T;
- // freq_pssgru1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_pssgru0 : 10; // [9:0]
- uint32_t freq_pssgru1 : 10; // [19:10]
- uint32_t freq_pssgru2 : 10; // [29:20]
- uint32_t __31_30 : 2; // [31:30]
- } b;
- } REG_IDDET_FREQ_PSSGRU1_T;
- // freq_pssgru2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_pssgru3 : 10; // [9:0]
- uint32_t freq_pssgru4 : 10; // [19:10]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_IDDET_FREQ_PSSGRU2_T;
- // freq_pssitm1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_pssitm : 13; // [12:0]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_IDDET_FREQ_PSSITM1_T;
- // freq_pssitm2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_pssitm : 13; // [12:0]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_IDDET_FREQ_PSSITM2_T;
- // freq_pssitm3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_pssitm : 13; // [12:0]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_IDDET_FREQ_PSSITM3_T;
- // freq_pssitm4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_pssitm : 13; // [12:0]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_IDDET_FREQ_PSSITM4_T;
- // ppm_gru_cfg1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ppm0 : 6; // [5:0]
- uint32_t __7_6 : 2; // [7:6]
- uint32_t ppm1 : 6; // [13:8]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_PPM_GRU_CFG1_T;
- // ppm_gru_cfg2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ppm0 : 6; // [5:0]
- uint32_t __7_6 : 2; // [7:6]
- uint32_t ppm1 : 6; // [13:8]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_PPM_GRU_CFG2_T;
- // ppm_gru_cfg3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ppm0 : 6; // [5:0]
- uint32_t __7_6 : 2; // [7:6]
- uint32_t ppm1 : 6; // [13:8]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_PPM_GRU_CFG3_T;
- // ppm_gru_cfg4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ppm0 : 6; // [5:0]
- uint32_t __7_6 : 2; // [7:6]
- uint32_t ppm1 : 6; // [13:8]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_PPM_GRU_CFG4_T;
- // ppm_gru_cfg5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ppm0 : 6; // [5:0]
- uint32_t __7_6 : 2; // [7:6]
- uint32_t ppm1 : 6; // [13:8]
- uint32_t __31_14 : 18; // [31:14]
- } b;
- } REG_IDDET_PPM_GRU_CFG5_T;
- // ppm_delt_cfg
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t delt_ppm0 : 4; // [3:0]
- uint32_t delt_ppm1 : 4; // [7:4]
- uint32_t delt_ppm2 : 4; // [11:8]
- uint32_t delt_ppm3 : 4; // [15:12]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PPM_DELT_CFG_T;
- // fft_cut
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t lnum_mod1 : 4; // [3:0]
- uint32_t lnum_mod2 : 4; // [7:4]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_FFT_CUT_T;
- // ic_id_para
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid1 : 8; // [7:0]
- uint32_t nid2 : 2; // [9:8]
- uint32_t sfnum : 1; // [10]
- uint32_t cptype : 1; // [11]
- uint32_t freq_off : 16; // [27:12]
- uint32_t freq_off_en : 1; // [28]
- uint32_t __31_29 : 3; // [31:29]
- } b;
- } REG_IDDET_IC_ID_PARA_T;
- // ic_cfg
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ic_shift : 4; // [3:0]
- uint32_t sssic_pos : 14; // [17:4]
- uint32_t ic_ppm : 6; // [23:18]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_IDDET_IC_CFG_T;
- // freqitm_out0
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_itm_out0 : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_FREQITM_OUT0_T;
- // valid_node
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t valid_node0 : 4; // [3:0], read only
- uint32_t valid_node1 : 4; // [7:4], read only
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_VALID_NODE_T;
- // sample_sum
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sample_sum : 8; // [7:0]
- uint32_t __31_8 : 24; // [31:8]
- } b;
- } REG_IDDET_SAMPLE_SUM_T;
- // rssi
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_RSSI_T;
- // id_power_noise1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE1_T;
- // id_power_noise2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE2_T;
- // id_power_noise3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE3_T;
- // id_power_noise4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE4_T;
- // id_power_noise5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE5_T;
- // id_power_noise6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE6_T;
- // id_power_noise7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE7_T;
- // id_power_noise8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE8_T;
- // id_power_noise9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE9_T;
- // id_power_noise10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE10_T;
- // id_power_noise11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE11_T;
- // id_power_noise12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POWER_NOISE12_T;
- // id_position_freq1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ1_T;
- // id_position_freq2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ2_T;
- // id_position_freq3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ3_T;
- // id_position_freq4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ4_T;
- // id_position_freq5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ5_T;
- // id_position_freq6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ6_T;
- // id_position_freq7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ7_T;
- // id_position_freq8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ8_T;
- // id_position_freq9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ9_T;
- // id_position_freq10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ10_T;
- // id_position_freq11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ11_T;
- // id_position_freq12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ID_POSITION_FREQ12_T;
- // id_info1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO1_T;
- // id_info2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO2_T;
- // id_info3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO3_T;
- // id_info4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO4_T;
- // id_info5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO5_T;
- // id_info6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO6_T;
- // id_info7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO7_T;
- // id_info8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO8_T;
- // id_info9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO9_T;
- // id_info10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO10_T;
- // id_info11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO11_T;
- // id_info12
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t pos_slide : 4; // [21:18], read only
- uint32_t pos_index : 4; // [25:22], read only
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_ID_INFO12_T;
- // assist_id_power_noise1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POWER_NOISE1_T;
- // assist_id_power_noise2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POWER_NOISE2_T;
- // assist_id_power_noise3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POWER_NOISE3_T;
- // assist_id_power_noise4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t power : 16; // [15:0], read only
- uint32_t noise : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POWER_NOISE4_T;
- // assist_id_position_freq1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POSITION_FREQ1_T;
- // assist_id_position_freq2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POSITION_FREQ2_T;
- // assist_id_position_freq3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POSITION_FREQ3_T;
- // assist_id_position_freq4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t postion : 14; // [13:0], read only
- uint32_t __15_14 : 2; // [15:14]
- uint32_t freq_offset : 16; // [31:16], read only
- } b;
- } REG_IDDET_ASSIST_ID_POSITION_FREQ4_T;
- // assist_id_info1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t __31_18 : 14; // [31:18]
- } b;
- } REG_IDDET_ASSIST_ID_INFO1_T;
- // assist_id_info2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t __31_18 : 14; // [31:18]
- } b;
- } REG_IDDET_ASSIST_ID_INFO2_T;
- // assist_id_info3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t __31_18 : 14; // [31:18]
- } b;
- } REG_IDDET_ASSIST_ID_INFO3_T;
- // assist_id_info4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t nid2 : 2; // [1:0], read only
- uint32_t sfnum : 1; // [2], read only
- uint32_t cptype : 1; // [3], read only
- uint32_t nid1 : 8; // [11:4], read only
- uint32_t ppm : 6; // [17:12], read only
- uint32_t __31_18 : 14; // [31:18]
- } b;
- } REG_IDDET_ASSIST_ID_INFO4_T;
- // int_flag
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pssgru_finish : 1; // [0], write clear
- uint32_t pssitm_finish : 1; // [1], write clear
- uint32_t sss_finish : 1; // [2], write clear
- uint32_t freq_idident_finish : 1; // [3], write clear
- uint32_t resync_finish : 1; // [4], write clear
- uint32_t txrx_suspend : 1; // [5], write clear
- uint32_t error_state : 1; // [6], write clear
- uint32_t stop : 1; // [7], write clear
- uint32_t rssi : 1; // [8], write clear
- uint32_t freq_search_sbi : 1; // [9], write clear
- uint32_t freq_search : 1; // [10], write clear
- uint32_t discon_section_finish : 1; // [11], write clear
- uint32_t __31_12 : 20; // [31:12]
- } b;
- } REG_IDDET_INT_FLAG_T;
- // sta_flag
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss_gru_run : 1; // [0], read only
- uint32_t pss_itm_run : 1; // [1], read only
- uint32_t sss_run : 1; // [2], read only
- uint32_t freqitm_idident_run : 1; // [3], read only
- uint32_t resyn_run : 1; // [4], read only
- uint32_t freq_search_run : 1; // [5], read only
- uint32_t __31_6 : 26; // [31:6]
- } b;
- } REG_IDDET_STA_FLAG_T;
- // pre_sample_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pre_sample_count : 10; // [9:0]
- uint32_t __31_10 : 22; // [31:10]
- } b;
- } REG_IDDET_PRE_SAMPLE_COUNT_T;
- // freq_search_ctrl
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t first_5ms : 1; // [0]
- uint32_t last_5ms : 1; // [1]
- uint32_t freq_sel : 2; // [3:2]
- uint32_t sort_start_addr : 10; // [13:4]
- uint32_t sort_end_addr : 10; // [23:14]
- uint32_t sort_en : 1; // [24]
- uint32_t fft_en : 1; // [25]
- uint32_t sort_mode : 1; // [26]
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_IDDET_FREQ_SEARCH_CTRL_T;
- // freq_search_config1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t m : 4; // [3:0]
- uint32_t freq_200k_en : 1; // [4]
- uint32_t freq_1_4m_en : 1; // [5]
- uint32_t freq_3m_en : 1; // [6]
- uint32_t freq_5m_en : 1; // [7]
- uint32_t freq_10m_en : 1; // [8]
- uint32_t freq_15m_en : 1; // [9]
- uint32_t freq_20m_en : 1; // [10]
- uint32_t sbi_max : 6; // [16:11]
- uint32_t cur_sbi_num : 6; // [22:17]
- uint32_t pwr_32to16bitsel : 4; // [26:23]
- uint32_t pwrwin_32to20bitsel : 4; // [30:27]
- uint32_t __31_31 : 1; // [31]
- } b;
- } REG_IDDET_FREQ_SEARCH_CONFIG1_T;
- // freq_search_config2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t selectbinnum_left : 9; // [8:0]
- uint32_t selectbinnum_right : 9; // [17:9]
- uint32_t __31_18 : 14; // [31:18]
- } b;
- } REG_IDDET_FREQ_SEARCH_CONFIG2_T;
- // band_win_start_conf1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t band_200khz : 7; // [6:0]
- uint32_t band_1_4mhz : 7; // [13:7]
- uint32_t band_3mhz : 7; // [20:14]
- uint32_t band_5mhz : 7; // [27:21]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_BAND_WIN_START_CONF1_T;
- // band_win_start_conf2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t band_10mhz : 7; // [6:0]
- uint32_t band_15mhz : 7; // [13:7]
- uint32_t band_20mhz : 7; // [20:14]
- uint32_t __31_21 : 11; // [31:21]
- } b;
- } REG_IDDET_BAND_WIN_START_CONF2_T;
- // band_win_end_conf1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t band_200khz : 4; // [3:0]
- uint32_t band_1_4mhz : 4; // [7:4]
- uint32_t band_3mhz : 4; // [11:8]
- uint32_t band_5mhz : 4; // [15:12]
- uint32_t band_10mhz : 4; // [19:16]
- uint32_t band_15mhz : 4; // [23:20]
- uint32_t band_20mhz : 4; // [27:24]
- uint32_t __31_28 : 4; // [31:28]
- } b;
- } REG_IDDET_BAND_WIN_END_CONF1_T;
- // agc_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t agc : 7; // [6:0]
- uint32_t __31_7 : 25; // [31:7]
- } b;
- } REG_IDDET_AGC_CONF_T;
- // sbi_sum__len
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sbi_sum_len : 10; // [9:0]
- uint32_t __31_10 : 22; // [31:10]
- } b;
- } REG_IDDET_SBI_SUM__LEN_T;
- // target_agc
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t target_agc : 10; // [9:0]
- uint32_t __31_10 : 22; // [31:10]
- } b;
- } REG_IDDET_TARGET_AGC_T;
- // freqitm_out1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t freq_itm_out1 : 16; // [15:0], read only
- uint32_t freq_itm_out2 : 16; // [31:16], read only
- } b;
- } REG_IDDET_FREQITM_OUT1_T;
- // pss1_resyn_rssi_range
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_rssi_start : 14; // [13:0]
- uint32_t __15_14 : 2; // [15:14]
- uint32_t pss1_rssi_end : 14; // [29:16]
- uint32_t __31_30 : 2; // [31:30]
- } b;
- } REG_IDDET_PSS1_RESYN_RSSI_RANGE_T;
- // pss1_max_rssi0
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI0_T;
- // pss1_max_rssi1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI1_T;
- // pss1_max_rssi2
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI2_T;
- // pss1_max_rssi3
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI3_T;
- // pss1_max_rssi4
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI4_T;
- // pss1_max_rssi5
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI5_T;
- // pss1_max_rssi6
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI6_T;
- // pss1_max_rssi7
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI7_T;
- // pss1_max_rssi8
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI8_T;
- // pss1_max_rssi9
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI9_T;
- // pss1_max_rssi10
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI10_T;
- // pss1_max_rssi11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t pss1_max_rssi : 16; // [15:0], read only
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_IDDET_PSS1_MAX_RSSI11_T;
- // mem1_8_mem1_11
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t mem1_8_mem1_11_2 : 10; // [9:0]
- uint32_t __15_10 : 6; // [15:10]
- uint32_t mem1_8_mem1_11_1 : 10; // [25:16]
- uint32_t __31_26 : 6; // [31:26]
- } b;
- } REG_IDDET_MEM1_8_MEM1_11_T;
- // mem_freq_pwr_before_agc
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t mem_freq_pwr_before_agc_0 : 16; // [15:0]
- uint32_t mem_freq_pwr_before_agc_1 : 16; // [31:16]
- } b;
- } REG_IDDET_MEM_FREQ_PWR_BEFORE_AGC_T;
- // mem_freq_len_agc
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t mem_freq_len_agc_0 : 10; // [9:0]
- uint32_t mem_freq_len_agc_1 : 9; // [18:10]
- uint32_t __31_19 : 13; // [31:19]
- } b;
- } REG_IDDET_MEM_FREQ_LEN_AGC_T;
- // iddet_start
- #define IDDET_IDDET_START (1 << 0)
- #define IDDET_IDDET_STOP (1 << 1)
- #define IDDET_DATA_MOVE_OUT (1 << 2)
- #define IDDET_TXRX_OFFSET_EN (1 << 3)
- #define IDDET_FLOW_SEL(n) (((n)&0x7) << 4)
- #define IDDET_REC_CONTINUITY (1 << 7)
- #define IDDET_SAMPLE_NUM(n) (((n)&0xf) << 8)
- #define IDDET_SAMPLE_LEN(n) (((n)&0x3fff) << 12)
- #define IDDET_SAVE_LAST_PWR (1 << 26)
- #define IDDET_RD_PRE_PWR (1 << 27)
- // pss1_ctrl
- #define IDDET_DC_EN (1 << 0)
- #define IDDET_DAGC_EN (1 << 1)
- #define IDDET_PSS1_CTRL_LOCALPSS_FREQ_EN(n) (((n)&0x3) << 2)
- #define IDDET_PSS1_CTRL_ID_MODE_SEL(n) (((n)&0x3) << 4)
- #define IDDET_PSS1_CTRL_PPM_EN (1 << 6)
- #define IDDET_PSS1_CTRL_FLOW_MODE_SEL (1 << 7)
- #define IDDET_PSS1_CTRL_MAX_NUM(n) (((n)&0x7) << 8)
- #define IDDET_OUTPUT_NUM(n) (((n)&0xf) << 12)
- #define IDDET_PSS1_CTRL_RSSI_EN (1 << 16)
- // pss2_ctrl
- #define IDDET_DC_EN (1 << 0)
- #define IDDET_DAGC_EN (1 << 1)
- #define IDDET_PSS2_CTRL_LOCALPSS_FREQ_EN (1 << 2)
- #define IDDET_PSS2_CTRL_PPM_EN (1 << 3)
- #define IDDET_PSS2_CTRL_POS_NUM(n) (((n)&0xf) << 4)
- #define IDDET_PSS2_CTRL_RSSI_EN (1 << 8)
- // sss_ctrl
- #define IDDET_DC_EN (1 << 0)
- #define IDDET_DAGC_EN (1 << 1)
- #define IDDET_SSS_CTRL_FREQ_EN (1 << 2)
- #define IDDET_IC_EN (1 << 3)
- #define IDDET_SSS_CTRL_FDD_TDD_SEL (1 << 4)
- #define IDDET_SSS_CTRL_ID_MODE_SEL (1 << 5)
- #define IDDET_SSS_CTRL_FLOW_MODE_SEL (1 << 6)
- #define IDDET_SSS_CTRL_PPM_EN (1 << 7)
- #define IDDET_SSS_CTRL_POS_NUM(n) (((n)&0xf) << 8)
- #define IDDET_SSS_CTRL_NID1(n) (((n)&0xff) << 12)
- #define IDDET_NORMALSORT_NUM(n) (((n)&0xf) << 20)
- #define IDDET_SORT_SEL (1 << 24)
- #define IDDET_SSS_CTRL_POS_SLIDE_NUM(n) (((n)&0x3) << 25)
- #define IDDET_SSS_CTRL_RSSI_EN (1 << 27)
- // freqitm_idident_ctrl
- #define IDDET_DC_EN (1 << 0)
- #define IDDET_DAGC_EN (1 << 1)
- #define IDDET_FREQITM_IDIDENT_CTRL_PPM_EN (1 << 2)
- #define IDDET_FREQITM_EN (1 << 3)
- #define IDDET_FREQITM_IDIDENT_CTRL_FREQ_EN (1 << 4)
- #define IDDET_FREQITM_IDIDENT_CTRL_FDD_TDD_SEL (1 << 5)
- #define IDDET_SLIDE_NUM(n) (((n)&0x7) << 8)
- #define IDDET_FREQITM_IDIDENT_CTRL_POS_NUM(n) (((n)&0xf) << 12)
- #define IDDET_FREQITM_IDIDENT_CTRL_POS_SLIDE_NUM(n) (((n)&0x3) << 16)
- #define IDDET_FREQITM_IDIDENT_CTRL_RSSI_EN (1 << 18)
- // resync_ctrl
- #define IDDET_DC_EN (1 << 0)
- #define IDDET_DAGC_EN (1 << 1)
- #define IDDET_ID2(n) (((n)&0x3) << 2)
- #define IDDET_ID1(n) (((n)&0xff) << 4)
- #define IDDET_RESYNC_CTRL_MAX_NUM(n) (((n)&0x7) << 12)
- #define IDDET_RESYNC_CTRL_SFNUM(n) (((n)&0x3) << 16)
- #define IDDET_DATA_LEN(n) (((n)&0x7) << 18)
- #define IDDET_RESYNC_CTRL_RSSI_EN (1 << 21)
- // shift_ctrl0
- #define IDDET_RSSI_S0(n) (((n)&0xf) << 0)
- #define IDDET_PWR_ACC_S0(n) (((n)&0xf) << 4)
- #define IDDET_RSSI_S1(n) (((n)&0xf) << 8)
- #define IDDET_PWR_ACC_S1(n) (((n)&0xf) << 12)
- #define IDDET_RSSI_S2(n) (((n)&0xf) << 16)
- #define IDDET_PWR_ACC_S2(n) (((n)&0xf) << 20)
- #define IDDET_RSSI_S3(n) (((n)&0xf) << 24)
- #define IDDET_PWR_ACC_S3(n) (((n)&0xf) << 28)
- // shift_ctrl1
- #define IDDET_RSSI_S4(n) (((n)&0xf) << 0)
- #define IDDET_PWR_ACC_S4(n) (((n)&0xf) << 4)
- #define IDDET_RSSI_S5(n) (((n)&0xf) << 8)
- #define IDDET_PWR_ACC_S5(n) (((n)&0xf) << 12)
- #define IDDET_RSSI_S6(n) (((n)&0xf) << 16)
- #define IDDET_PWR_ACC_S6(n) (((n)&0xf) << 20)
- #define IDDET_RSSI_S7(n) (((n)&0xf) << 24)
- #define IDDET_PWR_ACC_S7(n) (((n)&0xf) << 28)
- // shift_ctrl2
- #define IDDET_RSSI_S8(n) (((n)&0xf) << 0)
- #define IDDET_PWR_ACC_S8(n) (((n)&0xf) << 4)
- #define IDDET_RSSI_S9(n) (((n)&0xf) << 8)
- #define IDDET_PWR_ACC_S9(n) (((n)&0xf) << 12)
- // int_ctrl
- #define IDDET_PSSGRU_FIN_IRQ_EN (1 << 0)
- #define IDDET_PSSITM_FIN_IRQ_EN (1 << 1)
- #define IDDET_SSS_FIN_IRQ_EN (1 << 2)
- #define IDDET_FREQ_IDIDENT_FIN_IRQ_EN (1 << 3)
- #define IDDET_RESYNC_FIN_IRQ_EN (1 << 4)
- #define IDDET_TXRX_SUSPEND_IRQ_EN (1 << 5)
- #define IDDET_ERROR_IRQ_EN (1 << 6)
- #define IDDET_STOP (1 << 7)
- #define IDDET_INT_CTRL_RSSI_EN (1 << 8)
- #define IDDET_FREQ_SEARCH_IRQ_EN (1 << 9)
- #define IDDET_DISCON_SECTION_FIN_IRQ_EN (1 << 10)
- // pos_offset
- #define IDDET_PSSITM_SSS_OFFSET_POS(n) (((n)&0x7fff) << 0)
- #define IDDET_PSS1_RSSI_TH(n) (((n)&0xffff) << 16)
- // sam_num_ctrl1
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl2
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl3
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl4
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl5
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl6
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl7
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl8
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl9
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // sam_num_ctrl10
- #define IDDET_SAM_NUM(n) (((n)&0xff) << 0)
- // end_threshold1
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold2
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold3
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold4
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold5
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold6
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold7
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold8
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold9
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // end_threshold10
- #define IDDET_END_THRESHOLD0(n) (((n)&0xffff) << 0)
- #define IDDET_END_THRESHOLD1(n) (((n)&0xffff) << 16)
- // pssitm_id_para1
- #define IDDET_PSSITM_ID_PARA1_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para2
- #define IDDET_PSSITM_ID_PARA2_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para3
- #define IDDET_PSSITM_ID_PARA3_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para4
- #define IDDET_PSSITM_ID_PARA4_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para5
- #define IDDET_PSSITM_ID_PARA5_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para6
- #define IDDET_PSSITM_ID_PARA6_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para7
- #define IDDET_PSSITM_ID_PARA7_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para8
- #define IDDET_PSSITM_ID_PARA8_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para9
- #define IDDET_PSSITM_ID_PARA9_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para10
- #define IDDET_PSSITM_ID_PARA10_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para11
- #define IDDET_PSSITM_ID_PARA11_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // pssitm_id_para12
- #define IDDET_PSSITM_ID_PARA12_NID2(n) (((n)&0x3) << 0)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para1
- #define IDDET_SSS_ID_PARA1_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA1_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA1_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para2
- #define IDDET_SSS_ID_PARA2_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA2_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA2_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para3
- #define IDDET_SSS_ID_PARA3_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA3_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA3_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para4
- #define IDDET_SSS_ID_PARA4_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA4_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA4_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para5
- #define IDDET_SSS_ID_PARA5_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA5_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA5_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para6
- #define IDDET_SSS_ID_PARA6_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA6_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA6_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para7
- #define IDDET_SSS_ID_PARA7_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA7_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA7_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para8
- #define IDDET_SSS_ID_PARA8_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA8_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA8_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para9
- #define IDDET_SSS_ID_PARA9_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA9_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA9_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para10
- #define IDDET_SSS_ID_PARA10_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA10_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA10_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para11
- #define IDDET_SSS_ID_PARA11_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA11_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA11_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // sss_id_para12
- #define IDDET_SSS_ID_PARA12_NID2(n) (((n)&0x3) << 0)
- #define IDDET_SSS_ID_PARA12_SFNUM (1 << 2)
- #define IDDET_SSS_ID_PARA12_CPTYPE (1 << 3)
- #define IDDET_PSSGRU_PPM(n) (((n)&0x3f) << 4)
- #define IDDET_PSSGRU_FREQOFF(n) (((n)&0xffff) << 12)
- // freqitm_idident_para1
- #define IDDET_FREQITM_IDIDENT_PARA1_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para2
- #define IDDET_FREQITM_IDIDENT_PARA2_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para3
- #define IDDET_FREQITM_IDIDENT_PARA3_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para4
- #define IDDET_FREQITM_IDIDENT_PARA4_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para5
- #define IDDET_FREQITM_IDIDENT_PARA5_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para6
- #define IDDET_FREQITM_IDIDENT_PARA6_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para7
- #define IDDET_FREQITM_IDIDENT_PARA7_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para8
- #define IDDET_FREQITM_IDIDENT_PARA8_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para9
- #define IDDET_FREQITM_IDIDENT_PARA9_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para10
- #define IDDET_FREQITM_IDIDENT_PARA10_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para11
- #define IDDET_FREQITM_IDIDENT_PARA11_NID1(n) (((n)&0xff) << 0)
- // freqitm_idident_para12
- #define IDDET_FREQITM_IDIDENT_PARA12_NID1(n) (((n)&0xff) << 0)
- // id_postion1
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion2
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion3
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion4
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion5
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion6
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion7
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion8
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion9
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion10
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion11
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // id_postion12
- #define IDDET_ID_POS(n) (((n)&0x3fff) << 0)
- // pss_sss_find
- #define IDDET_NOIS_TH(n) (((n)&0xff) << 0)
- #define IDDET_NOISTH_EN (1 << 8)
- #define IDDET_P2P_WIN(n) (((n)&0x7f) << 9)
- #define IDDET_WIPE_WIN(n) (((n)&0x3) << 16)
- #define IDDET_ASSIST_WIN(n) (((n)&0x3) << 18)
- #define IDDET_NOIS_WIN(n) (((n)&0x3) << 20)
- #define IDDET_FIND_WIN(n) (((n)&0xf) << 24)
- // freq_pssgru1
- #define IDDET_FREQ_PSSGRU0(n) (((n)&0x3ff) << 0)
- #define IDDET_FREQ_PSSGRU1(n) (((n)&0x3ff) << 10)
- #define IDDET_FREQ_PSSGRU2(n) (((n)&0x3ff) << 20)
- // freq_pssgru2
- #define IDDET_FREQ_PSSGRU3(n) (((n)&0x3ff) << 0)
- #define IDDET_FREQ_PSSGRU4(n) (((n)&0x3ff) << 10)
- // freq_pssitm1
- #define IDDET_FREQ_PSSITM(n) (((n)&0x1fff) << 0)
- // freq_pssitm2
- #define IDDET_FREQ_PSSITM(n) (((n)&0x1fff) << 0)
- // freq_pssitm3
- #define IDDET_FREQ_PSSITM(n) (((n)&0x1fff) << 0)
- // freq_pssitm4
- #define IDDET_FREQ_PSSITM(n) (((n)&0x1fff) << 0)
- // ppm_gru_cfg1
- #define IDDET_PPM0(n) (((n)&0x3f) << 0)
- #define IDDET_PPM1(n) (((n)&0x3f) << 8)
- // ppm_gru_cfg2
- #define IDDET_PPM0(n) (((n)&0x3f) << 0)
- #define IDDET_PPM1(n) (((n)&0x3f) << 8)
- // ppm_gru_cfg3
- #define IDDET_PPM0(n) (((n)&0x3f) << 0)
- #define IDDET_PPM1(n) (((n)&0x3f) << 8)
- // ppm_gru_cfg4
- #define IDDET_PPM0(n) (((n)&0x3f) << 0)
- #define IDDET_PPM1(n) (((n)&0x3f) << 8)
- // ppm_gru_cfg5
- #define IDDET_PPM0(n) (((n)&0x3f) << 0)
- #define IDDET_PPM1(n) (((n)&0x3f) << 8)
- // ppm_delt_cfg
- #define IDDET_DELT_PPM0(n) (((n)&0xf) << 0)
- #define IDDET_DELT_PPM1(n) (((n)&0xf) << 4)
- #define IDDET_DELT_PPM2(n) (((n)&0xf) << 8)
- #define IDDET_DELT_PPM3(n) (((n)&0xf) << 12)
- // fft_cut
- #define IDDET_LNUM_MOD1(n) (((n)&0xf) << 0)
- #define IDDET_LNUM_MOD2(n) (((n)&0xf) << 4)
- // ic_id_para
- #define IDDET_IC_ID_PARA_NID1(n) (((n)&0xff) << 0)
- #define IDDET_IC_ID_PARA_NID2(n) (((n)&0x3) << 8)
- #define IDDET_IC_ID_PARA_SFNUM (1 << 10)
- #define IDDET_IC_ID_PARA_CPTYPE (1 << 11)
- #define IDDET_FREQ_OFF(n) (((n)&0xffff) << 12)
- #define IDDET_FREQ_OFF_EN (1 << 28)
- // ic_cfg
- #define IDDET_IC_SHIFT(n) (((n)&0xf) << 0)
- #define IDDET_SSSIC_POS(n) (((n)&0x3fff) << 4)
- #define IDDET_IC_PPM(n) (((n)&0x3f) << 18)
- // freqitm_out0
- #define IDDET_FREQ_ITM_OUT0(n) (((n)&0xffff) << 0)
- // valid_node
- #define IDDET_VALID_NODE0(n) (((n)&0xf) << 0)
- #define IDDET_VALID_NODE1(n) (((n)&0xf) << 4)
- // sample_sum
- #define IDDET_SAMPLE_SUM(n) (((n)&0xff) << 0)
- // rssi
- #define IDDET_RSSI_RSSI(n) (((n)&0xffff) << 0)
- // id_power_noise1
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise2
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise3
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise4
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise5
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise6
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise7
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise8
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise9
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise10
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise11
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_power_noise12
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // id_position_freq1
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq2
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq3
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq4
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq5
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq6
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq7
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq8
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq9
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq10
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq11
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_position_freq12
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // id_info1
- #define IDDET_ID_INFO1_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO1_SFNUM (1 << 2)
- #define IDDET_ID_INFO1_CPTYPE (1 << 3)
- #define IDDET_ID_INFO1_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info2
- #define IDDET_ID_INFO2_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO2_SFNUM (1 << 2)
- #define IDDET_ID_INFO2_CPTYPE (1 << 3)
- #define IDDET_ID_INFO2_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info3
- #define IDDET_ID_INFO3_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO3_SFNUM (1 << 2)
- #define IDDET_ID_INFO3_CPTYPE (1 << 3)
- #define IDDET_ID_INFO3_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info4
- #define IDDET_ID_INFO4_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO4_SFNUM (1 << 2)
- #define IDDET_ID_INFO4_CPTYPE (1 << 3)
- #define IDDET_ID_INFO4_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info5
- #define IDDET_ID_INFO5_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO5_SFNUM (1 << 2)
- #define IDDET_ID_INFO5_CPTYPE (1 << 3)
- #define IDDET_ID_INFO5_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info6
- #define IDDET_ID_INFO6_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO6_SFNUM (1 << 2)
- #define IDDET_ID_INFO6_CPTYPE (1 << 3)
- #define IDDET_ID_INFO6_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info7
- #define IDDET_ID_INFO7_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO7_SFNUM (1 << 2)
- #define IDDET_ID_INFO7_CPTYPE (1 << 3)
- #define IDDET_ID_INFO7_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info8
- #define IDDET_ID_INFO8_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO8_SFNUM (1 << 2)
- #define IDDET_ID_INFO8_CPTYPE (1 << 3)
- #define IDDET_ID_INFO8_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info9
- #define IDDET_ID_INFO9_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO9_SFNUM (1 << 2)
- #define IDDET_ID_INFO9_CPTYPE (1 << 3)
- #define IDDET_ID_INFO9_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info10
- #define IDDET_ID_INFO10_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO10_SFNUM (1 << 2)
- #define IDDET_ID_INFO10_CPTYPE (1 << 3)
- #define IDDET_ID_INFO10_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info11
- #define IDDET_ID_INFO11_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO11_SFNUM (1 << 2)
- #define IDDET_ID_INFO11_CPTYPE (1 << 3)
- #define IDDET_ID_INFO11_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // id_info12
- #define IDDET_ID_INFO12_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ID_INFO12_SFNUM (1 << 2)
- #define IDDET_ID_INFO12_CPTYPE (1 << 3)
- #define IDDET_ID_INFO12_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- #define IDDET_POS_SLIDE(n) (((n)&0xf) << 18)
- #define IDDET_POS_INDEX(n) (((n)&0xf) << 22)
- // assist_id_power_noise1
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // assist_id_power_noise2
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // assist_id_power_noise3
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // assist_id_power_noise4
- #define IDDET_POWER(n) (((n)&0xffff) << 0)
- #define IDDET_NOISE(n) (((n)&0xffff) << 16)
- // assist_id_position_freq1
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // assist_id_position_freq2
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // assist_id_position_freq3
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // assist_id_position_freq4
- #define IDDET_POSTION(n) (((n)&0x3fff) << 0)
- #define IDDET_FREQ_OFFSET(n) (((n)&0xffff) << 16)
- // assist_id_info1
- #define IDDET_ASSIST_ID_INFO1_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ASSIST_ID_INFO1_SFNUM (1 << 2)
- #define IDDET_ASSIST_ID_INFO1_CPTYPE (1 << 3)
- #define IDDET_ASSIST_ID_INFO1_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- // assist_id_info2
- #define IDDET_ASSIST_ID_INFO2_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ASSIST_ID_INFO2_SFNUM (1 << 2)
- #define IDDET_ASSIST_ID_INFO2_CPTYPE (1 << 3)
- #define IDDET_ASSIST_ID_INFO2_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- // assist_id_info3
- #define IDDET_ASSIST_ID_INFO3_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ASSIST_ID_INFO3_SFNUM (1 << 2)
- #define IDDET_ASSIST_ID_INFO3_CPTYPE (1 << 3)
- #define IDDET_ASSIST_ID_INFO3_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- // assist_id_info4
- #define IDDET_ASSIST_ID_INFO4_NID2(n) (((n)&0x3) << 0)
- #define IDDET_ASSIST_ID_INFO4_SFNUM (1 << 2)
- #define IDDET_ASSIST_ID_INFO4_CPTYPE (1 << 3)
- #define IDDET_ASSIST_ID_INFO4_NID1(n) (((n)&0xff) << 4)
- #define IDDET_PPM(n) (((n)&0x3f) << 12)
- // int_flag
- #define IDDET_PSSGRU_FINISH (1 << 0)
- #define IDDET_PSSITM_FINISH (1 << 1)
- #define IDDET_SSS_FINISH (1 << 2)
- #define IDDET_FREQ_IDIDENT_FINISH (1 << 3)
- #define IDDET_RESYNC_FINISH (1 << 4)
- #define IDDET_TXRX_SUSPEND (1 << 5)
- #define IDDET_ERROR_STATE (1 << 6)
- #define IDDET_STOP (1 << 7)
- #define IDDET_INT_FLAG_RSSI (1 << 8)
- #define IDDET_FREQ_SEARCH_SBI (1 << 9)
- #define IDDET_FREQ_SEARCH (1 << 10)
- #define IDDET_DISCON_SECTION_FINISH (1 << 11)
- // sta_flag
- #define IDDET_PSS_GRU_RUN (1 << 0)
- #define IDDET_PSS_ITM_RUN (1 << 1)
- #define IDDET_SSS_RUN (1 << 2)
- #define IDDET_FREQITM_IDIDENT_RUN (1 << 3)
- #define IDDET_RESYN_RUN (1 << 4)
- #define IDDET_FREQ_SEARCH_RUN (1 << 5)
- // pre_sample_count
- #define IDDET_PRE_SAMPLE_COUNT(n) (((n)&0x3ff) << 0)
- // freq_search_ctrl
- #define IDDET_FIRST_5MS (1 << 0)
- #define IDDET_LAST_5MS (1 << 1)
- #define IDDET_FREQ_SEL(n) (((n)&0x3) << 2)
- #define IDDET_SORT_START_ADDR(n) (((n)&0x3ff) << 4)
- #define IDDET_SORT_END_ADDR(n) (((n)&0x3ff) << 14)
- #define IDDET_SORT_EN (1 << 24)
- #define IDDET_FFT_EN (1 << 25)
- #define IDDET_SORT_MODE (1 << 26)
- // freq_search_config1
- #define IDDET_M(n) (((n)&0xf) << 0)
- #define IDDET_FREQ_200K_EN (1 << 4)
- #define IDDET_FREQ_1_4M_EN (1 << 5)
- #define IDDET_FREQ_3M_EN (1 << 6)
- #define IDDET_FREQ_5M_EN (1 << 7)
- #define IDDET_FREQ_10M_EN (1 << 8)
- #define IDDET_FREQ_15M_EN (1 << 9)
- #define IDDET_FREQ_20M_EN (1 << 10)
- #define IDDET_SBI_MAX(n) (((n)&0x3f) << 11)
- #define IDDET_CUR_SBI_NUM(n) (((n)&0x3f) << 17)
- #define IDDET_PWR_32TO16BITSEL(n) (((n)&0xf) << 23)
- #define IDDET_PWRWIN_32TO20BITSEL(n) (((n)&0xf) << 27)
- // freq_search_config2
- #define IDDET_SELECTBINNUM_LEFT(n) (((n)&0x1ff) << 0)
- #define IDDET_SELECTBINNUM_RIGHT(n) (((n)&0x1ff) << 9)
- // band_win_start_conf1
- #define IDDET_BAND_WIN_START_CONF1_BAND_200KHZ(n) (((n)&0x7f) << 0)
- #define IDDET_BAND_WIN_START_CONF1_BAND_1_4MHZ(n) (((n)&0x7f) << 7)
- #define IDDET_BAND_WIN_START_CONF1_BAND_3MHZ(n) (((n)&0x7f) << 14)
- #define IDDET_BAND_WIN_START_CONF1_BAND_5MHZ(n) (((n)&0x7f) << 21)
- // band_win_start_conf2
- #define IDDET_BAND_WIN_START_CONF2_BAND_10MHZ(n) (((n)&0x7f) << 0)
- #define IDDET_BAND_WIN_START_CONF2_BAND_15MHZ(n) (((n)&0x7f) << 7)
- #define IDDET_BAND_WIN_START_CONF2_BAND_20MHZ(n) (((n)&0x7f) << 14)
- // band_win_end_conf1
- #define IDDET_BAND_WIN_END_CONF1_BAND_200KHZ(n) (((n)&0xf) << 0)
- #define IDDET_BAND_WIN_END_CONF1_BAND_1_4MHZ(n) (((n)&0xf) << 4)
- #define IDDET_BAND_WIN_END_CONF1_BAND_3MHZ(n) (((n)&0xf) << 8)
- #define IDDET_BAND_WIN_END_CONF1_BAND_5MHZ(n) (((n)&0xf) << 12)
- #define IDDET_BAND_WIN_END_CONF1_BAND_10MHZ(n) (((n)&0xf) << 16)
- #define IDDET_BAND_WIN_END_CONF1_BAND_15MHZ(n) (((n)&0xf) << 20)
- #define IDDET_BAND_WIN_END_CONF1_BAND_20MHZ(n) (((n)&0xf) << 24)
- // agc_conf
- #define IDDET_AGC(n) (((n)&0x7f) << 0)
- // sbi_sum__len
- #define IDDET_SBI_SUM_LEN(n) (((n)&0x3ff) << 0)
- // target_agc
- #define IDDET_TARGET_AGC(n) (((n)&0x3ff) << 0)
- // freqitm_out1
- #define IDDET_FREQ_ITM_OUT1(n) (((n)&0xffff) << 0)
- #define IDDET_FREQ_ITM_OUT2(n) (((n)&0xffff) << 16)
- // pss1_resyn_rssi_range
- #define IDDET_PSS1_RSSI_START(n) (((n)&0x3fff) << 0)
- #define IDDET_PSS1_RSSI_END(n) (((n)&0x3fff) << 16)
- // pss1_max_rssi0
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi1
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi2
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi3
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi4
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi5
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi6
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi7
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi8
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi9
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi10
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // pss1_max_rssi11
- #define IDDET_PSS1_MAX_RSSI(n) (((n)&0xffff) << 0)
- // mem1_8_mem1_11
- #define IDDET_MEM1_8_MEM1_11_2(n) (((n)&0x3ff) << 0)
- #define IDDET_MEM1_8_MEM1_11_1(n) (((n)&0x3ff) << 16)
- // mem_freq_pwr_before_agc
- #define IDDET_MEM_FREQ_PWR_BEFORE_AGC_0(n) (((n)&0xffff) << 0)
- #define IDDET_MEM_FREQ_PWR_BEFORE_AGC_1(n) (((n)&0xffff) << 16)
- // mem_freq_len_agc
- #define IDDET_MEM_FREQ_LEN_AGC_0(n) (((n)&0x3ff) << 0)
- #define IDDET_MEM_FREQ_LEN_AGC_1(n) (((n)&0x1ff) << 10)
- #endif // _IDDET_H_
|