nrf53_erratas.h 87 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922
  1. #ifndef NRF53_ERRATAS_H
  2. #define NRF53_ERRATAS_H
  3. /*
  4. Copyright (c) 2010 - 2020, Nordic Semiconductor ASA
  5. All rights reserved.
  6. Redistribution and use in source and binary forms, with or without modification,
  7. are permitted provided that the following conditions are met:
  8. 1. Redistributions of source code must retain the above copyright notice, this
  9. list of conditions and the following disclaimer.
  10. 2. Redistributions in binary form, except as embedded into a Nordic
  11. Semiconductor ASA integrated circuit in a product or a software update for
  12. such product, must reproduce the above copyright notice, this list of
  13. conditions and the following disclaimer in the documentation and/or other
  14. materials provided with the distribution.
  15. 3. Neither the name of Nordic Semiconductor ASA nor the names of its
  16. contributors may be used to endorse or promote products derived from this
  17. software without specific prior written permission.
  18. 4. This software, with or without modification, must only be used with a
  19. Nordic Semiconductor ASA integrated circuit.
  20. 5. Any software provided in binary form under this license must not be reverse
  21. engineered, decompiled, modified and/or disassembled.
  22. THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
  23. OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  24. OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
  25. DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
  26. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  27. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  28. GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  29. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  30. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  31. OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  32. */
  33. #include <stdint.h>
  34. #include <stdbool.h>
  35. #include "compiler_abstraction.h"
  36. static bool nrf53_errata_1(void) __UNUSED;
  37. static bool nrf53_errata_2(void) __UNUSED;
  38. static bool nrf53_errata_3(void) __UNUSED;
  39. static bool nrf53_errata_4(void) __UNUSED;
  40. static bool nrf53_errata_5(void) __UNUSED;
  41. static bool nrf53_errata_6(void) __UNUSED;
  42. static bool nrf53_errata_7(void) __UNUSED;
  43. static bool nrf53_errata_8(void) __UNUSED;
  44. static bool nrf53_errata_9(void) __UNUSED;
  45. static bool nrf53_errata_10(void) __UNUSED;
  46. static bool nrf53_errata_11(void) __UNUSED;
  47. static bool nrf53_errata_12(void) __UNUSED;
  48. static bool nrf53_errata_13(void) __UNUSED;
  49. static bool nrf53_errata_14(void) __UNUSED;
  50. static bool nrf53_errata_15(void) __UNUSED;
  51. static bool nrf53_errata_16(void) __UNUSED;
  52. static bool nrf53_errata_18(void) __UNUSED;
  53. static bool nrf53_errata_19(void) __UNUSED;
  54. static bool nrf53_errata_20(void) __UNUSED;
  55. static bool nrf53_errata_21(void) __UNUSED;
  56. static bool nrf53_errata_22(void) __UNUSED;
  57. static bool nrf53_errata_23(void) __UNUSED;
  58. static bool nrf53_errata_26(void) __UNUSED;
  59. static bool nrf53_errata_27(void) __UNUSED;
  60. static bool nrf53_errata_28(void) __UNUSED;
  61. static bool nrf53_errata_29(void) __UNUSED;
  62. static bool nrf53_errata_30(void) __UNUSED;
  63. static bool nrf53_errata_31(void) __UNUSED;
  64. static bool nrf53_errata_32(void) __UNUSED;
  65. static bool nrf53_errata_33(void) __UNUSED;
  66. static bool nrf53_errata_34(void) __UNUSED;
  67. static bool nrf53_errata_36(void) __UNUSED;
  68. static bool nrf53_errata_37(void) __UNUSED;
  69. static bool nrf53_errata_42(void) __UNUSED;
  70. static bool nrf53_errata_43(void) __UNUSED;
  71. static bool nrf53_errata_44(void) __UNUSED;
  72. static bool nrf53_errata_45(void) __UNUSED;
  73. static bool nrf53_errata_46(void) __UNUSED;
  74. static bool nrf53_errata_47(void) __UNUSED;
  75. static bool nrf53_errata_49(void) __UNUSED;
  76. static bool nrf53_errata_50(void) __UNUSED;
  77. static bool nrf53_errata_51(void) __UNUSED;
  78. static bool nrf53_errata_52(void) __UNUSED;
  79. static bool nrf53_errata_53(void) __UNUSED;
  80. static bool nrf53_errata_54(void) __UNUSED;
  81. static bool nrf53_errata_55(void) __UNUSED;
  82. static bool nrf53_errata_57(void) __UNUSED;
  83. static bool nrf53_errata_58(void) __UNUSED;
  84. static bool nrf53_errata_59(void) __UNUSED;
  85. static bool nrf53_errata_62(void) __UNUSED;
  86. static bool nrf53_errata_64(void) __UNUSED;
  87. static bool nrf53_errata_65(void) __UNUSED;
  88. static bool nrf53_errata_66(void) __UNUSED;
  89. static bool nrf53_errata_67(void) __UNUSED;
  90. static bool nrf53_errata_69(void) __UNUSED;
  91. static bool nrf53_errata_70(void) __UNUSED;
  92. static bool nrf53_errata_71(void) __UNUSED;
  93. static bool nrf53_errata_72(void) __UNUSED;
  94. static bool nrf53_errata_73(void) __UNUSED;
  95. static bool nrf53_errata_74(void) __UNUSED;
  96. static bool nrf53_errata_75(void) __UNUSED;
  97. static bool nrf53_errata_76(void) __UNUSED;
  98. static bool nrf53_errata_77(void) __UNUSED;
  99. static bool nrf53_errata_79(void) __UNUSED;
  100. static bool nrf53_errata_80(void) __UNUSED;
  101. static bool nrf53_errata_81(void) __UNUSED;
  102. static bool nrf53_errata_82(void) __UNUSED;
  103. static bool nrf53_errata_83(void) __UNUSED;
  104. static bool nrf53_errata_84(void) __UNUSED;
  105. static bool nrf53_errata_85(void) __UNUSED;
  106. static bool nrf53_errata_86(void) __UNUSED;
  107. static bool nrf53_errata_87(void) __UNUSED;
  108. static bool nrf53_errata_90(void) __UNUSED;
  109. static bool nrf53_errata_91(void) __UNUSED;
  110. static bool nrf53_errata_93(void) __UNUSED;
  111. static bool nrf53_errata_95(void) __UNUSED;
  112. static bool nrf53_errata_97(void) __UNUSED;
  113. static bool nrf53_errata_103(void) __UNUSED;
  114. static bool nrf53_errata_105(void) __UNUSED;
  115. static bool nrf53_errata_106(void) __UNUSED;
  116. static bool nrf53_errata_109(void) __UNUSED;
  117. static bool nrf53_errata_110(void) __UNUSED;
  118. static bool nrf53_errata_113(void) __UNUSED;
  119. static bool nrf53_errata_114(void) __UNUSED;
  120. static bool nrf53_errata_115(void) __UNUSED;
  121. static bool nrf53_errata_116(void) __UNUSED;
  122. static bool nrf53_errata_119(void) __UNUSED;
  123. static bool nrf53_errata_1(void)
  124. {
  125. #ifndef NRF53_SERIES
  126. return false;
  127. #else
  128. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  129. #if defined(NRF_APPLICATION)
  130. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  131. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  132. #endif
  133. #endif
  134. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  135. #if defined (NRF_APPLICATION)
  136. if (var1 == 0x07)
  137. {
  138. switch(var2)
  139. {
  140. case 0x02ul:
  141. return true;
  142. case 0x03ul:
  143. return false;
  144. default:
  145. return false;
  146. }
  147. }
  148. #endif
  149. #endif
  150. return false;
  151. #endif
  152. }
  153. static bool nrf53_errata_2(void)
  154. {
  155. #ifndef NRF53_SERIES
  156. return false;
  157. #else
  158. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  159. #if defined(NRF_APPLICATION)
  160. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  161. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  162. #endif
  163. #endif
  164. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  165. #if defined (NRF_APPLICATION)
  166. if (var1 == 0x07)
  167. {
  168. switch(var2)
  169. {
  170. case 0x02ul:
  171. return true;
  172. case 0x03ul:
  173. return false;
  174. default:
  175. return false;
  176. }
  177. }
  178. #endif
  179. #endif
  180. return false;
  181. #endif
  182. }
  183. static bool nrf53_errata_3(void)
  184. {
  185. #ifndef NRF53_SERIES
  186. return false;
  187. #else
  188. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  189. #if defined(NRF_APPLICATION)
  190. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  191. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  192. #endif
  193. #endif
  194. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  195. #if defined (NRF_APPLICATION)
  196. if (var1 == 0x07)
  197. {
  198. switch(var2)
  199. {
  200. case 0x02ul:
  201. return true;
  202. case 0x03ul:
  203. return false;
  204. default:
  205. return false;
  206. }
  207. }
  208. #endif
  209. #endif
  210. return false;
  211. #endif
  212. }
  213. static bool nrf53_errata_4(void)
  214. {
  215. #ifndef NRF53_SERIES
  216. return false;
  217. #else
  218. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  219. #if defined(NRF_APPLICATION)
  220. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  221. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  222. #endif
  223. #endif
  224. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  225. #if defined (NRF_APPLICATION)
  226. if (var1 == 0x07)
  227. {
  228. switch(var2)
  229. {
  230. case 0x02ul:
  231. return true;
  232. case 0x03ul:
  233. return false;
  234. default:
  235. return false;
  236. }
  237. }
  238. #endif
  239. #endif
  240. return false;
  241. #endif
  242. }
  243. static bool nrf53_errata_5(void)
  244. {
  245. #ifndef NRF53_SERIES
  246. return false;
  247. #else
  248. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  249. #if defined(NRF_APPLICATION)
  250. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  251. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  252. #endif
  253. #endif
  254. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  255. #if defined (NRF_APPLICATION)
  256. if (var1 == 0x07)
  257. {
  258. switch(var2)
  259. {
  260. case 0x02ul:
  261. return true;
  262. case 0x03ul:
  263. return false;
  264. default:
  265. return false;
  266. }
  267. }
  268. #endif
  269. #endif
  270. return false;
  271. #endif
  272. }
  273. static bool nrf53_errata_6(void)
  274. {
  275. #ifndef NRF53_SERIES
  276. return false;
  277. #else
  278. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  279. #if defined(NRF_NETWORK)
  280. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  281. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  282. #endif
  283. #endif
  284. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  285. #if defined (NRF_NETWORK)
  286. if (var1 == 0x07)
  287. {
  288. switch(var2)
  289. {
  290. case 0x02ul:
  291. return true;
  292. case 0x03ul:
  293. return false;
  294. default:
  295. return false;
  296. }
  297. }
  298. #endif
  299. #endif
  300. return false;
  301. #endif
  302. }
  303. static bool nrf53_errata_7(void)
  304. {
  305. #ifndef NRF53_SERIES
  306. return false;
  307. #else
  308. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  309. #if defined(NRF_APPLICATION)
  310. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  311. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  312. #endif
  313. #endif
  314. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  315. #if defined (NRF_APPLICATION)
  316. if (var1 == 0x07)
  317. {
  318. switch(var2)
  319. {
  320. case 0x02ul:
  321. return true;
  322. case 0x03ul:
  323. return false;
  324. default:
  325. return false;
  326. }
  327. }
  328. #endif
  329. #endif
  330. return false;
  331. #endif
  332. }
  333. static bool nrf53_errata_8(void)
  334. {
  335. #ifndef NRF53_SERIES
  336. return false;
  337. #else
  338. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  339. #if defined(NRF_APPLICATION)
  340. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  341. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  342. #endif
  343. #endif
  344. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  345. #if defined (NRF_APPLICATION)
  346. if (var1 == 0x07)
  347. {
  348. switch(var2)
  349. {
  350. case 0x02ul:
  351. return true;
  352. case 0x03ul:
  353. return false;
  354. default:
  355. return false;
  356. }
  357. }
  358. #endif
  359. #endif
  360. return false;
  361. #endif
  362. }
  363. static bool nrf53_errata_9(void)
  364. {
  365. #ifndef NRF53_SERIES
  366. return false;
  367. #else
  368. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  369. #if defined(NRF_APPLICATION)
  370. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  371. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  372. #endif
  373. #endif
  374. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  375. #if defined (NRF_APPLICATION)
  376. if (var1 == 0x07)
  377. {
  378. switch(var2)
  379. {
  380. case 0x02ul:
  381. return true;
  382. case 0x03ul:
  383. return false;
  384. default:
  385. return false;
  386. }
  387. }
  388. #endif
  389. #endif
  390. return false;
  391. #endif
  392. }
  393. static bool nrf53_errata_10(void)
  394. {
  395. #ifndef NRF53_SERIES
  396. return false;
  397. #else
  398. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  399. #if defined(NRF_NETWORK)
  400. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  401. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  402. #endif
  403. #endif
  404. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  405. #if defined (NRF_NETWORK)
  406. if (var1 == 0x07)
  407. {
  408. switch(var2)
  409. {
  410. case 0x02ul:
  411. return true;
  412. case 0x03ul:
  413. return false;
  414. default:
  415. return false;
  416. }
  417. }
  418. #endif
  419. #endif
  420. return false;
  421. #endif
  422. }
  423. static bool nrf53_errata_11(void)
  424. {
  425. #ifndef NRF53_SERIES
  426. return false;
  427. #else
  428. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  429. #if defined(NRF_NETWORK)
  430. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  431. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  432. #endif
  433. #endif
  434. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  435. #if defined (NRF_NETWORK)
  436. if (var1 == 0x07)
  437. {
  438. switch(var2)
  439. {
  440. case 0x02ul:
  441. return true;
  442. case 0x03ul:
  443. return false;
  444. default:
  445. return false;
  446. }
  447. }
  448. #endif
  449. #endif
  450. return false;
  451. #endif
  452. }
  453. static bool nrf53_errata_12(void)
  454. {
  455. #ifndef NRF53_SERIES
  456. return false;
  457. #else
  458. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  459. #if defined(NRF_APPLICATION)
  460. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  461. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  462. #endif
  463. #endif
  464. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  465. #if defined (NRF_APPLICATION)
  466. if (var1 == 0x07)
  467. {
  468. switch(var2)
  469. {
  470. case 0x02ul:
  471. return true;
  472. case 0x03ul:
  473. return false;
  474. default:
  475. return false;
  476. }
  477. }
  478. #endif
  479. #endif
  480. return false;
  481. #endif
  482. }
  483. static bool nrf53_errata_13(void)
  484. {
  485. #ifndef NRF53_SERIES
  486. return false;
  487. #else
  488. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  489. #if defined(NRF_APPLICATION)
  490. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  491. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  492. #elif defined(NRF_NETWORK)
  493. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  494. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  495. #endif
  496. #endif
  497. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  498. #if defined (NRF_APPLICATION)\
  499. || defined (NRF_NETWORK)
  500. if (var1 == 0x07)
  501. {
  502. switch(var2)
  503. {
  504. case 0x02ul:
  505. return true;
  506. case 0x03ul:
  507. return false;
  508. default:
  509. return false;
  510. }
  511. }
  512. #endif
  513. #endif
  514. return false;
  515. #endif
  516. }
  517. static bool nrf53_errata_14(void)
  518. {
  519. #ifndef NRF53_SERIES
  520. return false;
  521. #else
  522. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  523. #if defined(NRF_NETWORK)
  524. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  525. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  526. #endif
  527. #endif
  528. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  529. #if defined (NRF_NETWORK)
  530. if (var1 == 0x07)
  531. {
  532. switch(var2)
  533. {
  534. case 0x02ul:
  535. return true;
  536. case 0x03ul:
  537. return false;
  538. default:
  539. return false;
  540. }
  541. }
  542. #endif
  543. #endif
  544. return false;
  545. #endif
  546. }
  547. static bool nrf53_errata_15(void)
  548. {
  549. #ifndef NRF53_SERIES
  550. return false;
  551. #else
  552. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  553. #if defined(NRF_APPLICATION)
  554. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  555. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  556. #elif defined(NRF_NETWORK)
  557. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  558. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  559. #endif
  560. #endif
  561. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  562. #if defined (NRF_APPLICATION)\
  563. || defined (NRF_NETWORK)
  564. if (var1 == 0x07)
  565. {
  566. switch(var2)
  567. {
  568. case 0x02ul:
  569. return true;
  570. case 0x03ul:
  571. return false;
  572. default:
  573. return false;
  574. }
  575. }
  576. #endif
  577. #endif
  578. return false;
  579. #endif
  580. }
  581. static bool nrf53_errata_16(void)
  582. {
  583. #ifndef NRF53_SERIES
  584. return false;
  585. #else
  586. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  587. #if defined(NRF_NETWORK)
  588. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  589. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  590. #endif
  591. #endif
  592. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  593. #if defined (NRF_NETWORK)
  594. if (var1 == 0x07)
  595. {
  596. switch(var2)
  597. {
  598. case 0x02ul:
  599. return true;
  600. case 0x03ul:
  601. return false;
  602. default:
  603. return false;
  604. }
  605. }
  606. #endif
  607. #endif
  608. return false;
  609. #endif
  610. }
  611. static bool nrf53_errata_18(void)
  612. {
  613. #ifndef NRF53_SERIES
  614. return false;
  615. #else
  616. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  617. #if defined(NRF_APPLICATION)
  618. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  619. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  620. #endif
  621. #endif
  622. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  623. #if defined (NRF_APPLICATION)
  624. if (var1 == 0x07)
  625. {
  626. switch(var2)
  627. {
  628. case 0x02ul:
  629. return true;
  630. case 0x03ul:
  631. return false;
  632. default:
  633. return false;
  634. }
  635. }
  636. #endif
  637. #endif
  638. return false;
  639. #endif
  640. }
  641. static bool nrf53_errata_19(void)
  642. {
  643. #ifndef NRF53_SERIES
  644. return false;
  645. #else
  646. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  647. #if defined(NRF_APPLICATION)
  648. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  649. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  650. #endif
  651. #endif
  652. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  653. #if defined (NRF_APPLICATION)
  654. if (var1 == 0x07)
  655. {
  656. switch(var2)
  657. {
  658. case 0x02ul:
  659. return true;
  660. case 0x03ul:
  661. return false;
  662. default:
  663. return false;
  664. }
  665. }
  666. #endif
  667. #endif
  668. return false;
  669. #endif
  670. }
  671. static bool nrf53_errata_20(void)
  672. {
  673. #ifndef NRF53_SERIES
  674. return false;
  675. #else
  676. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  677. #if defined(NRF_APPLICATION)
  678. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  679. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  680. #elif defined(NRF_NETWORK)
  681. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  682. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  683. #endif
  684. #endif
  685. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  686. #if defined (NRF_APPLICATION)\
  687. || defined (NRF_NETWORK)
  688. if (var1 == 0x07)
  689. {
  690. switch(var2)
  691. {
  692. case 0x02ul:
  693. return true;
  694. case 0x03ul:
  695. return false;
  696. default:
  697. return false;
  698. }
  699. }
  700. #endif
  701. #endif
  702. return false;
  703. #endif
  704. }
  705. static bool nrf53_errata_21(void)
  706. {
  707. #ifndef NRF53_SERIES
  708. return false;
  709. #else
  710. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  711. #if defined(NRF_APPLICATION)
  712. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  713. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  714. #elif defined(NRF_NETWORK)
  715. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  716. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  717. #endif
  718. #endif
  719. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  720. #if defined (NRF_APPLICATION)\
  721. || defined (NRF_NETWORK)
  722. if (var1 == 0x07)
  723. {
  724. switch(var2)
  725. {
  726. case 0x02ul:
  727. return true;
  728. case 0x03ul:
  729. return false;
  730. default:
  731. return false;
  732. }
  733. }
  734. #endif
  735. #endif
  736. return false;
  737. #endif
  738. }
  739. static bool nrf53_errata_22(void)
  740. {
  741. #ifndef NRF53_SERIES
  742. return false;
  743. #else
  744. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  745. #if defined(NRF_APPLICATION)
  746. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  747. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  748. #endif
  749. #endif
  750. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  751. #if defined (NRF_APPLICATION)
  752. if (var1 == 0x07)
  753. {
  754. switch(var2)
  755. {
  756. case 0x02ul:
  757. return true;
  758. case 0x03ul:
  759. return false;
  760. default:
  761. return false;
  762. }
  763. }
  764. #endif
  765. #endif
  766. return false;
  767. #endif
  768. }
  769. static bool nrf53_errata_23(void)
  770. {
  771. #ifndef NRF53_SERIES
  772. return false;
  773. #else
  774. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  775. #if defined(NRF_APPLICATION)
  776. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  777. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  778. #endif
  779. #endif
  780. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  781. #if defined (NRF_APPLICATION)
  782. if (var1 == 0x07)
  783. {
  784. switch(var2)
  785. {
  786. case 0x02ul:
  787. return true;
  788. case 0x03ul:
  789. return false;
  790. default:
  791. return false;
  792. }
  793. }
  794. #endif
  795. #endif
  796. return false;
  797. #endif
  798. }
  799. static bool nrf53_errata_26(void)
  800. {
  801. #ifndef NRF53_SERIES
  802. return false;
  803. #else
  804. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  805. #if defined(NRF_APPLICATION)
  806. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  807. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  808. #elif defined(NRF_NETWORK)
  809. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  810. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  811. #endif
  812. #endif
  813. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  814. #if defined (NRF_APPLICATION)\
  815. || defined (NRF_NETWORK)
  816. if (var1 == 0x07)
  817. {
  818. switch(var2)
  819. {
  820. case 0x02ul:
  821. return true;
  822. case 0x03ul:
  823. return false;
  824. default:
  825. return false;
  826. }
  827. }
  828. #endif
  829. #endif
  830. return false;
  831. #endif
  832. }
  833. static bool nrf53_errata_27(void)
  834. {
  835. #ifndef NRF53_SERIES
  836. return false;
  837. #else
  838. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  839. #if defined(NRF_APPLICATION)
  840. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  841. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  842. #elif defined(NRF_NETWORK)
  843. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  844. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  845. #endif
  846. #endif
  847. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  848. #if defined (NRF_APPLICATION)\
  849. || defined (NRF_NETWORK)
  850. if (var1 == 0x07)
  851. {
  852. switch(var2)
  853. {
  854. case 0x02ul:
  855. return true;
  856. case 0x03ul:
  857. return false;
  858. default:
  859. return false;
  860. }
  861. }
  862. #endif
  863. #endif
  864. return false;
  865. #endif
  866. }
  867. static bool nrf53_errata_28(void)
  868. {
  869. #ifndef NRF53_SERIES
  870. return false;
  871. #else
  872. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  873. #if defined(NRF_APPLICATION)
  874. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  875. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  876. #elif defined(NRF_NETWORK)
  877. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  878. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  879. #endif
  880. #endif
  881. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  882. #if defined (NRF_APPLICATION)\
  883. || defined (NRF_NETWORK)
  884. if (var1 == 0x07)
  885. {
  886. switch(var2)
  887. {
  888. case 0x02ul:
  889. return true;
  890. case 0x03ul:
  891. return false;
  892. default:
  893. return false;
  894. }
  895. }
  896. #endif
  897. #endif
  898. return false;
  899. #endif
  900. }
  901. static bool nrf53_errata_29(void)
  902. {
  903. #ifndef NRF53_SERIES
  904. return false;
  905. #else
  906. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  907. #if defined(NRF_NETWORK)
  908. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  909. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  910. #endif
  911. #endif
  912. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  913. #if defined (NRF_NETWORK)
  914. if (var1 == 0x07)
  915. {
  916. switch(var2)
  917. {
  918. case 0x02ul:
  919. return true;
  920. case 0x03ul:
  921. return false;
  922. default:
  923. return false;
  924. }
  925. }
  926. #endif
  927. #endif
  928. return false;
  929. #endif
  930. }
  931. static bool nrf53_errata_30(void)
  932. {
  933. #ifndef NRF53_SERIES
  934. return false;
  935. #else
  936. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  937. #if defined(NRF_NETWORK)
  938. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  939. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  940. #endif
  941. #endif
  942. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  943. #if defined (NRF_NETWORK)
  944. if (var1 == 0x07)
  945. {
  946. switch(var2)
  947. {
  948. case 0x02ul:
  949. return true;
  950. case 0x03ul:
  951. return false;
  952. default:
  953. return false;
  954. }
  955. }
  956. #endif
  957. #endif
  958. return false;
  959. #endif
  960. }
  961. static bool nrf53_errata_31(void)
  962. {
  963. #ifndef NRF53_SERIES
  964. return false;
  965. #else
  966. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  967. #if defined(NRF_APPLICATION)
  968. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  969. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  970. #elif defined(NRF_NETWORK)
  971. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  972. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  973. #endif
  974. #endif
  975. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  976. #if defined (NRF_APPLICATION)\
  977. || defined (NRF_NETWORK)
  978. if (var1 == 0x07)
  979. {
  980. switch(var2)
  981. {
  982. case 0x02ul:
  983. return true;
  984. case 0x03ul:
  985. return false;
  986. default:
  987. return false;
  988. }
  989. }
  990. #endif
  991. #endif
  992. return false;
  993. #endif
  994. }
  995. static bool nrf53_errata_32(void)
  996. {
  997. #ifndef NRF53_SERIES
  998. return false;
  999. #else
  1000. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1001. #if defined(NRF_NETWORK)
  1002. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1003. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1004. #endif
  1005. #endif
  1006. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1007. #if defined (NRF_NETWORK)
  1008. if (var1 == 0x07)
  1009. {
  1010. switch(var2)
  1011. {
  1012. case 0x02ul:
  1013. return true;
  1014. case 0x03ul:
  1015. return false;
  1016. default:
  1017. return false;
  1018. }
  1019. }
  1020. #endif
  1021. #endif
  1022. return false;
  1023. #endif
  1024. }
  1025. static bool nrf53_errata_33(void)
  1026. {
  1027. #ifndef NRF53_SERIES
  1028. return false;
  1029. #else
  1030. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1031. #if defined(NRF_APPLICATION)
  1032. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1033. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1034. #endif
  1035. #endif
  1036. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1037. #if defined (NRF_APPLICATION)
  1038. if (var1 == 0x07)
  1039. {
  1040. switch(var2)
  1041. {
  1042. case 0x02ul:
  1043. return true;
  1044. case 0x03ul:
  1045. return false;
  1046. default:
  1047. return false;
  1048. }
  1049. }
  1050. #endif
  1051. #endif
  1052. return false;
  1053. #endif
  1054. }
  1055. static bool nrf53_errata_34(void)
  1056. {
  1057. #ifndef NRF53_SERIES
  1058. return false;
  1059. #else
  1060. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1061. #if defined(NRF_NETWORK)
  1062. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1063. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1064. #endif
  1065. #endif
  1066. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1067. #if defined (NRF_NETWORK)
  1068. if (var1 == 0x07)
  1069. {
  1070. switch(var2)
  1071. {
  1072. case 0x02ul:
  1073. return true;
  1074. case 0x03ul:
  1075. return false;
  1076. default:
  1077. return false;
  1078. }
  1079. }
  1080. #endif
  1081. #endif
  1082. return false;
  1083. #endif
  1084. }
  1085. static bool nrf53_errata_36(void)
  1086. {
  1087. #ifndef NRF53_SERIES
  1088. return false;
  1089. #else
  1090. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1091. #if defined(NRF_APPLICATION)
  1092. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1093. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1094. #endif
  1095. #endif
  1096. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1097. #if defined (NRF_APPLICATION)
  1098. if (var1 == 0x07)
  1099. {
  1100. switch(var2)
  1101. {
  1102. case 0x02ul:
  1103. return true;
  1104. case 0x03ul:
  1105. return false;
  1106. default:
  1107. return false;
  1108. }
  1109. }
  1110. #endif
  1111. #endif
  1112. return false;
  1113. #endif
  1114. }
  1115. static bool nrf53_errata_37(void)
  1116. {
  1117. #ifndef NRF53_SERIES
  1118. return false;
  1119. #else
  1120. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1121. #if defined(NRF_APPLICATION)
  1122. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1123. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1124. #elif defined(NRF_NETWORK)
  1125. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1126. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1127. #endif
  1128. #endif
  1129. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1130. #if defined (NRF_APPLICATION)\
  1131. || defined (NRF_NETWORK)
  1132. if (var1 == 0x07)
  1133. {
  1134. switch(var2)
  1135. {
  1136. case 0x02ul:
  1137. return true;
  1138. case 0x03ul:
  1139. return false;
  1140. default:
  1141. return false;
  1142. }
  1143. }
  1144. #endif
  1145. #endif
  1146. return false;
  1147. #endif
  1148. }
  1149. static bool nrf53_errata_42(void)
  1150. {
  1151. #ifndef NRF53_SERIES
  1152. return false;
  1153. #else
  1154. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1155. #if defined(NRF_APPLICATION)
  1156. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1157. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1158. #endif
  1159. #endif
  1160. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1161. #if defined (NRF_APPLICATION)
  1162. if (var1 == 0x07)
  1163. {
  1164. switch(var2)
  1165. {
  1166. case 0x02ul:
  1167. return true;
  1168. case 0x03ul:
  1169. return false;
  1170. default:
  1171. return false;
  1172. }
  1173. }
  1174. #endif
  1175. #endif
  1176. return false;
  1177. #endif
  1178. }
  1179. static bool nrf53_errata_43(void)
  1180. {
  1181. #ifndef NRF53_SERIES
  1182. return false;
  1183. #else
  1184. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1185. #if defined(NRF_APPLICATION)
  1186. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1187. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1188. #endif
  1189. #endif
  1190. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1191. #if defined (NRF_APPLICATION)
  1192. if (var1 == 0x07)
  1193. {
  1194. switch(var2)
  1195. {
  1196. case 0x02ul:
  1197. return true;
  1198. case 0x03ul:
  1199. return false;
  1200. default:
  1201. return false;
  1202. }
  1203. }
  1204. #endif
  1205. #endif
  1206. return false;
  1207. #endif
  1208. }
  1209. static bool nrf53_errata_44(void)
  1210. {
  1211. #ifndef NRF53_SERIES
  1212. return false;
  1213. #else
  1214. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1215. #if defined(NRF_APPLICATION)
  1216. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1217. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1218. #elif defined(NRF_NETWORK)
  1219. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1220. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1221. #endif
  1222. #endif
  1223. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1224. #if defined (NRF_APPLICATION)\
  1225. || defined (NRF_NETWORK)
  1226. if (var1 == 0x07)
  1227. {
  1228. switch(var2)
  1229. {
  1230. case 0x02ul:
  1231. return true;
  1232. case 0x03ul:
  1233. return false;
  1234. default:
  1235. return false;
  1236. }
  1237. }
  1238. #endif
  1239. #endif
  1240. return false;
  1241. #endif
  1242. }
  1243. static bool nrf53_errata_45(void)
  1244. {
  1245. #ifndef NRF53_SERIES
  1246. return false;
  1247. #else
  1248. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1249. #if defined(NRF_APPLICATION)
  1250. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1251. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1252. #endif
  1253. #endif
  1254. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1255. #if defined (NRF_APPLICATION)
  1256. if (var1 == 0x07)
  1257. {
  1258. switch(var2)
  1259. {
  1260. case 0x02ul:
  1261. return true;
  1262. case 0x03ul:
  1263. return false;
  1264. default:
  1265. return false;
  1266. }
  1267. }
  1268. #endif
  1269. #endif
  1270. return false;
  1271. #endif
  1272. }
  1273. static bool nrf53_errata_46(void)
  1274. {
  1275. #ifndef NRF53_SERIES
  1276. return false;
  1277. #else
  1278. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1279. #if defined(NRF_APPLICATION)
  1280. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1281. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1282. #endif
  1283. #endif
  1284. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1285. #if defined (NRF_APPLICATION)
  1286. if (var1 == 0x07)
  1287. {
  1288. switch(var2)
  1289. {
  1290. case 0x02ul:
  1291. return true;
  1292. case 0x03ul:
  1293. return false;
  1294. default:
  1295. return false;
  1296. }
  1297. }
  1298. #endif
  1299. #endif
  1300. return false;
  1301. #endif
  1302. }
  1303. static bool nrf53_errata_47(void)
  1304. {
  1305. #ifndef NRF53_SERIES
  1306. return false;
  1307. #else
  1308. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1309. #if defined(NRF_APPLICATION)
  1310. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1311. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1312. #elif defined(NRF_NETWORK)
  1313. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1314. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1315. #endif
  1316. #endif
  1317. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1318. #if defined (NRF_APPLICATION)\
  1319. || defined (NRF_NETWORK)
  1320. if (var1 == 0x07)
  1321. {
  1322. switch(var2)
  1323. {
  1324. case 0x02ul:
  1325. return true;
  1326. case 0x03ul:
  1327. return false;
  1328. default:
  1329. return false;
  1330. }
  1331. }
  1332. #endif
  1333. #endif
  1334. return false;
  1335. #endif
  1336. }
  1337. static bool nrf53_errata_49(void)
  1338. {
  1339. #ifndef NRF53_SERIES
  1340. return false;
  1341. #else
  1342. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1343. #if defined(NRF_APPLICATION)
  1344. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1345. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1346. #elif defined(NRF_NETWORK)
  1347. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1348. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1349. #endif
  1350. #endif
  1351. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1352. #if defined (NRF_APPLICATION)\
  1353. || defined (NRF_NETWORK)
  1354. if (var1 == 0x07)
  1355. {
  1356. switch(var2)
  1357. {
  1358. case 0x02ul:
  1359. return true;
  1360. case 0x03ul:
  1361. return false;
  1362. default:
  1363. return false;
  1364. }
  1365. }
  1366. #endif
  1367. #endif
  1368. return false;
  1369. #endif
  1370. }
  1371. static bool nrf53_errata_50(void)
  1372. {
  1373. #ifndef NRF53_SERIES
  1374. return false;
  1375. #else
  1376. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1377. #if defined(NRF_APPLICATION)
  1378. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1379. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1380. #endif
  1381. #endif
  1382. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1383. #if defined (NRF_APPLICATION)
  1384. if (var1 == 0x07)
  1385. {
  1386. switch(var2)
  1387. {
  1388. case 0x02ul:
  1389. return true;
  1390. case 0x03ul:
  1391. return false;
  1392. default:
  1393. return false;
  1394. }
  1395. }
  1396. #endif
  1397. #endif
  1398. return false;
  1399. #endif
  1400. }
  1401. static bool nrf53_errata_51(void)
  1402. {
  1403. #ifndef NRF53_SERIES
  1404. return false;
  1405. #else
  1406. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1407. #if defined(NRF_APPLICATION)
  1408. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1409. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1410. #endif
  1411. #endif
  1412. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1413. #if defined (NRF_APPLICATION)
  1414. if (var1 == 0x07)
  1415. {
  1416. switch(var2)
  1417. {
  1418. case 0x02ul:
  1419. return true;
  1420. case 0x03ul:
  1421. return false;
  1422. default:
  1423. return false;
  1424. }
  1425. }
  1426. #endif
  1427. #endif
  1428. return false;
  1429. #endif
  1430. }
  1431. static bool nrf53_errata_52(void)
  1432. {
  1433. #ifndef NRF53_SERIES
  1434. return false;
  1435. #else
  1436. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1437. #if defined(NRF_APPLICATION)
  1438. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1439. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1440. #elif defined(NRF_NETWORK)
  1441. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1442. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1443. #endif
  1444. #endif
  1445. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1446. #if defined (NRF_APPLICATION)\
  1447. || defined (NRF_NETWORK)
  1448. if (var1 == 0x07)
  1449. {
  1450. switch(var2)
  1451. {
  1452. case 0x02ul:
  1453. return true;
  1454. case 0x03ul:
  1455. return false;
  1456. default:
  1457. return false;
  1458. }
  1459. }
  1460. #endif
  1461. #endif
  1462. return false;
  1463. #endif
  1464. }
  1465. static bool nrf53_errata_53(void)
  1466. {
  1467. #ifndef NRF53_SERIES
  1468. return false;
  1469. #else
  1470. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1471. #if defined(NRF_APPLICATION)
  1472. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1473. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1474. #endif
  1475. #endif
  1476. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1477. #if defined (NRF_APPLICATION)
  1478. if (var1 == 0x07)
  1479. {
  1480. switch(var2)
  1481. {
  1482. case 0x02ul:
  1483. return true;
  1484. case 0x03ul:
  1485. return false;
  1486. default:
  1487. return false;
  1488. }
  1489. }
  1490. #endif
  1491. #endif
  1492. return false;
  1493. #endif
  1494. }
  1495. static bool nrf53_errata_54(void)
  1496. {
  1497. #ifndef NRF53_SERIES
  1498. return false;
  1499. #else
  1500. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1501. #if defined(NRF_NETWORK)
  1502. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1503. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1504. #endif
  1505. #endif
  1506. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1507. #if defined (NRF_NETWORK)
  1508. if (var1 == 0x07)
  1509. {
  1510. switch(var2)
  1511. {
  1512. case 0x02ul:
  1513. return true;
  1514. case 0x03ul:
  1515. return false;
  1516. default:
  1517. return false;
  1518. }
  1519. }
  1520. #endif
  1521. #endif
  1522. return false;
  1523. #endif
  1524. }
  1525. static bool nrf53_errata_55(void)
  1526. {
  1527. #ifndef NRF53_SERIES
  1528. return false;
  1529. #else
  1530. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1531. #if defined(NRF_APPLICATION)
  1532. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1533. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1534. #elif defined(NRF_NETWORK)
  1535. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1536. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1537. #endif
  1538. #endif
  1539. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1540. #if defined (NRF_APPLICATION)\
  1541. || defined (NRF_NETWORK)
  1542. if (var1 == 0x07)
  1543. {
  1544. switch(var2)
  1545. {
  1546. case 0x02ul:
  1547. return true;
  1548. case 0x03ul:
  1549. return false;
  1550. default:
  1551. return false;
  1552. }
  1553. }
  1554. #endif
  1555. #endif
  1556. return false;
  1557. #endif
  1558. }
  1559. static bool nrf53_errata_57(void)
  1560. {
  1561. #ifndef NRF53_SERIES
  1562. return false;
  1563. #else
  1564. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1565. #if defined(NRF_APPLICATION)
  1566. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1567. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1568. #endif
  1569. #endif
  1570. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1571. #if defined (NRF_APPLICATION)
  1572. if (var1 == 0x07)
  1573. {
  1574. switch(var2)
  1575. {
  1576. case 0x02ul:
  1577. return true;
  1578. case 0x03ul:
  1579. return false;
  1580. default:
  1581. return false;
  1582. }
  1583. }
  1584. #endif
  1585. #endif
  1586. return false;
  1587. #endif
  1588. }
  1589. static bool nrf53_errata_58(void)
  1590. {
  1591. #ifndef NRF53_SERIES
  1592. return false;
  1593. #else
  1594. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1595. #if defined(NRF_APPLICATION)
  1596. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1597. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1598. #endif
  1599. #endif
  1600. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1601. #if defined (NRF_APPLICATION)
  1602. if (var1 == 0x07)
  1603. {
  1604. switch(var2)
  1605. {
  1606. case 0x02ul:
  1607. return true;
  1608. case 0x03ul:
  1609. return false;
  1610. default:
  1611. return false;
  1612. }
  1613. }
  1614. #endif
  1615. #endif
  1616. return false;
  1617. #endif
  1618. }
  1619. static bool nrf53_errata_59(void)
  1620. {
  1621. #ifndef NRF53_SERIES
  1622. return false;
  1623. #else
  1624. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1625. #if defined(NRF_APPLICATION)
  1626. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1627. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1628. #endif
  1629. #endif
  1630. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1631. #if defined (NRF_APPLICATION)
  1632. if (var1 == 0x07)
  1633. {
  1634. switch(var2)
  1635. {
  1636. case 0x02ul:
  1637. return true;
  1638. case 0x03ul:
  1639. return false;
  1640. default:
  1641. return false;
  1642. }
  1643. }
  1644. #endif
  1645. #endif
  1646. return false;
  1647. #endif
  1648. }
  1649. static bool nrf53_errata_62(void)
  1650. {
  1651. #ifndef NRF53_SERIES
  1652. return false;
  1653. #else
  1654. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1655. #if defined(NRF_APPLICATION)
  1656. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1657. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1658. #elif defined(NRF_NETWORK)
  1659. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1660. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1661. #endif
  1662. #endif
  1663. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1664. #if defined (NRF_APPLICATION)\
  1665. || defined (NRF_NETWORK)
  1666. if (var1 == 0x07)
  1667. {
  1668. switch(var2)
  1669. {
  1670. case 0x02ul:
  1671. return true;
  1672. case 0x03ul:
  1673. return false;
  1674. default:
  1675. return false;
  1676. }
  1677. }
  1678. #endif
  1679. #endif
  1680. return false;
  1681. #endif
  1682. }
  1683. static bool nrf53_errata_64(void)
  1684. {
  1685. #ifndef NRF53_SERIES
  1686. return false;
  1687. #else
  1688. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1689. #if defined(NRF_APPLICATION)
  1690. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1691. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1692. #elif defined(NRF_NETWORK)
  1693. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1694. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1695. #endif
  1696. #endif
  1697. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1698. #if defined (NRF_APPLICATION)\
  1699. || defined (NRF_NETWORK)
  1700. if (var1 == 0x07)
  1701. {
  1702. switch(var2)
  1703. {
  1704. case 0x02ul:
  1705. return true;
  1706. case 0x03ul:
  1707. return false;
  1708. default:
  1709. return false;
  1710. }
  1711. }
  1712. #endif
  1713. #endif
  1714. return false;
  1715. #endif
  1716. }
  1717. static bool nrf53_errata_65(void)
  1718. {
  1719. #ifndef NRF53_SERIES
  1720. return false;
  1721. #else
  1722. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1723. #if defined(NRF_APPLICATION)
  1724. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1725. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1726. #endif
  1727. #endif
  1728. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1729. #if defined (NRF_APPLICATION)
  1730. if (var1 == 0x07)
  1731. {
  1732. switch(var2)
  1733. {
  1734. case 0x02ul:
  1735. return true;
  1736. case 0x03ul:
  1737. return false;
  1738. default:
  1739. return false;
  1740. }
  1741. }
  1742. #endif
  1743. #endif
  1744. return false;
  1745. #endif
  1746. }
  1747. static bool nrf53_errata_66(void)
  1748. {
  1749. #ifndef NRF53_SERIES
  1750. return false;
  1751. #else
  1752. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1753. #if defined(NRF_APPLICATION)
  1754. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1755. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1756. #endif
  1757. #endif
  1758. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1759. #if defined (NRF_APPLICATION)
  1760. if (var1 == 0x07)
  1761. {
  1762. switch(var2)
  1763. {
  1764. case 0x02ul:
  1765. return true;
  1766. case 0x03ul:
  1767. return false;
  1768. default:
  1769. return false;
  1770. }
  1771. }
  1772. #endif
  1773. #endif
  1774. return false;
  1775. #endif
  1776. }
  1777. static bool nrf53_errata_67(void)
  1778. {
  1779. #ifndef NRF53_SERIES
  1780. return false;
  1781. #else
  1782. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1783. #if defined(NRF_APPLICATION)
  1784. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1785. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1786. #elif defined(NRF_NETWORK)
  1787. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1788. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1789. #endif
  1790. #endif
  1791. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1792. #if defined (NRF_APPLICATION)\
  1793. || defined (NRF_NETWORK)
  1794. if (var1 == 0x07)
  1795. {
  1796. switch(var2)
  1797. {
  1798. case 0x02ul:
  1799. return true;
  1800. case 0x03ul:
  1801. return false;
  1802. default:
  1803. return false;
  1804. }
  1805. }
  1806. #endif
  1807. #endif
  1808. return false;
  1809. #endif
  1810. }
  1811. static bool nrf53_errata_69(void)
  1812. {
  1813. #ifndef NRF53_SERIES
  1814. return false;
  1815. #else
  1816. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1817. #if defined(NRF_APPLICATION)
  1818. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1819. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1820. #endif
  1821. #endif
  1822. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1823. #if defined (NRF_APPLICATION)
  1824. if (var1 == 0x07)
  1825. {
  1826. switch(var2)
  1827. {
  1828. case 0x02ul:
  1829. return true;
  1830. case 0x03ul:
  1831. return false;
  1832. default:
  1833. return false;
  1834. }
  1835. }
  1836. #endif
  1837. #endif
  1838. return false;
  1839. #endif
  1840. }
  1841. static bool nrf53_errata_70(void)
  1842. {
  1843. #ifndef NRF53_SERIES
  1844. return false;
  1845. #else
  1846. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1847. #if defined(NRF_APPLICATION)
  1848. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1849. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1850. #endif
  1851. #endif
  1852. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1853. #if defined (NRF_APPLICATION)
  1854. if (var1 == 0x07)
  1855. {
  1856. switch(var2)
  1857. {
  1858. case 0x02ul:
  1859. return true;
  1860. case 0x03ul:
  1861. return false;
  1862. default:
  1863. return false;
  1864. }
  1865. }
  1866. #endif
  1867. #endif
  1868. return false;
  1869. #endif
  1870. }
  1871. static bool nrf53_errata_71(void)
  1872. {
  1873. #ifndef NRF53_SERIES
  1874. return false;
  1875. #else
  1876. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1877. #if defined(NRF_APPLICATION)
  1878. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1879. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1880. #endif
  1881. #endif
  1882. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1883. #if defined (NRF_APPLICATION)
  1884. if (var1 == 0x07)
  1885. {
  1886. switch(var2)
  1887. {
  1888. case 0x02ul:
  1889. return true;
  1890. case 0x03ul:
  1891. return false;
  1892. default:
  1893. return false;
  1894. }
  1895. }
  1896. #endif
  1897. #endif
  1898. return false;
  1899. #endif
  1900. }
  1901. static bool nrf53_errata_72(void)
  1902. {
  1903. #ifndef NRF53_SERIES
  1904. return false;
  1905. #else
  1906. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1907. #if defined(NRF_APPLICATION)
  1908. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1909. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1910. #endif
  1911. #endif
  1912. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1913. #if defined (NRF_APPLICATION)
  1914. if (var1 == 0x07)
  1915. {
  1916. switch(var2)
  1917. {
  1918. case 0x02ul:
  1919. return true;
  1920. case 0x03ul:
  1921. return false;
  1922. default:
  1923. return false;
  1924. }
  1925. }
  1926. #endif
  1927. #endif
  1928. return false;
  1929. #endif
  1930. }
  1931. static bool nrf53_errata_73(void)
  1932. {
  1933. #ifndef NRF53_SERIES
  1934. return false;
  1935. #else
  1936. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1937. #if defined(NRF_APPLICATION)
  1938. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1939. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1940. #elif defined(NRF_NETWORK)
  1941. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1942. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1943. #endif
  1944. #endif
  1945. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1946. #if defined (NRF_APPLICATION)\
  1947. || defined (NRF_NETWORK)
  1948. if (var1 == 0x07)
  1949. {
  1950. switch(var2)
  1951. {
  1952. case 0x02ul:
  1953. return true;
  1954. case 0x03ul:
  1955. return false;
  1956. default:
  1957. return false;
  1958. }
  1959. }
  1960. #endif
  1961. #endif
  1962. return false;
  1963. #endif
  1964. }
  1965. static bool nrf53_errata_74(void)
  1966. {
  1967. #ifndef NRF53_SERIES
  1968. return false;
  1969. #else
  1970. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1971. #if defined(NRF_APPLICATION)
  1972. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  1973. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  1974. #elif defined(NRF_NETWORK)
  1975. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  1976. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  1977. #endif
  1978. #endif
  1979. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  1980. #if defined (NRF_APPLICATION)\
  1981. || defined (NRF_NETWORK)
  1982. if (var1 == 0x07)
  1983. {
  1984. switch(var2)
  1985. {
  1986. case 0x02ul:
  1987. return true;
  1988. case 0x03ul:
  1989. return false;
  1990. default:
  1991. return false;
  1992. }
  1993. }
  1994. #endif
  1995. #endif
  1996. return false;
  1997. #endif
  1998. }
  1999. static bool nrf53_errata_75(void)
  2000. {
  2001. #ifndef NRF53_SERIES
  2002. return false;
  2003. #else
  2004. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2005. #if defined(NRF_APPLICATION)
  2006. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2007. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2008. #endif
  2009. #endif
  2010. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2011. #if defined (NRF_APPLICATION)
  2012. if (var1 == 0x07)
  2013. {
  2014. switch(var2)
  2015. {
  2016. case 0x02ul:
  2017. return true;
  2018. case 0x03ul:
  2019. return false;
  2020. default:
  2021. return false;
  2022. }
  2023. }
  2024. #endif
  2025. #endif
  2026. return false;
  2027. #endif
  2028. }
  2029. static bool nrf53_errata_76(void)
  2030. {
  2031. #ifndef NRF53_SERIES
  2032. return false;
  2033. #else
  2034. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2035. #if defined(NRF_APPLICATION)
  2036. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2037. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2038. #endif
  2039. #endif
  2040. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2041. #if defined (NRF_APPLICATION)
  2042. if (var1 == 0x07)
  2043. {
  2044. switch(var2)
  2045. {
  2046. case 0x02ul:
  2047. return true;
  2048. case 0x03ul:
  2049. return false;
  2050. default:
  2051. return false;
  2052. }
  2053. }
  2054. #endif
  2055. #endif
  2056. return false;
  2057. #endif
  2058. }
  2059. static bool nrf53_errata_77(void)
  2060. {
  2061. #ifndef NRF53_SERIES
  2062. return false;
  2063. #else
  2064. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2065. #if defined(NRF_APPLICATION)
  2066. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2067. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2068. #elif defined(NRF_NETWORK)
  2069. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2070. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2071. #endif
  2072. #endif
  2073. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2074. #if defined (NRF_APPLICATION)\
  2075. || defined (NRF_NETWORK)
  2076. if (var1 == 0x07)
  2077. {
  2078. switch(var2)
  2079. {
  2080. case 0x02ul:
  2081. return true;
  2082. case 0x03ul:
  2083. return false;
  2084. default:
  2085. return false;
  2086. }
  2087. }
  2088. #endif
  2089. #endif
  2090. return false;
  2091. #endif
  2092. }
  2093. static bool nrf53_errata_79(void)
  2094. {
  2095. #ifndef NRF53_SERIES
  2096. return false;
  2097. #else
  2098. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2099. #if defined(NRF_APPLICATION)
  2100. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2101. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2102. #endif
  2103. #endif
  2104. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2105. #if defined (NRF_APPLICATION)
  2106. if (var1 == 0x07)
  2107. {
  2108. switch(var2)
  2109. {
  2110. case 0x02ul:
  2111. return true;
  2112. case 0x03ul:
  2113. return false;
  2114. default:
  2115. return false;
  2116. }
  2117. }
  2118. #endif
  2119. #endif
  2120. return false;
  2121. #endif
  2122. }
  2123. static bool nrf53_errata_80(void)
  2124. {
  2125. #ifndef NRF53_SERIES
  2126. return false;
  2127. #else
  2128. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2129. #if defined(NRF_APPLICATION)
  2130. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2131. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2132. #endif
  2133. #endif
  2134. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2135. #if defined (NRF_APPLICATION)
  2136. if (var1 == 0x07)
  2137. {
  2138. switch(var2)
  2139. {
  2140. case 0x02ul:
  2141. return true;
  2142. case 0x03ul:
  2143. return false;
  2144. default:
  2145. return false;
  2146. }
  2147. }
  2148. #endif
  2149. #endif
  2150. return false;
  2151. #endif
  2152. }
  2153. static bool nrf53_errata_81(void)
  2154. {
  2155. #ifndef NRF53_SERIES
  2156. return false;
  2157. #else
  2158. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2159. #if defined(NRF_APPLICATION)
  2160. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2161. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2162. #endif
  2163. #endif
  2164. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2165. #if defined (NRF_APPLICATION)
  2166. if (var1 == 0x07)
  2167. {
  2168. switch(var2)
  2169. {
  2170. case 0x02ul:
  2171. return true;
  2172. case 0x03ul:
  2173. return false;
  2174. default:
  2175. return false;
  2176. }
  2177. }
  2178. #endif
  2179. #endif
  2180. return false;
  2181. #endif
  2182. }
  2183. static bool nrf53_errata_82(void)
  2184. {
  2185. #ifndef NRF53_SERIES
  2186. return false;
  2187. #else
  2188. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2189. #if defined(NRF_APPLICATION)
  2190. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2191. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2192. #endif
  2193. #endif
  2194. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2195. #if defined (NRF_APPLICATION)
  2196. if (var1 == 0x07)
  2197. {
  2198. switch(var2)
  2199. {
  2200. case 0x02ul:
  2201. return true;
  2202. case 0x03ul:
  2203. return false;
  2204. default:
  2205. return false;
  2206. }
  2207. }
  2208. #endif
  2209. #endif
  2210. return false;
  2211. #endif
  2212. }
  2213. static bool nrf53_errata_83(void)
  2214. {
  2215. #ifndef NRF53_SERIES
  2216. return false;
  2217. #else
  2218. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2219. #if defined(NRF_APPLICATION)
  2220. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2221. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2222. #endif
  2223. #endif
  2224. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2225. #if defined (NRF_APPLICATION)
  2226. if (var1 == 0x07)
  2227. {
  2228. switch(var2)
  2229. {
  2230. case 0x02ul:
  2231. return true;
  2232. case 0x03ul:
  2233. return false;
  2234. default:
  2235. return false;
  2236. }
  2237. }
  2238. #endif
  2239. #endif
  2240. return false;
  2241. #endif
  2242. }
  2243. static bool nrf53_errata_84(void)
  2244. {
  2245. #ifndef NRF53_SERIES
  2246. return false;
  2247. #else
  2248. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2249. #if defined(NRF_APPLICATION)
  2250. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2251. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2252. #endif
  2253. #endif
  2254. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2255. #if defined (NRF_APPLICATION)
  2256. if (var1 == 0x07)
  2257. {
  2258. switch(var2)
  2259. {
  2260. case 0x02ul:
  2261. return true;
  2262. case 0x03ul:
  2263. return false;
  2264. default:
  2265. return false;
  2266. }
  2267. }
  2268. #endif
  2269. #endif
  2270. return false;
  2271. #endif
  2272. }
  2273. static bool nrf53_errata_85(void)
  2274. {
  2275. #ifndef NRF53_SERIES
  2276. return false;
  2277. #else
  2278. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2279. #if defined(NRF_APPLICATION)
  2280. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2281. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2282. #endif
  2283. #endif
  2284. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2285. #if defined (NRF_APPLICATION)
  2286. if (var1 == 0x07)
  2287. {
  2288. switch(var2)
  2289. {
  2290. case 0x02ul:
  2291. return true;
  2292. case 0x03ul:
  2293. return false;
  2294. default:
  2295. return false;
  2296. }
  2297. }
  2298. #endif
  2299. #endif
  2300. return false;
  2301. #endif
  2302. }
  2303. static bool nrf53_errata_86(void)
  2304. {
  2305. #ifndef NRF53_SERIES
  2306. return false;
  2307. #else
  2308. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2309. #if defined(NRF_APPLICATION)
  2310. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2311. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2312. #elif defined(NRF_NETWORK)
  2313. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2314. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2315. #endif
  2316. #endif
  2317. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2318. #if defined (NRF_APPLICATION)\
  2319. || defined (NRF_NETWORK)
  2320. if (var1 == 0x07)
  2321. {
  2322. switch(var2)
  2323. {
  2324. case 0x02ul:
  2325. return true;
  2326. case 0x03ul:
  2327. return false;
  2328. default:
  2329. return false;
  2330. }
  2331. }
  2332. #endif
  2333. #endif
  2334. return false;
  2335. #endif
  2336. }
  2337. static bool nrf53_errata_87(void)
  2338. {
  2339. #ifndef NRF53_SERIES
  2340. return false;
  2341. #else
  2342. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2343. #if defined(NRF_NETWORK)
  2344. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2345. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2346. #endif
  2347. #endif
  2348. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2349. #if defined (NRF_NETWORK)
  2350. if (var1 == 0x07)
  2351. {
  2352. switch(var2)
  2353. {
  2354. case 0x02ul:
  2355. return true;
  2356. case 0x03ul:
  2357. return false;
  2358. default:
  2359. return false;
  2360. }
  2361. }
  2362. #endif
  2363. #endif
  2364. return false;
  2365. #endif
  2366. }
  2367. static bool nrf53_errata_90(void)
  2368. {
  2369. #ifndef NRF53_SERIES
  2370. return false;
  2371. #else
  2372. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2373. #if defined(NRF_APPLICATION)
  2374. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2375. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2376. #endif
  2377. #endif
  2378. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2379. #if defined (NRF_APPLICATION)
  2380. if (var1 == 0x07)
  2381. {
  2382. switch(var2)
  2383. {
  2384. case 0x02ul:
  2385. return true;
  2386. case 0x03ul:
  2387. return false;
  2388. default:
  2389. return false;
  2390. }
  2391. }
  2392. #endif
  2393. #endif
  2394. return false;
  2395. #endif
  2396. }
  2397. static bool nrf53_errata_91(void)
  2398. {
  2399. #ifndef NRF53_SERIES
  2400. return false;
  2401. #else
  2402. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2403. #if defined(NRF_NETWORK)
  2404. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2405. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2406. #endif
  2407. #endif
  2408. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2409. #if defined (NRF_NETWORK)
  2410. if (var1 == 0x07)
  2411. {
  2412. switch(var2)
  2413. {
  2414. case 0x02ul:
  2415. return true;
  2416. case 0x03ul:
  2417. return false;
  2418. default:
  2419. return false;
  2420. }
  2421. }
  2422. #endif
  2423. #endif
  2424. return false;
  2425. #endif
  2426. }
  2427. static bool nrf53_errata_93(void)
  2428. {
  2429. #ifndef NRF53_SERIES
  2430. return false;
  2431. #else
  2432. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2433. #if defined(NRF_NETWORK)
  2434. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2435. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2436. #endif
  2437. #endif
  2438. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2439. #if defined (NRF_NETWORK)
  2440. if (var1 == 0x07)
  2441. {
  2442. switch(var2)
  2443. {
  2444. case 0x02ul:
  2445. return true;
  2446. case 0x03ul:
  2447. return false;
  2448. default:
  2449. return false;
  2450. }
  2451. }
  2452. #endif
  2453. #endif
  2454. return false;
  2455. #endif
  2456. }
  2457. static bool nrf53_errata_95(void)
  2458. {
  2459. #ifndef NRF53_SERIES
  2460. return false;
  2461. #else
  2462. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2463. #if defined(NRF_NETWORK)
  2464. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2465. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2466. #endif
  2467. #endif
  2468. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2469. #if defined (NRF_NETWORK)
  2470. if (var1 == 0x07)
  2471. {
  2472. switch(var2)
  2473. {
  2474. case 0x02ul:
  2475. return true;
  2476. case 0x03ul:
  2477. return false;
  2478. default:
  2479. return false;
  2480. }
  2481. }
  2482. #endif
  2483. #endif
  2484. return false;
  2485. #endif
  2486. }
  2487. static bool nrf53_errata_97(void)
  2488. {
  2489. #ifndef NRF53_SERIES
  2490. return false;
  2491. #else
  2492. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2493. #if defined(NRF_APPLICATION)
  2494. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2495. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2496. #elif defined(NRF_NETWORK)
  2497. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2498. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2499. #endif
  2500. #endif
  2501. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2502. #if defined (NRF_APPLICATION)\
  2503. || defined (NRF_NETWORK)
  2504. if (var1 == 0x07)
  2505. {
  2506. switch(var2)
  2507. {
  2508. case 0x02ul:
  2509. return true;
  2510. case 0x03ul:
  2511. return false;
  2512. default:
  2513. return false;
  2514. }
  2515. }
  2516. #endif
  2517. #endif
  2518. return false;
  2519. #endif
  2520. }
  2521. static bool nrf53_errata_103(void)
  2522. {
  2523. #ifndef NRF53_SERIES
  2524. return false;
  2525. #else
  2526. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2527. #if defined(NRF_NETWORK)
  2528. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2529. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2530. #endif
  2531. #endif
  2532. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2533. #if defined (NRF_NETWORK)
  2534. if (var1 == 0x07)
  2535. {
  2536. switch(var2)
  2537. {
  2538. case 0x02ul:
  2539. return true;
  2540. case 0x03ul:
  2541. return false;
  2542. default:
  2543. return false;
  2544. }
  2545. }
  2546. #endif
  2547. #endif
  2548. return false;
  2549. #endif
  2550. }
  2551. static bool nrf53_errata_105(void)
  2552. {
  2553. #ifndef NRF53_SERIES
  2554. return false;
  2555. #else
  2556. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2557. #if defined(NRF_APPLICATION)
  2558. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2559. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2560. #endif
  2561. #endif
  2562. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2563. #if defined (NRF_APPLICATION)
  2564. if (var1 == 0x07)
  2565. {
  2566. switch(var2)
  2567. {
  2568. case 0x02ul:
  2569. return true;
  2570. case 0x03ul:
  2571. return false;
  2572. default:
  2573. return false;
  2574. }
  2575. }
  2576. #endif
  2577. #endif
  2578. return false;
  2579. #endif
  2580. }
  2581. static bool nrf53_errata_106(void)
  2582. {
  2583. #ifndef NRF53_SERIES
  2584. return false;
  2585. #else
  2586. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2587. #if defined(NRF_APPLICATION)
  2588. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2589. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2590. #endif
  2591. #endif
  2592. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2593. #if defined (NRF_APPLICATION)
  2594. if (var1 == 0x07)
  2595. {
  2596. switch(var2)
  2597. {
  2598. case 0x02ul:
  2599. return true;
  2600. case 0x03ul:
  2601. return false;
  2602. default:
  2603. return false;
  2604. }
  2605. }
  2606. #endif
  2607. #endif
  2608. return false;
  2609. #endif
  2610. }
  2611. static bool nrf53_errata_109(void)
  2612. {
  2613. #ifndef NRF53_SERIES
  2614. return false;
  2615. #else
  2616. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2617. #if defined(NRF_APPLICATION)
  2618. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2619. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2620. #endif
  2621. #endif
  2622. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2623. #if defined (NRF_APPLICATION)
  2624. if (var1 == 0x07)
  2625. {
  2626. switch(var2)
  2627. {
  2628. case 0x02ul:
  2629. return true;
  2630. case 0x03ul:
  2631. return false;
  2632. default:
  2633. return false;
  2634. }
  2635. }
  2636. #endif
  2637. #endif
  2638. return false;
  2639. #endif
  2640. }
  2641. static bool nrf53_errata_110(void)
  2642. {
  2643. #ifndef NRF53_SERIES
  2644. return false;
  2645. #else
  2646. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2647. #if defined(NRF_APPLICATION)
  2648. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2649. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2650. #endif
  2651. #endif
  2652. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2653. #if defined (NRF_APPLICATION)
  2654. if (var1 == 0x07)
  2655. {
  2656. switch(var2)
  2657. {
  2658. case 0x02ul:
  2659. return true;
  2660. case 0x03ul:
  2661. return false;
  2662. default:
  2663. return false;
  2664. }
  2665. }
  2666. #endif
  2667. #endif
  2668. return false;
  2669. #endif
  2670. }
  2671. static bool nrf53_errata_113(void)
  2672. {
  2673. #ifndef NRF53_SERIES
  2674. return false;
  2675. #else
  2676. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2677. #if defined(NRF_NETWORK)
  2678. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2679. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2680. #endif
  2681. #endif
  2682. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2683. #if defined (NRF_NETWORK)
  2684. if (var1 == 0x07)
  2685. {
  2686. switch(var2)
  2687. {
  2688. case 0x02ul:
  2689. return true;
  2690. case 0x03ul:
  2691. return false;
  2692. default:
  2693. return false;
  2694. }
  2695. }
  2696. #endif
  2697. #endif
  2698. return false;
  2699. #endif
  2700. }
  2701. static bool nrf53_errata_114(void)
  2702. {
  2703. #ifndef NRF53_SERIES
  2704. return false;
  2705. #else
  2706. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2707. #if defined(NRF_NETWORK)
  2708. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2709. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2710. #endif
  2711. #endif
  2712. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2713. #if defined (NRF_NETWORK)
  2714. if (var1 == 0x07)
  2715. {
  2716. switch(var2)
  2717. {
  2718. case 0x02ul:
  2719. return true;
  2720. case 0x03ul:
  2721. return false;
  2722. default:
  2723. return false;
  2724. }
  2725. }
  2726. #endif
  2727. #endif
  2728. return false;
  2729. #endif
  2730. }
  2731. static bool nrf53_errata_115(void)
  2732. {
  2733. #ifndef NRF53_SERIES
  2734. return false;
  2735. #else
  2736. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2737. #if defined(NRF_APPLICATION)
  2738. uint32_t var1 = *(uint32_t *)0x00FF0130ul;
  2739. uint32_t var2 = *(uint32_t *)0x00FF0134ul;
  2740. #endif
  2741. #endif
  2742. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2743. #if defined (NRF_APPLICATION)
  2744. if (var1 == 0x07)
  2745. {
  2746. switch(var2)
  2747. {
  2748. case 0x02ul:
  2749. return true;
  2750. case 0x03ul:
  2751. return false;
  2752. default:
  2753. return false;
  2754. }
  2755. }
  2756. #endif
  2757. #endif
  2758. return false;
  2759. #endif
  2760. }
  2761. static bool nrf53_errata_116(void)
  2762. {
  2763. #ifndef NRF53_SERIES
  2764. return false;
  2765. #else
  2766. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2767. #if defined(NRF_NETWORK)
  2768. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2769. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2770. #endif
  2771. #endif
  2772. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2773. #if defined (NRF_NETWORK)
  2774. if (var1 == 0x07)
  2775. {
  2776. switch(var2)
  2777. {
  2778. case 0x02ul:
  2779. return true;
  2780. case 0x03ul:
  2781. return false;
  2782. default:
  2783. return false;
  2784. }
  2785. }
  2786. #endif
  2787. #endif
  2788. return false;
  2789. #endif
  2790. }
  2791. static bool nrf53_errata_119(void)
  2792. {
  2793. #ifndef NRF53_SERIES
  2794. return false;
  2795. #else
  2796. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2797. #if defined(NRF_NETWORK)
  2798. uint32_t var1 = *(uint32_t *)0x01FF0130ul;
  2799. uint32_t var2 = *(uint32_t *)0x01FF0134ul;
  2800. #endif
  2801. #endif
  2802. #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
  2803. #if defined (NRF_NETWORK)
  2804. if (var1 == 0x07)
  2805. {
  2806. switch(var2)
  2807. {
  2808. case 0x02ul:
  2809. return true;
  2810. case 0x03ul:
  2811. return false;
  2812. default:
  2813. return false;
  2814. }
  2815. }
  2816. #endif
  2817. #endif
  2818. return false;
  2819. #endif
  2820. }
  2821. #endif /* NRF53_ERRATAS_H */