Function esp_idf_svc::hal::sys::esp_efuse_set_write_protect_of_digest_revoke
source ยท pub unsafe extern "C" fn esp_efuse_set_write_protect_of_digest_revoke(
num_digest: u32,
) -> i32
Expand description
@brief Sets a write protection of the Secure Boot public key digest revocation bit.
@param[in] num_digest The number of digest in range 0..2
@return
- ESP_OK: Successful.
- ESP_ERR_INVALID_ARG: Error in the passed arguments.
- ESP_ERR_EFUSE_REPEATED_PROG: Error repeated programming of programmed bits is strictly forbidden.
- ESP_ERR_CODING: Error range of data does not match the coding scheme.