1 // Copyright 2019 Espressif Systems (Shanghai) PTE LTD 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #pragma once 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 /** 22 * @brief Type of eFuse blocks for ESP32 23 */ 24 typedef enum { 25 EFUSE_BLK0 = 0, /**< Number of eFuse block. Reserved. */ 26 EFUSE_BLK1 = 1, /**< Number of eFuse block. Used for Flash Encryption. If not using that Flash Encryption feature, they can be used for another purpose. */ 27 EFUSE_BLK2 = 2, /**< Number of eFuse block. Used for Secure Boot. If not using that Secure Boot feature, they can be used for another purpose. */ 28 EFUSE_BLK3 = 3, /**< Number of eFuse block. Uses for the purpose of the user. */ 29 EFUSE_BLK_MAX 30 } esp_efuse_block_t; 31 32 /** 33 * @brief Type of coding scheme 34 */ 35 typedef enum { 36 EFUSE_CODING_SCHEME_NONE = 0, /**< None */ 37 EFUSE_CODING_SCHEME_3_4 = 1, /**< 3/4 coding */ 38 EFUSE_CODING_SCHEME_REPEAT = 2, /**< Repeat coding */ 39 } esp_efuse_coding_scheme_t; 40 41 42 #ifdef __cplusplus 43 } 44 #endif 45