Function esp_idf_sys::esp_efuse_read_block

source ยท
pub unsafe extern "C" fn esp_efuse_read_block(
    blk: esp_efuse_block_t,
    dst_key: *mut c_void,
    offset_in_bits: usize,
    size_bits: usize,
) -> esp_err_t
Expand description

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

@note Please note that reading in the batch mode does not show uncommitted changes.

@param[in] blk Block number of eFuse. @param[in] dst_key A pointer to array that will contain the result of reading. @param[in] offset_in_bits Start bit in block. @param[in] size_bits The number of bits required to read.

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