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