Function esp_idf_sys::esp_efuse_set_key_dis_write

source ยท
pub unsafe extern "C" fn esp_efuse_set_key_dis_write(
    block: esp_efuse_block_t,
) -> esp_err_t
Expand description

@brief Sets a write protection for the key block.

@param[in] block A key block in the range EFUSE_BLK_KEY0..EFUSE_BLK_KEY_MAX

@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.