esp_efuse_table.c 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064
  1. /*
  2. * SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "sdkconfig.h"
  7. #include "esp_efuse.h"
  8. #include <assert.h>
  9. #include "esp_efuse_table.h"
  10. // md5_digest_table e0674ff40a1e124670c6eecf33410e76
  11. // This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY.
  12. // If you want to change some fields, you need to change esp_efuse_table.csv file
  13. // then run `efuse_common_table` or `efuse_custom_table` command it will generate this file.
  14. // To show efuse_table run the command 'show_efuse_table'.
  15. static const esp_efuse_desc_t WR_DIS[] = {
  16. {EFUSE_BLK0, 0, 32}, // [] Disable programming of individual eFuses,
  17. };
  18. static const esp_efuse_desc_t WR_DIS_RD_DIS[] = {
  19. {EFUSE_BLK0, 0, 1}, // [] wr_dis of RD_DIS,
  20. };
  21. static const esp_efuse_desc_t WR_DIS_DIS_ICACHE[] = {
  22. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_ICACHE,
  23. };
  24. static const esp_efuse_desc_t WR_DIS_DIS_DCACHE[] = {
  25. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DCACHE,
  26. };
  27. static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_ICACHE[] = {
  28. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_ICACHE,
  29. };
  30. static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_DCACHE[] = {
  31. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_DCACHE,
  32. };
  33. static const esp_efuse_desc_t WR_DIS_DIS_FORCE_DOWNLOAD[] = {
  34. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_FORCE_DOWNLOAD,
  35. };
  36. static const esp_efuse_desc_t WR_DIS_DIS_USB_OTG[] = {
  37. {EFUSE_BLK0, 2, 1}, // [WR_DIS.DIS_USB] wr_dis of DIS_USB_OTG,
  38. };
  39. static const esp_efuse_desc_t WR_DIS_DIS_TWAI[] = {
  40. {EFUSE_BLK0, 2, 1}, // [WR_DIS.DIS_CAN] wr_dis of DIS_TWAI,
  41. };
  42. static const esp_efuse_desc_t WR_DIS_DIS_APP_CPU[] = {
  43. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_APP_CPU,
  44. };
  45. static const esp_efuse_desc_t WR_DIS_DIS_PAD_JTAG[] = {
  46. {EFUSE_BLK0, 2, 1}, // [WR_DIS.HARD_DIS_JTAG] wr_dis of DIS_PAD_JTAG,
  47. };
  48. static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  49. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_MANUAL_ENCRYPT,
  50. };
  51. static const esp_efuse_desc_t WR_DIS_DIS_USB_JTAG[] = {
  52. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_USB_JTAG,
  53. };
  54. static const esp_efuse_desc_t WR_DIS_DIS_USB_SERIAL_JTAG[] = {
  55. {EFUSE_BLK0, 2, 1}, // [WR_DIS.DIS_USB_DEVICE] wr_dis of DIS_USB_SERIAL_JTAG,
  56. };
  57. static const esp_efuse_desc_t WR_DIS_STRAP_JTAG_SEL[] = {
  58. {EFUSE_BLK0, 2, 1}, // [] wr_dis of STRAP_JTAG_SEL,
  59. };
  60. static const esp_efuse_desc_t WR_DIS_USB_PHY_SEL[] = {
  61. {EFUSE_BLK0, 2, 1}, // [] wr_dis of USB_PHY_SEL,
  62. };
  63. static const esp_efuse_desc_t WR_DIS_VDD_SPI_XPD[] = {
  64. {EFUSE_BLK0, 3, 1}, // [] wr_dis of VDD_SPI_XPD,
  65. };
  66. static const esp_efuse_desc_t WR_DIS_VDD_SPI_TIEH[] = {
  67. {EFUSE_BLK0, 3, 1}, // [] wr_dis of VDD_SPI_TIEH,
  68. };
  69. static const esp_efuse_desc_t WR_DIS_VDD_SPI_FORCE[] = {
  70. {EFUSE_BLK0, 3, 1}, // [] wr_dis of VDD_SPI_FORCE,
  71. };
  72. static const esp_efuse_desc_t WR_DIS_WDT_DELAY_SEL[] = {
  73. {EFUSE_BLK0, 3, 1}, // [] wr_dis of WDT_DELAY_SEL,
  74. };
  75. static const esp_efuse_desc_t WR_DIS_SPI_BOOT_CRYPT_CNT[] = {
  76. {EFUSE_BLK0, 4, 1}, // [] wr_dis of SPI_BOOT_CRYPT_CNT,
  77. };
  78. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE0[] = {
  79. {EFUSE_BLK0, 5, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE0,
  80. };
  81. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE1[] = {
  82. {EFUSE_BLK0, 6, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE1,
  83. };
  84. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE2[] = {
  85. {EFUSE_BLK0, 7, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE2,
  86. };
  87. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_0[] = {
  88. {EFUSE_BLK0, 8, 1}, // [WR_DIS.KEY0_PURPOSE] wr_dis of KEY_PURPOSE_0,
  89. };
  90. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_1[] = {
  91. {EFUSE_BLK0, 9, 1}, // [WR_DIS.KEY1_PURPOSE] wr_dis of KEY_PURPOSE_1,
  92. };
  93. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_2[] = {
  94. {EFUSE_BLK0, 10, 1}, // [WR_DIS.KEY2_PURPOSE] wr_dis of KEY_PURPOSE_2,
  95. };
  96. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_3[] = {
  97. {EFUSE_BLK0, 11, 1}, // [WR_DIS.KEY3_PURPOSE] wr_dis of KEY_PURPOSE_3,
  98. };
  99. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_4[] = {
  100. {EFUSE_BLK0, 12, 1}, // [WR_DIS.KEY4_PURPOSE] wr_dis of KEY_PURPOSE_4,
  101. };
  102. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_5[] = {
  103. {EFUSE_BLK0, 13, 1}, // [WR_DIS.KEY5_PURPOSE] wr_dis of KEY_PURPOSE_5,
  104. };
  105. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_EN[] = {
  106. {EFUSE_BLK0, 15, 1}, // [] wr_dis of SECURE_BOOT_EN,
  107. };
  108. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  109. {EFUSE_BLK0, 16, 1}, // [] wr_dis of SECURE_BOOT_AGGRESSIVE_REVOKE,
  110. };
  111. static const esp_efuse_desc_t WR_DIS_FLASH_TPUW[] = {
  112. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_TPUW,
  113. };
  114. static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_MODE[] = {
  115. {EFUSE_BLK0, 18, 1}, // [] wr_dis of DIS_DOWNLOAD_MODE,
  116. };
  117. static const esp_efuse_desc_t WR_DIS_DIS_DIRECT_BOOT[] = {
  118. {EFUSE_BLK0, 18, 1}, // [WR_DIS.DIS_LEGACY_SPI_BOOT] wr_dis of DIS_DIRECT_BOOT,
  119. };
  120. static const esp_efuse_desc_t WR_DIS_DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  121. {EFUSE_BLK0, 18, 1}, // [WR_DIS.UART_PRINT_CHANNEL] wr_dis of DIS_USB_SERIAL_JTAG_ROM_PRINT,
  122. };
  123. static const esp_efuse_desc_t WR_DIS_FLASH_ECC_MODE[] = {
  124. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_ECC_MODE,
  125. };
  126. static const esp_efuse_desc_t WR_DIS_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  127. {EFUSE_BLK0, 18, 1}, // [WR_DIS.DIS_USB_DOWNLOAD_MODE] wr_dis of DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE,
  128. };
  129. static const esp_efuse_desc_t WR_DIS_ENABLE_SECURITY_DOWNLOAD[] = {
  130. {EFUSE_BLK0, 18, 1}, // [] wr_dis of ENABLE_SECURITY_DOWNLOAD,
  131. };
  132. static const esp_efuse_desc_t WR_DIS_UART_PRINT_CONTROL[] = {
  133. {EFUSE_BLK0, 18, 1}, // [] wr_dis of UART_PRINT_CONTROL,
  134. };
  135. static const esp_efuse_desc_t WR_DIS_PIN_POWER_SELECTION[] = {
  136. {EFUSE_BLK0, 18, 1}, // [] wr_dis of PIN_POWER_SELECTION,
  137. };
  138. static const esp_efuse_desc_t WR_DIS_FLASH_TYPE[] = {
  139. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_TYPE,
  140. };
  141. static const esp_efuse_desc_t WR_DIS_FLASH_PAGE_SIZE[] = {
  142. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_PAGE_SIZE,
  143. };
  144. static const esp_efuse_desc_t WR_DIS_FLASH_ECC_EN[] = {
  145. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_ECC_EN,
  146. };
  147. static const esp_efuse_desc_t WR_DIS_FORCE_SEND_RESUME[] = {
  148. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FORCE_SEND_RESUME,
  149. };
  150. static const esp_efuse_desc_t WR_DIS_SECURE_VERSION[] = {
  151. {EFUSE_BLK0, 18, 1}, // [] wr_dis of SECURE_VERSION,
  152. };
  153. static const esp_efuse_desc_t WR_DIS_DIS_USB_OTG_DOWNLOAD_MODE[] = {
  154. {EFUSE_BLK0, 19, 1}, // [] wr_dis of DIS_USB_OTG_DOWNLOAD_MODE,
  155. };
  156. static const esp_efuse_desc_t WR_DIS_DISABLE_WAFER_VERSION_MAJOR[] = {
  157. {EFUSE_BLK0, 19, 1}, // [] wr_dis of DISABLE_WAFER_VERSION_MAJOR,
  158. };
  159. static const esp_efuse_desc_t WR_DIS_DISABLE_BLK_VERSION_MAJOR[] = {
  160. {EFUSE_BLK0, 19, 1}, // [] wr_dis of DISABLE_BLK_VERSION_MAJOR,
  161. };
  162. static const esp_efuse_desc_t WR_DIS_BLK1[] = {
  163. {EFUSE_BLK0, 20, 1}, // [] wr_dis of BLOCK1,
  164. };
  165. static const esp_efuse_desc_t WR_DIS_MAC[] = {
  166. {EFUSE_BLK0, 20, 1}, // [WR_DIS.MAC_FACTORY] wr_dis of MAC,
  167. };
  168. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_CLK[] = {
  169. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_CLK,
  170. };
  171. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_Q[] = {
  172. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_Q,
  173. };
  174. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D[] = {
  175. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D,
  176. };
  177. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_CS[] = {
  178. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_CS,
  179. };
  180. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_HD[] = {
  181. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_HD,
  182. };
  183. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_WP[] = {
  184. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_WP,
  185. };
  186. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_DQS[] = {
  187. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_DQS,
  188. };
  189. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D4[] = {
  190. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D4,
  191. };
  192. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D5[] = {
  193. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D5,
  194. };
  195. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D6[] = {
  196. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D6,
  197. };
  198. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D7[] = {
  199. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D7,
  200. };
  201. static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR_LO[] = {
  202. {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR_LO,
  203. };
  204. static const esp_efuse_desc_t WR_DIS_PKG_VERSION[] = {
  205. {EFUSE_BLK0, 20, 1}, // [] wr_dis of PKG_VERSION,
  206. };
  207. static const esp_efuse_desc_t WR_DIS_BLK_VERSION_MINOR[] = {
  208. {EFUSE_BLK0, 20, 1}, // [] wr_dis of BLK_VERSION_MINOR,
  209. };
  210. static const esp_efuse_desc_t WR_DIS_FLASH_CAP[] = {
  211. {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_CAP,
  212. };
  213. static const esp_efuse_desc_t WR_DIS_FLASH_TEMP[] = {
  214. {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_TEMP,
  215. };
  216. static const esp_efuse_desc_t WR_DIS_FLASH_VENDOR[] = {
  217. {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_VENDOR,
  218. };
  219. static const esp_efuse_desc_t WR_DIS_PSRAM_CAP[] = {
  220. {EFUSE_BLK0, 20, 1}, // [] wr_dis of PSRAM_CAP,
  221. };
  222. static const esp_efuse_desc_t WR_DIS_PSRAM_TEMP[] = {
  223. {EFUSE_BLK0, 20, 1}, // [] wr_dis of PSRAM_TEMP,
  224. };
  225. static const esp_efuse_desc_t WR_DIS_PSRAM_VENDOR[] = {
  226. {EFUSE_BLK0, 20, 1}, // [] wr_dis of PSRAM_VENDOR,
  227. };
  228. static const esp_efuse_desc_t WR_DIS_K_RTC_LDO[] = {
  229. {EFUSE_BLK0, 20, 1}, // [] wr_dis of K_RTC_LDO,
  230. };
  231. static const esp_efuse_desc_t WR_DIS_K_DIG_LDO[] = {
  232. {EFUSE_BLK0, 20, 1}, // [] wr_dis of K_DIG_LDO,
  233. };
  234. static const esp_efuse_desc_t WR_DIS_V_RTC_DBIAS20[] = {
  235. {EFUSE_BLK0, 20, 1}, // [] wr_dis of V_RTC_DBIAS20,
  236. };
  237. static const esp_efuse_desc_t WR_DIS_V_DIG_DBIAS20[] = {
  238. {EFUSE_BLK0, 20, 1}, // [] wr_dis of V_DIG_DBIAS20,
  239. };
  240. static const esp_efuse_desc_t WR_DIS_DIG_DBIAS_HVT[] = {
  241. {EFUSE_BLK0, 20, 1}, // [] wr_dis of DIG_DBIAS_HVT,
  242. };
  243. static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR_HI[] = {
  244. {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR_HI,
  245. };
  246. static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MAJOR[] = {
  247. {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MAJOR,
  248. };
  249. static const esp_efuse_desc_t WR_DIS_ADC2_CAL_VOL_ATTEN3[] = {
  250. {EFUSE_BLK0, 20, 1}, // [] wr_dis of ADC2_CAL_VOL_ATTEN3,
  251. };
  252. static const esp_efuse_desc_t WR_DIS_SYS_DATA_PART1[] = {
  253. {EFUSE_BLK0, 21, 1}, // [] wr_dis of BLOCK2,
  254. };
  255. static const esp_efuse_desc_t WR_DIS_OPTIONAL_UNIQUE_ID[] = {
  256. {EFUSE_BLK0, 21, 1}, // [] wr_dis of OPTIONAL_UNIQUE_ID,
  257. };
  258. static const esp_efuse_desc_t WR_DIS_BLK_VERSION_MAJOR[] = {
  259. {EFUSE_BLK0, 21, 1}, // [] wr_dis of BLK_VERSION_MAJOR,
  260. };
  261. static const esp_efuse_desc_t WR_DIS_TEMP_CALIB[] = {
  262. {EFUSE_BLK0, 21, 1}, // [] wr_dis of TEMP_CALIB,
  263. };
  264. static const esp_efuse_desc_t WR_DIS_OCODE[] = {
  265. {EFUSE_BLK0, 21, 1}, // [] wr_dis of OCODE,
  266. };
  267. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN0[] = {
  268. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN0,
  269. };
  270. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN1[] = {
  271. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN1,
  272. };
  273. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN2[] = {
  274. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN2,
  275. };
  276. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN3[] = {
  277. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN3,
  278. };
  279. static const esp_efuse_desc_t WR_DIS_ADC2_INIT_CODE_ATTEN0[] = {
  280. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_INIT_CODE_ATTEN0,
  281. };
  282. static const esp_efuse_desc_t WR_DIS_ADC2_INIT_CODE_ATTEN1[] = {
  283. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_INIT_CODE_ATTEN1,
  284. };
  285. static const esp_efuse_desc_t WR_DIS_ADC2_INIT_CODE_ATTEN2[] = {
  286. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_INIT_CODE_ATTEN2,
  287. };
  288. static const esp_efuse_desc_t WR_DIS_ADC2_INIT_CODE_ATTEN3[] = {
  289. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_INIT_CODE_ATTEN3,
  290. };
  291. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN0[] = {
  292. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN0,
  293. };
  294. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN1[] = {
  295. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN1,
  296. };
  297. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN2[] = {
  298. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN2,
  299. };
  300. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN3[] = {
  301. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN3,
  302. };
  303. static const esp_efuse_desc_t WR_DIS_ADC2_CAL_VOL_ATTEN0[] = {
  304. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_CAL_VOL_ATTEN0,
  305. };
  306. static const esp_efuse_desc_t WR_DIS_ADC2_CAL_VOL_ATTEN1[] = {
  307. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_CAL_VOL_ATTEN1,
  308. };
  309. static const esp_efuse_desc_t WR_DIS_ADC2_CAL_VOL_ATTEN2[] = {
  310. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC2_CAL_VOL_ATTEN2,
  311. };
  312. static const esp_efuse_desc_t WR_DIS_BLOCK_USR_DATA[] = {
  313. {EFUSE_BLK0, 22, 1}, // [WR_DIS.USER_DATA] wr_dis of BLOCK_USR_DATA,
  314. };
  315. static const esp_efuse_desc_t WR_DIS_CUSTOM_MAC[] = {
  316. {EFUSE_BLK0, 22, 1}, // [WR_DIS.MAC_CUSTOM WR_DIS.USER_DATA_MAC_CUSTOM] wr_dis of CUSTOM_MAC,
  317. };
  318. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY0[] = {
  319. {EFUSE_BLK0, 23, 1}, // [WR_DIS.KEY0] wr_dis of BLOCK_KEY0,
  320. };
  321. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY1[] = {
  322. {EFUSE_BLK0, 24, 1}, // [WR_DIS.KEY1] wr_dis of BLOCK_KEY1,
  323. };
  324. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY2[] = {
  325. {EFUSE_BLK0, 25, 1}, // [WR_DIS.KEY2] wr_dis of BLOCK_KEY2,
  326. };
  327. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY3[] = {
  328. {EFUSE_BLK0, 26, 1}, // [WR_DIS.KEY3] wr_dis of BLOCK_KEY3,
  329. };
  330. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY4[] = {
  331. {EFUSE_BLK0, 27, 1}, // [WR_DIS.KEY4] wr_dis of BLOCK_KEY4,
  332. };
  333. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY5[] = {
  334. {EFUSE_BLK0, 28, 1}, // [WR_DIS.KEY5] wr_dis of BLOCK_KEY5,
  335. };
  336. static const esp_efuse_desc_t WR_DIS_BLOCK_SYS_DATA2[] = {
  337. {EFUSE_BLK0, 29, 1}, // [WR_DIS.SYS_DATA_PART2] wr_dis of BLOCK_SYS_DATA2,
  338. };
  339. static const esp_efuse_desc_t WR_DIS_USB_EXCHG_PINS[] = {
  340. {EFUSE_BLK0, 30, 1}, // [] wr_dis of USB_EXCHG_PINS,
  341. };
  342. static const esp_efuse_desc_t WR_DIS_USB_EXT_PHY_ENABLE[] = {
  343. {EFUSE_BLK0, 30, 1}, // [WR_DIS.EXT_PHY_ENABLE] wr_dis of USB_EXT_PHY_ENABLE,
  344. };
  345. static const esp_efuse_desc_t WR_DIS_SOFT_DIS_JTAG[] = {
  346. {EFUSE_BLK0, 31, 1}, // [] wr_dis of SOFT_DIS_JTAG,
  347. };
  348. static const esp_efuse_desc_t RD_DIS[] = {
  349. {EFUSE_BLK0, 32, 7}, // [] Disable reading from BlOCK4-10,
  350. };
  351. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY0[] = {
  352. {EFUSE_BLK0, 32, 1}, // [RD_DIS.KEY0] rd_dis of BLOCK_KEY0,
  353. };
  354. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY1[] = {
  355. {EFUSE_BLK0, 33, 1}, // [RD_DIS.KEY1] rd_dis of BLOCK_KEY1,
  356. };
  357. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY2[] = {
  358. {EFUSE_BLK0, 34, 1}, // [RD_DIS.KEY2] rd_dis of BLOCK_KEY2,
  359. };
  360. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY3[] = {
  361. {EFUSE_BLK0, 35, 1}, // [RD_DIS.KEY3] rd_dis of BLOCK_KEY3,
  362. };
  363. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY4[] = {
  364. {EFUSE_BLK0, 36, 1}, // [RD_DIS.KEY4] rd_dis of BLOCK_KEY4,
  365. };
  366. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY5[] = {
  367. {EFUSE_BLK0, 37, 1}, // [RD_DIS.KEY5] rd_dis of BLOCK_KEY5,
  368. };
  369. static const esp_efuse_desc_t RD_DIS_BLOCK_SYS_DATA2[] = {
  370. {EFUSE_BLK0, 38, 1}, // [RD_DIS.SYS_DATA_PART2] rd_dis of BLOCK_SYS_DATA2,
  371. };
  372. static const esp_efuse_desc_t DIS_ICACHE[] = {
  373. {EFUSE_BLK0, 40, 1}, // [] Set this bit to disable Icache,
  374. };
  375. static const esp_efuse_desc_t DIS_DCACHE[] = {
  376. {EFUSE_BLK0, 41, 1}, // [] Set this bit to disable Dcache,
  377. };
  378. static const esp_efuse_desc_t DIS_DOWNLOAD_ICACHE[] = {
  379. {EFUSE_BLK0, 42, 1}, // [] Set this bit to disable Icache in download mode (boot_mode[3:0] is 0; 1; 2; 3; 6; 7),
  380. };
  381. static const esp_efuse_desc_t DIS_DOWNLOAD_DCACHE[] = {
  382. {EFUSE_BLK0, 43, 1}, // [] Set this bit to disable Dcache in download mode ( boot_mode[3:0] is 0; 1; 2; 3; 6; 7),
  383. };
  384. static const esp_efuse_desc_t DIS_FORCE_DOWNLOAD[] = {
  385. {EFUSE_BLK0, 44, 1}, // [] Set this bit to disable the function that forces chip into download mode,
  386. };
  387. static const esp_efuse_desc_t DIS_USB_OTG[] = {
  388. {EFUSE_BLK0, 45, 1}, // [DIS_USB] Set this bit to disable USB function,
  389. };
  390. static const esp_efuse_desc_t DIS_TWAI[] = {
  391. {EFUSE_BLK0, 46, 1}, // [DIS_CAN] Set this bit to disable CAN function,
  392. };
  393. static const esp_efuse_desc_t DIS_APP_CPU[] = {
  394. {EFUSE_BLK0, 47, 1}, // [] Disable app cpu,
  395. };
  396. static const esp_efuse_desc_t SOFT_DIS_JTAG[] = {
  397. {EFUSE_BLK0, 48, 3}, // [] Set these bits to disable JTAG in the soft way (odd number 1 means disable ). JTAG can be enabled in HMAC module,
  398. };
  399. static const esp_efuse_desc_t DIS_PAD_JTAG[] = {
  400. {EFUSE_BLK0, 51, 1}, // [HARD_DIS_JTAG] Set this bit to disable JTAG in the hard way. JTAG is disabled permanently,
  401. };
  402. static const esp_efuse_desc_t DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  403. {EFUSE_BLK0, 52, 1}, // [] Set this bit to disable flash encryption when in download boot modes,
  404. };
  405. static const esp_efuse_desc_t USB_EXCHG_PINS[] = {
  406. {EFUSE_BLK0, 57, 1}, // [] Set this bit to exchange USB D+ and D- pins,
  407. };
  408. static const esp_efuse_desc_t USB_EXT_PHY_ENABLE[] = {
  409. {EFUSE_BLK0, 58, 1}, // [EXT_PHY_ENABLE] Set this bit to enable external PHY,
  410. };
  411. static const esp_efuse_desc_t VDD_SPI_XPD[] = {
  412. {EFUSE_BLK0, 68, 1}, // [] SPI regulator power up signal,
  413. };
  414. static const esp_efuse_desc_t VDD_SPI_TIEH[] = {
  415. {EFUSE_BLK0, 69, 1}, // [] If VDD_SPI_FORCE is 1; determines VDD_SPI voltage {0: "VDD_SPI connects to 1.8 V LDO"; 1: "VDD_SPI connects to VDD3P3_RTC_IO"},
  416. };
  417. static const esp_efuse_desc_t VDD_SPI_FORCE[] = {
  418. {EFUSE_BLK0, 70, 1}, // [] Set this bit and force to use the configuration of eFuse to configure VDD_SPI,
  419. };
  420. static const esp_efuse_desc_t WDT_DELAY_SEL[] = {
  421. {EFUSE_BLK0, 80, 2}, // [] RTC watchdog timeout threshold; in unit of slow clock cycle {0: "40000"; 1: "80000"; 2: "160000"; 3: "320000"},
  422. };
  423. static const esp_efuse_desc_t SPI_BOOT_CRYPT_CNT[] = {
  424. {EFUSE_BLK0, 82, 3}, // [] Enables flash encryption when 1 or 3 bits are set and disabled otherwise {0: "Disable"; 1: "Enable"; 3: "Disable"; 7: "Enable"},
  425. };
  426. static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE0[] = {
  427. {EFUSE_BLK0, 85, 1}, // [] Revoke 1st secure boot key,
  428. };
  429. static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE1[] = {
  430. {EFUSE_BLK0, 86, 1}, // [] Revoke 2nd secure boot key,
  431. };
  432. static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE2[] = {
  433. {EFUSE_BLK0, 87, 1}, // [] Revoke 3rd secure boot key,
  434. };
  435. static const esp_efuse_desc_t KEY_PURPOSE_0[] = {
  436. {EFUSE_BLK0, 88, 4}, // [KEY0_PURPOSE] Purpose of Key0,
  437. };
  438. static const esp_efuse_desc_t KEY_PURPOSE_1[] = {
  439. {EFUSE_BLK0, 92, 4}, // [KEY1_PURPOSE] Purpose of Key1,
  440. };
  441. static const esp_efuse_desc_t KEY_PURPOSE_2[] = {
  442. {EFUSE_BLK0, 96, 4}, // [KEY2_PURPOSE] Purpose of Key2,
  443. };
  444. static const esp_efuse_desc_t KEY_PURPOSE_3[] = {
  445. {EFUSE_BLK0, 100, 4}, // [KEY3_PURPOSE] Purpose of Key3,
  446. };
  447. static const esp_efuse_desc_t KEY_PURPOSE_4[] = {
  448. {EFUSE_BLK0, 104, 4}, // [KEY4_PURPOSE] Purpose of Key4,
  449. };
  450. static const esp_efuse_desc_t KEY_PURPOSE_5[] = {
  451. {EFUSE_BLK0, 108, 4}, // [KEY5_PURPOSE] Purpose of Key5,
  452. };
  453. static const esp_efuse_desc_t SECURE_BOOT_EN[] = {
  454. {EFUSE_BLK0, 116, 1}, // [] Set this bit to enable secure boot,
  455. };
  456. static const esp_efuse_desc_t SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  457. {EFUSE_BLK0, 117, 1}, // [] Set this bit to enable revoking aggressive secure boot,
  458. };
  459. static const esp_efuse_desc_t DIS_USB_JTAG[] = {
  460. {EFUSE_BLK0, 118, 1}, // [] Set this bit to disable function of usb switch to jtag in module of usb device,
  461. };
  462. static const esp_efuse_desc_t DIS_USB_SERIAL_JTAG[] = {
  463. {EFUSE_BLK0, 119, 1}, // [DIS_USB_DEVICE] Set this bit to disable usb device,
  464. };
  465. static const esp_efuse_desc_t STRAP_JTAG_SEL[] = {
  466. {EFUSE_BLK0, 120, 1}, // [] Set this bit to enable selection between usb_to_jtag and pad_to_jtag through strapping gpio10 when both reg_dis_usb_jtag and reg_dis_pad_jtag are equal to 0,
  467. };
  468. static const esp_efuse_desc_t USB_PHY_SEL[] = {
  469. {EFUSE_BLK0, 121, 1}, // [] This bit is used to switch internal PHY and external PHY for USB OTG and USB Device {0: "internal PHY is assigned to USB Device while external PHY is assigned to USB OTG"; 1: "internal PHY is assigned to USB OTG while external PHY is assigned to USB Device"},
  470. };
  471. static const esp_efuse_desc_t FLASH_TPUW[] = {
  472. {EFUSE_BLK0, 124, 4}, // [] Configures flash waiting time after power-up; in unit of ms. If the value is less than 15; the waiting time is the configurable value. Otherwise; the waiting time is twice the configurable value,
  473. };
  474. static const esp_efuse_desc_t DIS_DOWNLOAD_MODE[] = {
  475. {EFUSE_BLK0, 128, 1}, // [] Set this bit to disable download mode (boot_mode[3:0] = 0; 1; 2; 3; 6; 7),
  476. };
  477. static const esp_efuse_desc_t DIS_DIRECT_BOOT[] = {
  478. {EFUSE_BLK0, 129, 1}, // [DIS_LEGACY_SPI_BOOT] Disable direct boot mode,
  479. };
  480. static const esp_efuse_desc_t DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  481. {EFUSE_BLK0, 130, 1}, // [UART_PRINT_CHANNEL] USB printing {0: "Enable"; 1: "Disable"},
  482. };
  483. static const esp_efuse_desc_t FLASH_ECC_MODE[] = {
  484. {EFUSE_BLK0, 131, 1}, // [] Flash ECC mode in ROM {0: "16to18 byte"; 1: "16to17 byte"},
  485. };
  486. static const esp_efuse_desc_t DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  487. {EFUSE_BLK0, 132, 1}, // [DIS_USB_DOWNLOAD_MODE] Set this bit to disable UART download mode through USB,
  488. };
  489. static const esp_efuse_desc_t ENABLE_SECURITY_DOWNLOAD[] = {
  490. {EFUSE_BLK0, 133, 1}, // [] Set this bit to enable secure UART download mode,
  491. };
  492. static const esp_efuse_desc_t UART_PRINT_CONTROL[] = {
  493. {EFUSE_BLK0, 134, 2}, // [] Set the default UART boot message output mode {0: "Enable"; 1: "Enable when GPIO46 is low at reset"; 2: "Enable when GPIO46 is high at reset"; 3: "Disable"},
  494. };
  495. static const esp_efuse_desc_t PIN_POWER_SELECTION[] = {
  496. {EFUSE_BLK0, 136, 1}, // [] Set default power supply for GPIO33-GPIO37; set when SPI flash is initialized {0: "VDD3P3_CPU"; 1: "VDD_SPI"},
  497. };
  498. static const esp_efuse_desc_t FLASH_TYPE[] = {
  499. {EFUSE_BLK0, 137, 1}, // [] SPI flash type {0: "4 data lines"; 1: "8 data lines"},
  500. };
  501. static const esp_efuse_desc_t FLASH_PAGE_SIZE[] = {
  502. {EFUSE_BLK0, 138, 2}, // [] Set Flash page size,
  503. };
  504. static const esp_efuse_desc_t FLASH_ECC_EN[] = {
  505. {EFUSE_BLK0, 140, 1}, // [] Set 1 to enable ECC for flash boot,
  506. };
  507. static const esp_efuse_desc_t FORCE_SEND_RESUME[] = {
  508. {EFUSE_BLK0, 141, 1}, // [] Set this bit to force ROM code to send a resume command during SPI boot,
  509. };
  510. static const esp_efuse_desc_t SECURE_VERSION[] = {
  511. {EFUSE_BLK0, 142, 16}, // [] Secure version (used by ESP-IDF anti-rollback feature),
  512. };
  513. static const esp_efuse_desc_t DIS_USB_OTG_DOWNLOAD_MODE[] = {
  514. {EFUSE_BLK0, 159, 1}, // [] Set this bit to disable download through USB-OTG,
  515. };
  516. static const esp_efuse_desc_t DISABLE_WAFER_VERSION_MAJOR[] = {
  517. {EFUSE_BLK0, 160, 1}, // [] Disables check of wafer version major,
  518. };
  519. static const esp_efuse_desc_t DISABLE_BLK_VERSION_MAJOR[] = {
  520. {EFUSE_BLK0, 161, 1}, // [] Disables check of blk version major,
  521. };
  522. static const esp_efuse_desc_t MAC[] = {
  523. {EFUSE_BLK1, 40, 8}, // [MAC_FACTORY] MAC address,
  524. {EFUSE_BLK1, 32, 8}, // [MAC_FACTORY] MAC address,
  525. {EFUSE_BLK1, 24, 8}, // [MAC_FACTORY] MAC address,
  526. {EFUSE_BLK1, 16, 8}, // [MAC_FACTORY] MAC address,
  527. {EFUSE_BLK1, 8, 8}, // [MAC_FACTORY] MAC address,
  528. {EFUSE_BLK1, 0, 8}, // [MAC_FACTORY] MAC address,
  529. };
  530. static const esp_efuse_desc_t SPI_PAD_CONFIG_CLK[] = {
  531. {EFUSE_BLK1, 48, 6}, // [] SPI_PAD_configure CLK,
  532. };
  533. static const esp_efuse_desc_t SPI_PAD_CONFIG_Q[] = {
  534. {EFUSE_BLK1, 54, 6}, // [] SPI_PAD_configure Q(D1),
  535. };
  536. static const esp_efuse_desc_t SPI_PAD_CONFIG_D[] = {
  537. {EFUSE_BLK1, 60, 6}, // [] SPI_PAD_configure D(D0),
  538. };
  539. static const esp_efuse_desc_t SPI_PAD_CONFIG_CS[] = {
  540. {EFUSE_BLK1, 66, 6}, // [] SPI_PAD_configure CS,
  541. };
  542. static const esp_efuse_desc_t SPI_PAD_CONFIG_HD[] = {
  543. {EFUSE_BLK1, 72, 6}, // [] SPI_PAD_configure HD(D3),
  544. };
  545. static const esp_efuse_desc_t SPI_PAD_CONFIG_WP[] = {
  546. {EFUSE_BLK1, 78, 6}, // [] SPI_PAD_configure WP(D2),
  547. };
  548. static const esp_efuse_desc_t SPI_PAD_CONFIG_DQS[] = {
  549. {EFUSE_BLK1, 84, 6}, // [] SPI_PAD_configure DQS,
  550. };
  551. static const esp_efuse_desc_t SPI_PAD_CONFIG_D4[] = {
  552. {EFUSE_BLK1, 90, 6}, // [] SPI_PAD_configure D4,
  553. };
  554. static const esp_efuse_desc_t SPI_PAD_CONFIG_D5[] = {
  555. {EFUSE_BLK1, 96, 6}, // [] SPI_PAD_configure D5,
  556. };
  557. static const esp_efuse_desc_t SPI_PAD_CONFIG_D6[] = {
  558. {EFUSE_BLK1, 102, 6}, // [] SPI_PAD_configure D6,
  559. };
  560. static const esp_efuse_desc_t SPI_PAD_CONFIG_D7[] = {
  561. {EFUSE_BLK1, 108, 6}, // [] SPI_PAD_configure D7,
  562. };
  563. static const esp_efuse_desc_t WAFER_VERSION_MINOR_LO[] = {
  564. {EFUSE_BLK1, 114, 3}, // [] WAFER_VERSION_MINOR least significant bits,
  565. };
  566. static const esp_efuse_desc_t PKG_VERSION[] = {
  567. {EFUSE_BLK1, 117, 3}, // [] Package version,
  568. };
  569. static const esp_efuse_desc_t BLK_VERSION_MINOR[] = {
  570. {EFUSE_BLK1, 120, 3}, // [] BLK_VERSION_MINOR,
  571. };
  572. static const esp_efuse_desc_t FLASH_CAP[] = {
  573. {EFUSE_BLK1, 123, 3}, // [] Flash capacity {0: "None"; 1: "8M"; 2: "4M"},
  574. };
  575. static const esp_efuse_desc_t FLASH_TEMP[] = {
  576. {EFUSE_BLK1, 126, 2}, // [] Flash temperature {0: "None"; 1: "105C"; 2: "85C"},
  577. };
  578. static const esp_efuse_desc_t FLASH_VENDOR[] = {
  579. {EFUSE_BLK1, 128, 3}, // [] Flash vendor {0: "None"; 1: "XMC"; 2: "GD"; 3: "FM"; 4: "TT"; 5: "BY"},
  580. };
  581. static const esp_efuse_desc_t PSRAM_CAP[] = {
  582. {EFUSE_BLK1, 131, 2}, // [] PSRAM capacity {0: "None"; 1: "8M"; 2: "2M"},
  583. };
  584. static const esp_efuse_desc_t PSRAM_TEMP[] = {
  585. {EFUSE_BLK1, 133, 2}, // [] PSRAM temperature {0: "None"; 1: "105C"; 2: "85C"},
  586. };
  587. static const esp_efuse_desc_t PSRAM_VENDOR[] = {
  588. {EFUSE_BLK1, 135, 2}, // [] PSRAM vendor {0: "None"; 1: "AP_3v3"; 2: "AP_1v8"},
  589. };
  590. static const esp_efuse_desc_t K_RTC_LDO[] = {
  591. {EFUSE_BLK1, 141, 7}, // [] BLOCK1 K_RTC_LDO,
  592. };
  593. static const esp_efuse_desc_t K_DIG_LDO[] = {
  594. {EFUSE_BLK1, 148, 7}, // [] BLOCK1 K_DIG_LDO,
  595. };
  596. static const esp_efuse_desc_t V_RTC_DBIAS20[] = {
  597. {EFUSE_BLK1, 155, 8}, // [] BLOCK1 voltage of rtc dbias20,
  598. };
  599. static const esp_efuse_desc_t V_DIG_DBIAS20[] = {
  600. {EFUSE_BLK1, 163, 8}, // [] BLOCK1 voltage of digital dbias20,
  601. };
  602. static const esp_efuse_desc_t DIG_DBIAS_HVT[] = {
  603. {EFUSE_BLK1, 171, 5}, // [] BLOCK1 digital dbias when hvt,
  604. };
  605. static const esp_efuse_desc_t WAFER_VERSION_MINOR_HI[] = {
  606. {EFUSE_BLK1, 183, 1}, // [] WAFER_VERSION_MINOR most significant bit,
  607. };
  608. static const esp_efuse_desc_t WAFER_VERSION_MAJOR[] = {
  609. {EFUSE_BLK1, 184, 2}, // [] WAFER_VERSION_MAJOR,
  610. };
  611. static const esp_efuse_desc_t ADC2_CAL_VOL_ATTEN3[] = {
  612. {EFUSE_BLK1, 186, 6}, // [] ADC2 calibration voltage at atten3,
  613. };
  614. static const esp_efuse_desc_t OPTIONAL_UNIQUE_ID[] = {
  615. {EFUSE_BLK2, 0, 128}, // [] Optional unique 128-bit ID,
  616. };
  617. static const esp_efuse_desc_t BLK_VERSION_MAJOR[] = {
  618. {EFUSE_BLK2, 128, 2}, // [] BLK_VERSION_MAJOR of BLOCK2 {0: "No calib"; 1: "ADC calib V1"},
  619. };
  620. static const esp_efuse_desc_t TEMP_CALIB[] = {
  621. {EFUSE_BLK2, 132, 9}, // [] Temperature calibration data,
  622. };
  623. static const esp_efuse_desc_t OCODE[] = {
  624. {EFUSE_BLK2, 141, 8}, // [] ADC OCode,
  625. };
  626. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN0[] = {
  627. {EFUSE_BLK2, 149, 8}, // [] ADC1 init code at atten0,
  628. };
  629. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN1[] = {
  630. {EFUSE_BLK2, 157, 6}, // [] ADC1 init code at atten1,
  631. };
  632. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN2[] = {
  633. {EFUSE_BLK2, 163, 6}, // [] ADC1 init code at atten2,
  634. };
  635. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN3[] = {
  636. {EFUSE_BLK2, 169, 6}, // [] ADC1 init code at atten3,
  637. };
  638. static const esp_efuse_desc_t ADC2_INIT_CODE_ATTEN0[] = {
  639. {EFUSE_BLK2, 175, 8}, // [] ADC2 init code at atten0,
  640. };
  641. static const esp_efuse_desc_t ADC2_INIT_CODE_ATTEN1[] = {
  642. {EFUSE_BLK2, 183, 6}, // [] ADC2 init code at atten1,
  643. };
  644. static const esp_efuse_desc_t ADC2_INIT_CODE_ATTEN2[] = {
  645. {EFUSE_BLK2, 189, 6}, // [] ADC2 init code at atten2,
  646. };
  647. static const esp_efuse_desc_t ADC2_INIT_CODE_ATTEN3[] = {
  648. {EFUSE_BLK2, 195, 6}, // [] ADC2 init code at atten3,
  649. };
  650. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN0[] = {
  651. {EFUSE_BLK2, 201, 8}, // [] ADC1 calibration voltage at atten0,
  652. };
  653. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN1[] = {
  654. {EFUSE_BLK2, 209, 8}, // [] ADC1 calibration voltage at atten1,
  655. };
  656. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN2[] = {
  657. {EFUSE_BLK2, 217, 8}, // [] ADC1 calibration voltage at atten2,
  658. };
  659. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN3[] = {
  660. {EFUSE_BLK2, 225, 8}, // [] ADC1 calibration voltage at atten3,
  661. };
  662. static const esp_efuse_desc_t ADC2_CAL_VOL_ATTEN0[] = {
  663. {EFUSE_BLK2, 233, 8}, // [] ADC2 calibration voltage at atten0,
  664. };
  665. static const esp_efuse_desc_t ADC2_CAL_VOL_ATTEN1[] = {
  666. {EFUSE_BLK2, 241, 7}, // [] ADC2 calibration voltage at atten1,
  667. };
  668. static const esp_efuse_desc_t ADC2_CAL_VOL_ATTEN2[] = {
  669. {EFUSE_BLK2, 248, 7}, // [] ADC2 calibration voltage at atten2,
  670. };
  671. static const esp_efuse_desc_t USER_DATA[] = {
  672. {EFUSE_BLK3, 0, 256}, // [BLOCK_USR_DATA] User data,
  673. };
  674. static const esp_efuse_desc_t USER_DATA_MAC_CUSTOM[] = {
  675. {EFUSE_BLK3, 200, 48}, // [MAC_CUSTOM CUSTOM_MAC] Custom MAC,
  676. };
  677. static const esp_efuse_desc_t KEY0[] = {
  678. {EFUSE_BLK4, 0, 256}, // [BLOCK_KEY0] Key0 or user data,
  679. };
  680. static const esp_efuse_desc_t KEY1[] = {
  681. {EFUSE_BLK5, 0, 256}, // [BLOCK_KEY1] Key1 or user data,
  682. };
  683. static const esp_efuse_desc_t KEY2[] = {
  684. {EFUSE_BLK6, 0, 256}, // [BLOCK_KEY2] Key2 or user data,
  685. };
  686. static const esp_efuse_desc_t KEY3[] = {
  687. {EFUSE_BLK7, 0, 256}, // [BLOCK_KEY3] Key3 or user data,
  688. };
  689. static const esp_efuse_desc_t KEY4[] = {
  690. {EFUSE_BLK8, 0, 256}, // [BLOCK_KEY4] Key4 or user data,
  691. };
  692. static const esp_efuse_desc_t KEY5[] = {
  693. {EFUSE_BLK9, 0, 256}, // [BLOCK_KEY5] Key5 or user data,
  694. };
  695. static const esp_efuse_desc_t SYS_DATA_PART2[] = {
  696. {EFUSE_BLK10, 0, 256}, // [BLOCK_SYS_DATA2] System data part 2 (reserved),
  697. };
  698. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS[] = {
  699. &WR_DIS[0], // [] Disable programming of individual eFuses
  700. NULL
  701. };
  702. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RD_DIS[] = {
  703. &WR_DIS_RD_DIS[0], // [] wr_dis of RD_DIS
  704. NULL
  705. };
  706. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_ICACHE[] = {
  707. &WR_DIS_DIS_ICACHE[0], // [] wr_dis of DIS_ICACHE
  708. NULL
  709. };
  710. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DCACHE[] = {
  711. &WR_DIS_DIS_DCACHE[0], // [] wr_dis of DIS_DCACHE
  712. NULL
  713. };
  714. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_ICACHE[] = {
  715. &WR_DIS_DIS_DOWNLOAD_ICACHE[0], // [] wr_dis of DIS_DOWNLOAD_ICACHE
  716. NULL
  717. };
  718. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_DCACHE[] = {
  719. &WR_DIS_DIS_DOWNLOAD_DCACHE[0], // [] wr_dis of DIS_DOWNLOAD_DCACHE
  720. NULL
  721. };
  722. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_FORCE_DOWNLOAD[] = {
  723. &WR_DIS_DIS_FORCE_DOWNLOAD[0], // [] wr_dis of DIS_FORCE_DOWNLOAD
  724. NULL
  725. };
  726. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_OTG[] = {
  727. &WR_DIS_DIS_USB_OTG[0], // [WR_DIS.DIS_USB] wr_dis of DIS_USB_OTG
  728. NULL
  729. };
  730. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_TWAI[] = {
  731. &WR_DIS_DIS_TWAI[0], // [WR_DIS.DIS_CAN] wr_dis of DIS_TWAI
  732. NULL
  733. };
  734. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_APP_CPU[] = {
  735. &WR_DIS_DIS_APP_CPU[0], // [] wr_dis of DIS_APP_CPU
  736. NULL
  737. };
  738. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_PAD_JTAG[] = {
  739. &WR_DIS_DIS_PAD_JTAG[0], // [WR_DIS.HARD_DIS_JTAG] wr_dis of DIS_PAD_JTAG
  740. NULL
  741. };
  742. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  743. &WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[0], // [] wr_dis of DIS_DOWNLOAD_MANUAL_ENCRYPT
  744. NULL
  745. };
  746. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_JTAG[] = {
  747. &WR_DIS_DIS_USB_JTAG[0], // [] wr_dis of DIS_USB_JTAG
  748. NULL
  749. };
  750. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_SERIAL_JTAG[] = {
  751. &WR_DIS_DIS_USB_SERIAL_JTAG[0], // [WR_DIS.DIS_USB_DEVICE] wr_dis of DIS_USB_SERIAL_JTAG
  752. NULL
  753. };
  754. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_STRAP_JTAG_SEL[] = {
  755. &WR_DIS_STRAP_JTAG_SEL[0], // [] wr_dis of STRAP_JTAG_SEL
  756. NULL
  757. };
  758. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_PHY_SEL[] = {
  759. &WR_DIS_USB_PHY_SEL[0], // [] wr_dis of USB_PHY_SEL
  760. NULL
  761. };
  762. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_XPD[] = {
  763. &WR_DIS_VDD_SPI_XPD[0], // [] wr_dis of VDD_SPI_XPD
  764. NULL
  765. };
  766. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_TIEH[] = {
  767. &WR_DIS_VDD_SPI_TIEH[0], // [] wr_dis of VDD_SPI_TIEH
  768. NULL
  769. };
  770. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_FORCE[] = {
  771. &WR_DIS_VDD_SPI_FORCE[0], // [] wr_dis of VDD_SPI_FORCE
  772. NULL
  773. };
  774. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WDT_DELAY_SEL[] = {
  775. &WR_DIS_WDT_DELAY_SEL[0], // [] wr_dis of WDT_DELAY_SEL
  776. NULL
  777. };
  778. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_BOOT_CRYPT_CNT[] = {
  779. &WR_DIS_SPI_BOOT_CRYPT_CNT[0], // [] wr_dis of SPI_BOOT_CRYPT_CNT
  780. NULL
  781. };
  782. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE0[] = {
  783. &WR_DIS_SECURE_BOOT_KEY_REVOKE0[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE0
  784. NULL
  785. };
  786. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE1[] = {
  787. &WR_DIS_SECURE_BOOT_KEY_REVOKE1[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE1
  788. NULL
  789. };
  790. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE2[] = {
  791. &WR_DIS_SECURE_BOOT_KEY_REVOKE2[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE2
  792. NULL
  793. };
  794. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_0[] = {
  795. &WR_DIS_KEY_PURPOSE_0[0], // [WR_DIS.KEY0_PURPOSE] wr_dis of KEY_PURPOSE_0
  796. NULL
  797. };
  798. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_1[] = {
  799. &WR_DIS_KEY_PURPOSE_1[0], // [WR_DIS.KEY1_PURPOSE] wr_dis of KEY_PURPOSE_1
  800. NULL
  801. };
  802. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_2[] = {
  803. &WR_DIS_KEY_PURPOSE_2[0], // [WR_DIS.KEY2_PURPOSE] wr_dis of KEY_PURPOSE_2
  804. NULL
  805. };
  806. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_3[] = {
  807. &WR_DIS_KEY_PURPOSE_3[0], // [WR_DIS.KEY3_PURPOSE] wr_dis of KEY_PURPOSE_3
  808. NULL
  809. };
  810. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_4[] = {
  811. &WR_DIS_KEY_PURPOSE_4[0], // [WR_DIS.KEY4_PURPOSE] wr_dis of KEY_PURPOSE_4
  812. NULL
  813. };
  814. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_5[] = {
  815. &WR_DIS_KEY_PURPOSE_5[0], // [WR_DIS.KEY5_PURPOSE] wr_dis of KEY_PURPOSE_5
  816. NULL
  817. };
  818. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_EN[] = {
  819. &WR_DIS_SECURE_BOOT_EN[0], // [] wr_dis of SECURE_BOOT_EN
  820. NULL
  821. };
  822. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  823. &WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[0], // [] wr_dis of SECURE_BOOT_AGGRESSIVE_REVOKE
  824. NULL
  825. };
  826. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TPUW[] = {
  827. &WR_DIS_FLASH_TPUW[0], // [] wr_dis of FLASH_TPUW
  828. NULL
  829. };
  830. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_MODE[] = {
  831. &WR_DIS_DIS_DOWNLOAD_MODE[0], // [] wr_dis of DIS_DOWNLOAD_MODE
  832. NULL
  833. };
  834. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DIRECT_BOOT[] = {
  835. &WR_DIS_DIS_DIRECT_BOOT[0], // [WR_DIS.DIS_LEGACY_SPI_BOOT] wr_dis of DIS_DIRECT_BOOT
  836. NULL
  837. };
  838. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  839. &WR_DIS_DIS_USB_SERIAL_JTAG_ROM_PRINT[0], // [WR_DIS.UART_PRINT_CHANNEL] wr_dis of DIS_USB_SERIAL_JTAG_ROM_PRINT
  840. NULL
  841. };
  842. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_ECC_MODE[] = {
  843. &WR_DIS_FLASH_ECC_MODE[0], // [] wr_dis of FLASH_ECC_MODE
  844. NULL
  845. };
  846. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  847. &WR_DIS_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[0], // [WR_DIS.DIS_USB_DOWNLOAD_MODE] wr_dis of DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE
  848. NULL
  849. };
  850. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ENABLE_SECURITY_DOWNLOAD[] = {
  851. &WR_DIS_ENABLE_SECURITY_DOWNLOAD[0], // [] wr_dis of ENABLE_SECURITY_DOWNLOAD
  852. NULL
  853. };
  854. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_UART_PRINT_CONTROL[] = {
  855. &WR_DIS_UART_PRINT_CONTROL[0], // [] wr_dis of UART_PRINT_CONTROL
  856. NULL
  857. };
  858. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PIN_POWER_SELECTION[] = {
  859. &WR_DIS_PIN_POWER_SELECTION[0], // [] wr_dis of PIN_POWER_SELECTION
  860. NULL
  861. };
  862. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TYPE[] = {
  863. &WR_DIS_FLASH_TYPE[0], // [] wr_dis of FLASH_TYPE
  864. NULL
  865. };
  866. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_PAGE_SIZE[] = {
  867. &WR_DIS_FLASH_PAGE_SIZE[0], // [] wr_dis of FLASH_PAGE_SIZE
  868. NULL
  869. };
  870. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_ECC_EN[] = {
  871. &WR_DIS_FLASH_ECC_EN[0], // [] wr_dis of FLASH_ECC_EN
  872. NULL
  873. };
  874. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FORCE_SEND_RESUME[] = {
  875. &WR_DIS_FORCE_SEND_RESUME[0], // [] wr_dis of FORCE_SEND_RESUME
  876. NULL
  877. };
  878. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_VERSION[] = {
  879. &WR_DIS_SECURE_VERSION[0], // [] wr_dis of SECURE_VERSION
  880. NULL
  881. };
  882. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_OTG_DOWNLOAD_MODE[] = {
  883. &WR_DIS_DIS_USB_OTG_DOWNLOAD_MODE[0], // [] wr_dis of DIS_USB_OTG_DOWNLOAD_MODE
  884. NULL
  885. };
  886. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DISABLE_WAFER_VERSION_MAJOR[] = {
  887. &WR_DIS_DISABLE_WAFER_VERSION_MAJOR[0], // [] wr_dis of DISABLE_WAFER_VERSION_MAJOR
  888. NULL
  889. };
  890. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DISABLE_BLK_VERSION_MAJOR[] = {
  891. &WR_DIS_DISABLE_BLK_VERSION_MAJOR[0], // [] wr_dis of DISABLE_BLK_VERSION_MAJOR
  892. NULL
  893. };
  894. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK1[] = {
  895. &WR_DIS_BLK1[0], // [] wr_dis of BLOCK1
  896. NULL
  897. };
  898. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_MAC[] = {
  899. &WR_DIS_MAC[0], // [WR_DIS.MAC_FACTORY] wr_dis of MAC
  900. NULL
  901. };
  902. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_CLK[] = {
  903. &WR_DIS_SPI_PAD_CONFIG_CLK[0], // [] wr_dis of SPI_PAD_CONFIG_CLK
  904. NULL
  905. };
  906. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_Q[] = {
  907. &WR_DIS_SPI_PAD_CONFIG_Q[0], // [] wr_dis of SPI_PAD_CONFIG_Q
  908. NULL
  909. };
  910. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D[] = {
  911. &WR_DIS_SPI_PAD_CONFIG_D[0], // [] wr_dis of SPI_PAD_CONFIG_D
  912. NULL
  913. };
  914. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_CS[] = {
  915. &WR_DIS_SPI_PAD_CONFIG_CS[0], // [] wr_dis of SPI_PAD_CONFIG_CS
  916. NULL
  917. };
  918. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_HD[] = {
  919. &WR_DIS_SPI_PAD_CONFIG_HD[0], // [] wr_dis of SPI_PAD_CONFIG_HD
  920. NULL
  921. };
  922. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_WP[] = {
  923. &WR_DIS_SPI_PAD_CONFIG_WP[0], // [] wr_dis of SPI_PAD_CONFIG_WP
  924. NULL
  925. };
  926. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_DQS[] = {
  927. &WR_DIS_SPI_PAD_CONFIG_DQS[0], // [] wr_dis of SPI_PAD_CONFIG_DQS
  928. NULL
  929. };
  930. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D4[] = {
  931. &WR_DIS_SPI_PAD_CONFIG_D4[0], // [] wr_dis of SPI_PAD_CONFIG_D4
  932. NULL
  933. };
  934. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D5[] = {
  935. &WR_DIS_SPI_PAD_CONFIG_D5[0], // [] wr_dis of SPI_PAD_CONFIG_D5
  936. NULL
  937. };
  938. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D6[] = {
  939. &WR_DIS_SPI_PAD_CONFIG_D6[0], // [] wr_dis of SPI_PAD_CONFIG_D6
  940. NULL
  941. };
  942. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D7[] = {
  943. &WR_DIS_SPI_PAD_CONFIG_D7[0], // [] wr_dis of SPI_PAD_CONFIG_D7
  944. NULL
  945. };
  946. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR_LO[] = {
  947. &WR_DIS_WAFER_VERSION_MINOR_LO[0], // [] wr_dis of WAFER_VERSION_MINOR_LO
  948. NULL
  949. };
  950. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PKG_VERSION[] = {
  951. &WR_DIS_PKG_VERSION[0], // [] wr_dis of PKG_VERSION
  952. NULL
  953. };
  954. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK_VERSION_MINOR[] = {
  955. &WR_DIS_BLK_VERSION_MINOR[0], // [] wr_dis of BLK_VERSION_MINOR
  956. NULL
  957. };
  958. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_CAP[] = {
  959. &WR_DIS_FLASH_CAP[0], // [] wr_dis of FLASH_CAP
  960. NULL
  961. };
  962. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TEMP[] = {
  963. &WR_DIS_FLASH_TEMP[0], // [] wr_dis of FLASH_TEMP
  964. NULL
  965. };
  966. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_VENDOR[] = {
  967. &WR_DIS_FLASH_VENDOR[0], // [] wr_dis of FLASH_VENDOR
  968. NULL
  969. };
  970. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PSRAM_CAP[] = {
  971. &WR_DIS_PSRAM_CAP[0], // [] wr_dis of PSRAM_CAP
  972. NULL
  973. };
  974. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PSRAM_TEMP[] = {
  975. &WR_DIS_PSRAM_TEMP[0], // [] wr_dis of PSRAM_TEMP
  976. NULL
  977. };
  978. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PSRAM_VENDOR[] = {
  979. &WR_DIS_PSRAM_VENDOR[0], // [] wr_dis of PSRAM_VENDOR
  980. NULL
  981. };
  982. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_K_RTC_LDO[] = {
  983. &WR_DIS_K_RTC_LDO[0], // [] wr_dis of K_RTC_LDO
  984. NULL
  985. };
  986. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_K_DIG_LDO[] = {
  987. &WR_DIS_K_DIG_LDO[0], // [] wr_dis of K_DIG_LDO
  988. NULL
  989. };
  990. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_V_RTC_DBIAS20[] = {
  991. &WR_DIS_V_RTC_DBIAS20[0], // [] wr_dis of V_RTC_DBIAS20
  992. NULL
  993. };
  994. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_V_DIG_DBIAS20[] = {
  995. &WR_DIS_V_DIG_DBIAS20[0], // [] wr_dis of V_DIG_DBIAS20
  996. NULL
  997. };
  998. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIG_DBIAS_HVT[] = {
  999. &WR_DIS_DIG_DBIAS_HVT[0], // [] wr_dis of DIG_DBIAS_HVT
  1000. NULL
  1001. };
  1002. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR_HI[] = {
  1003. &WR_DIS_WAFER_VERSION_MINOR_HI[0], // [] wr_dis of WAFER_VERSION_MINOR_HI
  1004. NULL
  1005. };
  1006. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MAJOR[] = {
  1007. &WR_DIS_WAFER_VERSION_MAJOR[0], // [] wr_dis of WAFER_VERSION_MAJOR
  1008. NULL
  1009. };
  1010. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_CAL_VOL_ATTEN3[] = {
  1011. &WR_DIS_ADC2_CAL_VOL_ATTEN3[0], // [] wr_dis of ADC2_CAL_VOL_ATTEN3
  1012. NULL
  1013. };
  1014. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SYS_DATA_PART1[] = {
  1015. &WR_DIS_SYS_DATA_PART1[0], // [] wr_dis of BLOCK2
  1016. NULL
  1017. };
  1018. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_OPTIONAL_UNIQUE_ID[] = {
  1019. &WR_DIS_OPTIONAL_UNIQUE_ID[0], // [] wr_dis of OPTIONAL_UNIQUE_ID
  1020. NULL
  1021. };
  1022. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK_VERSION_MAJOR[] = {
  1023. &WR_DIS_BLK_VERSION_MAJOR[0], // [] wr_dis of BLK_VERSION_MAJOR
  1024. NULL
  1025. };
  1026. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_TEMP_CALIB[] = {
  1027. &WR_DIS_TEMP_CALIB[0], // [] wr_dis of TEMP_CALIB
  1028. NULL
  1029. };
  1030. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_OCODE[] = {
  1031. &WR_DIS_OCODE[0], // [] wr_dis of OCODE
  1032. NULL
  1033. };
  1034. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN0[] = {
  1035. &WR_DIS_ADC1_INIT_CODE_ATTEN0[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN0
  1036. NULL
  1037. };
  1038. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN1[] = {
  1039. &WR_DIS_ADC1_INIT_CODE_ATTEN1[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN1
  1040. NULL
  1041. };
  1042. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN2[] = {
  1043. &WR_DIS_ADC1_INIT_CODE_ATTEN2[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN2
  1044. NULL
  1045. };
  1046. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN3[] = {
  1047. &WR_DIS_ADC1_INIT_CODE_ATTEN3[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN3
  1048. NULL
  1049. };
  1050. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_INIT_CODE_ATTEN0[] = {
  1051. &WR_DIS_ADC2_INIT_CODE_ATTEN0[0], // [] wr_dis of ADC2_INIT_CODE_ATTEN0
  1052. NULL
  1053. };
  1054. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_INIT_CODE_ATTEN1[] = {
  1055. &WR_DIS_ADC2_INIT_CODE_ATTEN1[0], // [] wr_dis of ADC2_INIT_CODE_ATTEN1
  1056. NULL
  1057. };
  1058. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_INIT_CODE_ATTEN2[] = {
  1059. &WR_DIS_ADC2_INIT_CODE_ATTEN2[0], // [] wr_dis of ADC2_INIT_CODE_ATTEN2
  1060. NULL
  1061. };
  1062. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_INIT_CODE_ATTEN3[] = {
  1063. &WR_DIS_ADC2_INIT_CODE_ATTEN3[0], // [] wr_dis of ADC2_INIT_CODE_ATTEN3
  1064. NULL
  1065. };
  1066. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN0[] = {
  1067. &WR_DIS_ADC1_CAL_VOL_ATTEN0[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN0
  1068. NULL
  1069. };
  1070. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN1[] = {
  1071. &WR_DIS_ADC1_CAL_VOL_ATTEN1[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN1
  1072. NULL
  1073. };
  1074. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN2[] = {
  1075. &WR_DIS_ADC1_CAL_VOL_ATTEN2[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN2
  1076. NULL
  1077. };
  1078. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN3[] = {
  1079. &WR_DIS_ADC1_CAL_VOL_ATTEN3[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN3
  1080. NULL
  1081. };
  1082. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_CAL_VOL_ATTEN0[] = {
  1083. &WR_DIS_ADC2_CAL_VOL_ATTEN0[0], // [] wr_dis of ADC2_CAL_VOL_ATTEN0
  1084. NULL
  1085. };
  1086. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_CAL_VOL_ATTEN1[] = {
  1087. &WR_DIS_ADC2_CAL_VOL_ATTEN1[0], // [] wr_dis of ADC2_CAL_VOL_ATTEN1
  1088. NULL
  1089. };
  1090. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC2_CAL_VOL_ATTEN2[] = {
  1091. &WR_DIS_ADC2_CAL_VOL_ATTEN2[0], // [] wr_dis of ADC2_CAL_VOL_ATTEN2
  1092. NULL
  1093. };
  1094. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_USR_DATA[] = {
  1095. &WR_DIS_BLOCK_USR_DATA[0], // [WR_DIS.USER_DATA] wr_dis of BLOCK_USR_DATA
  1096. NULL
  1097. };
  1098. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_CUSTOM_MAC[] = {
  1099. &WR_DIS_CUSTOM_MAC[0], // [WR_DIS.MAC_CUSTOM WR_DIS.USER_DATA_MAC_CUSTOM] wr_dis of CUSTOM_MAC
  1100. NULL
  1101. };
  1102. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY0[] = {
  1103. &WR_DIS_BLOCK_KEY0[0], // [WR_DIS.KEY0] wr_dis of BLOCK_KEY0
  1104. NULL
  1105. };
  1106. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY1[] = {
  1107. &WR_DIS_BLOCK_KEY1[0], // [WR_DIS.KEY1] wr_dis of BLOCK_KEY1
  1108. NULL
  1109. };
  1110. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY2[] = {
  1111. &WR_DIS_BLOCK_KEY2[0], // [WR_DIS.KEY2] wr_dis of BLOCK_KEY2
  1112. NULL
  1113. };
  1114. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY3[] = {
  1115. &WR_DIS_BLOCK_KEY3[0], // [WR_DIS.KEY3] wr_dis of BLOCK_KEY3
  1116. NULL
  1117. };
  1118. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY4[] = {
  1119. &WR_DIS_BLOCK_KEY4[0], // [WR_DIS.KEY4] wr_dis of BLOCK_KEY4
  1120. NULL
  1121. };
  1122. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY5[] = {
  1123. &WR_DIS_BLOCK_KEY5[0], // [WR_DIS.KEY5] wr_dis of BLOCK_KEY5
  1124. NULL
  1125. };
  1126. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_SYS_DATA2[] = {
  1127. &WR_DIS_BLOCK_SYS_DATA2[0], // [WR_DIS.SYS_DATA_PART2] wr_dis of BLOCK_SYS_DATA2
  1128. NULL
  1129. };
  1130. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_EXCHG_PINS[] = {
  1131. &WR_DIS_USB_EXCHG_PINS[0], // [] wr_dis of USB_EXCHG_PINS
  1132. NULL
  1133. };
  1134. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_EXT_PHY_ENABLE[] = {
  1135. &WR_DIS_USB_EXT_PHY_ENABLE[0], // [WR_DIS.EXT_PHY_ENABLE] wr_dis of USB_EXT_PHY_ENABLE
  1136. NULL
  1137. };
  1138. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SOFT_DIS_JTAG[] = {
  1139. &WR_DIS_SOFT_DIS_JTAG[0], // [] wr_dis of SOFT_DIS_JTAG
  1140. NULL
  1141. };
  1142. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS[] = {
  1143. &RD_DIS[0], // [] Disable reading from BlOCK4-10
  1144. NULL
  1145. };
  1146. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY0[] = {
  1147. &RD_DIS_BLOCK_KEY0[0], // [RD_DIS.KEY0] rd_dis of BLOCK_KEY0
  1148. NULL
  1149. };
  1150. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY1[] = {
  1151. &RD_DIS_BLOCK_KEY1[0], // [RD_DIS.KEY1] rd_dis of BLOCK_KEY1
  1152. NULL
  1153. };
  1154. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY2[] = {
  1155. &RD_DIS_BLOCK_KEY2[0], // [RD_DIS.KEY2] rd_dis of BLOCK_KEY2
  1156. NULL
  1157. };
  1158. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY3[] = {
  1159. &RD_DIS_BLOCK_KEY3[0], // [RD_DIS.KEY3] rd_dis of BLOCK_KEY3
  1160. NULL
  1161. };
  1162. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY4[] = {
  1163. &RD_DIS_BLOCK_KEY4[0], // [RD_DIS.KEY4] rd_dis of BLOCK_KEY4
  1164. NULL
  1165. };
  1166. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY5[] = {
  1167. &RD_DIS_BLOCK_KEY5[0], // [RD_DIS.KEY5] rd_dis of BLOCK_KEY5
  1168. NULL
  1169. };
  1170. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_SYS_DATA2[] = {
  1171. &RD_DIS_BLOCK_SYS_DATA2[0], // [RD_DIS.SYS_DATA_PART2] rd_dis of BLOCK_SYS_DATA2
  1172. NULL
  1173. };
  1174. const esp_efuse_desc_t* ESP_EFUSE_DIS_ICACHE[] = {
  1175. &DIS_ICACHE[0], // [] Set this bit to disable Icache
  1176. NULL
  1177. };
  1178. const esp_efuse_desc_t* ESP_EFUSE_DIS_DCACHE[] = {
  1179. &DIS_DCACHE[0], // [] Set this bit to disable Dcache
  1180. NULL
  1181. };
  1182. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_ICACHE[] = {
  1183. &DIS_DOWNLOAD_ICACHE[0], // [] Set this bit to disable Icache in download mode (boot_mode[3:0] is 0; 1; 2; 3; 6; 7)
  1184. NULL
  1185. };
  1186. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_DCACHE[] = {
  1187. &DIS_DOWNLOAD_DCACHE[0], // [] Set this bit to disable Dcache in download mode ( boot_mode[3:0] is 0; 1; 2; 3; 6; 7)
  1188. NULL
  1189. };
  1190. const esp_efuse_desc_t* ESP_EFUSE_DIS_FORCE_DOWNLOAD[] = {
  1191. &DIS_FORCE_DOWNLOAD[0], // [] Set this bit to disable the function that forces chip into download mode
  1192. NULL
  1193. };
  1194. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_OTG[] = {
  1195. &DIS_USB_OTG[0], // [DIS_USB] Set this bit to disable USB function
  1196. NULL
  1197. };
  1198. const esp_efuse_desc_t* ESP_EFUSE_DIS_TWAI[] = {
  1199. &DIS_TWAI[0], // [DIS_CAN] Set this bit to disable CAN function
  1200. NULL
  1201. };
  1202. const esp_efuse_desc_t* ESP_EFUSE_DIS_APP_CPU[] = {
  1203. &DIS_APP_CPU[0], // [] Disable app cpu
  1204. NULL
  1205. };
  1206. const esp_efuse_desc_t* ESP_EFUSE_SOFT_DIS_JTAG[] = {
  1207. &SOFT_DIS_JTAG[0], // [] Set these bits to disable JTAG in the soft way (odd number 1 means disable ). JTAG can be enabled in HMAC module
  1208. NULL
  1209. };
  1210. const esp_efuse_desc_t* ESP_EFUSE_DIS_PAD_JTAG[] = {
  1211. &DIS_PAD_JTAG[0], // [HARD_DIS_JTAG] Set this bit to disable JTAG in the hard way. JTAG is disabled permanently
  1212. NULL
  1213. };
  1214. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  1215. &DIS_DOWNLOAD_MANUAL_ENCRYPT[0], // [] Set this bit to disable flash encryption when in download boot modes
  1216. NULL
  1217. };
  1218. const esp_efuse_desc_t* ESP_EFUSE_USB_EXCHG_PINS[] = {
  1219. &USB_EXCHG_PINS[0], // [] Set this bit to exchange USB D+ and D- pins
  1220. NULL
  1221. };
  1222. const esp_efuse_desc_t* ESP_EFUSE_USB_EXT_PHY_ENABLE[] = {
  1223. &USB_EXT_PHY_ENABLE[0], // [EXT_PHY_ENABLE] Set this bit to enable external PHY
  1224. NULL
  1225. };
  1226. const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_XPD[] = {
  1227. &VDD_SPI_XPD[0], // [] SPI regulator power up signal
  1228. NULL
  1229. };
  1230. const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_TIEH[] = {
  1231. &VDD_SPI_TIEH[0], // [] If VDD_SPI_FORCE is 1; determines VDD_SPI voltage {0: "VDD_SPI connects to 1.8 V LDO"; 1: "VDD_SPI connects to VDD3P3_RTC_IO"}
  1232. NULL
  1233. };
  1234. const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_FORCE[] = {
  1235. &VDD_SPI_FORCE[0], // [] Set this bit and force to use the configuration of eFuse to configure VDD_SPI
  1236. NULL
  1237. };
  1238. const esp_efuse_desc_t* ESP_EFUSE_WDT_DELAY_SEL[] = {
  1239. &WDT_DELAY_SEL[0], // [] RTC watchdog timeout threshold; in unit of slow clock cycle {0: "40000"; 1: "80000"; 2: "160000"; 3: "320000"}
  1240. NULL
  1241. };
  1242. const esp_efuse_desc_t* ESP_EFUSE_SPI_BOOT_CRYPT_CNT[] = {
  1243. &SPI_BOOT_CRYPT_CNT[0], // [] Enables flash encryption when 1 or 3 bits are set and disabled otherwise {0: "Disable"; 1: "Enable"; 3: "Disable"; 7: "Enable"}
  1244. NULL
  1245. };
  1246. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE0[] = {
  1247. &SECURE_BOOT_KEY_REVOKE0[0], // [] Revoke 1st secure boot key
  1248. NULL
  1249. };
  1250. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE1[] = {
  1251. &SECURE_BOOT_KEY_REVOKE1[0], // [] Revoke 2nd secure boot key
  1252. NULL
  1253. };
  1254. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE2[] = {
  1255. &SECURE_BOOT_KEY_REVOKE2[0], // [] Revoke 3rd secure boot key
  1256. NULL
  1257. };
  1258. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_0[] = {
  1259. &KEY_PURPOSE_0[0], // [KEY0_PURPOSE] Purpose of Key0
  1260. NULL
  1261. };
  1262. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_1[] = {
  1263. &KEY_PURPOSE_1[0], // [KEY1_PURPOSE] Purpose of Key1
  1264. NULL
  1265. };
  1266. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_2[] = {
  1267. &KEY_PURPOSE_2[0], // [KEY2_PURPOSE] Purpose of Key2
  1268. NULL
  1269. };
  1270. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_3[] = {
  1271. &KEY_PURPOSE_3[0], // [KEY3_PURPOSE] Purpose of Key3
  1272. NULL
  1273. };
  1274. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_4[] = {
  1275. &KEY_PURPOSE_4[0], // [KEY4_PURPOSE] Purpose of Key4
  1276. NULL
  1277. };
  1278. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_5[] = {
  1279. &KEY_PURPOSE_5[0], // [KEY5_PURPOSE] Purpose of Key5
  1280. NULL
  1281. };
  1282. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_EN[] = {
  1283. &SECURE_BOOT_EN[0], // [] Set this bit to enable secure boot
  1284. NULL
  1285. };
  1286. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  1287. &SECURE_BOOT_AGGRESSIVE_REVOKE[0], // [] Set this bit to enable revoking aggressive secure boot
  1288. NULL
  1289. };
  1290. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_JTAG[] = {
  1291. &DIS_USB_JTAG[0], // [] Set this bit to disable function of usb switch to jtag in module of usb device
  1292. NULL
  1293. };
  1294. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_SERIAL_JTAG[] = {
  1295. &DIS_USB_SERIAL_JTAG[0], // [DIS_USB_DEVICE] Set this bit to disable usb device
  1296. NULL
  1297. };
  1298. const esp_efuse_desc_t* ESP_EFUSE_STRAP_JTAG_SEL[] = {
  1299. &STRAP_JTAG_SEL[0], // [] Set this bit to enable selection between usb_to_jtag and pad_to_jtag through strapping gpio10 when both reg_dis_usb_jtag and reg_dis_pad_jtag are equal to 0
  1300. NULL
  1301. };
  1302. const esp_efuse_desc_t* ESP_EFUSE_USB_PHY_SEL[] = {
  1303. &USB_PHY_SEL[0], // [] This bit is used to switch internal PHY and external PHY for USB OTG and USB Device {0: "internal PHY is assigned to USB Device while external PHY is assigned to USB OTG"; 1: "internal PHY is assigned to USB OTG while external PHY is assigned to USB Device"}
  1304. NULL
  1305. };
  1306. const esp_efuse_desc_t* ESP_EFUSE_FLASH_TPUW[] = {
  1307. &FLASH_TPUW[0], // [] Configures flash waiting time after power-up; in unit of ms. If the value is less than 15; the waiting time is the configurable value. Otherwise; the waiting time is twice the configurable value
  1308. NULL
  1309. };
  1310. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_MODE[] = {
  1311. &DIS_DOWNLOAD_MODE[0], // [] Set this bit to disable download mode (boot_mode[3:0] = 0; 1; 2; 3; 6; 7)
  1312. NULL
  1313. };
  1314. const esp_efuse_desc_t* ESP_EFUSE_DIS_DIRECT_BOOT[] = {
  1315. &DIS_DIRECT_BOOT[0], // [DIS_LEGACY_SPI_BOOT] Disable direct boot mode
  1316. NULL
  1317. };
  1318. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  1319. &DIS_USB_SERIAL_JTAG_ROM_PRINT[0], // [UART_PRINT_CHANNEL] USB printing {0: "Enable"; 1: "Disable"}
  1320. NULL
  1321. };
  1322. const esp_efuse_desc_t* ESP_EFUSE_FLASH_ECC_MODE[] = {
  1323. &FLASH_ECC_MODE[0], // [] Flash ECC mode in ROM {0: "16to18 byte"; 1: "16to17 byte"}
  1324. NULL
  1325. };
  1326. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  1327. &DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[0], // [DIS_USB_DOWNLOAD_MODE] Set this bit to disable UART download mode through USB
  1328. NULL
  1329. };
  1330. const esp_efuse_desc_t* ESP_EFUSE_ENABLE_SECURITY_DOWNLOAD[] = {
  1331. &ENABLE_SECURITY_DOWNLOAD[0], // [] Set this bit to enable secure UART download mode
  1332. NULL
  1333. };
  1334. const esp_efuse_desc_t* ESP_EFUSE_UART_PRINT_CONTROL[] = {
  1335. &UART_PRINT_CONTROL[0], // [] Set the default UART boot message output mode {0: "Enable"; 1: "Enable when GPIO46 is low at reset"; 2: "Enable when GPIO46 is high at reset"; 3: "Disable"}
  1336. NULL
  1337. };
  1338. const esp_efuse_desc_t* ESP_EFUSE_PIN_POWER_SELECTION[] = {
  1339. &PIN_POWER_SELECTION[0], // [] Set default power supply for GPIO33-GPIO37; set when SPI flash is initialized {0: "VDD3P3_CPU"; 1: "VDD_SPI"}
  1340. NULL
  1341. };
  1342. const esp_efuse_desc_t* ESP_EFUSE_FLASH_TYPE[] = {
  1343. &FLASH_TYPE[0], // [] SPI flash type {0: "4 data lines"; 1: "8 data lines"}
  1344. NULL
  1345. };
  1346. const esp_efuse_desc_t* ESP_EFUSE_FLASH_PAGE_SIZE[] = {
  1347. &FLASH_PAGE_SIZE[0], // [] Set Flash page size
  1348. NULL
  1349. };
  1350. const esp_efuse_desc_t* ESP_EFUSE_FLASH_ECC_EN[] = {
  1351. &FLASH_ECC_EN[0], // [] Set 1 to enable ECC for flash boot
  1352. NULL
  1353. };
  1354. const esp_efuse_desc_t* ESP_EFUSE_FORCE_SEND_RESUME[] = {
  1355. &FORCE_SEND_RESUME[0], // [] Set this bit to force ROM code to send a resume command during SPI boot
  1356. NULL
  1357. };
  1358. const esp_efuse_desc_t* ESP_EFUSE_SECURE_VERSION[] = {
  1359. &SECURE_VERSION[0], // [] Secure version (used by ESP-IDF anti-rollback feature)
  1360. NULL
  1361. };
  1362. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_OTG_DOWNLOAD_MODE[] = {
  1363. &DIS_USB_OTG_DOWNLOAD_MODE[0], // [] Set this bit to disable download through USB-OTG
  1364. NULL
  1365. };
  1366. const esp_efuse_desc_t* ESP_EFUSE_DISABLE_WAFER_VERSION_MAJOR[] = {
  1367. &DISABLE_WAFER_VERSION_MAJOR[0], // [] Disables check of wafer version major
  1368. NULL
  1369. };
  1370. const esp_efuse_desc_t* ESP_EFUSE_DISABLE_BLK_VERSION_MAJOR[] = {
  1371. &DISABLE_BLK_VERSION_MAJOR[0], // [] Disables check of blk version major
  1372. NULL
  1373. };
  1374. const esp_efuse_desc_t* ESP_EFUSE_MAC[] = {
  1375. &MAC[0], // [MAC_FACTORY] MAC address
  1376. &MAC[1], // [MAC_FACTORY] MAC address
  1377. &MAC[2], // [MAC_FACTORY] MAC address
  1378. &MAC[3], // [MAC_FACTORY] MAC address
  1379. &MAC[4], // [MAC_FACTORY] MAC address
  1380. &MAC[5], // [MAC_FACTORY] MAC address
  1381. NULL
  1382. };
  1383. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_CLK[] = {
  1384. &SPI_PAD_CONFIG_CLK[0], // [] SPI_PAD_configure CLK
  1385. NULL
  1386. };
  1387. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_Q[] = {
  1388. &SPI_PAD_CONFIG_Q[0], // [] SPI_PAD_configure Q(D1)
  1389. NULL
  1390. };
  1391. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D[] = {
  1392. &SPI_PAD_CONFIG_D[0], // [] SPI_PAD_configure D(D0)
  1393. NULL
  1394. };
  1395. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_CS[] = {
  1396. &SPI_PAD_CONFIG_CS[0], // [] SPI_PAD_configure CS
  1397. NULL
  1398. };
  1399. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_HD[] = {
  1400. &SPI_PAD_CONFIG_HD[0], // [] SPI_PAD_configure HD(D3)
  1401. NULL
  1402. };
  1403. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_WP[] = {
  1404. &SPI_PAD_CONFIG_WP[0], // [] SPI_PAD_configure WP(D2)
  1405. NULL
  1406. };
  1407. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_DQS[] = {
  1408. &SPI_PAD_CONFIG_DQS[0], // [] SPI_PAD_configure DQS
  1409. NULL
  1410. };
  1411. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D4[] = {
  1412. &SPI_PAD_CONFIG_D4[0], // [] SPI_PAD_configure D4
  1413. NULL
  1414. };
  1415. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D5[] = {
  1416. &SPI_PAD_CONFIG_D5[0], // [] SPI_PAD_configure D5
  1417. NULL
  1418. };
  1419. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D6[] = {
  1420. &SPI_PAD_CONFIG_D6[0], // [] SPI_PAD_configure D6
  1421. NULL
  1422. };
  1423. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D7[] = {
  1424. &SPI_PAD_CONFIG_D7[0], // [] SPI_PAD_configure D7
  1425. NULL
  1426. };
  1427. const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR_LO[] = {
  1428. &WAFER_VERSION_MINOR_LO[0], // [] WAFER_VERSION_MINOR least significant bits
  1429. NULL
  1430. };
  1431. const esp_efuse_desc_t* ESP_EFUSE_PKG_VERSION[] = {
  1432. &PKG_VERSION[0], // [] Package version
  1433. NULL
  1434. };
  1435. const esp_efuse_desc_t* ESP_EFUSE_BLK_VERSION_MINOR[] = {
  1436. &BLK_VERSION_MINOR[0], // [] BLK_VERSION_MINOR
  1437. NULL
  1438. };
  1439. const esp_efuse_desc_t* ESP_EFUSE_FLASH_CAP[] = {
  1440. &FLASH_CAP[0], // [] Flash capacity {0: "None"; 1: "8M"; 2: "4M"}
  1441. NULL
  1442. };
  1443. const esp_efuse_desc_t* ESP_EFUSE_FLASH_TEMP[] = {
  1444. &FLASH_TEMP[0], // [] Flash temperature {0: "None"; 1: "105C"; 2: "85C"}
  1445. NULL
  1446. };
  1447. const esp_efuse_desc_t* ESP_EFUSE_FLASH_VENDOR[] = {
  1448. &FLASH_VENDOR[0], // [] Flash vendor {0: "None"; 1: "XMC"; 2: "GD"; 3: "FM"; 4: "TT"; 5: "BY"}
  1449. NULL
  1450. };
  1451. const esp_efuse_desc_t* ESP_EFUSE_PSRAM_CAP[] = {
  1452. &PSRAM_CAP[0], // [] PSRAM capacity {0: "None"; 1: "8M"; 2: "2M"}
  1453. NULL
  1454. };
  1455. const esp_efuse_desc_t* ESP_EFUSE_PSRAM_TEMP[] = {
  1456. &PSRAM_TEMP[0], // [] PSRAM temperature {0: "None"; 1: "105C"; 2: "85C"}
  1457. NULL
  1458. };
  1459. const esp_efuse_desc_t* ESP_EFUSE_PSRAM_VENDOR[] = {
  1460. &PSRAM_VENDOR[0], // [] PSRAM vendor {0: "None"; 1: "AP_3v3"; 2: "AP_1v8"}
  1461. NULL
  1462. };
  1463. const esp_efuse_desc_t* ESP_EFUSE_K_RTC_LDO[] = {
  1464. &K_RTC_LDO[0], // [] BLOCK1 K_RTC_LDO
  1465. NULL
  1466. };
  1467. const esp_efuse_desc_t* ESP_EFUSE_K_DIG_LDO[] = {
  1468. &K_DIG_LDO[0], // [] BLOCK1 K_DIG_LDO
  1469. NULL
  1470. };
  1471. const esp_efuse_desc_t* ESP_EFUSE_V_RTC_DBIAS20[] = {
  1472. &V_RTC_DBIAS20[0], // [] BLOCK1 voltage of rtc dbias20
  1473. NULL
  1474. };
  1475. const esp_efuse_desc_t* ESP_EFUSE_V_DIG_DBIAS20[] = {
  1476. &V_DIG_DBIAS20[0], // [] BLOCK1 voltage of digital dbias20
  1477. NULL
  1478. };
  1479. const esp_efuse_desc_t* ESP_EFUSE_DIG_DBIAS_HVT[] = {
  1480. &DIG_DBIAS_HVT[0], // [] BLOCK1 digital dbias when hvt
  1481. NULL
  1482. };
  1483. const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR_HI[] = {
  1484. &WAFER_VERSION_MINOR_HI[0], // [] WAFER_VERSION_MINOR most significant bit
  1485. NULL
  1486. };
  1487. const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MAJOR[] = {
  1488. &WAFER_VERSION_MAJOR[0], // [] WAFER_VERSION_MAJOR
  1489. NULL
  1490. };
  1491. const esp_efuse_desc_t* ESP_EFUSE_ADC2_CAL_VOL_ATTEN3[] = {
  1492. &ADC2_CAL_VOL_ATTEN3[0], // [] ADC2 calibration voltage at atten3
  1493. NULL
  1494. };
  1495. const esp_efuse_desc_t* ESP_EFUSE_OPTIONAL_UNIQUE_ID[] = {
  1496. &OPTIONAL_UNIQUE_ID[0], // [] Optional unique 128-bit ID
  1497. NULL
  1498. };
  1499. const esp_efuse_desc_t* ESP_EFUSE_BLK_VERSION_MAJOR[] = {
  1500. &BLK_VERSION_MAJOR[0], // [] BLK_VERSION_MAJOR of BLOCK2 {0: "No calib"; 1: "ADC calib V1"}
  1501. NULL
  1502. };
  1503. const esp_efuse_desc_t* ESP_EFUSE_TEMP_CALIB[] = {
  1504. &TEMP_CALIB[0], // [] Temperature calibration data
  1505. NULL
  1506. };
  1507. const esp_efuse_desc_t* ESP_EFUSE_OCODE[] = {
  1508. &OCODE[0], // [] ADC OCode
  1509. NULL
  1510. };
  1511. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN0[] = {
  1512. &ADC1_INIT_CODE_ATTEN0[0], // [] ADC1 init code at atten0
  1513. NULL
  1514. };
  1515. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN1[] = {
  1516. &ADC1_INIT_CODE_ATTEN1[0], // [] ADC1 init code at atten1
  1517. NULL
  1518. };
  1519. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN2[] = {
  1520. &ADC1_INIT_CODE_ATTEN2[0], // [] ADC1 init code at atten2
  1521. NULL
  1522. };
  1523. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN3[] = {
  1524. &ADC1_INIT_CODE_ATTEN3[0], // [] ADC1 init code at atten3
  1525. NULL
  1526. };
  1527. const esp_efuse_desc_t* ESP_EFUSE_ADC2_INIT_CODE_ATTEN0[] = {
  1528. &ADC2_INIT_CODE_ATTEN0[0], // [] ADC2 init code at atten0
  1529. NULL
  1530. };
  1531. const esp_efuse_desc_t* ESP_EFUSE_ADC2_INIT_CODE_ATTEN1[] = {
  1532. &ADC2_INIT_CODE_ATTEN1[0], // [] ADC2 init code at atten1
  1533. NULL
  1534. };
  1535. const esp_efuse_desc_t* ESP_EFUSE_ADC2_INIT_CODE_ATTEN2[] = {
  1536. &ADC2_INIT_CODE_ATTEN2[0], // [] ADC2 init code at atten2
  1537. NULL
  1538. };
  1539. const esp_efuse_desc_t* ESP_EFUSE_ADC2_INIT_CODE_ATTEN3[] = {
  1540. &ADC2_INIT_CODE_ATTEN3[0], // [] ADC2 init code at atten3
  1541. NULL
  1542. };
  1543. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN0[] = {
  1544. &ADC1_CAL_VOL_ATTEN0[0], // [] ADC1 calibration voltage at atten0
  1545. NULL
  1546. };
  1547. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN1[] = {
  1548. &ADC1_CAL_VOL_ATTEN1[0], // [] ADC1 calibration voltage at atten1
  1549. NULL
  1550. };
  1551. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN2[] = {
  1552. &ADC1_CAL_VOL_ATTEN2[0], // [] ADC1 calibration voltage at atten2
  1553. NULL
  1554. };
  1555. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN3[] = {
  1556. &ADC1_CAL_VOL_ATTEN3[0], // [] ADC1 calibration voltage at atten3
  1557. NULL
  1558. };
  1559. const esp_efuse_desc_t* ESP_EFUSE_ADC2_CAL_VOL_ATTEN0[] = {
  1560. &ADC2_CAL_VOL_ATTEN0[0], // [] ADC2 calibration voltage at atten0
  1561. NULL
  1562. };
  1563. const esp_efuse_desc_t* ESP_EFUSE_ADC2_CAL_VOL_ATTEN1[] = {
  1564. &ADC2_CAL_VOL_ATTEN1[0], // [] ADC2 calibration voltage at atten1
  1565. NULL
  1566. };
  1567. const esp_efuse_desc_t* ESP_EFUSE_ADC2_CAL_VOL_ATTEN2[] = {
  1568. &ADC2_CAL_VOL_ATTEN2[0], // [] ADC2 calibration voltage at atten2
  1569. NULL
  1570. };
  1571. const esp_efuse_desc_t* ESP_EFUSE_USER_DATA[] = {
  1572. &USER_DATA[0], // [BLOCK_USR_DATA] User data
  1573. NULL
  1574. };
  1575. const esp_efuse_desc_t* ESP_EFUSE_USER_DATA_MAC_CUSTOM[] = {
  1576. &USER_DATA_MAC_CUSTOM[0], // [MAC_CUSTOM CUSTOM_MAC] Custom MAC
  1577. NULL
  1578. };
  1579. const esp_efuse_desc_t* ESP_EFUSE_KEY0[] = {
  1580. &KEY0[0], // [BLOCK_KEY0] Key0 or user data
  1581. NULL
  1582. };
  1583. const esp_efuse_desc_t* ESP_EFUSE_KEY1[] = {
  1584. &KEY1[0], // [BLOCK_KEY1] Key1 or user data
  1585. NULL
  1586. };
  1587. const esp_efuse_desc_t* ESP_EFUSE_KEY2[] = {
  1588. &KEY2[0], // [BLOCK_KEY2] Key2 or user data
  1589. NULL
  1590. };
  1591. const esp_efuse_desc_t* ESP_EFUSE_KEY3[] = {
  1592. &KEY3[0], // [BLOCK_KEY3] Key3 or user data
  1593. NULL
  1594. };
  1595. const esp_efuse_desc_t* ESP_EFUSE_KEY4[] = {
  1596. &KEY4[0], // [BLOCK_KEY4] Key4 or user data
  1597. NULL
  1598. };
  1599. const esp_efuse_desc_t* ESP_EFUSE_KEY5[] = {
  1600. &KEY5[0], // [BLOCK_KEY5] Key5 or user data
  1601. NULL
  1602. };
  1603. const esp_efuse_desc_t* ESP_EFUSE_SYS_DATA_PART2[] = {
  1604. &SYS_DATA_PART2[0], // [BLOCK_SYS_DATA2] System data part 2 (reserved)
  1605. NULL
  1606. };