efuse: Add an API to return the efuse descriptor for a key block's purpose field

This commit is contained in:
Angus Gratton
2020-04-06 18:27:48 +10:00
committed by Angus Gratton
parent 7d0f1536e4
commit 16ad24dd00
3 changed files with 38 additions and 3 deletions

View File

@@ -56,6 +56,14 @@ typedef enum {
EFUSE_BLK_MAX
} esp_efuse_block_t;
struct esp_efuse_desc_s;
/**
* @brief Given a key block in the range EFUSE_BLK_KEY0..EFUSE_BLK_KEY5, return
* efuse field for setting the key purpose
*/
const struct esp_efuse_desc_s **esp_efuse_get_purpose_field(esp_efuse_block_t block);
/**
* @brief Type of coding scheme
*/