Function esp_idf_svc::sys::esp_efuse_write_block

source ยท
pub unsafe extern "C" fn esp_efuse_write_block(
    blk: u32,
    src_key: *const c_void,
    offset_in_bits: usize,
    size_bits: usize,
) -> i32
Expand description

@brief Write key to efuse block starting at the offset and the required size.

@param[in] blk Block number of eFuse. @param[in] src_key A pointer to array that contains the key for writing. @param[in] offset_in_bits Start bit in block. @param[in] size_bits The number of bits required to write.

@return

  • ESP_OK: The operation was successfully completed.
  • ESP_ERR_INVALID_ARG: Error in the passed arguments.
  • ESP_ERR_CODING: Error range of data does not match the coding scheme.
  • ESP_ERR_EFUSE_REPEATED_PROG: Error repeated programming of programmed bits