esp_efuse_table.c 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650
  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 f41d6027e08973065c84a93ebd369dee
  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_USB_JTAG[] = {
  25. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_USB_JTAG,
  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_USB_SERIAL_JTAG[] = {
  31. {EFUSE_BLK0, 2, 1}, // [WR_DIS.DIS_USB_DEVICE] wr_dis of DIS_USB_SERIAL_JTAG,
  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_TWAI[] = {
  37. {EFUSE_BLK0, 2, 1}, // [WR_DIS.DIS_CAN] wr_dis of DIS_TWAI,
  38. };
  39. static const esp_efuse_desc_t WR_DIS_JTAG_SEL_ENABLE[] = {
  40. {EFUSE_BLK0, 2, 1}, // [] wr_dis of JTAG_SEL_ENABLE,
  41. };
  42. static const esp_efuse_desc_t WR_DIS_DIS_PAD_JTAG[] = {
  43. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_PAD_JTAG,
  44. };
  45. static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  46. {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_MANUAL_ENCRYPT,
  47. };
  48. static const esp_efuse_desc_t WR_DIS_WDT_DELAY_SEL[] = {
  49. {EFUSE_BLK0, 3, 1}, // [] wr_dis of WDT_DELAY_SEL,
  50. };
  51. static const esp_efuse_desc_t WR_DIS_SPI_BOOT_CRYPT_CNT[] = {
  52. {EFUSE_BLK0, 4, 1}, // [] wr_dis of SPI_BOOT_CRYPT_CNT,
  53. };
  54. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE0[] = {
  55. {EFUSE_BLK0, 5, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE0,
  56. };
  57. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE1[] = {
  58. {EFUSE_BLK0, 6, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE1,
  59. };
  60. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE2[] = {
  61. {EFUSE_BLK0, 7, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE2,
  62. };
  63. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_0[] = {
  64. {EFUSE_BLK0, 8, 1}, // [WR_DIS.KEY0_PURPOSE] wr_dis of KEY_PURPOSE_0,
  65. };
  66. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_1[] = {
  67. {EFUSE_BLK0, 9, 1}, // [WR_DIS.KEY1_PURPOSE] wr_dis of KEY_PURPOSE_1,
  68. };
  69. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_2[] = {
  70. {EFUSE_BLK0, 10, 1}, // [WR_DIS.KEY2_PURPOSE] wr_dis of KEY_PURPOSE_2,
  71. };
  72. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_3[] = {
  73. {EFUSE_BLK0, 11, 1}, // [WR_DIS.KEY3_PURPOSE] wr_dis of KEY_PURPOSE_3,
  74. };
  75. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_4[] = {
  76. {EFUSE_BLK0, 12, 1}, // [WR_DIS.KEY4_PURPOSE] wr_dis of KEY_PURPOSE_4,
  77. };
  78. static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_5[] = {
  79. {EFUSE_BLK0, 13, 1}, // [WR_DIS.KEY5_PURPOSE] wr_dis of KEY_PURPOSE_5,
  80. };
  81. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_EN[] = {
  82. {EFUSE_BLK0, 15, 1}, // [] wr_dis of SECURE_BOOT_EN,
  83. };
  84. static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  85. {EFUSE_BLK0, 16, 1}, // [] wr_dis of SECURE_BOOT_AGGRESSIVE_REVOKE,
  86. };
  87. static const esp_efuse_desc_t WR_DIS_FLASH_TPUW[] = {
  88. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_TPUW,
  89. };
  90. static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_MODE[] = {
  91. {EFUSE_BLK0, 18, 1}, // [] wr_dis of DIS_DOWNLOAD_MODE,
  92. };
  93. static const esp_efuse_desc_t WR_DIS_DIS_DIRECT_BOOT[] = {
  94. {EFUSE_BLK0, 18, 1}, // [WR_DIS.DIS_LEGACY_SPI_BOOT] wr_dis of DIS_DIRECT_BOOT,
  95. };
  96. static const esp_efuse_desc_t WR_DIS_DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  97. {EFUSE_BLK0, 18, 1}, // [WR_DIS.UART_PRINT_CHANNEL] wr_dis of DIS_USB_SERIAL_JTAG_ROM_PRINT,
  98. };
  99. static const esp_efuse_desc_t WR_DIS_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  100. {EFUSE_BLK0, 18, 1}, // [WR_DIS.DIS_USB_DOWNLOAD_MODE] wr_dis of DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE,
  101. };
  102. static const esp_efuse_desc_t WR_DIS_ENABLE_SECURITY_DOWNLOAD[] = {
  103. {EFUSE_BLK0, 18, 1}, // [] wr_dis of ENABLE_SECURITY_DOWNLOAD,
  104. };
  105. static const esp_efuse_desc_t WR_DIS_UART_PRINT_CONTROL[] = {
  106. {EFUSE_BLK0, 18, 1}, // [] wr_dis of UART_PRINT_CONTROL,
  107. };
  108. static const esp_efuse_desc_t WR_DIS_FORCE_SEND_RESUME[] = {
  109. {EFUSE_BLK0, 18, 1}, // [] wr_dis of FORCE_SEND_RESUME,
  110. };
  111. static const esp_efuse_desc_t WR_DIS_SECURE_VERSION[] = {
  112. {EFUSE_BLK0, 18, 1}, // [] wr_dis of SECURE_VERSION,
  113. };
  114. static const esp_efuse_desc_t WR_DIS_ERR_RST_ENABLE[] = {
  115. {EFUSE_BLK0, 19, 1}, // [] wr_dis of ERR_RST_ENABLE,
  116. };
  117. static const esp_efuse_desc_t WR_DIS_DISABLE_WAFER_VERSION_MAJOR[] = {
  118. {EFUSE_BLK0, 19, 1}, // [] wr_dis of DISABLE_WAFER_VERSION_MAJOR,
  119. };
  120. static const esp_efuse_desc_t WR_DIS_DISABLE_BLK_VERSION_MAJOR[] = {
  121. {EFUSE_BLK0, 19, 1}, // [] wr_dis of DISABLE_BLK_VERSION_MAJOR,
  122. };
  123. static const esp_efuse_desc_t WR_DIS_BLK1[] = {
  124. {EFUSE_BLK0, 20, 1}, // [] wr_dis of BLOCK1,
  125. };
  126. static const esp_efuse_desc_t WR_DIS_MAC[] = {
  127. {EFUSE_BLK0, 20, 1}, // [WR_DIS.MAC_FACTORY] wr_dis of MAC,
  128. };
  129. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_CLK[] = {
  130. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_CLK,
  131. };
  132. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_Q[] = {
  133. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_Q,
  134. };
  135. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D[] = {
  136. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D,
  137. };
  138. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_CS[] = {
  139. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_CS,
  140. };
  141. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_HD[] = {
  142. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_HD,
  143. };
  144. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_WP[] = {
  145. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_WP,
  146. };
  147. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_DQS[] = {
  148. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_DQS,
  149. };
  150. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D4[] = {
  151. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D4,
  152. };
  153. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D5[] = {
  154. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D5,
  155. };
  156. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D6[] = {
  157. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D6,
  158. };
  159. static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D7[] = {
  160. {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D7,
  161. };
  162. static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR_LO[] = {
  163. {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR_LO,
  164. };
  165. static const esp_efuse_desc_t WR_DIS_PKG_VERSION[] = {
  166. {EFUSE_BLK0, 20, 1}, // [] wr_dis of PKG_VERSION,
  167. };
  168. static const esp_efuse_desc_t WR_DIS_BLK_VERSION_MINOR[] = {
  169. {EFUSE_BLK0, 20, 1}, // [] wr_dis of BLK_VERSION_MINOR,
  170. };
  171. static const esp_efuse_desc_t WR_DIS_FLASH_CAP[] = {
  172. {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_CAP,
  173. };
  174. static const esp_efuse_desc_t WR_DIS_FLASH_TEMP[] = {
  175. {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_TEMP,
  176. };
  177. static const esp_efuse_desc_t WR_DIS_FLASH_VENDOR[] = {
  178. {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_VENDOR,
  179. };
  180. static const esp_efuse_desc_t WR_DIS_K_RTC_LDO[] = {
  181. {EFUSE_BLK0, 20, 1}, // [] wr_dis of K_RTC_LDO,
  182. };
  183. static const esp_efuse_desc_t WR_DIS_K_DIG_LDO[] = {
  184. {EFUSE_BLK0, 20, 1}, // [] wr_dis of K_DIG_LDO,
  185. };
  186. static const esp_efuse_desc_t WR_DIS_V_RTC_DBIAS20[] = {
  187. {EFUSE_BLK0, 20, 1}, // [] wr_dis of V_RTC_DBIAS20,
  188. };
  189. static const esp_efuse_desc_t WR_DIS_V_DIG_DBIAS20[] = {
  190. {EFUSE_BLK0, 20, 1}, // [] wr_dis of V_DIG_DBIAS20,
  191. };
  192. static const esp_efuse_desc_t WR_DIS_DIG_DBIAS_HVT[] = {
  193. {EFUSE_BLK0, 20, 1}, // [] wr_dis of DIG_DBIAS_HVT,
  194. };
  195. static const esp_efuse_desc_t WR_DIS_THRES_HVT[] = {
  196. {EFUSE_BLK0, 20, 1}, // [] wr_dis of THRES_HVT,
  197. };
  198. static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR_HI[] = {
  199. {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR_HI,
  200. };
  201. static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MAJOR[] = {
  202. {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MAJOR,
  203. };
  204. static const esp_efuse_desc_t WR_DIS_SYS_DATA_PART1[] = {
  205. {EFUSE_BLK0, 21, 1}, // [] wr_dis of BLOCK2,
  206. };
  207. static const esp_efuse_desc_t WR_DIS_OPTIONAL_UNIQUE_ID[] = {
  208. {EFUSE_BLK0, 21, 1}, // [] wr_dis of OPTIONAL_UNIQUE_ID,
  209. };
  210. static const esp_efuse_desc_t WR_DIS_BLK_VERSION_MAJOR[] = {
  211. {EFUSE_BLK0, 21, 1}, // [] wr_dis of BLK_VERSION_MAJOR,
  212. };
  213. static const esp_efuse_desc_t WR_DIS_TEMP_CALIB[] = {
  214. {EFUSE_BLK0, 21, 1}, // [] wr_dis of TEMP_CALIB,
  215. };
  216. static const esp_efuse_desc_t WR_DIS_OCODE[] = {
  217. {EFUSE_BLK0, 21, 1}, // [] wr_dis of OCODE,
  218. };
  219. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN0[] = {
  220. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN0,
  221. };
  222. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN1[] = {
  223. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN1,
  224. };
  225. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN2[] = {
  226. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN2,
  227. };
  228. static const esp_efuse_desc_t WR_DIS_ADC1_INIT_CODE_ATTEN3[] = {
  229. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_INIT_CODE_ATTEN3,
  230. };
  231. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN0[] = {
  232. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN0,
  233. };
  234. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN1[] = {
  235. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN1,
  236. };
  237. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN2[] = {
  238. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN2,
  239. };
  240. static const esp_efuse_desc_t WR_DIS_ADC1_CAL_VOL_ATTEN3[] = {
  241. {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC1_CAL_VOL_ATTEN3,
  242. };
  243. static const esp_efuse_desc_t WR_DIS_BLOCK_USR_DATA[] = {
  244. {EFUSE_BLK0, 22, 1}, // [WR_DIS.USER_DATA] wr_dis of BLOCK_USR_DATA,
  245. };
  246. static const esp_efuse_desc_t WR_DIS_CUSTOM_MAC[] = {
  247. {EFUSE_BLK0, 22, 1}, // [WR_DIS.MAC_CUSTOM WR_DIS.USER_DATA_MAC_CUSTOM] wr_dis of CUSTOM_MAC,
  248. };
  249. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY0[] = {
  250. {EFUSE_BLK0, 23, 1}, // [WR_DIS.KEY0] wr_dis of BLOCK_KEY0,
  251. };
  252. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY1[] = {
  253. {EFUSE_BLK0, 24, 1}, // [WR_DIS.KEY1] wr_dis of BLOCK_KEY1,
  254. };
  255. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY2[] = {
  256. {EFUSE_BLK0, 25, 1}, // [WR_DIS.KEY2] wr_dis of BLOCK_KEY2,
  257. };
  258. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY3[] = {
  259. {EFUSE_BLK0, 26, 1}, // [WR_DIS.KEY3] wr_dis of BLOCK_KEY3,
  260. };
  261. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY4[] = {
  262. {EFUSE_BLK0, 27, 1}, // [WR_DIS.KEY4] wr_dis of BLOCK_KEY4,
  263. };
  264. static const esp_efuse_desc_t WR_DIS_BLOCK_KEY5[] = {
  265. {EFUSE_BLK0, 28, 1}, // [WR_DIS.KEY5] wr_dis of BLOCK_KEY5,
  266. };
  267. static const esp_efuse_desc_t WR_DIS_BLOCK_SYS_DATA2[] = {
  268. {EFUSE_BLK0, 29, 1}, // [WR_DIS.SYS_DATA_PART2] wr_dis of BLOCK_SYS_DATA2,
  269. };
  270. static const esp_efuse_desc_t WR_DIS_USB_EXCHG_PINS[] = {
  271. {EFUSE_BLK0, 30, 1}, // [] wr_dis of USB_EXCHG_PINS,
  272. };
  273. static const esp_efuse_desc_t WR_DIS_VDD_SPI_AS_GPIO[] = {
  274. {EFUSE_BLK0, 30, 1}, // [] wr_dis of VDD_SPI_AS_GPIO,
  275. };
  276. static const esp_efuse_desc_t WR_DIS_SOFT_DIS_JTAG[] = {
  277. {EFUSE_BLK0, 31, 1}, // [] wr_dis of SOFT_DIS_JTAG,
  278. };
  279. static const esp_efuse_desc_t RD_DIS[] = {
  280. {EFUSE_BLK0, 32, 7}, // [] Disable reading from BlOCK4-10,
  281. };
  282. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY0[] = {
  283. {EFUSE_BLK0, 32, 1}, // [RD_DIS.KEY0] rd_dis of BLOCK_KEY0,
  284. };
  285. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY1[] = {
  286. {EFUSE_BLK0, 33, 1}, // [RD_DIS.KEY1] rd_dis of BLOCK_KEY1,
  287. };
  288. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY2[] = {
  289. {EFUSE_BLK0, 34, 1}, // [RD_DIS.KEY2] rd_dis of BLOCK_KEY2,
  290. };
  291. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY3[] = {
  292. {EFUSE_BLK0, 35, 1}, // [RD_DIS.KEY3] rd_dis of BLOCK_KEY3,
  293. };
  294. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY4[] = {
  295. {EFUSE_BLK0, 36, 1}, // [RD_DIS.KEY4] rd_dis of BLOCK_KEY4,
  296. };
  297. static const esp_efuse_desc_t RD_DIS_BLOCK_KEY5[] = {
  298. {EFUSE_BLK0, 37, 1}, // [RD_DIS.KEY5] rd_dis of BLOCK_KEY5,
  299. };
  300. static const esp_efuse_desc_t RD_DIS_BLOCK_SYS_DATA2[] = {
  301. {EFUSE_BLK0, 38, 1}, // [RD_DIS.SYS_DATA_PART2] rd_dis of BLOCK_SYS_DATA2,
  302. };
  303. static const esp_efuse_desc_t DIS_ICACHE[] = {
  304. {EFUSE_BLK0, 40, 1}, // [] Set this bit to disable Icache,
  305. };
  306. static const esp_efuse_desc_t DIS_USB_JTAG[] = {
  307. {EFUSE_BLK0, 41, 1}, // [] Set this bit to disable function of usb switch to jtag in module of usb device,
  308. };
  309. static const esp_efuse_desc_t DIS_DOWNLOAD_ICACHE[] = {
  310. {EFUSE_BLK0, 42, 1}, // [] Set this bit to disable Icache in download mode (boot_mode[3:0] is 0; 1; 2; 3; 6; 7),
  311. };
  312. static const esp_efuse_desc_t DIS_USB_SERIAL_JTAG[] = {
  313. {EFUSE_BLK0, 43, 1}, // [DIS_USB_DEVICE] USB-Serial-JTAG {0: "Enable"; 1: "Disable"},
  314. };
  315. static const esp_efuse_desc_t DIS_FORCE_DOWNLOAD[] = {
  316. {EFUSE_BLK0, 44, 1}, // [] Set this bit to disable the function that forces chip into download mode,
  317. };
  318. static const esp_efuse_desc_t DIS_TWAI[] = {
  319. {EFUSE_BLK0, 46, 1}, // [DIS_CAN] Set this bit to disable CAN function,
  320. };
  321. static const esp_efuse_desc_t JTAG_SEL_ENABLE[] = {
  322. {EFUSE_BLK0, 47, 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,
  323. };
  324. static const esp_efuse_desc_t SOFT_DIS_JTAG[] = {
  325. {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,
  326. };
  327. static const esp_efuse_desc_t DIS_PAD_JTAG[] = {
  328. {EFUSE_BLK0, 51, 1}, // [] Set this bit to disable JTAG in the hard way. JTAG is disabled permanently,
  329. };
  330. static const esp_efuse_desc_t DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  331. {EFUSE_BLK0, 52, 1}, // [] Set this bit to disable flash encryption when in download boot modes,
  332. };
  333. static const esp_efuse_desc_t USB_EXCHG_PINS[] = {
  334. {EFUSE_BLK0, 57, 1}, // [] Set this bit to exchange USB D+ and D- pins,
  335. };
  336. static const esp_efuse_desc_t VDD_SPI_AS_GPIO[] = {
  337. {EFUSE_BLK0, 58, 1}, // [] Set this bit to vdd spi pin function as gpio,
  338. };
  339. static const esp_efuse_desc_t WDT_DELAY_SEL[] = {
  340. {EFUSE_BLK0, 80, 2}, // [] RTC watchdog timeout threshold; in unit of slow clock cycle {0: "40000"; 1: "80000"; 2: "160000"; 3: "320000"},
  341. };
  342. static const esp_efuse_desc_t SPI_BOOT_CRYPT_CNT[] = {
  343. {EFUSE_BLK0, 82, 3}, // [] Enables flash encryption when 1 or 3 bits are set and disables otherwise {0: "Disable"; 1: "Enable"; 3: "Disable"; 7: "Enable"},
  344. };
  345. static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE0[] = {
  346. {EFUSE_BLK0, 85, 1}, // [] Revoke 1st secure boot key,
  347. };
  348. static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE1[] = {
  349. {EFUSE_BLK0, 86, 1}, // [] Revoke 2nd secure boot key,
  350. };
  351. static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE2[] = {
  352. {EFUSE_BLK0, 87, 1}, // [] Revoke 3rd secure boot key,
  353. };
  354. static const esp_efuse_desc_t KEY_PURPOSE_0[] = {
  355. {EFUSE_BLK0, 88, 4}, // [KEY0_PURPOSE] Purpose of Key0,
  356. };
  357. static const esp_efuse_desc_t KEY_PURPOSE_1[] = {
  358. {EFUSE_BLK0, 92, 4}, // [KEY1_PURPOSE] Purpose of Key1,
  359. };
  360. static const esp_efuse_desc_t KEY_PURPOSE_2[] = {
  361. {EFUSE_BLK0, 96, 4}, // [KEY2_PURPOSE] Purpose of Key2,
  362. };
  363. static const esp_efuse_desc_t KEY_PURPOSE_3[] = {
  364. {EFUSE_BLK0, 100, 4}, // [KEY3_PURPOSE] Purpose of Key3,
  365. };
  366. static const esp_efuse_desc_t KEY_PURPOSE_4[] = {
  367. {EFUSE_BLK0, 104, 4}, // [KEY4_PURPOSE] Purpose of Key4,
  368. };
  369. static const esp_efuse_desc_t KEY_PURPOSE_5[] = {
  370. {EFUSE_BLK0, 108, 4}, // [KEY5_PURPOSE] Purpose of Key5,
  371. };
  372. static const esp_efuse_desc_t SECURE_BOOT_EN[] = {
  373. {EFUSE_BLK0, 116, 1}, // [] Set this bit to enable secure boot,
  374. };
  375. static const esp_efuse_desc_t SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  376. {EFUSE_BLK0, 117, 1}, // [] Set this bit to enable revoking aggressive secure boot,
  377. };
  378. static const esp_efuse_desc_t FLASH_TPUW[] = {
  379. {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,
  380. };
  381. static const esp_efuse_desc_t DIS_DOWNLOAD_MODE[] = {
  382. {EFUSE_BLK0, 128, 1}, // [] Set this bit to disable download mode (boot_mode[3:0] = 0; 1; 2; 3; 6; 7),
  383. };
  384. static const esp_efuse_desc_t DIS_DIRECT_BOOT[] = {
  385. {EFUSE_BLK0, 129, 1}, // [DIS_LEGACY_SPI_BOOT] Disable direct boot mode,
  386. };
  387. static const esp_efuse_desc_t DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  388. {EFUSE_BLK0, 130, 1}, // [UART_PRINT_CHANNEL] USB printing {0: "Enable"; 1: "Disable"},
  389. };
  390. static const esp_efuse_desc_t DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  391. {EFUSE_BLK0, 132, 1}, // [DIS_USB_DOWNLOAD_MODE] Disable UART download mode through USB-Serial-JTAG,
  392. };
  393. static const esp_efuse_desc_t ENABLE_SECURITY_DOWNLOAD[] = {
  394. {EFUSE_BLK0, 133, 1}, // [] Set this bit to enable secure UART download mode,
  395. };
  396. static const esp_efuse_desc_t UART_PRINT_CONTROL[] = {
  397. {EFUSE_BLK0, 134, 2}, // [] Set the default UARTboot message output mode {0: "Enable"; 1: "Enable when GPIO8 is low at reset"; 2: "Enable when GPIO8 is high at reset"; 3: "Disable"},
  398. };
  399. static const esp_efuse_desc_t FORCE_SEND_RESUME[] = {
  400. {EFUSE_BLK0, 141, 1}, // [] Set this bit to force ROM code to send a resume command during SPI boot,
  401. };
  402. static const esp_efuse_desc_t SECURE_VERSION[] = {
  403. {EFUSE_BLK0, 142, 16}, // [] Secure version (used by ESP-IDF anti-rollback feature),
  404. };
  405. static const esp_efuse_desc_t ERR_RST_ENABLE[] = {
  406. {EFUSE_BLK0, 159, 1}, // [] Use BLOCK0 to check error record registers {0: "without check"; 1: "with check"},
  407. };
  408. static const esp_efuse_desc_t DISABLE_WAFER_VERSION_MAJOR[] = {
  409. {EFUSE_BLK0, 160, 1}, // [] Disables check of wafer version major,
  410. };
  411. static const esp_efuse_desc_t DISABLE_BLK_VERSION_MAJOR[] = {
  412. {EFUSE_BLK0, 161, 1}, // [] Disables check of blk version major,
  413. };
  414. static const esp_efuse_desc_t MAC[] = {
  415. {EFUSE_BLK1, 40, 8}, // [MAC_FACTORY] MAC address,
  416. {EFUSE_BLK1, 32, 8}, // [MAC_FACTORY] MAC address,
  417. {EFUSE_BLK1, 24, 8}, // [MAC_FACTORY] MAC address,
  418. {EFUSE_BLK1, 16, 8}, // [MAC_FACTORY] MAC address,
  419. {EFUSE_BLK1, 8, 8}, // [MAC_FACTORY] MAC address,
  420. {EFUSE_BLK1, 0, 8}, // [MAC_FACTORY] MAC address,
  421. };
  422. static const esp_efuse_desc_t SPI_PAD_CONFIG_CLK[] = {
  423. {EFUSE_BLK1, 48, 6}, // [] SPI PAD CLK,
  424. };
  425. static const esp_efuse_desc_t SPI_PAD_CONFIG_Q[] = {
  426. {EFUSE_BLK1, 54, 6}, // [] SPI PAD Q(D1),
  427. };
  428. static const esp_efuse_desc_t SPI_PAD_CONFIG_D[] = {
  429. {EFUSE_BLK1, 60, 6}, // [] SPI PAD D(D0),
  430. };
  431. static const esp_efuse_desc_t SPI_PAD_CONFIG_CS[] = {
  432. {EFUSE_BLK1, 66, 6}, // [] SPI PAD CS,
  433. };
  434. static const esp_efuse_desc_t SPI_PAD_CONFIG_HD[] = {
  435. {EFUSE_BLK1, 72, 6}, // [] SPI PAD HD(D3),
  436. };
  437. static const esp_efuse_desc_t SPI_PAD_CONFIG_WP[] = {
  438. {EFUSE_BLK1, 78, 6}, // [] SPI PAD WP(D2),
  439. };
  440. static const esp_efuse_desc_t SPI_PAD_CONFIG_DQS[] = {
  441. {EFUSE_BLK1, 84, 6}, // [] SPI PAD DQS,
  442. };
  443. static const esp_efuse_desc_t SPI_PAD_CONFIG_D4[] = {
  444. {EFUSE_BLK1, 90, 6}, // [] SPI PAD D4,
  445. };
  446. static const esp_efuse_desc_t SPI_PAD_CONFIG_D5[] = {
  447. {EFUSE_BLK1, 96, 6}, // [] SPI PAD D5,
  448. };
  449. static const esp_efuse_desc_t SPI_PAD_CONFIG_D6[] = {
  450. {EFUSE_BLK1, 102, 6}, // [] SPI PAD D6,
  451. };
  452. static const esp_efuse_desc_t SPI_PAD_CONFIG_D7[] = {
  453. {EFUSE_BLK1, 108, 6}, // [] SPI PAD D7,
  454. };
  455. static const esp_efuse_desc_t WAFER_VERSION_MINOR_LO[] = {
  456. {EFUSE_BLK1, 114, 3}, // [] WAFER_VERSION_MINOR least significant bits,
  457. };
  458. static const esp_efuse_desc_t PKG_VERSION[] = {
  459. {EFUSE_BLK1, 117, 3}, // [] Package version,
  460. };
  461. static const esp_efuse_desc_t BLK_VERSION_MINOR[] = {
  462. {EFUSE_BLK1, 120, 3}, // [] BLK_VERSION_MINOR,
  463. };
  464. static const esp_efuse_desc_t FLASH_CAP[] = {
  465. {EFUSE_BLK1, 123, 3}, // [] Flash capacity {0: "None"; 1: "4M"; 2: "2M"; 3: "1M"; 4: "8M"},
  466. };
  467. static const esp_efuse_desc_t FLASH_TEMP[] = {
  468. {EFUSE_BLK1, 126, 2}, // [] Flash temperature {0: "None"; 1: "105C"; 2: "85C"},
  469. };
  470. static const esp_efuse_desc_t FLASH_VENDOR[] = {
  471. {EFUSE_BLK1, 128, 3}, // [] Flash vendor {0: "None"; 1: "XMC"; 2: "GD"; 3: "FM"; 4: "TT"; 5: "ZBIT"},
  472. };
  473. static const esp_efuse_desc_t K_RTC_LDO[] = {
  474. {EFUSE_BLK1, 135, 7}, // [] BLOCK1 K_RTC_LDO,
  475. };
  476. static const esp_efuse_desc_t K_DIG_LDO[] = {
  477. {EFUSE_BLK1, 142, 7}, // [] BLOCK1 K_DIG_LDO,
  478. };
  479. static const esp_efuse_desc_t V_RTC_DBIAS20[] = {
  480. {EFUSE_BLK1, 149, 8}, // [] BLOCK1 voltage of rtc dbias20,
  481. };
  482. static const esp_efuse_desc_t V_DIG_DBIAS20[] = {
  483. {EFUSE_BLK1, 157, 8}, // [] BLOCK1 voltage of digital dbias20,
  484. };
  485. static const esp_efuse_desc_t DIG_DBIAS_HVT[] = {
  486. {EFUSE_BLK1, 165, 5}, // [] BLOCK1 digital dbias when hvt,
  487. };
  488. static const esp_efuse_desc_t THRES_HVT[] = {
  489. {EFUSE_BLK1, 170, 10}, // [] BLOCK1 pvt threshold when hvt,
  490. };
  491. static const esp_efuse_desc_t WAFER_VERSION_MINOR_HI[] = {
  492. {EFUSE_BLK1, 183, 1}, // [] WAFER_VERSION_MINOR most significant bit,
  493. };
  494. static const esp_efuse_desc_t WAFER_VERSION_MAJOR[] = {
  495. {EFUSE_BLK1, 184, 2}, // [] WAFER_VERSION_MAJOR,
  496. };
  497. static const esp_efuse_desc_t OPTIONAL_UNIQUE_ID[] = {
  498. {EFUSE_BLK2, 0, 128}, // [] Optional unique 128-bit ID,
  499. };
  500. static const esp_efuse_desc_t BLK_VERSION_MAJOR[] = {
  501. {EFUSE_BLK2, 128, 2}, // [] BLK_VERSION_MAJOR of BLOCK2 {0: "No calibration"; 1: "With calibration"},
  502. };
  503. static const esp_efuse_desc_t TEMP_CALIB[] = {
  504. {EFUSE_BLK2, 131, 9}, // [] Temperature calibration data,
  505. };
  506. static const esp_efuse_desc_t OCODE[] = {
  507. {EFUSE_BLK2, 140, 8}, // [] ADC OCode,
  508. };
  509. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN0[] = {
  510. {EFUSE_BLK2, 148, 10}, // [] ADC1 init code at atten0,
  511. };
  512. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN1[] = {
  513. {EFUSE_BLK2, 158, 10}, // [] ADC1 init code at atten1,
  514. };
  515. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN2[] = {
  516. {EFUSE_BLK2, 168, 10}, // [] ADC1 init code at atten2,
  517. };
  518. static const esp_efuse_desc_t ADC1_INIT_CODE_ATTEN3[] = {
  519. {EFUSE_BLK2, 178, 10}, // [] ADC1 init code at atten3,
  520. };
  521. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN0[] = {
  522. {EFUSE_BLK2, 188, 10}, // [] ADC1 calibration voltage at atten0,
  523. };
  524. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN1[] = {
  525. {EFUSE_BLK2, 198, 10}, // [] ADC1 calibration voltage at atten1,
  526. };
  527. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN2[] = {
  528. {EFUSE_BLK2, 208, 10}, // [] ADC1 calibration voltage at atten2,
  529. };
  530. static const esp_efuse_desc_t ADC1_CAL_VOL_ATTEN3[] = {
  531. {EFUSE_BLK2, 218, 10}, // [] ADC1 calibration voltage at atten3,
  532. };
  533. static const esp_efuse_desc_t USER_DATA[] = {
  534. {EFUSE_BLK3, 0, 256}, // [BLOCK_USR_DATA] User data,
  535. };
  536. static const esp_efuse_desc_t USER_DATA_MAC_CUSTOM[] = {
  537. {EFUSE_BLK3, 200, 48}, // [MAC_CUSTOM CUSTOM_MAC] Custom MAC address,
  538. };
  539. static const esp_efuse_desc_t KEY0[] = {
  540. {EFUSE_BLK4, 0, 256}, // [BLOCK_KEY0] Key0 or user data,
  541. };
  542. static const esp_efuse_desc_t KEY1[] = {
  543. {EFUSE_BLK5, 0, 256}, // [BLOCK_KEY1] Key1 or user data,
  544. };
  545. static const esp_efuse_desc_t KEY2[] = {
  546. {EFUSE_BLK6, 0, 256}, // [BLOCK_KEY2] Key2 or user data,
  547. };
  548. static const esp_efuse_desc_t KEY3[] = {
  549. {EFUSE_BLK7, 0, 256}, // [BLOCK_KEY3] Key3 or user data,
  550. };
  551. static const esp_efuse_desc_t KEY4[] = {
  552. {EFUSE_BLK8, 0, 256}, // [BLOCK_KEY4] Key4 or user data,
  553. };
  554. static const esp_efuse_desc_t KEY5[] = {
  555. {EFUSE_BLK9, 0, 256}, // [BLOCK_KEY5] Key5 or user data,
  556. };
  557. static const esp_efuse_desc_t SYS_DATA_PART2[] = {
  558. {EFUSE_BLK10, 0, 256}, // [BLOCK_SYS_DATA2] System data part 2 (reserved),
  559. };
  560. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS[] = {
  561. &WR_DIS[0], // [] Disable programming of individual eFuses
  562. NULL
  563. };
  564. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RD_DIS[] = {
  565. &WR_DIS_RD_DIS[0], // [] wr_dis of RD_DIS
  566. NULL
  567. };
  568. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_ICACHE[] = {
  569. &WR_DIS_DIS_ICACHE[0], // [] wr_dis of DIS_ICACHE
  570. NULL
  571. };
  572. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_JTAG[] = {
  573. &WR_DIS_DIS_USB_JTAG[0], // [] wr_dis of DIS_USB_JTAG
  574. NULL
  575. };
  576. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_ICACHE[] = {
  577. &WR_DIS_DIS_DOWNLOAD_ICACHE[0], // [] wr_dis of DIS_DOWNLOAD_ICACHE
  578. NULL
  579. };
  580. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_SERIAL_JTAG[] = {
  581. &WR_DIS_DIS_USB_SERIAL_JTAG[0], // [WR_DIS.DIS_USB_DEVICE] wr_dis of DIS_USB_SERIAL_JTAG
  582. NULL
  583. };
  584. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_FORCE_DOWNLOAD[] = {
  585. &WR_DIS_DIS_FORCE_DOWNLOAD[0], // [] wr_dis of DIS_FORCE_DOWNLOAD
  586. NULL
  587. };
  588. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_TWAI[] = {
  589. &WR_DIS_DIS_TWAI[0], // [WR_DIS.DIS_CAN] wr_dis of DIS_TWAI
  590. NULL
  591. };
  592. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_JTAG_SEL_ENABLE[] = {
  593. &WR_DIS_JTAG_SEL_ENABLE[0], // [] wr_dis of JTAG_SEL_ENABLE
  594. NULL
  595. };
  596. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_PAD_JTAG[] = {
  597. &WR_DIS_DIS_PAD_JTAG[0], // [] wr_dis of DIS_PAD_JTAG
  598. NULL
  599. };
  600. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  601. &WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[0], // [] wr_dis of DIS_DOWNLOAD_MANUAL_ENCRYPT
  602. NULL
  603. };
  604. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WDT_DELAY_SEL[] = {
  605. &WR_DIS_WDT_DELAY_SEL[0], // [] wr_dis of WDT_DELAY_SEL
  606. NULL
  607. };
  608. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_BOOT_CRYPT_CNT[] = {
  609. &WR_DIS_SPI_BOOT_CRYPT_CNT[0], // [] wr_dis of SPI_BOOT_CRYPT_CNT
  610. NULL
  611. };
  612. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE0[] = {
  613. &WR_DIS_SECURE_BOOT_KEY_REVOKE0[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE0
  614. NULL
  615. };
  616. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE1[] = {
  617. &WR_DIS_SECURE_BOOT_KEY_REVOKE1[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE1
  618. NULL
  619. };
  620. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE2[] = {
  621. &WR_DIS_SECURE_BOOT_KEY_REVOKE2[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE2
  622. NULL
  623. };
  624. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_0[] = {
  625. &WR_DIS_KEY_PURPOSE_0[0], // [WR_DIS.KEY0_PURPOSE] wr_dis of KEY_PURPOSE_0
  626. NULL
  627. };
  628. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_1[] = {
  629. &WR_DIS_KEY_PURPOSE_1[0], // [WR_DIS.KEY1_PURPOSE] wr_dis of KEY_PURPOSE_1
  630. NULL
  631. };
  632. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_2[] = {
  633. &WR_DIS_KEY_PURPOSE_2[0], // [WR_DIS.KEY2_PURPOSE] wr_dis of KEY_PURPOSE_2
  634. NULL
  635. };
  636. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_3[] = {
  637. &WR_DIS_KEY_PURPOSE_3[0], // [WR_DIS.KEY3_PURPOSE] wr_dis of KEY_PURPOSE_3
  638. NULL
  639. };
  640. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_4[] = {
  641. &WR_DIS_KEY_PURPOSE_4[0], // [WR_DIS.KEY4_PURPOSE] wr_dis of KEY_PURPOSE_4
  642. NULL
  643. };
  644. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_5[] = {
  645. &WR_DIS_KEY_PURPOSE_5[0], // [WR_DIS.KEY5_PURPOSE] wr_dis of KEY_PURPOSE_5
  646. NULL
  647. };
  648. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_EN[] = {
  649. &WR_DIS_SECURE_BOOT_EN[0], // [] wr_dis of SECURE_BOOT_EN
  650. NULL
  651. };
  652. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  653. &WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[0], // [] wr_dis of SECURE_BOOT_AGGRESSIVE_REVOKE
  654. NULL
  655. };
  656. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TPUW[] = {
  657. &WR_DIS_FLASH_TPUW[0], // [] wr_dis of FLASH_TPUW
  658. NULL
  659. };
  660. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_MODE[] = {
  661. &WR_DIS_DIS_DOWNLOAD_MODE[0], // [] wr_dis of DIS_DOWNLOAD_MODE
  662. NULL
  663. };
  664. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DIRECT_BOOT[] = {
  665. &WR_DIS_DIS_DIRECT_BOOT[0], // [WR_DIS.DIS_LEGACY_SPI_BOOT] wr_dis of DIS_DIRECT_BOOT
  666. NULL
  667. };
  668. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  669. &WR_DIS_DIS_USB_SERIAL_JTAG_ROM_PRINT[0], // [WR_DIS.UART_PRINT_CHANNEL] wr_dis of DIS_USB_SERIAL_JTAG_ROM_PRINT
  670. NULL
  671. };
  672. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  673. &WR_DIS_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[0], // [WR_DIS.DIS_USB_DOWNLOAD_MODE] wr_dis of DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE
  674. NULL
  675. };
  676. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ENABLE_SECURITY_DOWNLOAD[] = {
  677. &WR_DIS_ENABLE_SECURITY_DOWNLOAD[0], // [] wr_dis of ENABLE_SECURITY_DOWNLOAD
  678. NULL
  679. };
  680. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_UART_PRINT_CONTROL[] = {
  681. &WR_DIS_UART_PRINT_CONTROL[0], // [] wr_dis of UART_PRINT_CONTROL
  682. NULL
  683. };
  684. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FORCE_SEND_RESUME[] = {
  685. &WR_DIS_FORCE_SEND_RESUME[0], // [] wr_dis of FORCE_SEND_RESUME
  686. NULL
  687. };
  688. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_VERSION[] = {
  689. &WR_DIS_SECURE_VERSION[0], // [] wr_dis of SECURE_VERSION
  690. NULL
  691. };
  692. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ERR_RST_ENABLE[] = {
  693. &WR_DIS_ERR_RST_ENABLE[0], // [] wr_dis of ERR_RST_ENABLE
  694. NULL
  695. };
  696. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DISABLE_WAFER_VERSION_MAJOR[] = {
  697. &WR_DIS_DISABLE_WAFER_VERSION_MAJOR[0], // [] wr_dis of DISABLE_WAFER_VERSION_MAJOR
  698. NULL
  699. };
  700. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DISABLE_BLK_VERSION_MAJOR[] = {
  701. &WR_DIS_DISABLE_BLK_VERSION_MAJOR[0], // [] wr_dis of DISABLE_BLK_VERSION_MAJOR
  702. NULL
  703. };
  704. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK1[] = {
  705. &WR_DIS_BLK1[0], // [] wr_dis of BLOCK1
  706. NULL
  707. };
  708. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_MAC[] = {
  709. &WR_DIS_MAC[0], // [WR_DIS.MAC_FACTORY] wr_dis of MAC
  710. NULL
  711. };
  712. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_CLK[] = {
  713. &WR_DIS_SPI_PAD_CONFIG_CLK[0], // [] wr_dis of SPI_PAD_CONFIG_CLK
  714. NULL
  715. };
  716. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_Q[] = {
  717. &WR_DIS_SPI_PAD_CONFIG_Q[0], // [] wr_dis of SPI_PAD_CONFIG_Q
  718. NULL
  719. };
  720. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D[] = {
  721. &WR_DIS_SPI_PAD_CONFIG_D[0], // [] wr_dis of SPI_PAD_CONFIG_D
  722. NULL
  723. };
  724. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_CS[] = {
  725. &WR_DIS_SPI_PAD_CONFIG_CS[0], // [] wr_dis of SPI_PAD_CONFIG_CS
  726. NULL
  727. };
  728. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_HD[] = {
  729. &WR_DIS_SPI_PAD_CONFIG_HD[0], // [] wr_dis of SPI_PAD_CONFIG_HD
  730. NULL
  731. };
  732. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_WP[] = {
  733. &WR_DIS_SPI_PAD_CONFIG_WP[0], // [] wr_dis of SPI_PAD_CONFIG_WP
  734. NULL
  735. };
  736. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_DQS[] = {
  737. &WR_DIS_SPI_PAD_CONFIG_DQS[0], // [] wr_dis of SPI_PAD_CONFIG_DQS
  738. NULL
  739. };
  740. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D4[] = {
  741. &WR_DIS_SPI_PAD_CONFIG_D4[0], // [] wr_dis of SPI_PAD_CONFIG_D4
  742. NULL
  743. };
  744. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D5[] = {
  745. &WR_DIS_SPI_PAD_CONFIG_D5[0], // [] wr_dis of SPI_PAD_CONFIG_D5
  746. NULL
  747. };
  748. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D6[] = {
  749. &WR_DIS_SPI_PAD_CONFIG_D6[0], // [] wr_dis of SPI_PAD_CONFIG_D6
  750. NULL
  751. };
  752. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D7[] = {
  753. &WR_DIS_SPI_PAD_CONFIG_D7[0], // [] wr_dis of SPI_PAD_CONFIG_D7
  754. NULL
  755. };
  756. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR_LO[] = {
  757. &WR_DIS_WAFER_VERSION_MINOR_LO[0], // [] wr_dis of WAFER_VERSION_MINOR_LO
  758. NULL
  759. };
  760. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PKG_VERSION[] = {
  761. &WR_DIS_PKG_VERSION[0], // [] wr_dis of PKG_VERSION
  762. NULL
  763. };
  764. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK_VERSION_MINOR[] = {
  765. &WR_DIS_BLK_VERSION_MINOR[0], // [] wr_dis of BLK_VERSION_MINOR
  766. NULL
  767. };
  768. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_CAP[] = {
  769. &WR_DIS_FLASH_CAP[0], // [] wr_dis of FLASH_CAP
  770. NULL
  771. };
  772. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TEMP[] = {
  773. &WR_DIS_FLASH_TEMP[0], // [] wr_dis of FLASH_TEMP
  774. NULL
  775. };
  776. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_VENDOR[] = {
  777. &WR_DIS_FLASH_VENDOR[0], // [] wr_dis of FLASH_VENDOR
  778. NULL
  779. };
  780. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_K_RTC_LDO[] = {
  781. &WR_DIS_K_RTC_LDO[0], // [] wr_dis of K_RTC_LDO
  782. NULL
  783. };
  784. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_K_DIG_LDO[] = {
  785. &WR_DIS_K_DIG_LDO[0], // [] wr_dis of K_DIG_LDO
  786. NULL
  787. };
  788. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_V_RTC_DBIAS20[] = {
  789. &WR_DIS_V_RTC_DBIAS20[0], // [] wr_dis of V_RTC_DBIAS20
  790. NULL
  791. };
  792. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_V_DIG_DBIAS20[] = {
  793. &WR_DIS_V_DIG_DBIAS20[0], // [] wr_dis of V_DIG_DBIAS20
  794. NULL
  795. };
  796. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIG_DBIAS_HVT[] = {
  797. &WR_DIS_DIG_DBIAS_HVT[0], // [] wr_dis of DIG_DBIAS_HVT
  798. NULL
  799. };
  800. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_THRES_HVT[] = {
  801. &WR_DIS_THRES_HVT[0], // [] wr_dis of THRES_HVT
  802. NULL
  803. };
  804. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR_HI[] = {
  805. &WR_DIS_WAFER_VERSION_MINOR_HI[0], // [] wr_dis of WAFER_VERSION_MINOR_HI
  806. NULL
  807. };
  808. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MAJOR[] = {
  809. &WR_DIS_WAFER_VERSION_MAJOR[0], // [] wr_dis of WAFER_VERSION_MAJOR
  810. NULL
  811. };
  812. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SYS_DATA_PART1[] = {
  813. &WR_DIS_SYS_DATA_PART1[0], // [] wr_dis of BLOCK2
  814. NULL
  815. };
  816. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_OPTIONAL_UNIQUE_ID[] = {
  817. &WR_DIS_OPTIONAL_UNIQUE_ID[0], // [] wr_dis of OPTIONAL_UNIQUE_ID
  818. NULL
  819. };
  820. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK_VERSION_MAJOR[] = {
  821. &WR_DIS_BLK_VERSION_MAJOR[0], // [] wr_dis of BLK_VERSION_MAJOR
  822. NULL
  823. };
  824. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_TEMP_CALIB[] = {
  825. &WR_DIS_TEMP_CALIB[0], // [] wr_dis of TEMP_CALIB
  826. NULL
  827. };
  828. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_OCODE[] = {
  829. &WR_DIS_OCODE[0], // [] wr_dis of OCODE
  830. NULL
  831. };
  832. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN0[] = {
  833. &WR_DIS_ADC1_INIT_CODE_ATTEN0[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN0
  834. NULL
  835. };
  836. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN1[] = {
  837. &WR_DIS_ADC1_INIT_CODE_ATTEN1[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN1
  838. NULL
  839. };
  840. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN2[] = {
  841. &WR_DIS_ADC1_INIT_CODE_ATTEN2[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN2
  842. NULL
  843. };
  844. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_INIT_CODE_ATTEN3[] = {
  845. &WR_DIS_ADC1_INIT_CODE_ATTEN3[0], // [] wr_dis of ADC1_INIT_CODE_ATTEN3
  846. NULL
  847. };
  848. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN0[] = {
  849. &WR_DIS_ADC1_CAL_VOL_ATTEN0[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN0
  850. NULL
  851. };
  852. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN1[] = {
  853. &WR_DIS_ADC1_CAL_VOL_ATTEN1[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN1
  854. NULL
  855. };
  856. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN2[] = {
  857. &WR_DIS_ADC1_CAL_VOL_ATTEN2[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN2
  858. NULL
  859. };
  860. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC1_CAL_VOL_ATTEN3[] = {
  861. &WR_DIS_ADC1_CAL_VOL_ATTEN3[0], // [] wr_dis of ADC1_CAL_VOL_ATTEN3
  862. NULL
  863. };
  864. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_USR_DATA[] = {
  865. &WR_DIS_BLOCK_USR_DATA[0], // [WR_DIS.USER_DATA] wr_dis of BLOCK_USR_DATA
  866. NULL
  867. };
  868. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_CUSTOM_MAC[] = {
  869. &WR_DIS_CUSTOM_MAC[0], // [WR_DIS.MAC_CUSTOM WR_DIS.USER_DATA_MAC_CUSTOM] wr_dis of CUSTOM_MAC
  870. NULL
  871. };
  872. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY0[] = {
  873. &WR_DIS_BLOCK_KEY0[0], // [WR_DIS.KEY0] wr_dis of BLOCK_KEY0
  874. NULL
  875. };
  876. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY1[] = {
  877. &WR_DIS_BLOCK_KEY1[0], // [WR_DIS.KEY1] wr_dis of BLOCK_KEY1
  878. NULL
  879. };
  880. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY2[] = {
  881. &WR_DIS_BLOCK_KEY2[0], // [WR_DIS.KEY2] wr_dis of BLOCK_KEY2
  882. NULL
  883. };
  884. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY3[] = {
  885. &WR_DIS_BLOCK_KEY3[0], // [WR_DIS.KEY3] wr_dis of BLOCK_KEY3
  886. NULL
  887. };
  888. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY4[] = {
  889. &WR_DIS_BLOCK_KEY4[0], // [WR_DIS.KEY4] wr_dis of BLOCK_KEY4
  890. NULL
  891. };
  892. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY5[] = {
  893. &WR_DIS_BLOCK_KEY5[0], // [WR_DIS.KEY5] wr_dis of BLOCK_KEY5
  894. NULL
  895. };
  896. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_SYS_DATA2[] = {
  897. &WR_DIS_BLOCK_SYS_DATA2[0], // [WR_DIS.SYS_DATA_PART2] wr_dis of BLOCK_SYS_DATA2
  898. NULL
  899. };
  900. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_EXCHG_PINS[] = {
  901. &WR_DIS_USB_EXCHG_PINS[0], // [] wr_dis of USB_EXCHG_PINS
  902. NULL
  903. };
  904. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_AS_GPIO[] = {
  905. &WR_DIS_VDD_SPI_AS_GPIO[0], // [] wr_dis of VDD_SPI_AS_GPIO
  906. NULL
  907. };
  908. const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SOFT_DIS_JTAG[] = {
  909. &WR_DIS_SOFT_DIS_JTAG[0], // [] wr_dis of SOFT_DIS_JTAG
  910. NULL
  911. };
  912. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS[] = {
  913. &RD_DIS[0], // [] Disable reading from BlOCK4-10
  914. NULL
  915. };
  916. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY0[] = {
  917. &RD_DIS_BLOCK_KEY0[0], // [RD_DIS.KEY0] rd_dis of BLOCK_KEY0
  918. NULL
  919. };
  920. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY1[] = {
  921. &RD_DIS_BLOCK_KEY1[0], // [RD_DIS.KEY1] rd_dis of BLOCK_KEY1
  922. NULL
  923. };
  924. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY2[] = {
  925. &RD_DIS_BLOCK_KEY2[0], // [RD_DIS.KEY2] rd_dis of BLOCK_KEY2
  926. NULL
  927. };
  928. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY3[] = {
  929. &RD_DIS_BLOCK_KEY3[0], // [RD_DIS.KEY3] rd_dis of BLOCK_KEY3
  930. NULL
  931. };
  932. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY4[] = {
  933. &RD_DIS_BLOCK_KEY4[0], // [RD_DIS.KEY4] rd_dis of BLOCK_KEY4
  934. NULL
  935. };
  936. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY5[] = {
  937. &RD_DIS_BLOCK_KEY5[0], // [RD_DIS.KEY5] rd_dis of BLOCK_KEY5
  938. NULL
  939. };
  940. const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_SYS_DATA2[] = {
  941. &RD_DIS_BLOCK_SYS_DATA2[0], // [RD_DIS.SYS_DATA_PART2] rd_dis of BLOCK_SYS_DATA2
  942. NULL
  943. };
  944. const esp_efuse_desc_t* ESP_EFUSE_DIS_ICACHE[] = {
  945. &DIS_ICACHE[0], // [] Set this bit to disable Icache
  946. NULL
  947. };
  948. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_JTAG[] = {
  949. &DIS_USB_JTAG[0], // [] Set this bit to disable function of usb switch to jtag in module of usb device
  950. NULL
  951. };
  952. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_ICACHE[] = {
  953. &DIS_DOWNLOAD_ICACHE[0], // [] Set this bit to disable Icache in download mode (boot_mode[3:0] is 0; 1; 2; 3; 6; 7)
  954. NULL
  955. };
  956. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_SERIAL_JTAG[] = {
  957. &DIS_USB_SERIAL_JTAG[0], // [DIS_USB_DEVICE] USB-Serial-JTAG {0: "Enable"; 1: "Disable"}
  958. NULL
  959. };
  960. const esp_efuse_desc_t* ESP_EFUSE_DIS_FORCE_DOWNLOAD[] = {
  961. &DIS_FORCE_DOWNLOAD[0], // [] Set this bit to disable the function that forces chip into download mode
  962. NULL
  963. };
  964. const esp_efuse_desc_t* ESP_EFUSE_DIS_TWAI[] = {
  965. &DIS_TWAI[0], // [DIS_CAN] Set this bit to disable CAN function
  966. NULL
  967. };
  968. const esp_efuse_desc_t* ESP_EFUSE_JTAG_SEL_ENABLE[] = {
  969. &JTAG_SEL_ENABLE[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
  970. NULL
  971. };
  972. const esp_efuse_desc_t* ESP_EFUSE_SOFT_DIS_JTAG[] = {
  973. &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
  974. NULL
  975. };
  976. const esp_efuse_desc_t* ESP_EFUSE_DIS_PAD_JTAG[] = {
  977. &DIS_PAD_JTAG[0], // [] Set this bit to disable JTAG in the hard way. JTAG is disabled permanently
  978. NULL
  979. };
  980. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = {
  981. &DIS_DOWNLOAD_MANUAL_ENCRYPT[0], // [] Set this bit to disable flash encryption when in download boot modes
  982. NULL
  983. };
  984. const esp_efuse_desc_t* ESP_EFUSE_USB_EXCHG_PINS[] = {
  985. &USB_EXCHG_PINS[0], // [] Set this bit to exchange USB D+ and D- pins
  986. NULL
  987. };
  988. const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_AS_GPIO[] = {
  989. &VDD_SPI_AS_GPIO[0], // [] Set this bit to vdd spi pin function as gpio
  990. NULL
  991. };
  992. const esp_efuse_desc_t* ESP_EFUSE_WDT_DELAY_SEL[] = {
  993. &WDT_DELAY_SEL[0], // [] RTC watchdog timeout threshold; in unit of slow clock cycle {0: "40000"; 1: "80000"; 2: "160000"; 3: "320000"}
  994. NULL
  995. };
  996. const esp_efuse_desc_t* ESP_EFUSE_SPI_BOOT_CRYPT_CNT[] = {
  997. &SPI_BOOT_CRYPT_CNT[0], // [] Enables flash encryption when 1 or 3 bits are set and disables otherwise {0: "Disable"; 1: "Enable"; 3: "Disable"; 7: "Enable"}
  998. NULL
  999. };
  1000. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE0[] = {
  1001. &SECURE_BOOT_KEY_REVOKE0[0], // [] Revoke 1st secure boot key
  1002. NULL
  1003. };
  1004. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE1[] = {
  1005. &SECURE_BOOT_KEY_REVOKE1[0], // [] Revoke 2nd secure boot key
  1006. NULL
  1007. };
  1008. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE2[] = {
  1009. &SECURE_BOOT_KEY_REVOKE2[0], // [] Revoke 3rd secure boot key
  1010. NULL
  1011. };
  1012. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_0[] = {
  1013. &KEY_PURPOSE_0[0], // [KEY0_PURPOSE] Purpose of Key0
  1014. NULL
  1015. };
  1016. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_1[] = {
  1017. &KEY_PURPOSE_1[0], // [KEY1_PURPOSE] Purpose of Key1
  1018. NULL
  1019. };
  1020. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_2[] = {
  1021. &KEY_PURPOSE_2[0], // [KEY2_PURPOSE] Purpose of Key2
  1022. NULL
  1023. };
  1024. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_3[] = {
  1025. &KEY_PURPOSE_3[0], // [KEY3_PURPOSE] Purpose of Key3
  1026. NULL
  1027. };
  1028. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_4[] = {
  1029. &KEY_PURPOSE_4[0], // [KEY4_PURPOSE] Purpose of Key4
  1030. NULL
  1031. };
  1032. const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_5[] = {
  1033. &KEY_PURPOSE_5[0], // [KEY5_PURPOSE] Purpose of Key5
  1034. NULL
  1035. };
  1036. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_EN[] = {
  1037. &SECURE_BOOT_EN[0], // [] Set this bit to enable secure boot
  1038. NULL
  1039. };
  1040. const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE[] = {
  1041. &SECURE_BOOT_AGGRESSIVE_REVOKE[0], // [] Set this bit to enable revoking aggressive secure boot
  1042. NULL
  1043. };
  1044. const esp_efuse_desc_t* ESP_EFUSE_FLASH_TPUW[] = {
  1045. &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
  1046. NULL
  1047. };
  1048. const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_MODE[] = {
  1049. &DIS_DOWNLOAD_MODE[0], // [] Set this bit to disable download mode (boot_mode[3:0] = 0; 1; 2; 3; 6; 7)
  1050. NULL
  1051. };
  1052. const esp_efuse_desc_t* ESP_EFUSE_DIS_DIRECT_BOOT[] = {
  1053. &DIS_DIRECT_BOOT[0], // [DIS_LEGACY_SPI_BOOT] Disable direct boot mode
  1054. NULL
  1055. };
  1056. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_SERIAL_JTAG_ROM_PRINT[] = {
  1057. &DIS_USB_SERIAL_JTAG_ROM_PRINT[0], // [UART_PRINT_CHANNEL] USB printing {0: "Enable"; 1: "Disable"}
  1058. NULL
  1059. };
  1060. const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[] = {
  1061. &DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE[0], // [DIS_USB_DOWNLOAD_MODE] Disable UART download mode through USB-Serial-JTAG
  1062. NULL
  1063. };
  1064. const esp_efuse_desc_t* ESP_EFUSE_ENABLE_SECURITY_DOWNLOAD[] = {
  1065. &ENABLE_SECURITY_DOWNLOAD[0], // [] Set this bit to enable secure UART download mode
  1066. NULL
  1067. };
  1068. const esp_efuse_desc_t* ESP_EFUSE_UART_PRINT_CONTROL[] = {
  1069. &UART_PRINT_CONTROL[0], // [] Set the default UARTboot message output mode {0: "Enable"; 1: "Enable when GPIO8 is low at reset"; 2: "Enable when GPIO8 is high at reset"; 3: "Disable"}
  1070. NULL
  1071. };
  1072. const esp_efuse_desc_t* ESP_EFUSE_FORCE_SEND_RESUME[] = {
  1073. &FORCE_SEND_RESUME[0], // [] Set this bit to force ROM code to send a resume command during SPI boot
  1074. NULL
  1075. };
  1076. const esp_efuse_desc_t* ESP_EFUSE_SECURE_VERSION[] = {
  1077. &SECURE_VERSION[0], // [] Secure version (used by ESP-IDF anti-rollback feature)
  1078. NULL
  1079. };
  1080. const esp_efuse_desc_t* ESP_EFUSE_ERR_RST_ENABLE[] = {
  1081. &ERR_RST_ENABLE[0], // [] Use BLOCK0 to check error record registers {0: "without check"; 1: "with check"}
  1082. NULL
  1083. };
  1084. const esp_efuse_desc_t* ESP_EFUSE_DISABLE_WAFER_VERSION_MAJOR[] = {
  1085. &DISABLE_WAFER_VERSION_MAJOR[0], // [] Disables check of wafer version major
  1086. NULL
  1087. };
  1088. const esp_efuse_desc_t* ESP_EFUSE_DISABLE_BLK_VERSION_MAJOR[] = {
  1089. &DISABLE_BLK_VERSION_MAJOR[0], // [] Disables check of blk version major
  1090. NULL
  1091. };
  1092. const esp_efuse_desc_t* ESP_EFUSE_MAC[] = {
  1093. &MAC[0], // [MAC_FACTORY] MAC address
  1094. &MAC[1], // [MAC_FACTORY] MAC address
  1095. &MAC[2], // [MAC_FACTORY] MAC address
  1096. &MAC[3], // [MAC_FACTORY] MAC address
  1097. &MAC[4], // [MAC_FACTORY] MAC address
  1098. &MAC[5], // [MAC_FACTORY] MAC address
  1099. NULL
  1100. };
  1101. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_CLK[] = {
  1102. &SPI_PAD_CONFIG_CLK[0], // [] SPI PAD CLK
  1103. NULL
  1104. };
  1105. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_Q[] = {
  1106. &SPI_PAD_CONFIG_Q[0], // [] SPI PAD Q(D1)
  1107. NULL
  1108. };
  1109. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D[] = {
  1110. &SPI_PAD_CONFIG_D[0], // [] SPI PAD D(D0)
  1111. NULL
  1112. };
  1113. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_CS[] = {
  1114. &SPI_PAD_CONFIG_CS[0], // [] SPI PAD CS
  1115. NULL
  1116. };
  1117. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_HD[] = {
  1118. &SPI_PAD_CONFIG_HD[0], // [] SPI PAD HD(D3)
  1119. NULL
  1120. };
  1121. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_WP[] = {
  1122. &SPI_PAD_CONFIG_WP[0], // [] SPI PAD WP(D2)
  1123. NULL
  1124. };
  1125. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_DQS[] = {
  1126. &SPI_PAD_CONFIG_DQS[0], // [] SPI PAD DQS
  1127. NULL
  1128. };
  1129. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D4[] = {
  1130. &SPI_PAD_CONFIG_D4[0], // [] SPI PAD D4
  1131. NULL
  1132. };
  1133. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D5[] = {
  1134. &SPI_PAD_CONFIG_D5[0], // [] SPI PAD D5
  1135. NULL
  1136. };
  1137. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D6[] = {
  1138. &SPI_PAD_CONFIG_D6[0], // [] SPI PAD D6
  1139. NULL
  1140. };
  1141. const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D7[] = {
  1142. &SPI_PAD_CONFIG_D7[0], // [] SPI PAD D7
  1143. NULL
  1144. };
  1145. const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR_LO[] = {
  1146. &WAFER_VERSION_MINOR_LO[0], // [] WAFER_VERSION_MINOR least significant bits
  1147. NULL
  1148. };
  1149. const esp_efuse_desc_t* ESP_EFUSE_PKG_VERSION[] = {
  1150. &PKG_VERSION[0], // [] Package version
  1151. NULL
  1152. };
  1153. const esp_efuse_desc_t* ESP_EFUSE_BLK_VERSION_MINOR[] = {
  1154. &BLK_VERSION_MINOR[0], // [] BLK_VERSION_MINOR
  1155. NULL
  1156. };
  1157. const esp_efuse_desc_t* ESP_EFUSE_FLASH_CAP[] = {
  1158. &FLASH_CAP[0], // [] Flash capacity {0: "None"; 1: "4M"; 2: "2M"; 3: "1M"; 4: "8M"}
  1159. NULL
  1160. };
  1161. const esp_efuse_desc_t* ESP_EFUSE_FLASH_TEMP[] = {
  1162. &FLASH_TEMP[0], // [] Flash temperature {0: "None"; 1: "105C"; 2: "85C"}
  1163. NULL
  1164. };
  1165. const esp_efuse_desc_t* ESP_EFUSE_FLASH_VENDOR[] = {
  1166. &FLASH_VENDOR[0], // [] Flash vendor {0: "None"; 1: "XMC"; 2: "GD"; 3: "FM"; 4: "TT"; 5: "ZBIT"}
  1167. NULL
  1168. };
  1169. const esp_efuse_desc_t* ESP_EFUSE_K_RTC_LDO[] = {
  1170. &K_RTC_LDO[0], // [] BLOCK1 K_RTC_LDO
  1171. NULL
  1172. };
  1173. const esp_efuse_desc_t* ESP_EFUSE_K_DIG_LDO[] = {
  1174. &K_DIG_LDO[0], // [] BLOCK1 K_DIG_LDO
  1175. NULL
  1176. };
  1177. const esp_efuse_desc_t* ESP_EFUSE_V_RTC_DBIAS20[] = {
  1178. &V_RTC_DBIAS20[0], // [] BLOCK1 voltage of rtc dbias20
  1179. NULL
  1180. };
  1181. const esp_efuse_desc_t* ESP_EFUSE_V_DIG_DBIAS20[] = {
  1182. &V_DIG_DBIAS20[0], // [] BLOCK1 voltage of digital dbias20
  1183. NULL
  1184. };
  1185. const esp_efuse_desc_t* ESP_EFUSE_DIG_DBIAS_HVT[] = {
  1186. &DIG_DBIAS_HVT[0], // [] BLOCK1 digital dbias when hvt
  1187. NULL
  1188. };
  1189. const esp_efuse_desc_t* ESP_EFUSE_THRES_HVT[] = {
  1190. &THRES_HVT[0], // [] BLOCK1 pvt threshold when hvt
  1191. NULL
  1192. };
  1193. const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR_HI[] = {
  1194. &WAFER_VERSION_MINOR_HI[0], // [] WAFER_VERSION_MINOR most significant bit
  1195. NULL
  1196. };
  1197. const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MAJOR[] = {
  1198. &WAFER_VERSION_MAJOR[0], // [] WAFER_VERSION_MAJOR
  1199. NULL
  1200. };
  1201. const esp_efuse_desc_t* ESP_EFUSE_OPTIONAL_UNIQUE_ID[] = {
  1202. &OPTIONAL_UNIQUE_ID[0], // [] Optional unique 128-bit ID
  1203. NULL
  1204. };
  1205. const esp_efuse_desc_t* ESP_EFUSE_BLK_VERSION_MAJOR[] = {
  1206. &BLK_VERSION_MAJOR[0], // [] BLK_VERSION_MAJOR of BLOCK2 {0: "No calibration"; 1: "With calibration"}
  1207. NULL
  1208. };
  1209. const esp_efuse_desc_t* ESP_EFUSE_TEMP_CALIB[] = {
  1210. &TEMP_CALIB[0], // [] Temperature calibration data
  1211. NULL
  1212. };
  1213. const esp_efuse_desc_t* ESP_EFUSE_OCODE[] = {
  1214. &OCODE[0], // [] ADC OCode
  1215. NULL
  1216. };
  1217. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN0[] = {
  1218. &ADC1_INIT_CODE_ATTEN0[0], // [] ADC1 init code at atten0
  1219. NULL
  1220. };
  1221. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN1[] = {
  1222. &ADC1_INIT_CODE_ATTEN1[0], // [] ADC1 init code at atten1
  1223. NULL
  1224. };
  1225. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN2[] = {
  1226. &ADC1_INIT_CODE_ATTEN2[0], // [] ADC1 init code at atten2
  1227. NULL
  1228. };
  1229. const esp_efuse_desc_t* ESP_EFUSE_ADC1_INIT_CODE_ATTEN3[] = {
  1230. &ADC1_INIT_CODE_ATTEN3[0], // [] ADC1 init code at atten3
  1231. NULL
  1232. };
  1233. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN0[] = {
  1234. &ADC1_CAL_VOL_ATTEN0[0], // [] ADC1 calibration voltage at atten0
  1235. NULL
  1236. };
  1237. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN1[] = {
  1238. &ADC1_CAL_VOL_ATTEN1[0], // [] ADC1 calibration voltage at atten1
  1239. NULL
  1240. };
  1241. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN2[] = {
  1242. &ADC1_CAL_VOL_ATTEN2[0], // [] ADC1 calibration voltage at atten2
  1243. NULL
  1244. };
  1245. const esp_efuse_desc_t* ESP_EFUSE_ADC1_CAL_VOL_ATTEN3[] = {
  1246. &ADC1_CAL_VOL_ATTEN3[0], // [] ADC1 calibration voltage at atten3
  1247. NULL
  1248. };
  1249. const esp_efuse_desc_t* ESP_EFUSE_USER_DATA[] = {
  1250. &USER_DATA[0], // [BLOCK_USR_DATA] User data
  1251. NULL
  1252. };
  1253. const esp_efuse_desc_t* ESP_EFUSE_USER_DATA_MAC_CUSTOM[] = {
  1254. &USER_DATA_MAC_CUSTOM[0], // [MAC_CUSTOM CUSTOM_MAC] Custom MAC address
  1255. NULL
  1256. };
  1257. const esp_efuse_desc_t* ESP_EFUSE_KEY0[] = {
  1258. &KEY0[0], // [BLOCK_KEY0] Key0 or user data
  1259. NULL
  1260. };
  1261. const esp_efuse_desc_t* ESP_EFUSE_KEY1[] = {
  1262. &KEY1[0], // [BLOCK_KEY1] Key1 or user data
  1263. NULL
  1264. };
  1265. const esp_efuse_desc_t* ESP_EFUSE_KEY2[] = {
  1266. &KEY2[0], // [BLOCK_KEY2] Key2 or user data
  1267. NULL
  1268. };
  1269. const esp_efuse_desc_t* ESP_EFUSE_KEY3[] = {
  1270. &KEY3[0], // [BLOCK_KEY3] Key3 or user data
  1271. NULL
  1272. };
  1273. const esp_efuse_desc_t* ESP_EFUSE_KEY4[] = {
  1274. &KEY4[0], // [BLOCK_KEY4] Key4 or user data
  1275. NULL
  1276. };
  1277. const esp_efuse_desc_t* ESP_EFUSE_KEY5[] = {
  1278. &KEY5[0], // [BLOCK_KEY5] Key5 or user data
  1279. NULL
  1280. };
  1281. const esp_efuse_desc_t* ESP_EFUSE_SYS_DATA_PART2[] = {
  1282. &SYS_DATA_PART2[0], // [BLOCK_SYS_DATA2] System data part 2 (reserved)
  1283. NULL
  1284. };