EasyManua.ls Logo

Espressif ESP32-S2 - Page 835

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
[in] number_of_keys: The number of keys to write (up to 6 keys).
esp_err_t esp_secure_boot_read_key_digests(ets_secure_boot_key_digests_t *trusted_keys)
Read key digests from efuse. Any revoked/missing digests will be marked as NULL.
Return
ESP_OK: Successful.
ESP_FAIL: If trusted_keys is NULL or there is no valid digest.
Parameters
[out] trusted_keys: The number of digest in range 0..2
Structures
struct esp_efuse_desc_t
Type definition for an eFuse field.
Public Members
esp_efuse_block_t efuse_block : 8
Block of eFuse
uint8_t bit_start
Start bit [0..255]
uint16_t bit_count
Length of bit field [1..-]
Macros
ESP_ERR_EFUSE
Base error code for efuse api.
ESP_OK_EFUSE_CNT
OK the required number of bits is set.
ESP_ERR_EFUSE_CNT_IS_FULL
Error field is full.
ESP_ERR_EFUSE_REPEATED_PROG
Error repeated programming of programmed bits is strictly forbidden.
ESP_ERR_CODING
Error while a encoding operation.
ESP_ERR_NOT_ENOUGH_UNUSED_KEY_BLOCKS
Error not enough unused key blocks available
ESP_ERR_DAMAGED_READING
Error. Burn or reset was done during a reading operation leads to damage read data. This error is internal to
the efuse component and not returned by any public API.
Enumerations
enum esp_efuse_rom_log_scheme_t
Type definition for ROM log scheme.
Values:
ESP_EFUSE_ROM_LOG_ALWAYS_ON
Always enable ROM logging
ESP_EFUSE_ROM_LOG_ON_GPIO_LOW
ROM logging is enabled when specific GPIO level is low during start up
ESP_EFUSE_ROM_LOG_ON_GPIO_HIGH
ROM logging is enabled when specific GPIO level is high during start up
Espressif Systems 824
Submit Document Feedback
Release v4.4

Table of Contents